Skip to Content

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

field symbols

I have a code thar recover a table and modify some fields and modify the table, but when i use the assign instruction it gives me an error, can anybody help me please?

Thanks in advance,


data: fld(50) value '((SAPLMEPO)pot[])'.

field-symbols: <fs1> type table.

data: wa_ekpo like ekpo.

assign (fld) to <fs1>.

loop at <fs1> into wa_ekpo.

wa_ekpo-mtart = 'ZSRV'.

clear: wa_ekpo-bstae,


modify <fs1> from wa_ekpo index sy-tabix.


Former Member

Hi Carl,

Are you sure, if this "((SAPLMEPO)pot[])" is an internal table?

During run time, the assign statement is trying to transfer this data to the field symbol.

If ((SAPLMEPO)pot[]) doesn't exist, then it will give an error.



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