on 07-27-2016 10:49 AM
Cause SAP standard function can't record the BOM modification of outsourced PO, I try to get the BOM by a method GET_BOM() in BAdI ME_PROCESS_PO_CUST, and the method can't get anything while testing. I debug my enhancement codes, find that there is a logical code in the method GET_BOM(), and its result seems always false and has no chance to process the inner code.
Do I miss something, or the standard code exists bug?
Here are the codes.
Hi,
I find out the switch for the method GET_BOM() from the SAP docunments, after I swtich on LOG_MM_OM_1 in t-code SFW5, the BAdI method GET_BOM() can output the result what I want.
Here is the link:
Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This does not seem to be a standard code as the Pretty Printer is enabled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
This is Standard Code and SAP is stopping the execution of GET_BOM () method as If condition will always be false.
If you still require this method to be executed, then you can implement Pre-Method Exit, in that you can remove IF condition and call the mehod and use some condition to restrict this exit for your program only otherwise it might impact other standard logics.
do let me know in case of any issues.
Regards,
Praphul
User | Count |
---|---|
87 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.