2008 Mar 20 2:54 PM
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
2008 Mar 20 3:02 PM
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.
2008 Mar 20 3:07 PM
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
2008 Mar 20 5:03 PM
2008 Mar 20 6:08 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |