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

need soln

Former Member
0 Likes
894

Hi

i have a work area with some records, i have a internal table with some rows of records. i want to move records one by one to work area. ie internal table to workarea.

plz help me

Mohana

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
873

Hi,


LOOP AT itab.
MOVE-CORRESPONDING itab to WA.
APPEND wa.
ENDLOOP.

8 REPLIES 8
Read only

Former Member
0 Likes
873

Hi,

Loop at itab into wa.

-


-


endloop.

Thanks,

Sriram Ponna.

Read only

Former Member
0 Likes
874

Hi,


LOOP AT itab.
MOVE-CORRESPONDING itab to WA.
APPEND wa.
ENDLOOP.

Read only

0 Likes
873

No,

i want to replace only one record from my internal table to work area.

plz give me soln. its urgent

Mohana

Read only

0 Likes
873

Hi

if you know the key of the itab line you can use

READ TABLE............... WITH KEY comp1 = dobj1 comp2 = dobj2 ...

Regards

Yossi

Read only

0 Likes
873

hi yossi,

plz explain in details

Mohana

Read only

0 Likes
873

i have internal table with matnr, and qty. i have work area date and qty. i want to replace qty from interanal table to work area qty

Mohana

Read only

0 Likes
873

READ TABLE itab WITH KEY matnr = matnr.

wa-qty = itab-qty.

Message was edited by:

Perez C

Read only

Former Member
0 Likes
873

READ TABLE itab WITH TABLE KEY k1 = v1.
MOVE-CORRESPONDING itab TO wa.