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: 

download Excel worksheet & summary

Former Member
0 Kudos

Hi Experts

I have data in o/p. I want to download the data.

example

My list o/p from prg.

EmpNo. EmpName Qty Ordered

123 swati 100

124 keerti 200

125 preeti 300

Summary.

total names : 3

total qty : 600

How do I download the data along with Summary data into excel in the same format.

2 REPLIES 2

Former Member
0 Kudos

You can use the FM WS_EXCEL. fill the parameter filename with the excel file you want to download the internal table to, and make sure the extension is .xls. in the data parameter pass the internal table from whihc you want to download the data.

Former Member
0 Kudos

hi

good

go through this link

http://sap.ittoolbox.com/code/archives.asp?d=3027&a=s&i=10

thanks

mrutyun^