SAP /ISHFR/ISH_FRFCMP_MSG_DECODE Function Module for
/ISHFR/ISH_FRFCMP_MSG_DECODE is a standard /ishfr/ish frfcmp msg decode 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 /ishfr/ish frfcmp msg decode FM, simply by entering the name /ISHFR/ISH_FRFCMP_MSG_DECODE into the relevant SAP transaction such as SE37 or SE38.
Function Group: /ISHFR/NFRFCMP
Program Name: /ISHFR/SAPLNFRFCMP
Main Program: /ISHFR/SAPLNFRFCMP
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function /ISHFR/ISH_FRFCMP_MSG_DECODE 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 '/ISHFR/ISH_FRFCMP_MSG_DECODE'".
EXPORTING
I_PROCEDURE = "
I_MSGID = "
* I_CMSTAND = "
* I_CMSTVER = "
* I_NTNR = ' ' "
* I_NTOWNERCDE = ' ' "
* I_PROGNAME = ' ' "
* I_SPECHARS = ' ' "
* I_NC301S = "
TABLES
I_BUFFER_MAIL = "
I_BUFFER_SEGMENTS = "
E_FIELDS = "
EXCEPTIONS
DECODING_ERROR = 1 STANDARD_PROCESSING_USED = 2
IMPORTING Parameters details for /ISHFR/ISH_FRFCMP_MSG_DECODE
I_PROCEDURE -
Data type: TNC301G0-EDIPROCOptional: No
Call by Reference: No ( called with pass by value option)
I_MSGID -
Data type: NC301S-LF301Optional: No
Call by Reference: No ( called with pass by value option)
I_CMSTAND -
Data type: TNCT1-STANDOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CMSTVER -
Data type: TNCT1-STVEROptional: Yes
Call by Reference: No ( called with pass by value option)
I_NTNR -
Data type: TNCT1-NTNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NTOWNERCDE -
Data type: TNCT1-NTOWNERCDEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_PROGNAME -
Data type: SY-REPIDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_SPECHARS -
Data type: NC301D-SPECHARSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_NC301S -
Data type: NC301SOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for /ISHFR/ISH_FRFCMP_MSG_DECODE
I_BUFFER_MAIL -
Data type: RNCBUFOptional: No
Call by Reference: No ( called with pass by value option)
I_BUFFER_SEGMENTS -
Data type: NC301WOptional: No
Call by Reference: No ( called with pass by value option)
E_FIELDS -
Data type: RNCSPLITOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
DECODING_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
STANDARD_PROCESSING_USED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for /ISHFR/ISH_FRFCMP_MSG_DECODE 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_procedure | TYPE TNC301G0-EDIPROC, " | |||
| lt_i_buffer_mail | TYPE STANDARD TABLE OF RNCBUF, " | |||
| lv_decoding_error | TYPE RNCBUF, " | |||
| lv_i_msgid | TYPE NC301S-LF301, " | |||
| lt_i_buffer_segments | TYPE STANDARD TABLE OF NC301W, " | |||
| lv_standard_processing_used | TYPE NC301W, " | |||
| lt_e_fields | TYPE STANDARD TABLE OF RNCSPLIT, " | |||
| lv_i_cmstand | TYPE TNCT1-STAND, " | |||
| lv_i_cmstver | TYPE TNCT1-STVER, " | |||
| lv_i_ntnr | TYPE TNCT1-NTNR, " SPACE | |||
| lv_i_ntownercde | TYPE TNCT1-NTOWNERCDE, " SPACE | |||
| lv_i_progname | TYPE SY-REPID, " SPACE | |||
| lv_i_spechars | TYPE NC301D-SPECHARS, " SPACE | |||
| lv_i_nc301s | TYPE NC301S. " |
|   CALL FUNCTION '/ISHFR/ISH_FRFCMP_MSG_DECODE' " |
| EXPORTING | ||
| I_PROCEDURE | = lv_i_procedure | |
| I_MSGID | = lv_i_msgid | |
| I_CMSTAND | = lv_i_cmstand | |
| I_CMSTVER | = lv_i_cmstver | |
| I_NTNR | = lv_i_ntnr | |
| I_NTOWNERCDE | = lv_i_ntownercde | |
| I_PROGNAME | = lv_i_progname | |
| I_SPECHARS | = lv_i_spechars | |
| I_NC301S | = lv_i_nc301s | |
| TABLES | ||
| I_BUFFER_MAIL | = lt_i_buffer_mail | |
| I_BUFFER_SEGMENTS | = lt_i_buffer_segments | |
| E_FIELDS | = lt_e_fields | |
| EXCEPTIONS | ||
| DECODING_ERROR = 1 | ||
| STANDARD_PROCESSING_USED = 2 | ||
| . " /ISHFR/ISH_FRFCMP_MSG_DECODE | ||
ABAP code using 7.40 inline data declarations to call FM /ISHFR/ISH_FRFCMP_MSG_DECODE
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 EDIPROC FROM TNC301G0 INTO @DATA(ld_i_procedure). | ||||
| "SELECT single LF301 FROM NC301S INTO @DATA(ld_i_msgid). | ||||
| "SELECT single STAND FROM TNCT1 INTO @DATA(ld_i_cmstand). | ||||
| "SELECT single STVER FROM TNCT1 INTO @DATA(ld_i_cmstver). | ||||
| "SELECT single NTNR FROM TNCT1 INTO @DATA(ld_i_ntnr). | ||||
| DATA(ld_i_ntnr) | = ' '. | |||
| "SELECT single NTOWNERCDE FROM TNCT1 INTO @DATA(ld_i_ntownercde). | ||||
| DATA(ld_i_ntownercde) | = ' '. | |||
| "SELECT single REPID FROM SY INTO @DATA(ld_i_progname). | ||||
| DATA(ld_i_progname) | = ' '. | |||
| "SELECT single SPECHARS FROM NC301D INTO @DATA(ld_i_spechars). | ||||
| DATA(ld_i_spechars) | = ' '. | |||
Search for further information about these or an SAP related objects