‎2008 Mar 26 6:35 AM
Hi,
Iam Updating the text field ( MSEG - SGTXT ) via badi MB_DOCUMENT_BADI using befor_update method. In Debugging mode text to be move to XMSEG-SGTXT, But it is not updating the MB!A transction and database level. Please give me any inputs .
‎2008 Mar 26 6:49 AM
Hi,
Please note the comments in the documentation...
" The enhancement does not transfer any data to the material document, that is, you cannot change material document data before it is updated. "
Please try to seek an alternative exit/BADI for the requirement....
Regards
Byju
‎2008 Mar 26 6:49 AM
Hi,
Please note the comments in the documentation...
" The enhancement does not transfer any data to the material document, that is, you cannot change material document data before it is updated. "
Please try to seek an alternative exit/BADI for the requirement....
Regards
Byju
‎2008 Mar 26 7:06 AM
Hi,
Thank you for inputs.Please give me any userexit/ Badi for this requirement.
‎2008 Mar 26 9:01 AM
Hi Rajkumar,
Please try the user exit "MBCF0002" in Smod
Exit : EXIT_SAPMM07M_001
Purpose :Customer Function Exit: Set Segment Text in Material Document Item
Please put the code here and put a break point to see if it works..from the description it looks as though it is a correct match to your requirement
Do remember to activate the user exit after writing the code,otherwise it will not trigger
Pls check and revert
Regards
Byju
‎2008 Mar 28 12:14 PM