Skip to Content
0
Former Member
Dec 11, 2006 at 05:42 AM

'SAVE_TEXT'

60 Views

Hi,

Can any one help me out in sollving this issue!

When ever I am trying to use the above Fun module to chane the Material Po text, it is reflectiung in MM03 but not in Me23N.

Do I need to change any thing in my below code to get this done??

Pls have alook at the code.

REFRESH lt_lines.

Clear ls_header-tdname.

****-Populate Header Text details

ls_header-tdobject = 'MATERIAL'.

ls_header-tdname = Ekpo_t-matnr.

ls_header-tdid = 'BEST'.

ls_header-tdspras = sy-langu.

*****-Populate details of Text

lt_lines-tdline = 'JJJJKKKKSSSS' .

lt_lines-tdformat = '*'.

APPEND lt_lines.

CALL FUNCTION 'SAVE_TEXT'

EXPORTING

client = sy-mandt

header = ls_header

savemode_direct = 'X'

INSERT = 'X '

TABLES

lines = lt_lines

EXCEPTIONS

OTHERS = 1.

CALL FUNCTION 'COMMIT_TEXT'.