Fonction SAP BKK_MESSAGE_STORE - Output a Message to a Message Handler or Directly

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_ID MESG-ARBGB C 20 Message Class
I_MH1_EXCEPTION_IF_NOT_ACTIVE 0 'X' X (See Long Text)
I_MH1_ZEILE MESG-ZEILE C 22 X
I_MH2_FLAG_COLL_END 0 X
I_MH2_LOOP_KEY C C 0 X
I_MH2_REPEAT_SHOW 0 '1' X
I_MH2_SICHT TBZ3E-SICHT C 6 X
I_MH2_STEPL SYST-STEPL I 4 X
I_MH2_TBFLD_STRG 0 X
I_MSGV1 0 X 1st Variable for Message
I_MSGV2 0 X 2nd Variable for Message
I_MSGV3 0 X 3rd Variable for Message
I_MSGV4 0 X 4th Variable for Message
I_NUMBER 0 Message Number
I_TYPE MESG-MSGTY C 1 Message Category

Paramètre Reférence Type Long. Description
E_MH1_ACT_SEVERITY SYST-SUBRC I 4
E_MH1_MAX_SEVERITY SYST-SUBRC I 4
E_RC SYST-SUBRC I 4 Return Code

Exception Description
INVALID_MESSAGE_TYPE

Functionality
The function module BKK_MESSAGE_STORE provides a standardized interfacefor the transfer of messages to the message handler.
The message is initially transferred to the standard message handler. Ifthis is not activated, the mesage is collected by the alternativemessage handler. If this is also inactive, the system sends the messagedirectly.

Description
The return code shows whether the message was transferred to a messagehandler, and if so, which message handler.

Value range
0: The message was output directly.
1: The standard message handler was active during the call up
2: The business partner message handler was active.

Default
None.

Description
If the indicator is set (default), the standard message handlerreacts with an exception if it was not activated.