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

bapi material document text update

Former Member
0 Likes
1,370

hello gurus

we have created material doc using mb11 and now we want to open that in mb02 and enter the text ( mseg-sgtxt filed) into the text filed which we can see after double clicking the item material then It will open next screen where we can see account assignment subscreen and here we maintain text.

For this we need bapi which can change the material documnet ie update the text ( we are able to do this by bdc by calling mbo2 but we are looking for bapi).

4 REPLIES 4
Read only

mvoros
Active Contributor
0 Likes
881

There is no such a BAPI which can allow you to modify material document. You need to use batch input and write your own wrapper around it. If you need to jsut change MSEG-SGTXT then you can try direct update of DB table. This is usually really risky.

Cheers

Read only

Former Member
0 Likes
881

futher suggestions please

Read only

JL23
Active Contributor
0 Likes
881

is that a recurring issue or a one-time event?

for a one-time event you have already the BDC solution.

If your text is wrong in general, then you should correct it directly when the material document is posted. There are user exits that can be used to get the text your want into that field.

Read only

Former Member
0 Likes
881

thank you experts for the replies , we have uploaded the text using BDC