Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

modify itab at one step?

Former Member
0 Likes
675

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
654

If the value 1 goes into a separate field:

wa_itab-field2 = 1.

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

5 REPLIES 5
Read only

Former Member
0 Likes
655

If the value 1 goes into a separate field:

wa_itab-field2 = 1.

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

Read only

0 Likes
654

Thanks.

Read only

rainer_hbenthal
Active Contributor
0 Likes
654

> I dont want to loop itab.

I want to take a shower without becoming wet. How to do that?

Read only

0 Likes
654

As you see. If u can try enough, u may do that:))

Read only

0 Likes
654

As you see. If u can try enough, u may do that:))