SAP J7L_RCP_DB_MAPL_READ Function Module for NOTRANSL: REA Stücklistenauflösung: Exit für die Auflösung im R/3









J7L_RCP_DB_MAPL_READ is a standard j7l rcp db mapl read 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 Stücklistenauflösung: Exit für die Auflösung im R/3 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 j7l rcp db mapl read FM, simply by entering the name J7L_RCP_DB_MAPL_READ into the relevant SAP transaction such as SE37 or SE38.

Function Group: J7LBOM_LOCAL
Program Name: SAPLJ7LBOM_LOCAL
Main Program: SAPLJ7LBOM_LOCAL
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function J7L_RCP_DB_MAPL_READ 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 'J7L_RCP_DB_MAPL_READ'"NOTRANSL: REA Stücklistenauflösung: Exit für die  Auflösung im R/3
EXPORTING
* VALIDTO = "Valid-From Date
* VALIDFROM = "Valid-From Date
MATERIAL = "Material Number
* PLNAL = "Group Counter
* PLNTY = "
PLANT = "Plant

IMPORTING
RETURN = "Return Parameters

TABLES
MATPL = "Record structure: Material allocation to task lists
.



IMPORTING Parameters details for J7L_RCP_DB_MAPL_READ

VALIDTO - Valid-From Date

Data type: J_7LBAPI_REABOM-DATUB
Optional: Yes
Call by Reference: Yes

VALIDFROM - Valid-From Date

Data type: J_7LBAPI_REABOM-DATUV
Optional: Yes
Call by Reference: Yes

MATERIAL - Material Number

Data type: J_7LBAPI_REABOM-MATNR
Optional: No
Call by Reference: Yes

PLNAL - Group Counter

Data type: J_7LBAPI_REABOM-PLNAL
Optional: Yes
Call by Reference: Yes

PLNTY -

Data type: J_7LBAPI_REABOM-PLNTY
Optional: Yes
Call by Reference: Yes

PLANT - Plant

Data type: J_7LBAPI_REABOM-WERKS
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for J7L_RCP_DB_MAPL_READ

RETURN - Return Parameters

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

TABLES Parameters details for J7L_RCP_DB_MAPL_READ

MATPL - Record structure: Material allocation to task lists

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

Copy and paste ABAP code example for J7L_RCP_DB_MAPL_READ 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_matpl  TYPE STANDARD TABLE OF MAPLB, "   
lv_return  TYPE BAPIRET2, "   
lv_validto  TYPE J_7LBAPI_REABOM-DATUB, "   
lv_validfrom  TYPE J_7LBAPI_REABOM-DATUV, "   
lv_material  TYPE J_7LBAPI_REABOM-MATNR, "   
lv_plnal  TYPE J_7LBAPI_REABOM-PLNAL, "   
lv_plnty  TYPE J_7LBAPI_REABOM-PLNTY, "   
lv_plant  TYPE J_7LBAPI_REABOM-WERKS. "   

  CALL FUNCTION 'J7L_RCP_DB_MAPL_READ'  "NOTRANSL: REA Stücklistenauflösung: Exit für die Auflösung im R/3
    EXPORTING
         VALIDTO = lv_validto
         VALIDFROM = lv_validfrom
         MATERIAL = lv_material
         PLNAL = lv_plnal
         PLNTY = lv_plnty
         PLANT = lv_plant
    IMPORTING
         RETURN = lv_return
    TABLES
         MATPL = lt_matpl
. " J7L_RCP_DB_MAPL_READ




ABAP code using 7.40 inline data declarations to call FM J7L_RCP_DB_MAPL_READ

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 DATUB FROM J_7LBAPI_REABOM INTO @DATA(ld_validto).
 
"SELECT single DATUV FROM J_7LBAPI_REABOM INTO @DATA(ld_validfrom).
 
"SELECT single MATNR FROM J_7LBAPI_REABOM INTO @DATA(ld_material).
 
"SELECT single PLNAL FROM J_7LBAPI_REABOM INTO @DATA(ld_plnal).
 
"SELECT single PLNTY FROM J_7LBAPI_REABOM INTO @DATA(ld_plnty).
 
"SELECT single WERKS FROM J_7LBAPI_REABOM INTO @DATA(ld_plant).
 


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!