SAP FVD_API_CORR_ALOI_UPDATE_AL Function Module for Create ALOI (Implementation of Exit OA_CREATE_TABLE_02)
FVD_API_CORR_ALOI_UPDATE_AL is a standard fvd api corr aloi update al SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create ALOI (Implementation of Exit OA_CREATE_TABLE_02) 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 fvd api corr aloi update al FM, simply by entering the name FVD_API_CORR_ALOI_UPDATE_AL into the relevant SAP transaction such as SE37 or SE38.
Function Group: FVD_API_CORR_ALOI
Program Name: SAPLFVD_API_CORR_ALOI
Main Program:
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function FVD_API_CORR_ALOI_UPDATE_AL 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 'FVD_API_CORR_ALOI_UPDATE_AL'"Create ALOI (Implementation of Exit OA_CREATE_TABLE_02).
EXPORTING
ARCHIV_ID = "Content Repository Identification
ARC_DOC_ID = "SAP ArchiveLink: Document ID
OBJECT_ID = "SAP ArchiveLink: Object ID (Object Identifier)
SAP_OBJECT = "SAP ArchiveLink: Object type of business object
DOC_TYPE = "SAP ArchiveLink: Document Class
TABLES
ARCHIVOBJECT = "Stored document
IMPORTING Parameters details for FVD_API_CORR_ALOI_UPDATE_AL
ARCHIV_ID - Content Repository Identification
Data type: TOAAR-ARCHIV_IDOptional: No
Call by Reference: No ( called with pass by value option)
ARC_DOC_ID - SAP ArchiveLink: Document ID
Data type: TOAV0-ARC_DOC_IDOptional: No
Call by Reference: No ( called with pass by value option)
OBJECT_ID - SAP ArchiveLink: Object ID (Object Identifier)
Data type: SAPB-SAPOBJIDOptional: No
Call by Reference: No ( called with pass by value option)
SAP_OBJECT - SAP ArchiveLink: Object type of business object
Data type: TOAOM-SAP_OBJECTOptional: No
Call by Reference: No ( called with pass by value option)
DOC_TYPE - SAP ArchiveLink: Document Class
Data type: TOADD-DOC_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for FVD_API_CORR_ALOI_UPDATE_AL
ARCHIVOBJECT - Stored document
Data type: DOCSOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for FVD_API_CORR_ALOI_UPDATE_AL 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_archiv_id | TYPE TOAAR-ARCHIV_ID, " | |||
| lt_archivobject | TYPE STANDARD TABLE OF DOCS, " | |||
| lv_arc_doc_id | TYPE TOAV0-ARC_DOC_ID, " | |||
| lv_object_id | TYPE SAPB-SAPOBJID, " | |||
| lv_sap_object | TYPE TOAOM-SAP_OBJECT, " | |||
| lv_doc_type | TYPE TOADD-DOC_TYPE. " |
|   CALL FUNCTION 'FVD_API_CORR_ALOI_UPDATE_AL' "Create ALOI (Implementation of Exit OA_CREATE_TABLE_02) |
| EXPORTING | ||
| ARCHIV_ID | = lv_archiv_id | |
| ARC_DOC_ID | = lv_arc_doc_id | |
| OBJECT_ID | = lv_object_id | |
| SAP_OBJECT | = lv_sap_object | |
| DOC_TYPE | = lv_doc_type | |
| TABLES | ||
| ARCHIVOBJECT | = lt_archivobject | |
| . " FVD_API_CORR_ALOI_UPDATE_AL | ||
ABAP code using 7.40 inline data declarations to call FM FVD_API_CORR_ALOI_UPDATE_AL
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 ARCHIV_ID FROM TOAAR INTO @DATA(ld_archiv_id). | ||||
| "SELECT single ARC_DOC_ID FROM TOAV0 INTO @DATA(ld_arc_doc_id). | ||||
| "SELECT single SAPOBJID FROM SAPB INTO @DATA(ld_object_id). | ||||
| "SELECT single SAP_OBJECT FROM TOAOM INTO @DATA(ld_sap_object). | ||||
| "SELECT single DOC_TYPE FROM TOADD INTO @DATA(ld_doc_type). | ||||
Search for further information about these or an SAP related objects