SAP MRTRS110_SHOW_RESULT Function Module for NOTRANSL: RMS-MRTRS : Show the result of resource determination









MRTRS110_SHOW_RESULT is a standard mrtrs110 show result 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: RMS-MRTRS : Show the result of resource determination 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 mrtrs110 show result FM, simply by entering the name MRTRS110_SHOW_RESULT into the relevant SAP transaction such as SE37 or SE38.

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



Function MRTRS110_SHOW_RESULT 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 'MRTRS110_SHOW_RESULT'"NOTRANSL: RMS-MRTRS : Show the result of resource determination
EXPORTING
* I_DATE_FROM = "Valid-From Date
* I_REFRESH_FIELDCAT = ' ' "Single-Character Indicator
IT_AUSP = "Table Type for AUSP

CHANGING
XT_OBJECTS = "Table Type for CLSEL_SEARCH_OBJECTS

EXCEPTIONS
DATA_MISMATCH = 1 ERROR_IN_CTMS = 2 OBJECT_MISSED_IN_OBJECT = 3 CHARACTERISTIC_NOT_IN_CHARAC = 4
.



IMPORTING Parameters details for MRTRS110_SHOW_RESULT

I_DATE_FROM - Valid-From Date

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

I_REFRESH_FIELDCAT - Single-Character Indicator

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

IT_AUSP - Table Type for AUSP

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

CHANGING Parameters details for MRTRS110_SHOW_RESULT

XT_OBJECTS - Table Type for CLSEL_SEARCH_OBJECTS

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

EXCEPTIONS details

DATA_MISMATCH -

Data type:
Optional: No
Call by Reference: Yes

ERROR_IN_CTMS -

Data type:
Optional: No
Call by Reference: Yes

OBJECT_MISSED_IN_OBJECT -

Data type:
Optional: No
Call by Reference: Yes

CHARACTERISTIC_NOT_IN_CHARAC -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for MRTRS110_SHOW_RESULT 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_xt_objects  TYPE TT_CLSEL_OBJECTS, "   
lv_i_date_from  TYPE DATUV, "   
lv_data_mismatch  TYPE DATUV, "   
lv_error_in_ctms  TYPE DATUV, "   
lv_i_refresh_fieldcat  TYPE CHAR1, "   ' '
lv_it_ausp  TYPE TT_AUSP, "   
lv_object_missed_in_object  TYPE TT_AUSP, "   
lv_characteristic_not_in_charac  TYPE TT_AUSP. "   

  CALL FUNCTION 'MRTRS110_SHOW_RESULT'  "NOTRANSL: RMS-MRTRS : Show the result of resource determination
    EXPORTING
         I_DATE_FROM = lv_i_date_from
         I_REFRESH_FIELDCAT = lv_i_refresh_fieldcat
         IT_AUSP = lv_it_ausp
    CHANGING
         XT_OBJECTS = lv_xt_objects
    EXCEPTIONS
        DATA_MISMATCH = 1
        ERROR_IN_CTMS = 2
        OBJECT_MISSED_IN_OBJECT = 3
        CHARACTERISTIC_NOT_IN_CHARAC = 4
. " MRTRS110_SHOW_RESULT




ABAP code using 7.40 inline data declarations to call FM MRTRS110_SHOW_RESULT

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.

 
 
 
 
DATA(ld_i_refresh_fieldcat) = ' '.
 
 
 
 


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!