2007 Sep 14 7:44 PM
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?
2007 Sep 14 7:56 PM
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
2007 Sep 14 9:30 PM
2007 Sep 14 9:41 PM