Application Development 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: 

Accounting document created in VL02N

ronaldo_aparecido
Contributor
0 Kudos

Hello community.

When executing a call transaction in the VL02N an accounting document is created, but in the bsis it has a value of 4.11 and in the bseg 4.12 and I need to know why but I cannot find the code where it is created, I have already looked for exits, badis and I used the st05

,Does anyone have an idea how to find out where is the code that creates this document when running vl02n?

Thanks.

6 REPLIES 6

Neeraj_Jain
Active Contributor
0 Kudos

Hello ronaldo.aparecido,

At moment when we click on PGI button on VL01N/VL02N the stock is reduced from the system and an accounting document is generated in which COGS is debited and stock is credited. These entries generated automatically on the background by setting between of MM/FI integration. So there is no transaction behind it.

Regards,

Neeraj Jain

Best Regards,
Neeraj Jain

0 Kudos

HI do you know a way to solve this diference value betwen Bsis with 4.11 and bseg with 4.12?

To solve difference value please connect with your FI Consultant as in accounting document there should not be in difference. Might be some costing or rounding off issue.

Best Regards,
Neeraj Jain

0 Kudos

Thanks Neeraj I talked with functional and the problem was solved

0 Kudos

If satisfied, please accept the answer.

Best Regards,
Neeraj Jain

maciej_domagaa
Contributor
0 Kudos

If you have some time to waste on debugging this you can put a breakpoint in function module AC_DOCUMENT_CREATE.

But it does not have to be an error/inconsistency but just some "feature" (are you sure you compare the same account / the same currency / no more relevant items in the same FI document ? - etc.)