SAP RLMSGH_A_CREATE Function Module for NOTRANSL: Erzeugen eines Message Handlers









RLMSGH_A_CREATE is a standard rlmsgh a create 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: Erzeugen eines Message Handlers 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 rlmsgh a create FM, simply by entering the name RLMSGH_A_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RLMSGH_A_CREATE 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 'RLMSGH_A_CREATE'"NOTRANSL: Erzeugen eines Message Handlers
EXPORTING
* SEVERITY_ACTION_MAP = "
* MSG_CODE_ACTION_MAP = "
* SEVERITY_STMOD_MAP = "
* MSG_CODE_STMOD_MAP = "
* STATE_MAP = "
* APPL_LOG_HANDLE = "Application Log: Log Handle

IMPORTING
MESSAGE_HANDLER = "
.



IMPORTING Parameters details for RLMSGH_A_CREATE

SEVERITY_ACTION_MAP -

Data type: VHURL_SEVERITY_ACTION_MAP
Optional: Yes
Call by Reference: Yes

MSG_CODE_ACTION_MAP -

Data type: VHURL_MSG_CODE_ACTION_MAP
Optional: Yes
Call by Reference: Yes

SEVERITY_STMOD_MAP -

Data type: VHURL_SEVERITY_STMOD_MAP
Optional: Yes
Call by Reference: Yes

MSG_CODE_STMOD_MAP -

Data type: VHURL_MSG_CODE_STMOD_MAP
Optional: Yes
Call by Reference: Yes

STATE_MAP -

Data type: VHURL_STATE_MAP
Optional: Yes
Call by Reference: Yes

APPL_LOG_HANDLE - Application Log: Log Handle

Data type: BALLOGHNDL
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RLMSGH_A_CREATE

MESSAGE_HANDLER -

Data type: VHURL_MESSAGE_HANDLER
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RLMSGH_A_CREATE 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_message_handler  TYPE VHURL_MESSAGE_HANDLER, "   
lv_severity_action_map  TYPE VHURL_SEVERITY_ACTION_MAP, "   
lv_msg_code_action_map  TYPE VHURL_MSG_CODE_ACTION_MAP, "   
lv_severity_stmod_map  TYPE VHURL_SEVERITY_STMOD_MAP, "   
lv_msg_code_stmod_map  TYPE VHURL_MSG_CODE_STMOD_MAP, "   
lv_state_map  TYPE VHURL_STATE_MAP, "   
lv_appl_log_handle  TYPE BALLOGHNDL. "   

  CALL FUNCTION 'RLMSGH_A_CREATE'  "NOTRANSL: Erzeugen eines Message Handlers
    EXPORTING
         SEVERITY_ACTION_MAP = lv_severity_action_map
         MSG_CODE_ACTION_MAP = lv_msg_code_action_map
         SEVERITY_STMOD_MAP = lv_severity_stmod_map
         MSG_CODE_STMOD_MAP = lv_msg_code_stmod_map
         STATE_MAP = lv_state_map
         APPL_LOG_HANDLE = lv_appl_log_handle
    IMPORTING
         MESSAGE_HANDLER = lv_message_handler
. " RLMSGH_A_CREATE




ABAP code using 7.40 inline data declarations to call FM RLMSGH_A_CREATE

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!