Application Development 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: 

Sales Text

Former Member
0 Kudos
83

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

Former Member
0 Kudos
57

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

Former Member
0 Kudos
57

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

0 Kudos
57

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