SAP EXIT_SAPLVV02_001 Function Module for Read and Post Additional Export Customer Master Segments
EXIT_SAPLVV02_001 is a standard exit saplvv02 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 Read and Post Additional Export Customer Master Segments 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 saplvv02 001 FM, simply by entering the name EXIT_SAPLVV02_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XVSV
Program Name: SAPLXVSV
Main Program:
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLVV02_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_SAPLVV02_001'"Read and Post Additional Export Customer Master Segments.
EXPORTING
IDOC_CONTROL = "IDoc Control Record
INPUT_METHOD = "Input Method
IMPORTING
WORKFLOW_RESULT = "Workflow Result
TABLES
IDOC_DATA = "IDoc Data Records (Segments)
IDOC_STATUS = "IDoc Status Records
RETURN_VARIABLES = "Return Variables for Workflow
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.DEBITOR_BDCDATA NOTRANSL: Erstellung der Batch-Input-Daten für die Pflege von Debitoren
ERP_IDOC_INPUT_DEBITOR NOTRANSL: IDOC-Eingangsverarbeitung: IDOC->Anwendung für Objekt Debitor
IMPORTING Parameters details for EXIT_SAPLVV02_001
IDOC_CONTROL - IDoc Control Record
Data type: EDIDCOptional: No
Call by Reference: No ( called with pass by value option)
INPUT_METHOD - Input Method
Data type: BDWFAP_PAR-INPUTMETHDOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for EXIT_SAPLVV02_001
WORKFLOW_RESULT - Workflow Result
Data type: BDWF_PARAM-RESULTOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLVV02_001
IDOC_DATA - IDoc Data Records (Segments)
Data type: EDIDDOptional: No
Call by Reference: No ( called with pass by value option)
IDOC_STATUS - IDoc Status Records
Data type: BDIDOCSTATOptional: No
Call by Reference: No ( called with pass by value option)
RETURN_VARIABLES - Return Variables for Workflow
Data type: BDWFRETVAROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLVV02_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: | ||||
| lt_idoc_data | TYPE STANDARD TABLE OF EDIDD, " | |||
| lv_idoc_control | TYPE EDIDC, " | |||
| lv_workflow_result | TYPE BDWF_PARAM-RESULT, " | |||
| lt_idoc_status | TYPE STANDARD TABLE OF BDIDOCSTAT, " | |||
| lv_input_method | TYPE BDWFAP_PAR-INPUTMETHD, " | |||
| lt_return_variables | TYPE STANDARD TABLE OF BDWFRETVAR. " |
|   CALL FUNCTION 'EXIT_SAPLVV02_001' "Read and Post Additional Export Customer Master Segments |
| EXPORTING | ||
| IDOC_CONTROL | = lv_idoc_control | |
| INPUT_METHOD | = lv_input_method | |
| IMPORTING | ||
| WORKFLOW_RESULT | = lv_workflow_result | |
| TABLES | ||
| IDOC_DATA | = lt_idoc_data | |
| IDOC_STATUS | = lt_idoc_status | |
| RETURN_VARIABLES | = lt_return_variables | |
| . " EXIT_SAPLVV02_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLVV02_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.| "SELECT single RESULT FROM BDWF_PARAM INTO @DATA(ld_workflow_result). | ||||
| "SELECT single INPUTMETHD FROM BDWFAP_PAR INTO @DATA(ld_input_method). | ||||
Search for further information about these or an SAP related objects