‎2010 Jan 27 2:21 PM
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
‎2010 Jan 27 3:11 PM
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.
‎2010 Jan 27 5:01 PM
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.
‎2010 Jan 27 5:09 PM
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!