Ansicht
Dokumentation
/SAPAPO/FOT_LOG_WRITE - FOT - write log
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3upThis documentation is copyright by SAP AG.
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_HANDLEIS_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_LOG1General Material Data ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1446 Date: 20240604 Time: 015151 sap01-206 ( 36 ms )