SAP MD_MRP_READ_DB_PARAMS Function Module for NOTRANSL: Dispobereichsparameter Customizing auslesen
MD_MRP_READ_DB_PARAMS is a standard md mrp read db params 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: Dispobereichsparameter Customizing auslesen 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 mrp read db params FM, simply by entering the name MD_MRP_READ_DB_PARAMS into the relevant SAP transaction such as SE37 or SE38.
Function Group: MD06
Program Name: SAPLMD06
Main Program: SAPLMD06
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MD_MRP_READ_DB_PARAMS 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_MRP_READ_DB_PARAMS'"NOTRANSL: Dispobereichsparameter Customizing auslesen.
EXPORTING
I_BERID = "MRP Area
TABLES
* T_DB_MDLV = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_DB_MDLW = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_DB_MDLG = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* T_DB_MDLL = "DE-EN-LANG-SWITCH-NO-TRANSLATION
EXCEPTIONS
DISPO_NOT_FOUND = 1
IMPORTING Parameters details for MD_MRP_READ_DB_PARAMS
I_BERID - MRP Area
Data type: MDLV-BERIDOptional: No
Call by Reference: Yes
TABLES Parameters details for MD_MRP_READ_DB_PARAMS
T_DB_MDLV - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MDLVOptional: Yes
Call by Reference: No ( called with pass by value option)
T_DB_MDLW - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MDLWOptional: Yes
Call by Reference: No ( called with pass by value option)
T_DB_MDLG - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MDLGOptional: Yes
Call by Reference: No ( called with pass by value option)
T_DB_MDLL - DE-EN-LANG-SWITCH-NO-TRANSLATION
Data type: MDLLOptional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DISPO_NOT_FOUND - 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 MD_MRP_READ_DB_PARAMS 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_i_berid | TYPE MDLV-BERID, " | |||
| lt_t_db_mdlv | TYPE STANDARD TABLE OF MDLV, " | |||
| lv_dispo_not_found | TYPE MDLV, " | |||
| lt_t_db_mdlw | TYPE STANDARD TABLE OF MDLW, " | |||
| lt_t_db_mdlg | TYPE STANDARD TABLE OF MDLG, " | |||
| lt_t_db_mdll | TYPE STANDARD TABLE OF MDLL. " |
|   CALL FUNCTION 'MD_MRP_READ_DB_PARAMS' "NOTRANSL: Dispobereichsparameter Customizing auslesen |
| EXPORTING | ||
| I_BERID | = lv_i_berid | |
| TABLES | ||
| T_DB_MDLV | = lt_t_db_mdlt | |
| T_DB_MDLW | = lt_t_db_mdlw | |
| T_DB_MDLG | = lt_t_db_mdlg | |
| T_DB_MDLL | = lt_t_db_mdll | |
| EXCEPTIONS | ||
| DISPO_NOT_FOUND = 1 | ||
| . " MD_MRP_READ_DB_PARAMS | ||
ABAP code using 7.40 inline data declarations to call FM MD_MRP_READ_DB_PARAMS
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 BERID FROM MDLV INTO @DATA(ld_i_berid). | ||||
Search for further information about these or an SAP related objects