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

Excel in required format ( rows & columns)

kalleshraj5554
Explorer
0 Likes
1,259

Is it possible to print data from internal table into Excel in the required format (layout) as we want??if yes how ?? usually the data in Excel is reflected as in the format present in the internal table...but I want in different format.Kindly advise

Is it possible to print data from internal table into Excel in the required format (layout) as we want??if yes how ?? usually the data in Excel is reflected as in the format present in the internal table...but I want in different format.Kindly advise

3 REPLIES 3
Read only

Jigang_Zhang
Active Contributor
0 Likes
1,152

kalleshraj5554

if you mean different excel file layout according to layout variant, you can try OO ALV refer to cl_salv_table, and set layout using set_initial_layout of cl_salv_layout

refer to this.

Read only

balaji_nandikolla
Participant
0 Likes
1,152

Kallesh,

Can you provide more info on your requirement, what exactly you are doing?

Regards,

Balaji

Read only

matt
Active Contributor
1,152

abap2xlsx is the solution.. Google it.