2015 Apr 01 4:42 AM
Hi~all;
May I get all of billing item in the routing?
such as:
I input two dn using vf01 to billing
DN01 contain 4 items
DN02 contain 2 items
I would like to get 6 items in the invoice split routing.
2015 Apr 02 4:26 AM
anyone help?
i using using field symbol get the dn header data, (SAPLV60A)XKOMFK[]
but how can i get the selected item?
2015 Apr 02 7:26 AM
Hi Timothy - It seems you need a invoice split. Could explain your query in detail ?
Regards,
Atul Mohanty
2015 Apr 03 5:59 AM
Yes, Atul thanks.
invoce split through VBRP-SPART, and take 'FREE ITEM' into special consideration.
vbrp-spart from 00 to 20 means 'TV', from '20' to '30' means 'PHONE'
if a dn contain both TV & PHONE,
if all PHONE is not free, split to 2 invoice
if all PHONE is free, not split, 1 invoice
if some PHONE is free, some not, they are different dn items. split to 2 invoice,
TV and free PHONE as 1 invoice; PHONE not free as 1 invoice
if a dn contain only PHONE,
no matter free or not free, donot split, just 1 invoice
and if i input a few dn when 'VF01', i have to take all the dn as a whole
so i have to konw all the items to do billing.
2015 Apr 03 9:56 AM
Hi Timothy -Thanks for your reply.
The field VBRK-ZUKRI takes care of invoice spilt.
Please follow the link below , where we have answered for some kind invoice split requirement.
http://scn.sap.com/message/14638048#14638048
In your case you need to check VBRP-SPART and the rule based PHONE is free / NOT free. You can combine this two info, to create a rule and based on that populate the VBRK-ZUKRI.
Example - if ( VBRP-SPART = '00'or VBRP-SPART = '01' or VBRP-SPART = '20' ) AND ' ( logic PHONE is free / NOT free)
VBRK-ZUKRI = '0001'.
ELSE.
VBRK-ZUKRI = '0002'.
ENDIF.
Hope it helps.
Let us know, in case any further issue.
Regards,
Atul Mohanty
2015 Apr 04 4:20 AM
Hi Atul, thank you so much .
i know VBRK-ZUKRI takes care of invoice spilt.
the standard is not only phone free or not
1st, only TV/PHONE, or TV with PHONE
2nd, PHONES are free, or not, or both
because every time the program going to the routing
VBRP contain only the current item, i can get the current item is phone or tv, free or not
but i donot know the other item
so my question is how can i get all the items info in the routing.
2015 Apr 06 12:02 PM
Hi Timothy -
I got your requirement. Unfortunately, I am not working on a system with SD module so unable to check the steps in detail.
However, could you check the global data XVBRP[] or XLIPS[] while you are in the data transfer routine. Otherwise check for the enhancements in Function module : RV_INVOICE_DOCUMENT_ADD before the billing number is genearated.