Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Internal table Query

$
0
0

Hello, I am a BW guy with very limited ABAP knowledge. I have an ABAP query. I have an internal table called in_t_1 in which I have placed data like below:

 

Customer    Addr

1000        IN_201

1000        US_203

1000        UK_205

 

 

 

ok so now, i have created another internal table called in_t_2 in which I have the following fields:

 

 

Customer    India    United States    United Kingdom

 

 

I want to implement "transpose" logic that we have in Excel here. so i want to place my data into in_t_2 like below depending on the first 2 chars:

 

Customer    India    United States    United Kingdom

1000            IN_201    US_203             UK_205

 

so i want to collapse these three records in to one. but i don't know how to implement this logic or the syntax.  Is there some thing like transpose in ABAP that I can use here?

 

Can someone help me with this issue?

 

Thanks.


Viewing all articles
Browse latest Browse all 8332

Trending Articles



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