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 export problem

Former Member
0 Likes
300

HI Experts !

In a program while exporting data from alv grid to excel , its exporting only one last column . what is the solution so that all columns be transported .

plz help .

thanks.

ranjana

2 REPLIES 2
Read only

Former Member
0 Likes
275

HI Ranjana,

You must be passing the header to the function module which is not clear thats why it contains the last value of the itab.pass the entire internal table.

or

you have to do some loop.endloop. and write your excel code inside the loop.

try these maybe you get your solution

<b><REMOVED BY MODERATOR></b>

thanks

vivekanand

Message was edited by:

Alvaro Tejada Galindo

Read only

Former Member
0 Likes
275

Hi Ranjana,

It is best to use the export inside the Loop Endloop as it will export all the columns and their values one by one.

In case you still have any clarifications,please let me know.

Regards,

Puneet Jhari.