SAP EXIT_SAPLCVALE_001 Function Module for User exit for ALE-DMS (DOCMAS inbound)
EXIT_SAPLCVALE_001 is a standard exit saplcvale 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User exit for ALE-DMS (DOCMAS inbound) 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 exit saplcvale 001 FM, simply by entering the name EXIT_SAPLCVALE_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XCV002
Program Name: SAPLXCV002
Main Program:
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLCVALE_001 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 'EXIT_SAPLCVALE_001'"User exit for ALE-DMS (DOCMAS inbound).
CHANGING
* I_MSG_TXT = ' ' "Error text for ALE layer error
TABLES
* I_IDOC_DATA = "Idoc data
EXCEPTIONS
EXIT_IDOC = 1
Related IDocs
Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.IDOC_INPUT_DOCMAS - SAP IDoc DOCMAS01
IDOC_INPUT_DOCMAS - SAP IDoc DOCMAS02
IDOC_INPUT_DOCMAS - SAP IDoc DOCMAS04
IDOC_INPUT_DOCMAS - SAP IDoc DOCMAS05
IDOC_INPUT_DOLMAS - SAP IDoc DOLMAS01
IDOC_INPUT_DOLMAS - SAP IDoc DOLMAS02
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ALE_DOCUMENT_LOAD BAPI -> IDoc: ALE_DOCUMENT_LOAD
CHECK_DISTRIBUTE_LOCK NOTRANSL: Prüfen ob mit Verteilsperre gearbeitet wird
CREATE_DVS_IDOC NOTRANSL: Idoc erzeugen/Testroutine für ALE
CVALE_CHECKOUT_TO_TABLE NOTRANSL: DVS: Checkout aus allen alten Ablagen in int. Tabelle
CVALE_DOC_CHECKOUT NOTRANSL: ALE: Dokumente auschecken
CVALE_DOC_GET_CONTENT NOTRANSL: Originale für ALE aus dem Quellsystem holen und im lokalen Syste
CVALE_GET_SYSTEM NOTRANSL: ALE FB liefert sendendes System
CVALE_KPRO_CHECKOUT NOTRANSL: ALE: KPRO Dokumente auschecken
CVALE_KPRO_GET_CONTENT DE-EN-LANG-SWITCH-NO-TRANSLATION
CVDS_CHECK_DATA_CARRIER NOTRANSL: Check der Datenträger (auch im fremden System)
CVDS_DOCUMENT_CHECKIN NOTRANSL: Dokumente einchecken (ALE-Eingang) (wird nicht mehr verwendet)
CVDS_DOCUMENT_CHECKOUT NOTRANSL: ALE: Dokumente auschecken
CVDS_GET_ORIGINALS NOTRANSL: Originale im ALE-Fall aus dem Quellsystem holen
CVDS_TABLES_INIT NOTRANSL: ALE Dokumente: initialisiert Anwendungspuffer
CVDS_WRITE_TABLE2FILE NOTRANSL: Tabelle (DRAO) in File schreiben
DOCUMENT_FILTEROBJ_GET_VALUE NOTRANSL: Lesen der Werte zu den Filterobjekten zum Dokument
DRAW_CHECK_DISTRIBUTE_LOCK NOTRANSL: Verteilsperre für Dokument prüfen
DVS_SAVE_OBJECT_LINKS NOTRANSL: Dokumentenverknüpfungen speichern
IDOC_INPUT_DOCUMENT_LOAD IDoc -> BAPI: IDOC_INPUT_DOCUMENT_LOAD
MASTERIDOC_CREATE_DOCMAS NOTRANSL: ALE Dokumente: Erstellen des IDOC-Inhaltes
MASTERIDOC_CREATE_DOLMAS NOTRANSL: Idoc für Dokument-Objektverknüpfung erstellen
MASTERIDOC_CREATE_REQ_DOCMAS NOTRANSL: IDOCS für DOCMAS erzeugen (direktes Senden)
MASTERIDOC_CREATE_SMD_DOCMAS NOTRANSL: ALE Dokumente: Auswerten der Änderungspointer
MASTERIDOC_CREATE_SMD_DOLMAS NOTRANSL: ALE Objektverknüpfungen: Auswerten der Änderungspointer
CHANGING Parameters details for EXIT_SAPLCVALE_001
I_MSG_TXT - Error text for ALE layer error
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLCVALE_001
I_IDOC_DATA - Idoc data
Data type: EDIDDOptional: Yes
Call by Reference: Yes
EXCEPTIONS details
EXIT_IDOC - Error causes cancellation of Idoc
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLCVALE_001 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_exit_idoc | TYPE STRING, " | |||
lv_i_msg_txt | TYPE STRING, " ' ' | |||
lt_i_idoc_data | TYPE STANDARD TABLE OF EDIDD. " |
  CALL FUNCTION 'EXIT_SAPLCVALE_001' "User exit for ALE-DMS (DOCMAS inbound) |
CHANGING | ||
I_MSG_TXT | = lv_i_msg_txt | |
TABLES | ||
I_IDOC_DATA | = lt_i_idoc_data | |
EXCEPTIONS | ||
EXIT_IDOC = 1 | ||
. " EXIT_SAPLCVALE_001 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCVALE_001
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.DATA(ld_i_msg_txt) | = ' '. | |||
See full list of SAP IDocs
See full list of SAP Function Modules
Search for further information about these or an SAP related objects