Application Development 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: 

Excel-Sheet to internal table

Former Member
0 Kudos

Hi Guys,

i wrote a program that reads an Excel-File and gives me for every Sheet an internal table like this:

ROW | COLUMN | VALUE

I transformed this out of 2 records into this with some Coding:

KEY | VALUE

But i Need all this into an structure / internal table which Looks like this:

VALUE | VALUE | VALUE | VALUE | VALUE

The Header of this structure / internal table is the same as the first row of the Excel.

I tried Looping my NameValueTable into this structure but this is not really performant... Is there a possibility to upload my Excel directly into the structure, for every sheet? Because every sheet Looks different and Needs an other structure.

Thanks for your help! 🙂

Alex

2 REPLIES 2

pokrakam
Active Contributor

I really really recommend looking at the most excellent ABAP2XLSX project. Easy to find using your favorite search engine.