RE:[sap-log-sd] Billing type determination
Posted by
Admin at
|
Share this post:
|
on 05/29/2009 09:13:00 AM
Hello experts,
I did not mention in my request I have created a new factory calendar entirely dedicated for consolidated invoices. Indeed, the invoices can not be merged together if the billing dates are differents. That's why we use a factory calendar.
I finally used this criteria to determine if an invoice has to be consolidate or not. During the delivery, the expected billing document type is stored in table LIKP (field FKARV) ; this field which determine the billing type to used for the delivery.
Therefore, I added a condition in the delivery data transfer routine :
if vbkd-perfk = 'ZX' "ZX = name of the new factory calendar for conso. invoices
likp-fkarv = 'ZFX' "ZFX = billing doc type for conso invoices
endif.
=> it the sales order item has a billing calendar set to ZX, it means that the payer wants to have consolidated invoices ; therefore, we will use the billing document type which allow to create this kind of invoice (ZFX)
And finally, it works fine !
Thanks all for your appreciated inputs which helped me to find this solution ! __.____._
Toolbox.com
4343 N. Scottsdale Road
Suite 280
Scottsdale, AZ 85251
In the Spotlight
Manage group e-mails
Create an FAQ on this topic
Tell us what you think
Unsubscribe from discussion