Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

help:FM save_text

hi,everyone.

I want to using FM:save_text to edit the header text data of vendor master data at purchasing org level.

ls_header-tdspras = sy-langu.

ls_header-tdobject = 'LFM1'. "purchasing org level

ls_header-tdid = pf_id.

ls_header-tdtitle = pf_title.

lt_lines-tdline = pf_title .

lt_lines-tdformat = '*'.

APPEND lt_lines.

CALL FUNCTION 'SAVE_TEXT'

EXPORTING

client = sy-mandt

header = ls_header

savemode_direct = 'X'

TABLES

lines = lt_lines

EXCEPTIONS

OTHERS = 1.

who can tell me how to pass purchasing org data to parameter(header,table)?

ths

Eric xu

Tags:
Former Member
Former Member replied

Hi

I think you have to transfer the organization in the name of the text:

CONCATENATE P_LIFNR P_EKORG INTO LS_HEADER-TDNAME

Max

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question