Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3363

Moving data from one ITAB to another with different structure

$
0
0

Hi,

 

I have 2 ALVs in a view where i need to add the selected data from ALV1 to ALV2 when i press ADD button and remove the selected data from ALV2 to ALV1 when i click REMOVE button.

 

The problem is ALV2 has an extra field.

 

STEP 1: I use GET_SELECTED_ELEMENTS from ALV1 and push it to an ITAB1,

STEP 2: I need to loop at ITAB1 and pass individual data to ITAB2 as ITAB2 has an extra field.

 

How do i achieve step 2. What will be the work area type? I cannot use work_area1 like like of ITAB1.

Please help.


Viewing all articles
Browse latest Browse all 3363

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>