Skip to Content

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

modify itab at one step?

Hi Gurus,

I want to modify itab at one step, is it possible..

-


----


A * *

A * *

B * *

C * *

A * *

With just 1 statement I want to write '1' at to right sides of lines which includes 'A'.

I dont want to loop itab.

Is it possible.

Thanks.

Tags:
replied

If the value 1 goes into a separate field:

wa_itab-field2 = 1.

modify itab from wa_itab transporting field2 where field1 eq 'A'.

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