DATA: lv_file TYPE string VALUE '/usr/sap/test.txt'.
DATA: lv_name TYPE string.
DATA: lv_path TYPE string.
CALL FUNCTION 'TRINT_SPLIT_FILE_AND_PATH'
EXPORTING
full_name = lv_file
IMPORTING
stripped_name = lv_name
file_path = lv_path
EXCEPTIONS
x_error = 1
OTHERS = 2.
IF sy-subrc = 0.
WRITE: / lv_path.
WRITE: / lv_name.
ENDIF.
Kategorien
-
Neueste Beiträge
- [HANA] Übersicht über die Query-Ausführungs-Engine
- [ABAP] SAPscript: Texte editieren
- [ABAP] DMS: Dokumenteninfosatz zu Bestellung anlegen
- Kartoffelsalat – Variante 2
- [SAP] Aktivierung des Material Ledgers (ML)
- GraphQL-Implementierung in PHP
- [SAP] MM Kontenfindung
- [SAP] Automatische Buchungen: Konto-Modifikation (KOMOK)
- [SAP] Kontenpflege
- Epstein-Barr-Virus steht im Verdacht, Multiple Sklerose auszulösen