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

REGARDING BAPI_SALESORDER_CHANGE

Former Member
0 Likes
1,113

HI experts!

i am using bapi_salesorder_change to change the text in the sales order that usually comes under

Header -> text> return notes.

i am trying to use table order_text in the bapi to do that and also using commit work after that but i am not able to change the text.

can you guys help me out with that.

thanks in advance

HI experts!

i am using bapi_salesorder_change to change the text in the sales order that usually comes under

Header -> text> return notes.

i am trying to use table order_text in the bapi to do that and also using commit work after that but i am not able to change the text.

can you guys help me out with that.

thanks in advance

4 REPLIES 4
Read only

Former Member
0 Likes
976

well BAPI_SALESORDER_CHANGE is quite a weapon, considering the small job you got to do.

Maybe this weapon is a bit oversized.

No need to change anything at the salesorder if you only wish to edit/create/delete/read it´s texts.

FM´s to do this:

READ_TEXT, in order to read the text

SAVE_TEXT, in order to save a previously read and modified TEXT.

COMMIT_TEXT, in order to commit saved texts.

DELETE_TEXT, in order to delete texts.

texts are beeing identified by:

textname, in sales orders for header texts its VBELN, for position texts it´s a composure of VBELN and POSNR.

OBJECT, header texts in sales order have VBBKm while position texts have VBBP

ID, well this varies wideley.

Language.

if you do not know those 4 information but you know the text, then goto your sales order.

goto the texts tab, and goto your text.

in the editor where your text is displayed double click.

a new (old) editor should come up.

Nor use the menu, goto->header.

all the information you need will get displayed ina small popup.

Read only

0 Likes
976

HI !

THANKS FOR your quick reply.

i am sorry that i didnt mention that i have to change the ordered quantity too. so thats why i need to use bapi_salesorder_change. and with that i need to change text.

i can easily change the quantity but dont know how to change the text.

so if you can help me with that.

thanks

Read only

Former Member
0 Likes
976

just send a message

Read only

Former Member
0 Likes
976

Check OSS Note 426980