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

Problem in populating text fields using BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
605

Hi All

While creating sales order using BAPI_SALESORDER_CREATEFROMDAT2, I am able to populate the Sales Header text fields but unable to populate Sales Item text fields. Is it possible to populate Sales Item text fields at the time of creation of sales order? If not, after creating sales order can we use BAPI_SALESORDER_CHANGE to populate item text fields?

Thanks in advance,

Sree Ramya

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
480

Hi,

you can update the ITEM texts using the FM <b>SAVE_TEXT</b> using the appropriate prameters.

Regards

vijay

3 REPLIES 3
Read only

Former Member
0 Likes
480

Hi,

You can load the ITEM Texts in the parameter ORDER_TEXT.

IF you want to do it later, you will have to use SAVE_TEXT followed by COMMIT_TEXT function.

Regards,

Ravi

Read only

Former Member
0 Likes
481

Hi,

you can update the ITEM texts using the FM <b>SAVE_TEXT</b> using the appropriate prameters.

Regards

vijay

Read only

Former Member
0 Likes
480

Hi Sree,

You can create Item level texts using BAPI_SALESORDER_CHANGE.

Just ensure that you pass correctly : Document number i.e. Sales order number , Item number , text ID and language in tables parameter ORDER_TEXT of this BAPI.

You will have to call BAPI_TRANSACTION_COMMIT after call to BAPI_SALESORDER_CHANGE.

Hope it helps.

Regards,

Akshay Bhagwat

Note: Some points will be fine if that helped you:)