Show TOC

Logger Handling for Outbound FlowsLocate this document in the navigation structure

Use

For outbound flows, the logger instance must be initiated and closed according to the start and end of a synchronous process.

A new logger instance must be created using the INIT_LOGGER method and closed using the CLOSE_LOGGER method (of class /IWFND/CL_LOGGER or /IWBEP/CL_COS_LOGGER) when the asynchronous process has finished. Between the logger initiation and closing, you can log messages as described in the previous sections.

CLOSE_LOGGER

Use the method CLOSE_LOGGER to save the log entries created during the request process to the Applications Log database.

If the entire process was successful (that is, only information messages were created), only one message is saved to the database, containing the information that the request was successfully processed on the SAP Gateway framework.