Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Internal table Query

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.

Former Member
Not what you were looking for? View more on this topic or Ask a question