SAP J_7L_INTERFACE_EXTERN_21_BLV Function Module for NOTRANSL: REA Externe Schnittstelle Kopf- und Positionsdaten Belegart 21 (
J_7L_INTERFACE_EXTERN_21_BLV is a standard j 7l interface extern 21 blv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: REA Externe Schnittstelle Kopf- und Positionsdaten Belegart 21 ( 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 j 7l interface extern 21 blv FM, simply by entering the name J_7L_INTERFACE_EXTERN_21_BLV into the relevant SAP transaction such as SE37 or SE38.
Function Group: J7LI
Program Name: SAPLJ7LI
Main Program: SAPLJ7LI
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function J_7L_INTERFACE_EXTERN_21_BLV 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 'J_7L_INTERFACE_EXTERN_21_BLV'"NOTRANSL: REA Externe Schnittstelle Kopf- und Positionsdaten Belegart 21 (.
EXPORTING
S_BELEG21 = "REA Declaration: DSD Document Type 21
I_VBELN = "REA Declaration: Document Number
S_BLV_CU = "REA Declaration: BLV Customer Master Data in Declaration
CHANGING
S_J7LMS = "REA Periodical Declaration Communication Structure
TABLES
T_GEWENTGELT = "REA Declaration: Weight-Dep.Fee Item in Documents
T_VKLENTGELT = "REA Declaration: Item-Dependent Fee Items in Documents
T_FKLENTGELT = "REA Declaration: Item-Dependent Fee Items in Documents
EXCEPTIONS
ERROR_PATH = 1 ERROR_TRANSFER = 2 DATA_MISSING = 3 PRINT_ERROR = 4 ERROR_DTA_TXT = 5
IMPORTING Parameters details for J_7L_INTERFACE_EXTERN_21_BLV
S_BELEG21 - REA Declaration: DSD Document Type 21
Data type: J_7LMSBELEG21Optional: No
Call by Reference: Yes
I_VBELN - REA Declaration: Document Number
Data type: J_7LV1K-VBELNOptional: No
Call by Reference: Yes
S_BLV_CU - REA Declaration: BLV Customer Master Data in Declaration
Data type: J_7LMSBELEGBLV_CUOptional: No
Call by Reference: Yes
CHANGING Parameters details for J_7L_INTERFACE_EXTERN_21_BLV
S_J7LMS - REA Periodical Declaration Communication Structure
Data type: J_7LMSOptional: No
Call by Reference: Yes
TABLES Parameters details for J_7L_INTERFACE_EXTERN_21_BLV
T_GEWENTGELT - REA Declaration: Weight-Dep.Fee Item in Documents
Data type: J_7LMSGEOptional: No
Call by Reference: No ( called with pass by value option)
T_VKLENTGELT - REA Declaration: Item-Dependent Fee Items in Documents
Data type: J_7LMSSEOptional: No
Call by Reference: No ( called with pass by value option)
T_FKLENTGELT - REA Declaration: Item-Dependent Fee Items in Documents
Data type: J_7LMSSEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_PATH - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_TRANSFER - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
DATA_MISSING - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
PRINT_ERROR - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_DTA_TXT - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for J_7L_INTERFACE_EXTERN_21_BLV 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_s_j7lms | TYPE J_7LMS, " | |||
| lv_s_beleg21 | TYPE J_7LMSBELEG21, " | |||
| lv_error_path | TYPE J_7LMSBELEG21, " | |||
| lt_t_gewentgelt | TYPE STANDARD TABLE OF J_7LMSGE, " | |||
| lv_i_vbeln | TYPE J_7LV1K-VBELN, " | |||
| lt_t_vklentgelt | TYPE STANDARD TABLE OF J_7LMSSE, " | |||
| lv_error_transfer | TYPE J_7LMSSE, " | |||
| lv_s_blv_cu | TYPE J_7LMSBELEGBLV_CU, " | |||
| lv_data_missing | TYPE J_7LMSBELEGBLV_CU, " | |||
| lt_t_fklentgelt | TYPE STANDARD TABLE OF J_7LMSSE, " | |||
| lv_print_error | TYPE J_7LMSSE, " | |||
| lv_error_dta_txt | TYPE J_7LMSSE. " |
|   CALL FUNCTION 'J_7L_INTERFACE_EXTERN_21_BLV' "NOTRANSL: REA Externe Schnittstelle Kopf- und Positionsdaten Belegart 21 ( |
| EXPORTING | ||
| S_BELEG21 | = lv_s_beleg21 | |
| I_VBELN | = lv_i_vbeln | |
| S_BLV_CU | = lv_s_blv_cu | |
| CHANGING | ||
| S_J7LMS | = lv_s_j7lms | |
| TABLES | ||
| T_GEWENTGELT | = lt_t_gewentgelt | |
| T_VKLENTGELT | = lt_t_vklentgelt | |
| T_FKLENTGELT | = lt_t_fklentgelt | |
| EXCEPTIONS | ||
| ERROR_PATH = 1 | ||
| ERROR_TRANSFER = 2 | ||
| DATA_MISSING = 3 | ||
| PRINT_ERROR = 4 | ||
| ERROR_DTA_TXT = 5 | ||
| . " J_7L_INTERFACE_EXTERN_21_BLV | ||
ABAP code using 7.40 inline data declarations to call FM J_7L_INTERFACE_EXTERN_21_BLV
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 VBELN FROM J_7LV1K INTO @DATA(ld_i_vbeln). | ||||
Search for further information about these or an SAP related objects