Ansicht
Dokumentation

/SAPAPO/FOT_LOG_WRITE - FOT - write log

/SAPAPO/FOT_LOG_WRITE - FOT - write log

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function writes a message into the current log.

First, it decides the message type either by import or system default. Then it checks whether the message type is among those allowed and whether the message needs to be written.

If the log is not initialized, it calls function /SAPAPO/FOT_LOG_START to start a log.

It checks whether it has to call function /SAPAPO/FOT_LOG_OM_APPEND to collect messages created from OM.

In preparing for message write, it assigns a value to local variables. Then it calls function BAL_LOG_MSG_ADD to add the message to the log. Then it calls BALW_BAPIRETURN_GET2 to convert the message to BAPI format and accumulates it to an internal table.

Example

Notes

Further information





Parameters

ES_MSG_HANDLE
IS_PARAMS
IV_DTLVL
IV_INIT
IV_MSGID
IV_MSGNO
IV_MSGTY
IV_MSGV1
IV_MSGV2
IV_MSGV3
IV_MSGV4
IV_OMDTL

Exceptions

Function Group

APO/SAPLFOT_LOG1

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.

Length: 1446 Date: 20240426 Time: 190756     sap01-206 ( 36 ms )