Last active
March 7, 2018 21:24
-
-
Save Ripley6811/610b69eead3eab20af7d891660f1aa38 to your computer and use it in GitHub Desktop.
ABAP: How to get the GUID for an inbound file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * Get the originating file GUID. | |
| DATA: lv_aif_msgguid TYPE /aif/sxmssmguid, | |
| lo_exception TYPE REF TO cx_root. | |
| TRY . | |
| CALL FUNCTION '/AIF/FILE_GET_GLOBALS' | |
| IMPORTING | |
| ximsgguid = lv_aif_msgguid. | |
| CATCH cx_uuid_error INTO lo_exception. | |
| CATCH cx_root INTO lo_exception. | |
| ENDTRY. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment