‎2009 Jul 27 8:31 AM
Hi.
anybody knows the field where i can put the text for header in the bapi bapi_salesorder_createfromdat2. I find the field order_text but i think that is fo items text but not for header text.
thanks.
‎2009 Jul 27 8:47 AM
‎2009 Jul 27 8:40 AM
Hi,
you need to Use SAVE_TEXT to put the sales order header tex..
try this way..
Call function "bapi bapi_salesorder_createfromdat2"
if sy-subrc = 0.
call function "SAVE_text"
endif.
Prabhudas
‎2009 Jul 27 8:47 AM
‎2009 Jul 27 8:49 AM
‎2009 Jul 27 9:09 AM
Hi,
I you want to populate text in the text fields at the header where you can populate teh long text you have to use the structure that you already have identified with 'ITM_NUMBER' = 0 and if you want to populate text in your reference or some other field at the header you can use the fields avaliabe in 'ORDER_HEADER_IN' like 'REF_1' for your reference if you want to populate in some toehr field on the header let us know..so that we can try to help..
Regards,
Himanshu