01-25-2011 10:45 AM
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
01-25-2011 10:53 AM
Hi,
Check out this LINK
ps: Don´t forget to scroll down..the rest of the code is at the end of the page
01-25-2011 10:53 AM
Hi,
Check out this LINK
ps: Don´t forget to scroll down..the rest of the code is at the end of the page
01-25-2011 10:56 AM
Hi,
Please use the below FM :
ALSM_EXCEL_TO_INTERNAL_TABLE
Thanks,
Prarthan
01-29-2011 1:46 PM
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