SAP J_7L_F4_ENTNR Function Module for NOTRANSL: REA F4-Hilfe: Artikelnummern inkl. Referenzartikel
J_7L_F4_ENTNR is a standard j 7l f4 entnr 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 F4-Hilfe: Artikelnummern inkl. Referenzartikel 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 f4 entnr FM, simply by entering the name J_7L_F4_ENTNR into the relevant SAP transaction such as SE37 or SE38.
Function Group: J7LR
Program Name: SAPLJ7LR
Main Program: SAPLJ7LR
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function J_7L_F4_ENTNR 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_F4_ENTNR'"NOTRANSL: REA F4-Hilfe: Artikelnummern inkl. Referenzartikel.
EXPORTING
HELP_TYPE = "
DYNPPROG = "ABAP Program: Current Main Program
DYNPNR = "ABAP Program, Current Screen Number
DYNPROFIELD = "
IMPORTING
SELECTED_ENTNR = "Recycling Partner
EXCEPTIONS
HELP_TYPE_NOT_SPECIFIED = 1 ERROR_IN_HELP_VALUES_GET = 2
IMPORTING Parameters details for J_7L_F4_ENTNR
HELP_TYPE -
Data type: IOptional: No
Call by Reference: Yes
DYNPPROG - ABAP Program: Current Main Program
Data type: SY-REPIDOptional: No
Call by Reference: Yes
DYNPNR - ABAP Program, Current Screen Number
Data type: SY-DYNNROptional: No
Call by Reference: Yes
DYNPROFIELD -
Data type: COptional: No
Call by Reference: Yes
EXPORTING Parameters details for J_7L_F4_ENTNR
SELECTED_ENTNR - Recycling Partner
Data type: J_7LE01-ENTNROptional: No
Call by Reference: Yes
EXCEPTIONS details
HELP_TYPE_NOT_SPECIFIED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
ERROR_IN_HELP_VALUES_GET -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for J_7L_F4_ENTNR 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_help_type | TYPE I, " | |||
| lv_selected_entnr | TYPE J_7LE01-ENTNR, " | |||
| lv_help_type_not_specified | TYPE J_7LE01, " | |||
| lv_dynpprog | TYPE SY-REPID, " | |||
| lv_error_in_help_values_get | TYPE SY, " | |||
| lv_dynpnr | TYPE SY-DYNNR, " | |||
| lv_dynprofield | TYPE C. " |
|   CALL FUNCTION 'J_7L_F4_ENTNR' "NOTRANSL: REA F4-Hilfe: Artikelnummern inkl. Referenzartikel |
| EXPORTING | ||
| HELP_TYPE | = lv_help_type | |
| DYNPPROG | = lv_dynpprog | |
| DYNPNR | = lv_dynpnr | |
| DYNPROFIELD | = lv_dynprofield | |
| IMPORTING | ||
| SELECTED_ENTNR | = lv_selected_entnr | |
| EXCEPTIONS | ||
| HELP_TYPE_NOT_SPECIFIED = 1 | ||
| ERROR_IN_HELP_VALUES_GET = 2 | ||
| . " J_7L_F4_ENTNR | ||
ABAP code using 7.40 inline data declarations to call FM J_7L_F4_ENTNR
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 ENTNR FROM J_7LE01 INTO @DATA(ld_selected_entnr). | ||||
| "SELECT single REPID FROM SY INTO @DATA(ld_dynpprog). | ||||
| "SELECT single DYNNR FROM SY INTO @DATA(ld_dynpnr). | ||||
Search for further information about these or an SAP related objects