Skip to Content

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

delete lines from internal tables problem

HI

LOOP at itab2.

IF itab2-fieldA+0(1) = 'Z' or

itab2-fieldA+0(2) = 'R2'.

WRITE: / itab2-fieldA, itab2-fieldZ.

ENDIF.

ENDLOOP.

Working well and return lines:

Z 54

R2 76

A 34

but this loop:

LOOP at itab2.

IF itab2-fieldA+0(1) = 'Z' or

itab2-fieldA+0(2) = 'R2'.

DELETE itab2 from itab2.

ENDIF.

ENDLOOP.

return error "UC_OBJECTS_NOT_NUMLIKE".

How to resolve this problem?

Regards

PWnuk

Tags:
Former Member

Helpful Answer

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