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

Sales text BAPI_MATERIAL_SAVEDATA

aayushaggarwal
Active Participant
0 Likes
949

Hi Experts,

I am trying to create Sales text using BAPI - BAPI_MATERIAL_SAVEDATA,

I have a query i.e.

Sales text is only getting created in case I create a Purchase Text before it.

i.e. when I need to create Sales text there should be two enteries in the table MATERIALLONGTEXT

->first with the Object - "Material", TextName - MaterialNo, Language - EN

->second with  Object - "MVKE", TextName - MaterialNo.+SalesOrg+DisChanl, Language - EN

Please tell me if there is any such condition in SAP or am I doing something wrong??

Thanks in Advance,

Aayush Aggarwal

Hi Experts,

I am trying to create Sales text using BAPI - BAPI_MATERIAL_SAVEDATA,

I have a query i.e.

Sales text is only getting created in case I create a Purchase Text before it.

i.e. when I need to create Sales text there should be two enteries in the table MATERIALLONGTEXT

->first with the Object - "Material", TextName - MaterialNo, Language - EN

->second with  Object - "MVKE", TextName - MaterialNo.+SalesOrg+DisChanl, Language - EN

Please tell me if there is any such condition in SAP or am I doing something wrong??

Thanks in Advance,

Aayush Aggarwal

2 REPLIES 2
Read only

SimoneMilesi
Active Contributor
0 Likes
704

Did you check the BAPI's doc?

MVKEMatl no. (18 char.)0001Language
Sales organization and
distribution channel

You have to pass all the 18 char (even if empty) for material and then pass 0001 as TEXT_ID

Read only

ThangaPrakash
Active Contributor
0 Likes
704

Hello Aayush,

It seems to be problem with text determination settings. Go to transaction VOTXN and check the text determination settings. Also go through the below links which could be of some help to you.

Text Determination at Sales Order Initial Screen | SCN

Regards,

Thanga