Show TOC

Logging Simple Messages Through a StructureLocate this document in the navigation structure

The message container uses the method LOG_MESSAGE_STRUCTURE of class /IWFND/CL_LOGGER to log its messages. The messages can be passed in a structure or as single values (message class, ID, type, variables).

Note

Note that for the backend system (where software component IW_BEP is deployed) a corresponding class exists called /IWBEP/CL_COS_LOGGER for OData Channel development.

Parameter Name

Parameter Type

Optional

Data Type

Def. Value

IS_MESSAGE_STRUCTURE

importing

 

/IWFND/S_MECO_MESSAGE

Message type

IV_LOG_MSG_TEXT

importing

X

BOOLEAN

Boolean variable (X=True, -=False, Space=Unknown)

IV_MSG_HANDLE

importing

X

BALMSGHNDL

Application Log: Message handle

RV_MSG_HANDLE

returning

 

BALMSGHNDL

Application Log: Message handle