SAP ICL_GET_AL_CONTENT Function Module for
ICL_GET_AL_CONTENT is a standard icl get al content SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for icl get al content FM, simply by entering the name ICL_GET_AL_CONTENT into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_REUSE
Program Name: SAPLICL_REUSE
Main Program: SAPLICL_REUSE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ICL_GET_AL_CONTENT pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'ICL_GET_AL_CONTENT'".
EXPORTING
* IV_CLAIM = "
IV_ARCHIV_ID = "
IV_ARC_DOC_ID = "
IMPORTING
ET_DOCUMENT = "
EV_MIME_TYPE = "
EV_OBJECT_TYPE = "
EV_DOCUMENT_TYPE = "
EXCEPTIONS
READ_ARCHIVE_FAILED = 1
IMPORTING Parameters details for ICL_GET_AL_CONTENT
IV_CLAIM -
Data type: ICL_CLAIMOptional: Yes
Call by Reference: Yes
IV_ARCHIV_ID -
Data type: SAEARCHIVIOptional: No
Call by Reference: Yes
IV_ARC_DOC_ID -
Data type: SAEARDOIDOptional: No
Call by Reference: Yes
EXPORTING Parameters details for ICL_GET_AL_CONTENT
ET_DOCUMENT -
Data type: FKK_TBL1024_TOptional: No
Call by Reference: Yes
EV_MIME_TYPE -
Data type: W3CONTTYPEOptional: No
Call by Reference: Yes
EV_OBJECT_TYPE -
Data type: SAEOBJARTOptional: No
Call by Reference: Yes
EV_DOCUMENT_TYPE -
Data type: SAEDOKTYPOptional: No
Call by Reference: Yes
EXCEPTIONS details
READ_ARCHIVE_FAILED -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for ICL_GET_AL_CONTENT Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_iv_claim | TYPE ICL_CLAIM, " | |||
| lv_et_document | TYPE FKK_TBL1024_T, " | |||
| lv_read_archive_failed | TYPE FKK_TBL1024_T, " | |||
| lv_ev_mime_type | TYPE W3CONTTYPE, " | |||
| lv_iv_archiv_id | TYPE SAEARCHIVI, " | |||
| lv_iv_arc_doc_id | TYPE SAEARDOID, " | |||
| lv_ev_object_type | TYPE SAEOBJART, " | |||
| lv_ev_document_type | TYPE SAEDOKTYP. " |
|   CALL FUNCTION 'ICL_GET_AL_CONTENT' " |
| EXPORTING | ||
| IV_CLAIM | = lv_iv_claim | |
| IV_ARCHIV_ID | = lv_iv_archiv_id | |
| IV_ARC_DOC_ID | = lv_iv_arc_doc_id | |
| IMPORTING | ||
| ET_DOCUMENT | = lv_et_document | |
| EV_MIME_TYPE | = lv_ev_mime_type | |
| EV_OBJECT_TYPE | = lv_ev_object_type | |
| EV_DOCUMENT_TYPE | = lv_ev_document_type | |
| EXCEPTIONS | ||
| READ_ARCHIVE_FAILED = 1 | ||
| . " ICL_GET_AL_CONTENT | ||
ABAP code using 7.40 inline data declarations to call FM ICL_GET_AL_CONTENT
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.Search for further information about these or an SAP related objects