2010 Oct 02 1:45 PM
Hi Experts,
I need to populate around 10 standard SAP fields and 8 custom fields on MSEG(material document item table) record, WHILE the material document is creating.
In this process I saw the user-exit EXIT_SAPLMBMB_001 and BADI of MB_DOCUMENT_BADI, but when I put break-point its not stopping!! Pls. let me know
1)What is the good user-exit/BADI/Enhancement spot to achieve my requirement?
2) In this context, is the user-exit triggering is depends on transaction(MB1A, MB1C, MIGO, MB01, BAPI, IDOC) from which you are creating the material doc? bcz when I searched google, some people asked that "From which transaction u r creating the Mat.Doc" so that they want to suggest the user-exit/BADI name!
Thank you,
2010 Oct 02 7:15 PM
hello,
The reason behind the program is not stopping at break-point can be "The User Exit / BADI is not active or not been implemented"...
In ECC 6.0 MB1A, MB1B and MB1C transaction has been replacecd by MIGO...
So I would suggest please read the description and documentation avaialble for the user exit / BADI and create your own exmple to test...
Thanks.
2010 Oct 02 7:15 PM
hello,
The reason behind the program is not stopping at break-point can be "The User Exit / BADI is not active or not been implemented"...
In ECC 6.0 MB1A, MB1B and MB1C transaction has been replacecd by MIGO...
So I would suggest please read the description and documentation avaialble for the user exit / BADI and create your own exmple to test...
Thanks.
2010 Oct 02 9:39 PM
Hi,
The best method in enhancements is either customer exit or Badi which ever is available.
The exit u mentioned EXIT_SAPLMBMB_001 is a customer exit or we can say function module exit. Its not an user exit. These both
have considerable difference.
If none of the above option is available we go with the enhancement point. The point can be created inside the User exit or any other suitable places that can satisfy our requirement.
In your case just implement and activate the badi or customer exit and check with the break point. If this doesnt work than go for the enchancement point.
Regards,
Rudhir Bhaskar.