Show TOC

Logging Simple MessagesLocate this document in the navigation structure

Use the method LOG_MESSAGE of class /IWFND/CL_LOGGER to log messages from the SAP Gateway message container. You can enter a T100 message, free text, or both.

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

IV_MSG_TYPE

importing

 

SYMSGTY

Message type

IV_MSG_ID

importing

X

SYMSGID

Message class

IV_MSG_NUMBER

importing

X

SYMSGNO

Message number

IV_MSG_TEXT

importing

X

/IWFND/SUP_MSG_LONGTEXT

Message text

IV_MSG_V1

importing

X

SYMSGV

Message variable

IV_MSG_V2

importing

X

SYMSGV

Message variable

IV_MSG_V3

importing

X

SYMSGV

Message variable

IV_MSG_V4

importing

X

SYMSGV

Message variable

IV_SYSTEM_ALIAS

importing

X

/IWFND/DEFI_SYSTEM_ALIAS

System alias

IS_OBJECT_KEY

importing

X

/IWFND/S_COR_ID

ID of the object whose processing caused the errors

IV_AGENT

importing

 

/IWFND/SUP_IW_AGENT

SAP GW agent

IV_PROBLEM_CLASS

importing

X

BAL_S_MSG-PROBCLASS

Application log: Message problem class

IV_MSG_HANDLE

importing

X

BALMSGHNDL

Application Log: Message handle

IV_LOG_TO_CCMS

importing

X

/IWFND/SUP_LOG_CCMS

Flag for logging the message to CCMS

IV_LOG_MSG_TEXT

importing

X

BOOLEAN

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

RV_MSG_HANDLE

returning

 

BALMSGHNDL

Application Log: Message handle