SAP Function SKF_ADD_MESSAGES - Add messages to the message table

Parameter Reference Type Length Default Optional Text
FIELD BAPI_FLD C 30 X Field in parameter
ID SYMSGID C 20 SY-MSGID X Message Class
LOG_MSG_NO BALMNR N 6 X Application log: Internal message serial number
LOG_NO BALOGNR C 20 X Application log: log number
MESSAGE BAPI_MSG C 220 X Message Text
MESSAGE_V1 SYMSGV C 50 SY-MSGV1 X Message Variable
MESSAGE_V2 SYMSGV C 50 SY-MSGV1 X Message Variable
MESSAGE_V3 SYMSGV C 50 SY-MSGV1 X Message Variable
MESSAGE_V4 SYMSGV C 50 SY-MSGV1 X Message Variable
MSG_TYPE BAPI_MTYPE C 1 SY-MSGTY X Message type: S Success, E Error, W Warning, I Info, A Abort
NUMBER SYMSGNO N 3 SY-MSGNO X Message Number
PARAMETER BAPI_PARAM C 32 X Parameter Name
ROW BAPI_LINE I 4 X Lines in parameter
SYSTEM BAPILOGSYS C 10 X Logical system from which message originates

Parameter Reference Length Optional Text
MESSAGES BAPIRET2_T 548 Return parameter table

Functionality
The function module is used to collect all the messages that are raisedduing the execution of the program