Export/Configure Excel from ABAP

Alles rund um die Sprache ABAP®: Funktionsbausteine, Listen, ALV
2 Beiträge • Seite 1 von 1
2 Beiträge Seite 1 von 1

Export/Configure Excel from ABAP

Beitrag von Braindust (ForumUser / 1 / 0 / 0 ) »
Hi all !!!

I'm using the function MS_EXCEL_OLE_STANDARD_DAT to export an internal table into Excel ...

But I want to add a new Worksheet into Excel if my internal table is bigger than 65536 records ... How can I do this please ?

Thanks a lot for your help.

David. :wink:

gesponsert
Stellenangebote auf ABAPforum.com schalten
kostenfrei für Ausbildungsberufe und Werksstudenten


Beitrag von Wob (ForumUser / 3 / 0 / 0 ) »
Hi,

The function module that you are calling downloads the ITAB as a .txt file, then opens excel and presses the SaveAS button to convert this to Excell.

My suggestion would be to modify the function module to open excel, and 'open' your .txt files per tab broken down into as many files as you need.

1) Download the data into no of .txt files.
2) Open Excel
3) On the first 'TAB' select open File and specify the file name
4) Select the second tab and repeat point 3
5) Select SaveAs to convert to .xls

A bit of OLE type coding involved so its a case of 'do they really need this'?

Cheers
Wob

Seite 1 von 1

Vergleichbare Themen

2
Antw.
5453
Views
EXCEL Export aus SAP mit Excel 2003 / 2007
von hfahrian » 03.02.2014 11:34 • Verfasst in ABAP Objects®
2
Antw.
2561
Views
XML Export an Excel?
von f0x » 26.03.2007 07:49 • Verfasst in SAP - Allgemeines
1
Antw.
3085
Views
Export SAP -> Excel
von Deters » 27.04.2011 15:40 • Verfasst in ABAP® Core
4
Antw.
2263
Views
Excel-Export im Batchbetrieb
von grossmic » 11.12.2008 10:16 • Verfasst in ABAP® für Anfänger
0
Antw.
1921
Views
Export nach Excel
von reini69 » 08.08.2006 14:41 • Verfasst in ABAP Objects®

Über diesen Beitrag


Unterstütze die Community und teile den Beitrag für mehr Leser und Austausch

Aktuelle Forenbeiträge

ATC Finding in Smartforms
vor 3 Tagen von sap_enthusiast 2 / 449
LSMW-Problem
vor 4 Tagen von rob_abc 4 / 489

Newsletter Anmeldung

Keine Beiträge verpassen! Wöchentlich versenden wir lesenwerte Beiträge aus unserer Community.
Die letzte Ausgabe findest du hier.
Details zum Versandverfahren und zu Ihren Widerrufsmöglichkeiten findest du in unserer Datenschutzerklärung.

Aktuelle Forenbeiträge

ATC Finding in Smartforms
vor 3 Tagen von sap_enthusiast 2 / 449
LSMW-Problem
vor 4 Tagen von rob_abc 4 / 489

Unbeantwortete Forenbeiträge

SFP/SEGW - Fehler beim Rendering
letzen Monat von Manfred K. 1 / 74573
Benutzerdefinierte Felder PSP
January 2026 von Rabea1103 1 / 127629