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

Former Member
0 Likes
512

Hi,

In order to populate the value for the Sales Text in Material Master , is it possible to use LSMW?

If yes, what object is used?

3 REPLIES 3
Read only

Former Member
0 Likes
486

use function module SAVE_TEXT to upload sales text in MM01.

some sample code....

DATA: l_head LIKE thead.

  • t_lines should hold the text data.....

DATA: t_lines TYPE TABLE OF TLINE WITH HEADER LINE.

l_head-tdid = '0001'.

l_head-tdspras = 'E'.

l_head-tdname = record-matnr_001.

l_head-tdobject = 'MVKE'.

CALL FUNCTION 'SAVE_TEXT'

EXPORTING

header = L_HEAD

INSERT = 'X'

SAVEMODE_DIRECT = 'X'

tables

lines = T_LINES

it is syntactically not correct but u can look throgh it for your reference

~~Guduri

Read only

Former Member
0 Likes
486

Thanks Naveen, but i want to use LSMW only.......

Read only

0 Likes
486

Its a simple fm rather than going for 14 steps rite...