Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Accounting document modification during billing

Former Member
0 Likes
458

I am trying to do the following .

When a delivery related billing document is created an accounting document is created in the background , I want to modify the line items in the accounting document, Just before posting the accounting document.

I am using exit EXIT_SAPLV60B_008 as suggested but I don't see the accounting line items in any of the internal tables in this exit. Is there another exit where I can see the lines explicitly.

My accounting document when it gets created looks like this. And I want to modify one of these lines before the document is posted.

Rgds,

Ajay

1 01 32517 Jaaaa 3,700.83 USD

2 50 3100000 MERCHANDISE SALES 3,199.96- USD

3 40 3100000 MERCHANDISE SALES 160.00 USD

4 50 3200000 DELIVERY INCOME 132.00- USD

5 50 3200000 DELIVERY INCOME 10.00- USD

6 50 2170156 SALES TAX COLLECTED 198.87- USD

7 50 3400000 WARRANTY INCOME 320.00- USD

8 15 32517 Jaaaa 3,700.83- USD

9 40 1117217 RECV. VISA/MCARD Sto 3,700.83 USD

Any answers on how can I delete line 1 8 and 9 and add another line which balances the amount ?

Need to do this just before the accounting document gets generated.

If not is there a workaround ?

I am trying to do the following .

When a delivery related billing document is created an accounting document is created in the background , I want to modify the line items in the accounting document, Just before posting the accounting document.

I am using exit EXIT_SAPLV60B_008 as suggested but I don't see the accounting line items in any of the internal tables in this exit. Is there another exit where I can see the lines explicitly.

My accounting document when it gets created looks like this. And I want to modify one of these lines before the document is posted.

Rgds,

Ajay

1 01 32517 Jaaaa 3,700.83 USD

2 50 3100000 MERCHANDISE SALES 3,199.96- USD

3 40 3100000 MERCHANDISE SALES 160.00 USD

4 50 3200000 DELIVERY INCOME 132.00- USD

5 50 3200000 DELIVERY INCOME 10.00- USD

6 50 2170156 SALES TAX COLLECTED 198.87- USD

7 50 3400000 WARRANTY INCOME 320.00- USD

8 15 32517 Jaaaa 3,700.83- USD

9 40 1117217 RECV. VISA/MCARD Sto 3,700.83 USD

Any answers on how can I delete line 1 8 and 9 and add another line which balances the amount ?

Need to do this just before the accounting document gets generated.

If not is there a workaround ?

1 REPLY 1
Read only

sridhar_k1
Active Contributor
0 Likes
390

USe user exit EXIT_SAPLV60B_002 and EXIT_SAPLV60B_004 to modify customer lin and GL line respectively in the accounting document. change values in export parameter XACCIT

Regards

Sridhar