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

Text Fiels Updation using badi MB_DOCUMENT_BADI.

Former Member
0 Likes
865

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 .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
813

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

4 REPLIES 4
Read only

Former Member
0 Likes
814

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

Read only

0 Likes
813

Hi,

Thank you for inputs.Please give me any userexit/ Badi for this requirement.

Read only

0 Likes
813

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

Read only

0 Likes
813

Thank you for give the inputs