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

Update fields data into Itab.

Former Member
0 Likes
322

Hi All,

I have two differnte line type tables Ex: Itab1(matnr,erdat,ernam, etc) & Itab2(matnr, erdat, etc) (structure is different for these tables). But bothe tables have 2 common fields (Ex: matnr & erdat), Itab1 contains data of these 2 fields with other fields. I'm calling a FM and it returns table Itab2. Itab2 has data for other fields but for matnr & erdat has empty. I want to update data of those 2 fields from Itab1 to Itab2. I used Modfy table...Transporting.... statment but it is not working becouse of line type is not same for both tables.

Help on this.

2 REPLIES 2
Read only

Former Member
0 Likes
304

If you use the TRANSPORTING addition together with an explicitly-specified work area, the work area must be compatible with the line type of the internal table.

Read only

Former Member
0 Likes
304

solved