SAP MRTRS100_MASTER_RECIPE_EXPORT Function Module for









MRTRS100_MASTER_RECIPE_EXPORT is a standard mrtrs100 master recipe export SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 mrtrs100 master recipe export FM, simply by entering the name MRTRS100_MASTER_RECIPE_EXPORT into the relevant SAP transaction such as SE37 or SE38.

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



Function MRTRS100_MASTER_RECIPE_EXPORT 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 'MRTRS100_MASTER_RECIPE_EXPORT'"
IMPORTING
ES_BKEY = "
ET_SEC_RESOURCE = "
ET_PLMZ = "
ET_PLFT = "
ET_PLFV = "
ET_PLMK = "
ET_PLMW = "
ES_RESCLAS = "
ET_RESSEL = "
ET_RESLST = "
ET_LTEXT = "
ES_PLKOB = "
ES_MAPL = "
ES_MKAL = "
ES_OPERATION = "
ET_OPERATION = "
ES_PHASE = "
ET_PHASE = "
ET_RELATION = "
.



EXPORTING Parameters details for MRTRS100_MASTER_RECIPE_EXPORT

ES_BKEY -

Data type: MRTRSS_MR_BKEY
Optional: No
Call by Reference: No ( called with pass by value option)

ET_SEC_RESOURCE -

Data type: MRTRSTY_PLPO_SRES
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PLMZ -

Data type: MRTRSTY_PLMZ
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PLFT -

Data type: MRTRSTY_PLFT
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PLFV -

Data type: MRTRSTY_PLFV
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PLMK -

Data type: MRTRSTY_PLMK
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PLMW -

Data type: MRTRSTY_PLMW
Optional: No
Call by Reference: No ( called with pass by value option)

ES_RESCLAS -

Data type: MRTRSS_RESCLAS
Optional: No
Call by Reference: No ( called with pass by value option)

ET_RESSEL -

Data type: MRTRSTY_RESSEL
Optional: No
Call by Reference: No ( called with pass by value option)

ET_RESLST -

Data type: MRTRSTY_RESLST
Optional: No
Call by Reference: No ( called with pass by value option)

ET_LTEXT -

Data type: MRTRSTY_LTXT
Optional: No
Call by Reference: No ( called with pass by value option)

ES_PLKOB -

Data type: PLKOB
Optional: No
Call by Reference: No ( called with pass by value option)

ES_MAPL -

Data type: MAPLB
Optional: No
Call by Reference: No ( called with pass by value option)

ES_MKAL -

Data type: MKAL
Optional: No
Call by Reference: No ( called with pass by value option)

ES_OPERATION -

Data type: MRTRSS_PLPO_OPR
Optional: No
Call by Reference: No ( called with pass by value option)

ET_OPERATION -

Data type: MRTRSTY_PLPO_OPR
Optional: No
Call by Reference: No ( called with pass by value option)

ES_PHASE -

Data type: MRTRSS_PLPO_PH
Optional: No
Call by Reference: No ( called with pass by value option)

ET_PHASE -

Data type: MRTRSTY_PLPO_PH
Optional: No
Call by Reference: No ( called with pass by value option)

ET_RELATION -

Data type: MRTRSTY_PLAB
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for MRTRS100_MASTER_RECIPE_EXPORT 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_es_bkey  TYPE MRTRSS_MR_BKEY, "   
lv_et_sec_resource  TYPE MRTRSTY_PLPO_SRES, "   
lv_et_plmz  TYPE MRTRSTY_PLMZ, "   
lv_et_plft  TYPE MRTRSTY_PLFT, "   
lv_et_plfv  TYPE MRTRSTY_PLFV, "   
lv_et_plmk  TYPE MRTRSTY_PLMK, "   
lv_et_plmw  TYPE MRTRSTY_PLMW, "   
lv_es_resclas  TYPE MRTRSS_RESCLAS, "   
lv_et_ressel  TYPE MRTRSTY_RESSEL, "   
lv_et_reslst  TYPE MRTRSTY_RESLST, "   
lv_et_ltext  TYPE MRTRSTY_LTXT, "   
lv_es_plkob  TYPE PLKOB, "   
lv_es_mapl  TYPE MAPLB, "   
lv_es_mkal  TYPE MKAL, "   
lv_es_operation  TYPE MRTRSS_PLPO_OPR, "   
lv_et_operation  TYPE MRTRSTY_PLPO_OPR, "   
lv_es_phase  TYPE MRTRSS_PLPO_PH, "   
lv_et_phase  TYPE MRTRSTY_PLPO_PH, "   
lv_et_relation  TYPE MRTRSTY_PLAB. "   

  CALL FUNCTION 'MRTRS100_MASTER_RECIPE_EXPORT'  "
    IMPORTING
         ES_BKEY = lv_es_bkey
         ET_SEC_RESOURCE = lv_et_sec_resource
         ET_PLMZ = lv_et_plmz
         ET_PLFT = lv_et_plft
         ET_PLFV = lv_et_plfv
         ET_PLMK = lv_et_plmk
         ET_PLMW = lv_et_plmw
         ES_RESCLAS = lv_es_resclas
         ET_RESSEL = lv_et_ressel
         ET_RESLST = lv_et_reslst
         ET_LTEXT = lv_et_ltext
         ES_PLKOB = lv_es_plkob
         ES_MAPL = lv_es_mapl
         ES_MKAL = lv_es_mkal
         ES_OPERATION = lv_es_operation
         ET_OPERATION = lv_et_operation
         ES_PHASE = lv_es_phase
         ET_PHASE = lv_et_phase
         ET_RELATION = lv_et_relation
. " MRTRS100_MASTER_RECIPE_EXPORT




ABAP code using 7.40 inline data declarations to call FM MRTRS100_MASTER_RECIPE_EXPORT

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!