Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI_SALESORDER_CHANGE - Texts update

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

Former Member
Not what you were looking for? View more on this topic or Ask a question