Skip to Content

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

AT NEW problem for each field

Hi All,

i have data with following field:

field1

field2

field3

i want every new of each field will perform difference function

so i'm use

LOOP AT i_data INTO wa_data.

AT NEW field1.

PERFORM func1.

ENDAT.

AT NEW field2.

PERFORM func2.

ENDAT.

ENDLOOP.

but if i'm used that code, func2 will executed every at new of field2 and field1.

how to fix this problem??

Tags:
Former Member

Helpful Answer

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