SAP MRTRS100_MASTER_RECIPE_IMPORT Function Module for
MRTRS100_MASTER_RECIPE_IMPORT is a standard mrtrs100 master recipe import 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 import FM, simply by entering the name MRTRS100_MASTER_RECIPE_IMPORT 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_IMPORT 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_IMPORT'".
EXPORTING
IS_RC271 = "
IS_OPERATION = "
IT_OPERATION = "
IS_PHASE = "
IT_PHASE = "
IT_RELATION = "
IT_SEC_RESOURCE = "
IT_PLMZ = "
IT_PLFT = "
IT_PLFV = "
IT_PLMK = "
IS_RC27S = "
IT_PLMW = "
IS_RESCLAS = "
IT_RESSEL = "
IT_RESLST = "
IT_LTEXT = "
IS_STKOB = "
IS_STKOK = "
IT_STPOB = "
IS_RC27M = "
* IS_TCA41 = "
IS_BKEY = "
IS_DYNPRO = "
IS_PLKOB = "
IS_MKAL = "
IS_MAPL = "
IMPORTING Parameters details for MRTRS100_MASTER_RECIPE_IMPORT
IS_RC271 -
Data type: RC271Optional: No
Call by Reference: No ( called with pass by value option)
IS_OPERATION -
Data type: MRTRSS_PLPO_OPROptional: No
Call by Reference: No ( called with pass by value option)
IT_OPERATION -
Data type: MRTRSTY_PLPO_OPROptional: No
Call by Reference: No ( called with pass by value option)
IS_PHASE -
Data type: MRTRSS_PLPO_PHOptional: No
Call by Reference: No ( called with pass by value option)
IT_PHASE -
Data type: MRTRSTY_PLPO_PHOptional: No
Call by Reference: No ( called with pass by value option)
IT_RELATION -
Data type: MRTRSTY_PLABOptional: No
Call by Reference: No ( called with pass by value option)
IT_SEC_RESOURCE -
Data type: MRTRSTY_PLPO_SRESOptional: No
Call by Reference: No ( called with pass by value option)
IT_PLMZ -
Data type: MRTRSTY_PLMZOptional: No
Call by Reference: No ( called with pass by value option)
IT_PLFT -
Data type: MRTRSTY_PLFTOptional: No
Call by Reference: No ( called with pass by value option)
IT_PLFV -
Data type: MRTRSTY_PLFVOptional: No
Call by Reference: No ( called with pass by value option)
IT_PLMK -
Data type: MRTRSTY_PLMKOptional: No
Call by Reference: No ( called with pass by value option)
IS_RC27S -
Data type: RC27SOptional: No
Call by Reference: No ( called with pass by value option)
IT_PLMW -
Data type: MRTRSTY_PLMWOptional: No
Call by Reference: No ( called with pass by value option)
IS_RESCLAS -
Data type: MRTRSS_RESCLASOptional: No
Call by Reference: No ( called with pass by value option)
IT_RESSEL -
Data type: MRTRSTY_RESSELOptional: No
Call by Reference: No ( called with pass by value option)
IT_RESLST -
Data type: MRTRSTY_RESLSTOptional: No
Call by Reference: No ( called with pass by value option)
IT_LTEXT -
Data type: MRTRSTY_LTXTOptional: No
Call by Reference: No ( called with pass by value option)
IS_STKOB -
Data type: STKOBOptional: No
Call by Reference: No ( called with pass by value option)
IS_STKOK -
Data type: STKOKOptional: No
Call by Reference: No ( called with pass by value option)
IT_STPOB -
Data type: MRTRSTY_STPOBOptional: No
Call by Reference: No ( called with pass by value option)
IS_RC27M -
Data type: RC27MOptional: No
Call by Reference: No ( called with pass by value option)
IS_TCA41 -
Data type: TCA41Optional: Yes
Call by Reference: No ( called with pass by value option)
IS_BKEY -
Data type: MRTRSS_MR_BKEYOptional: No
Call by Reference: No ( called with pass by value option)
IS_DYNPRO -
Data type: MRTRSS_DYNPROOptional: No
Call by Reference: No ( called with pass by value option)
IS_PLKOB -
Data type: PLKOBOptional: No
Call by Reference: No ( called with pass by value option)
IS_MKAL -
Data type: MKALOptional: No
Call by Reference: No ( called with pass by value option)
IS_MAPL -
Data type: MAPLBOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MRTRS100_MASTER_RECIPE_IMPORT 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_is_rc271 | TYPE RC271, " | |||
| lv_is_operation | TYPE MRTRSS_PLPO_OPR, " | |||
| lv_it_operation | TYPE MRTRSTY_PLPO_OPR, " | |||
| lv_is_phase | TYPE MRTRSS_PLPO_PH, " | |||
| lv_it_phase | TYPE MRTRSTY_PLPO_PH, " | |||
| lv_it_relation | TYPE MRTRSTY_PLAB, " | |||
| lv_it_sec_resource | TYPE MRTRSTY_PLPO_SRES, " | |||
| lv_it_plmz | TYPE MRTRSTY_PLMZ, " | |||
| lv_it_plft | TYPE MRTRSTY_PLFT, " | |||
| lv_it_plfv | TYPE MRTRSTY_PLFV, " | |||
| lv_it_plmk | TYPE MRTRSTY_PLMK, " | |||
| lv_is_rc27s | TYPE RC27S, " | |||
| lv_it_plmw | TYPE MRTRSTY_PLMW, " | |||
| lv_is_resclas | TYPE MRTRSS_RESCLAS, " | |||
| lv_it_ressel | TYPE MRTRSTY_RESSEL, " | |||
| lv_it_reslst | TYPE MRTRSTY_RESLST, " | |||
| lv_it_ltext | TYPE MRTRSTY_LTXT, " | |||
| lv_is_stkob | TYPE STKOB, " | |||
| lv_is_stkok | TYPE STKOK, " | |||
| lv_it_stpob | TYPE MRTRSTY_STPOB, " | |||
| lv_is_rc27m | TYPE RC27M, " | |||
| lv_is_tca41 | TYPE TCA41, " | |||
| lv_is_bkey | TYPE MRTRSS_MR_BKEY, " | |||
| lv_is_dynpro | TYPE MRTRSS_DYNPRO, " | |||
| lv_is_plkob | TYPE PLKOB, " | |||
| lv_is_mkal | TYPE MKAL, " | |||
| lv_is_mapl | TYPE MAPLB. " |
|   CALL FUNCTION 'MRTRS100_MASTER_RECIPE_IMPORT' " |
| EXPORTING | ||
| IS_RC271 | = lv_is_rc271 | |
| IS_OPERATION | = lv_is_operation | |
| IT_OPERATION | = lv_it_operation | |
| IS_PHASE | = lv_is_phase | |
| IT_PHASE | = lv_it_phase | |
| IT_RELATION | = lv_it_relation | |
| IT_SEC_RESOURCE | = lv_it_sec_resource | |
| IT_PLMZ | = lv_it_plmz | |
| IT_PLFT | = lv_it_plft | |
| IT_PLFV | = lv_it_plfv | |
| IT_PLMK | = lv_it_plmk | |
| IS_RC27S | = lv_is_rc27s | |
| IT_PLMW | = lv_it_plmw | |
| IS_RESCLAS | = lv_is_resclas | |
| IT_RESSEL | = lv_it_ressel | |
| IT_RESLST | = lv_it_reslst | |
| IT_LTEXT | = lv_it_ltext | |
| IS_STKOB | = lv_is_stkob | |
| IS_STKOK | = lv_is_stkok | |
| IT_STPOB | = lv_it_stpob | |
| IS_RC27M | = lv_is_rc27m | |
| IS_TCA41 | = lv_is_tca41 | |
| IS_BKEY | = lv_is_bkey | |
| IS_DYNPRO | = lv_is_dynpro | |
| IS_PLKOB | = lv_is_plkob | |
| IS_MKAL | = lv_is_mkal | |
| IS_MAPL | = lv_is_mapl | |
| . " MRTRS100_MASTER_RECIPE_IMPORT | ||
ABAP code using 7.40 inline data declarations to call FM MRTRS100_MASTER_RECIPE_IMPORT
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