Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

header text in bapi_salesorder_createfromdat2

Former Member
0 Likes
4,055

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,670

Hello

Check this:

4 REPLIES 4
Read only

Former Member
0 Likes
1,670

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

Read only

Former Member
0 Likes
1,671

Hello

Check this:

Read only

Former Member
0 Likes
1,670

can you explain that more?

what field shoud i enter?

thanks

Read only

Former Member
0 Likes
1,670

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