Ansicht
Dokumentation

EMMA_LOG_PROCESS_START - Note start of process

EMMA_LOG_PROCESS_START - Note start of process

TXBHW - Original Tax Base Amount in Local Currency   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module logs the start of a process. This module writes the message EMMA-011 in an application log that also contains information about the business object processed, user information, and the time stamp.

The message is only created if the process area is active in table EMMAC_BPA. The process code must be entered for the process area specified.

The module does not check whether the business objects transferred exist.

If the key of the business object is unknown at the time of the process start, you cannot transfer the object key to the module EMMA_LOG_PROCESS_END until the end of the process.

Example

The process 'Collection Processing' starts and notes the start of the process with a call of this function module. Since the program has managed and opened the application log itself, it transfers the log handle to this function module. A message 'Start of collection processing process' is written to the application log. The number of the collection document is also specified.

The process 'Entry of Meter Reading' is called by collection processing. Since this process processes several meter reading documents, the time stamp of the start of the process is used and noted at the start of the process itself. At the end of the meter reading process, this function module is called for each meter reading document processed and a message 'Start of process to enter meter reading results' is written in the application log. The previously entered time stamp is entered at the start of the process. There should be no measurement of time for the user. The time measurement per import parameter is therefore suppressed explicitly.

Since the process itself does not manage any application logs, it specifies the application log and subobject. This enables the function module to find a suitable open application log in the main memory, or, if necessary, to open a new application log. Alternatively, the collection processing could transfer the log handle to the entry of the meter reading results.

Notes

To note the end of the process in the application log, the function module EMMA_LOG_PROCESS_END must be called for each call of this function module.

Further information





Parameters

EV_BPGUID_C
EV_LOG_HANDLE
IS_BUSOBJECTS
IS_LOG_INFO
IV_BPAREA
IV_BPCODE
IV_BPC_HDR
IV_DB_UPDATE
IV_MAIN_BUS_OBJKEY
IV_MAIN_BUS_OBJTYPE
IV_MASSPROCESS
IV_NEWPROCESS
IV_NO_TIME_MEAS
IV_RUNMODE
IV_START_TIMESTAMP
IV_START_TIMESTAMPL
IV_TCODE

Exceptions

BPAREA_MEAS_INACTIVE
BPAREA_NOT_FOUND
BPCODE_NOT_FOUND
LOGOBJECT_SUBOBJECT_NOT_SPECIF
SYSTEM_ERROR

Function Group

EMMA_BW

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4193 Date: 20240523 Time: 091026     sap01-206 ( 74 ms )