02-24-2011 10:09 AM
Hi All,
There is a requirement to split the accounting documents when the billing is done. i.e currently there are only 3 line items in acouting document. The 3 rd line item has to be split 50% into another line item ( say 4th) and appended to accounting documemnts.
Kindly guide me. I found an exit EXIT_SAPLV60B_008, but not sure it can be used or there are better ways to do the same.
Regards,
Shankar
02-24-2011 3:05 PM
What type of item is being split? Why don't you use a different condition type and revenue key in the pricing procedure for that and then use a statistical subtotal to show the total value for the two conditions in the billing document?
02-26-2011 10:07 AM
Hi Brad,
The business model does not support using different condition type as the current spliting is based on a arbitrary condition defined by a customer. Kindly suggest.
Regards,
Shankar
02-26-2011 10:12 AM
02-26-2011 10:15 AM
Hi Sandeep,
We are using New GL only. So suggest where the exit needs to be codded.
Regards,
Shankar
03-02-2011 7:06 AM
Hi Sandeep,
Can you share the convenient method you are mentioned. Thanks in advance.
Regards,
Shankar
03-02-2011 7:16 AM
Hi Shankar,
First find the length of the third line item like,
data: a char 10,
b char 10,
litm_1 type char255,
litm_2 type char255.
a = strlen(Third line item).
b = a / 2.
litm_1 = third_line_item+0(a).
litm_2 = third_line_item+a(b).
now you have first half in litm_1 and second half in litm_2.
Regards,
Murthy.
03-02-2011 7:19 AM
Hi Murthy,
I think you got my requirement totally wrong. I meant splitting into two GL Accounts, not the length separation.
Regards,
Shankar