on 10-03-2008 8:27 PM
Hello, I'm having problems when I tried to update sales order texts from BAPI_SALESORDER_CHANGE.
The BAPI has the following data:
SALESDOCUMENT = VBAK-VBELN
ORDER_HEADER_INX-UPDATEFLAG = 'U'
ORDER_ITEM_INX-ITM_NUMBER = VBAP-POSNR
ORDER_ITEM_INX-UPDATEFLAG = 'U'
ORDER_TEXT-DOC_NUMBER = VBAK-VBELN
ORDER_TEXT-ITM_NUMBER = VBAP-POSNR
ORDER_TEXT-TEXT_ID = YPR2 (Text ID)
ORDER_TEXT-LANGU = ES
ORDER_TEXT-TEXT_LINE = text_content
After that I run BAPI_TRANSACTION_COMMIT.
I'm doing something wrong?
Thanks!
Barbara
This message was moderated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also make sure order_item_in and order_item_inx have the item number field set with vbap-posnr.
ORDER_ITEM_IN-ITM_NUMBER = VBAP-POSNR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try setting order_text-function attribute to 'U' . Validate the return table after the BAPI is executed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.