SAP CLM_ALINK_UPLOAD_WEB Function Module for Upload Function Modules for Files; Temporary
CLM_ALINK_UPLOAD_WEB is a standard clm alink upload web SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Upload Function Modules for Files; Temporary processing and below is the pattern details for this FM, 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 clm alink upload web FM, simply by entering the name CLM_ALINK_UPLOAD_WEB into the relevant SAP transaction such as SE37 or SE38.
Function Group: ICL_BOR
Program Name: SAPLICL_BOR
Main Program: SAPLICL_BOR
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CLM_ALINK_UPLOAD_WEB 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 'CLM_ALINK_UPLOAD_WEB'"Upload Function Modules for Files; Temporary.
EXPORTING
SAP_OBJECT = "SAP ArchiveLink: Object type of business object
OBJECT_ID = "SAP ArchiveLink: Object ID (Object Identifier)
* AR_OBJECT = "Document Type
* DOC_CLASS = "SAP ArchiveLink: Document Class
EXCEPTIONS
ERROR_ARCHIV = 1 ERROR_COMMUNICATIONTABLE = 2 ERROR_CONNECTIONTABLE = 3 ERROR_KERNEL = 4 ERROR_PARAMETER = 5
IMPORTING Parameters details for CLM_ALINK_UPLOAD_WEB
SAP_OBJECT - SAP ArchiveLink: Object type of business object
Data type: TOAV0-SAP_OBJECTOptional: No
Call by Reference: Yes
OBJECT_ID - SAP ArchiveLink: Object ID (Object Identifier)
Data type: TOAV0-OBJECT_IDOptional: No
Call by Reference: Yes
AR_OBJECT - Document Type
Data type: TOAV0-AR_OBJECTOptional: Yes
Call by Reference: Yes
DOC_CLASS - SAP ArchiveLink: Document Class
Data type: TOADV-DOC_TYPEOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
ERROR_ARCHIV -
Data type:Optional: No
Call by Reference: Yes
ERROR_COMMUNICATIONTABLE - Table TOAAR
Data type:Optional: No
Call by Reference: Yes
ERROR_CONNECTIONTABLE -
Data type:Optional: No
Call by Reference: Yes
ERROR_KERNEL - SAP kernel error
Data type:Optional: No
Call by Reference: Yes
ERROR_PARAMETER - Invalid transfer parameters
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CLM_ALINK_UPLOAD_WEB 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_sap_object | TYPE TOAV0-SAP_OBJECT, " | |||
| lv_error_archiv | TYPE TOAV0, " | |||
| lv_object_id | TYPE TOAV0-OBJECT_ID, " | |||
| lv_error_communicationtable | TYPE TOAV0, " | |||
| lv_ar_object | TYPE TOAV0-AR_OBJECT, " | |||
| lv_error_connectiontable | TYPE TOAV0, " | |||
| lv_doc_class | TYPE TOADV-DOC_TYPE, " | |||
| lv_error_kernel | TYPE TOADV, " | |||
| lv_error_parameter | TYPE TOADV. " |
|   CALL FUNCTION 'CLM_ALINK_UPLOAD_WEB' "Upload Function Modules for Files; Temporary |
| EXPORTING | ||
| SAP_OBJECT | = lv_sap_object | |
| OBJECT_ID | = lv_object_id | |
| AR_OBJECT | = lv_ar_object | |
| DOC_CLASS | = lv_doc_class | |
| EXCEPTIONS | ||
| ERROR_ARCHIV = 1 | ||
| ERROR_COMMUNICATIONTABLE = 2 | ||
| ERROR_CONNECTIONTABLE = 3 | ||
| ERROR_KERNEL = 4 | ||
| ERROR_PARAMETER = 5 | ||
| . " CLM_ALINK_UPLOAD_WEB | ||
ABAP code using 7.40 inline data declarations to call FM CLM_ALINK_UPLOAD_WEB
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.| "SELECT single SAP_OBJECT FROM TOAV0 INTO @DATA(ld_sap_object). | ||||
| "SELECT single OBJECT_ID FROM TOAV0 INTO @DATA(ld_object_id). | ||||
| "SELECT single AR_OBJECT FROM TOAV0 INTO @DATA(ld_ar_object). | ||||
| "SELECT single DOC_TYPE FROM TOADV INTO @DATA(ld_doc_class). | ||||
Search for further information about these or an SAP related objects