‎2007 Jun 14 7:19 PM
Hi Experts,
I am working in an Inbound Sales Order Creation scenario and iam using the BAPI - BAPI_SALESDOCU_CREATEFROMDATA.
Here iam unable to find the suitable field to populate the Item Text ( for each line item ) which is a combination of Text Name, Text ID, Language and Text Object.
Please help me out in this regard or suggest me any other BAPI which accomodates Item Text in the process of sales order creation.
Thanks in advance.
‎2007 Jun 15 8:57 PM
Use FM BAPI_SALESDOCU_CREATEFROMDATA and it creates the sales order,get the sales order number using bapiret2 and pass the sales order to save_text fm immediately.
‎2007 Jun 14 11:46 PM
you can use SD_SALESDOCUMENT_CREATE to create sales order and pass item text using table SALES_TEXT.
Thanks.
MGS
‎2007 Jun 15 4:45 AM
Use BAPI_SALESORDER_CREATEFROMDAT2(Available from 4.6A)
SD_SALESDOCUMENT_CREATE also works as suggested .
Siva
‎2007 Jun 15 5:37 AM
Hi,
You may use field SHORT_TEXT in table ORDER_ITEMS_IN.
Also please note that BAPI_SALESORDER_CREATEFROMDAT2 works only for business object 'BUS2032',
Regards,
Sooness.
‎2007 Jun 15 8:21 PM
In this case as Munogee mentioned i can not use BAPI_SALESORDER_CREATEFROMDAT2.
I can use BAPI_SALESDOCU_CREATEFROMDATA but i can not see any Text Tables to populate item texts.
So do i need to call this BAPI first and then call another BAPI - BAPI_SALESORDER_CHANGE for populating the Item Texts using the tables - ORDER_TEXT
Please help me out in this regard.
Thanks in Advance.
‎2007 Jun 15 8:57 PM
Use FM BAPI_SALESDOCU_CREATEFROMDATA and it creates the sales order,get the sales order number using bapiret2 and pass the sales order to save_text fm immediately.