SAP J_7L_F4_VRPNR Function Module for NOTRANSL: REA F4-Hilfe: Artikelnummern inkl. Referenzartikel









J_7L_F4_VRPNR is a standard j 7l f4 vrpnr 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 vrpnr FM, simply by entering the name J_7L_F4_VRPNR 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_VRPNR 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_VRPNR'"NOTRANSL: REA F4-Hilfe: Artikelnummern inkl. Referenzartikel
EXPORTING
HELP_TYPE = "Predefined Type
DYNPPROG = "ABAP Program: Current Main Program
DYNPNR = "ABAP Program, Current Screen Number
DYNPROFIELD = "Generic Type
* DYNFIELDVAR = "Generic Type

IMPORTING
SELECTED_VRPNR = "Material Number
SELECTED_MAKTX = "Material Description in Uppercase for Matchcodes
SELECTED_VARIANTE = "Variant

EXCEPTIONS
HELP_TYPE_NOT_SPECIFIED = 1 ERROR_IN_HELP_VALUES_GET = 2
.



IMPORTING Parameters details for J_7L_F4_VRPNR

HELP_TYPE - Predefined Type

Data type: I
Optional: No
Call by Reference: Yes

DYNPPROG - ABAP Program: Current Main Program

Data type: SY-REPID
Optional: No
Call by Reference: Yes

DYNPNR - ABAP Program, Current Screen Number

Data type: SY-DYNNR
Optional: No
Call by Reference: Yes

DYNPROFIELD - Generic Type

Data type: C
Optional: No
Call by Reference: Yes

DYNFIELDVAR - Generic Type

Data type: C
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for J_7L_F4_VRPNR

SELECTED_VRPNR - Material Number

Data type: J_7LVRP
Optional: No
Call by Reference: Yes

SELECTED_MAKTX - Material Description in Uppercase for Matchcodes

Data type: MAKTG
Optional: No
Call by Reference: Yes

SELECTED_VARIANTE - Variant

Data type: J_7LVARIANTE
Optional: 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_VRPNR 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_vrpnr  TYPE J_7LVRP, "   
lv_help_type_not_specified  TYPE J_7LVRP, "   
lv_dynpprog  TYPE SY-REPID, "   
lv_selected_maktx  TYPE MAKTG, "   
lv_error_in_help_values_get  TYPE MAKTG, "   
lv_dynpnr  TYPE SY-DYNNR, "   
lv_selected_variante  TYPE J_7LVARIANTE, "   
lv_dynprofield  TYPE C, "   
lv_dynfieldvar  TYPE C. "   

  CALL FUNCTION 'J_7L_F4_VRPNR'  "NOTRANSL: REA F4-Hilfe: Artikelnummern inkl. Referenzartikel
    EXPORTING
         HELP_TYPE = lv_help_type
         DYNPPROG = lv_dynpprog
         DYNPNR = lv_dynpnr
         DYNPROFIELD = lv_dynprofield
         DYNFIELDVAR = lv_dynfieldvar
    IMPORTING
         SELECTED_VRPNR = lv_selected_vrpnr
         SELECTED_MAKTX = lv_selected_maktx
         SELECTED_VARIANTE = lv_selected_variante
    EXCEPTIONS
        HELP_TYPE_NOT_SPECIFIED = 1
        ERROR_IN_HELP_VALUES_GET = 2
. " J_7L_F4_VRPNR




ABAP code using 7.40 inline data declarations to call FM J_7L_F4_VRPNR

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 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!