Use
The application only calls the Message Control via the API.
Features
-
RV_MESSAGES_READExisting message defaults are imported from table NAST into the internal table of the API.
-
COMMUNICATION_AREA_KOMxByycall the function module KOMxByy_FILL, which places the application data in the communication structure KOMxByy. These function modules must be written by the application programmer.
Naming convention: x = K (for header) or P (for Position), yy =
application code.-
MESSAGINGprocess the condition component hierarchy and execute the condition access.
-
COMMUNICATION_AREA_KOMxByy-
MESSAGING-
RV_MESSAGES_MAINTENANCEThe message default is determined and displayed on screen.
-
COMMUNICATION_AREA_KOMxByy-
Number assignment for application documents-
MESSAGING-
RV_MESSAGES_RENAME-
RV_MESSAGES_UPDATECurrent data is entered in the communication structure (also described as the "communication block"). The message default is determined and sent (dependent on
processing time)-
NAST_PROTOCOL_UPDATEThe processing log is written. This last function module is called by the processing program, which the application
stores as an attribute of the output type.Activities
Data declarations
The application should transfer your current partners to Message Control (see
partner determination). Define the structure of the partner table in the calling program with the commandINCLUDE VMSGPART.
The data declarations must also be changed in the program KOMBSTRU in order to declare the communication structures of a new application in Message Control.
Assign values to the communication structure and the partner tables
The function modules KOMxByy_FILL, which enter the communication structures KOMxByy with the application data and write the current partners in the partner tables, must be put in their own functions group, for example VCOM. You should adhere to the SAP enhancement concept through the installation of user-exits.
Put the function modules COMMUNICATION_AREA_KOMxByy in the function group V61B.