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

Material SalesText ?

Former Member
0 Likes
705

The external system wants to send Material Sales text for a Sales Order. I asked them to send certain default values for the Text ID, TDOBJECT, name etc..but they are telling that they can only send TxtLine .

I want to know:

This is sure that Text element cant be created in SAP w/o TDID, TDOBJECT and name fields ...am i rt ?

IF yes then , in this scenario i will be needed to puch those values through program ?

Will it be okay if they dont agree to send TDFORMAT = '*' or '/'. how will we handle this on ours side as we will only recieve txtline...!!?

Pls help asap.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
638

Hi Raymond,

TDFORMAT is not mandatory, but what is required for you for sure to create the Material Sales Text is the Text Name, Language, Text Id and Text Object. With this basic information and the TDLine data received you will be able to insert the Sales Text.

Regards,

Tribeni

4 REPLIES 4
Read only

Former Member
0 Likes
638

hI rAY,

Check these parameters they help you..

TDID = '0001'

TDOBJECT = 'MVKE'

TDNAME = '000000000000001130100001'

TDSPARS = 'EN'

now TDNAME is part of materialplantdistribution channel

000000000000001130 <<<- material

1000 <<<<<- plant

01<<<<<-dist channel

rEGARDS

VIJAY

Read only

Former Member
0 Likes
638

Hi,

As the legacy system does not know what key values SAP uses for those fields, they cannot send the same to you. So, they will send only the text.

The way to find out is go to the Material Sales text in MM03 and double click on the text so that it opens in the full screen mode. Now, in the menu, Go To--> Header you can find the parameters that you can use to pass to the function SAVE_TEXT while passing the SALES Text given by the Legacy system.

Regards,

Ravi

Note : Please close the thread if the question is answered and mark all the helpful posts.

Read only

ferry_lianto
Active Contributor
0 Likes
638

Hi Raymond,

Does the external system send through IDoc interface?

If it does, then perhaps you need to find custom user exit and populate the necessary segments for TDID, TDOBJECT and so on. For example, there is user exit EXIT_SAPLMV02_002 in IDOC_INPUT_MATMAS01 to modify the segment.

They are required fields in order to save the text line for Material. As long as you have the information related to material such as material number, plant, distribution channel, you should be able to save the material sales text in SAP.

If it doesn't then you need to populate those fields in your custom program prior to generate/save the material.

Hope this will help.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
639

Hi Raymond,

TDFORMAT is not mandatory, but what is required for you for sure to create the Material Sales Text is the Text Name, Language, Text Id and Text Object. With this basic information and the TDLine data received you will be able to insert the Sales Text.

Regards,

Tribeni