Skip to Content

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

Field-symbol to identify the field name at run time.

Hi All,

i have a structure p0041. It has some fields like dar01, dat01, dar02, dat02, dar03, dat03 etc etc...

i have to insert new values like '99' to darXX and '20081220' to datXX.

The problem is some records have dar01 and dat01 filled, some have dar01, dat01 , dar02 , dat02 filled like that.

In the first case i have to insert the new values to dar02 and dat02 respectively as (dar01, dat01 is filled) and for the second case i have to insert new values

to dar03 and dat03 respectively as upto dar02 dat 02 are filled here.

I know that i have to use field-symbols here to identify the field names to which the new values are to be inserted.

Please let me know how to achieve this.

Thanks & Regards,


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