Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ABAP FuBa Problem

Empfohlene Antworten

Hallo zusammen,

ich habe mal wieder ein Problem:

ich will in ABAP eine Excel-Datei einlesen - da dachte ich mir, nehmen wir doch den FuBa FILE_READ_AND_CONVERT_SAP_DATA.

Wenn ich diesen jedoch aufrufe, bekomme ich immer eine Exception vom Typ fileNotFound zurück. Dies ist aber nicht möglich. Die Datei existiert auf jeden Fall, Pfad mit Groß-/Kleinschreibung ist definitiv richtig.

Habe es mit dem FuBa cl_gui_frontend_services=>file_exist getestet. Dieser läuft ganz normal durch und sagt, dass die Datei existiert.

Jemand eine Idee?

Hier mein Aufruf:

    CALL FUNCTION 'FILE_READ_AND_CONVERT_SAP_DATA'

      EXPORTING

        i_filename                 = l_file

        i_servertyp                = 'OLE2'

        i_fileformat               = 'XLS'

*        I_FIELD_SEPERATOR          =

        i_line_header              = 'X'

*        IMPORTING

*        E_BIN_FILELENGTH           =

     TABLES

       i_tab_receiver             = gt_xls

     EXCEPTIONS

       file_not_found             = 1

       close_failed               = 2

       authorization_failed       = 3

       open_failed                = 4

       conversion_failed          = 5.

l_file ist vom Typ c

gt_xls ist die Zieltabelle mit einer eigens angelegten Struktur für die Excel-File

RC ist immer 1.

Gruß

Die Lady

Danke...

hat sich erledigt. War nur ein kleiner Auswertungsfehler bei den Parametern. :upps

Hab zwar jetzt den nächsten Fehler, aber ich schau erstmal, ob ich das net allein hinkriege :D

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.