SAP EXIT_SAPLCVV2_003 Function Module for DDS: User-Exit - Create initial order
EXIT_SAPLCVV2_003 is a standard exit saplcvv2 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for DDS: User-Exit - Create initial order 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 saplcvv2 003 FM, simply by entering the name EXIT_SAPLCVV2_003 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XCVV2
Program Name: SAPLXCVV2
Main Program:
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLCVV2_003 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_SAPLCVV2_003'"DDS: User-Exit - Create initial order.
CHANGING
C_DRZOI = "Initial order data
C_STATUS = "Status pf partial orders (SY,AS,MA)
TABLES
T_DRZOC = "Recipient document dependencies
EXCEPTIONS
ERROR = 1
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.CVV2_CHECK_DDI_CLASSIFICATION NOTRANSL: Klassifikation eines Initialauftrags lesen
CVV2_COPY_DRZA_TO_DRZO NOTRANSL: DDS: Füllen die Tabelle DRZO mit dem Inhalt von DRZA
CVV2_DDI_CREATE NOTRANSL: DDS: Initialauftrag anlegen (DDI)
CVV2_DDO_BUNDLE NOTRANSL: DDS: Verteilauftrag bündeln
CVV2_DDO_CHECK NOTRANSL: DDS: Verteilauftrag prüfen
CVV2_DDO_CREATE NOTRANSL: DDS: Verteilauftrag anlegen (DDO)
CVV2_DDO_SENT_MAIL NOTRANSL: Mailversendung als Verbraucher von Ereignissen
CVV2_DISTRIBUTE_ORIGINALS NOTRANSL: DDS: Kopie der Originale auf Applikations-/ oder DDS-Server
CVV2_DRZOF_UPDATE_ENTRY NOTRANSL: DDS: Erzeugen eines Eintrages in DRZOF
CVV2_DRZOI_UPDATE_ENTRY NOTRANSL: DDS: Anlegen/Ändern eines Initialauftrages auf der Datenbank
CVV2_DRZO_UPDATE_ENTRY NOTRANSL: DDS: Anlegen/Ändern eines Verteilauftrags auf der Datenbank
CVV2_READ_DATASET_FROM_APPS NOTRANSL: DDS: Datei vom Applikationsrechner lesen
CHANGING Parameters details for EXIT_SAPLCVV2_003
C_DRZOI - Initial order data
Data type: DRZOIOptional: No
Call by Reference: No ( called with pass by value option)
C_STATUS - Status pf partial orders (SY,AS,MA)
Data type: DRZOC-STATUSOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLCVV2_003
T_DRZOC - Recipient document dependencies
Data type: DRZOCOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR - Error
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLCVV2_003 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_error | TYPE STRING, " | |||
| lv_c_drzoi | TYPE DRZOI, " | |||
| lt_t_drzoc | TYPE STANDARD TABLE OF DRZOC, " | |||
| lv_c_status | TYPE DRZOC-STATUS. " |
|   CALL FUNCTION 'EXIT_SAPLCVV2_003' "DDS: User-Exit - Create initial order |
| CHANGING | ||
| C_DRZOI | = lv_c_drzoi | |
| C_STATUS | = lv_c_status | |
| TABLES | ||
| T_DRZOC | = lt_t_drzoc | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " EXIT_SAPLCVV2_003 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCVV2_003
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 STATUS FROM DRZOC INTO @DATA(ld_c_status). | ||||
Search for further information about these or an SAP related objects