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

Debugging PGI document for Account determination

Former Member
0 Likes
1,846

Hi ABAP gurus,

Can anyone help me in debugging PGI process to find out the account determination . There were some issue in getting the correct GL account from customization (OBYC) and hence would like to place break point in appropriate function module . I have tried few FMs and these were not hit during PGI from VL02N. Can some one can help me in terms of Function module to place break point for this issue .

Your immediate help in this regard is highly appreciated.

with regards,

Joseph Anand B

3 REPLIES 3
Read only

Former Member
0 Likes
1,071

Ur issue is very generic, are u looking for any specific thing or message ?. One thing I can help is while debugging u can see the call stack in the debugging mode, u can come to know the callig sequence.

Read only

0 Likes
1,071

Actually, his issue is very clear; he's looking for the point of account determination during goods issue because the configured accounts in OBYC are not the ones selected (or so it seems).

Runtime Analysis is the best tool for things like this, unless you really enjoy debugging step by step. Most automatic accounting postings go through AC_DOCUMENT_CREATE and AC_DOCUMENT_POST. You'll find these function calls in your analysis. You'll also find MB_CREATE_GOODS_MOVEMENT which will call the accounting posting.

Read only

Former Member
0 Likes
1,071

Hi,

When in debug mode, from the menu bar select Breakpoints->Breakpoint at->statement. A small pop-up window appears. Give the statement CALL. This will stop at all Call statements.. and you will get the FM you are looking for. This could be tedious, but worth a shot!