SAP MD_READ_SR_LIST_PARALLEL_RFC Function Module for NOTRANSL: RFC-Baustein zum parallelen Einlesen von BBL









MD_READ_SR_LIST_PARALLEL_RFC is a standard md read sr list parallel rfc 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: RFC-Baustein zum parallelen Einlesen von BBL 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 md read sr list parallel rfc FM, simply by entering the name MD_READ_SR_LIST_PARALLEL_RFC into the relevant SAP transaction such as SE37 or SE38.

Function Group: MRP7
Program Name: SAPLMRP7
Main Program: SAPLMRP7
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function MD_READ_SR_LIST_PARALLEL_RFC 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 'MD_READ_SR_LIST_PARALLEL_RFC'"NOTRANSL: RFC-Baustein zum parallelen Einlesen von BBL
EXPORTING
* IV_PLSCN = "Planning Scenario of Long-Term Planning
* IV_ERGBZ = "Selection Rule
* IV_PLAUF = "Calling transaction
* IV_NOBUF = 'X' "Boolean Variable (X=True, -=False, Space=Unknown)

IMPORTING
EV_ERGBZ = "Selection Rule

TABLES
CT_MATERIALS = "Control Structure - Parallel Rading of Stock/Reqs List
* ET_MDKP = "Header data for MRP document
* ET_MT61D = "Material Master: MRP
* ET_CM61M = "MRP Control Indicator -Material Level-
* ET_MDSTA = "Statistic fields for stocks
* ET_MDPSX = "Item in MRP Document
.



IMPORTING Parameters details for MD_READ_SR_LIST_PARALLEL_RFC

IV_PLSCN - Planning Scenario of Long-Term Planning

Data type: PLSC-PLSCN
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_ERGBZ - Selection Rule

Data type: SFILT-ERGBZ
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_PLAUF - Calling transaction

Data type: CM61X-PLAUF
Optional: Yes
Call by Reference: No ( called with pass by value option)

IV_NOBUF - Boolean Variable (X=True, -=False, Space=Unknown)

Data type: BOOLEAN
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for MD_READ_SR_LIST_PARALLEL_RFC

EV_ERGBZ - Selection Rule

Data type: SFILT-ERGBZ
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for MD_READ_SR_LIST_PARALLEL_RFC

CT_MATERIALS - Control Structure - Parallel Rading of Stock/Reqs List

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

ET_MDKP - Header data for MRP document

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

ET_MT61D - Material Master: MRP

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

ET_CM61M - MRP Control Indicator -Material Level-

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

ET_MDSTA - Statistic fields for stocks

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

ET_MDPSX - Item in MRP Document

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

Copy and paste ABAP code example for MD_READ_SR_LIST_PARALLEL_RFC 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_ev_ergbz  TYPE SFILT-ERGBZ, "   
lv_iv_plscn  TYPE PLSC-PLSCN, "   
lt_ct_materials  TYPE STANDARD TABLE OF MDS_PARALLEL_READ_RESULT, "   
lt_et_mdkp  TYPE STANDARD TABLE OF MDKP, "   
lv_iv_ergbz  TYPE SFILT-ERGBZ, "   
lt_et_mt61d  TYPE STANDARD TABLE OF MT61D, "   
lv_iv_plauf  TYPE CM61X-PLAUF, "   
lt_et_cm61m  TYPE STANDARD TABLE OF CM61M, "   
lv_iv_nobuf  TYPE BOOLEAN, "   'X'
lt_et_mdsta  TYPE STANDARD TABLE OF MDSTA, "   
lt_et_mdpsx  TYPE STANDARD TABLE OF MDPS. "   

  CALL FUNCTION 'MD_READ_SR_LIST_PARALLEL_RFC'  "NOTRANSL: RFC-Baustein zum parallelen Einlesen von BBL
    EXPORTING
         IV_PLSCN = lv_iv_plscn
         IV_ERGBZ = lv_iv_ergbz
         IV_PLAUF = lv_iv_plauf
         IV_NOBUF = lv_iv_nobuf
    IMPORTING
         EV_ERGBZ = lv_ev_ergbz
    TABLES
         CT_MATERIALS = lt_ct_materials
         ET_MDKP = lt_et_mdkp
         ET_MT61D = lt_et_mt61d
         ET_CM61M = lt_et_cm61m
         ET_MDSTA = lt_et_mdsta
         ET_MDPSX = lt_et_mdpsx
. " MD_READ_SR_LIST_PARALLEL_RFC




ABAP code using 7.40 inline data declarations to call FM MD_READ_SR_LIST_PARALLEL_RFC

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 ERGBZ FROM SFILT INTO @DATA(ld_ev_ergbz).
 
"SELECT single PLSCN FROM PLSC INTO @DATA(ld_iv_plscn).
 
 
 
"SELECT single ERGBZ FROM SFILT INTO @DATA(ld_iv_ergbz).
 
 
"SELECT single PLAUF FROM CM61X INTO @DATA(ld_iv_plauf).
 
 
DATA(ld_iv_nobuf) = 'X'.
 
 
 


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!