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: 

Export data to EXCEL file

former_member627003
Participant
0 Kudos

Hello All,

I have 3 internal tables and I need them exported to an one excel file.

It will have two headers, that shows the description and the other ones will show the DATA.

Here are an example:

Header Data Stage Data Delivery Data

Shipment Service Agent Name SCAC Stage Origin Name Origin Region

12124 51054 LTL Carrier RLQD u2026 1 Philadelphia PA u2026

12124 51054 LTL Carrier RLQD u2026 2 New York NY u2026

12124 51054 LTL Carrier RLQD u2026 2 New York NY u2026

Do you know what kind of function module should I use?

Thank you,

Ricardo

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Check out this LINK

ps: Don´t forget to scroll down..the rest of the code is at the end of the page

3 REPLIES 3

Former Member
0 Kudos

Hi,

Check out this LINK

ps: Don´t forget to scroll down..the rest of the code is at the end of the page

Former Member
0 Kudos

Hi,

Please use the below FM :

ALSM_EXCEL_TO_INTERNAL_TABLE

Thanks,

Prarthan

0 Kudos

Hi,

even if your post is answered, I would suggest you to read also these blogs

[abap2xlsx - Generate your professional Excel spreadsheet from ABAP|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20046] [original link is broken] [original link is broken] [original link is broken];

[xlsx2abap - Read and edit your Excel files from ABAP|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/20791] [original link is broken] [original link is broken] [original link is broken];

[abap2xlsx - I'm no longer a baby, I grow up and now I'm a fully featured tool|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22285] [original link is broken] [original link is broken] [original link is broken];

Code of this SCN Community project is shared on [Code Exchange|https://cw.sdn.sap.com/cw/groups/abap2xlsx]

Regards

Ivan