‎2014 Jun 30 3:32 PM
How can I save Item Data Texts when I create a sales order with BAPI_SALESDOCU_CREATEFROMDATA1?
Thanks,
Ralph
‎2014 Jun 30 3:56 PM
Hey Ralph,
Did not find a table parameter in 'BAPI_SALESDOCU_CREATEFROMDATA1' for Texts.
But two similar options:
1. You can use 'BAPI_SALESORDER_CREATEFROMDAT2' which has a table parameter 'ORDER_TEXT' for the purpose.
2. You can also use the standard FM 'SAVE_TEXT' .
Regards,
Pranav.
‎2014 Jun 30 3:50 PM
Try using SD_SALES_DOCU_MAINTAIN instead. Populate the following data elements
| IX_TEXT_HEADER | LIKE | BAPISDTEXT | Header texts |
| IX_TEXT_ITEM | LIKE | BAPISDTEXT | Item Texts |
-A
‎2014 Jun 30 3:56 PM
Hey Ralph,
Did not find a table parameter in 'BAPI_SALESDOCU_CREATEFROMDATA1' for Texts.
But two similar options:
1. You can use 'BAPI_SALESORDER_CREATEFROMDAT2' which has a table parameter 'ORDER_TEXT' for the purpose.
2. You can also use the standard FM 'SAVE_TEXT' .
Regards,
Pranav.
‎2014 Jun 30 9:13 PM
Pranav,
I changed my call to use the BAPI you recommended. I was able to save three different texts at once at the same time the sales order was created.
Thanks for your help,
Ralph