SAP EMMA_LOG_PROCESS Function Module for Process Log









EMMA_LOG_PROCESS is a standard emma log process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Process Log processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for emma log process FM, simply by entering the name EMMA_LOG_PROCESS into the relevant SAP transaction such as SE37 or SE38.

Function Group: EMMA_DATA_PROCESS
Program Name: SAPLEMMA_DATA_PROCESS
Main Program: SAPLEMMA_DATA_PROCESS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function EMMA_LOG_PROCESS pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'EMMA_LOG_PROCESS'"Process Log
EXPORTING
IT_LOGINFO = "table type for return of log and other info

IMPORTING
ES_OUTPUT_HDR = "Mass Run Buffer of Header Data for ALV
ET_OUTPUT_INT = "Mass Run: Buffer for Intervals for ALV
ET_EXPORTEO = "message summary
ET_EXPORTWO = "message summary
ET_EXPORTSO = "message summary
ET_EXPORTIM = "message summary
ET_EXPORTWM = "message summary
ET_EXPORTEM = "message summary
ET_MSGLONGTXTPAR = "message long text par

EXCEPTIONS
NOT_FOUND = 1 NO_MESSAGE_FOUND = 2
.



IMPORTING Parameters details for EMMA_LOG_PROCESS

IT_LOGINFO - table type for return of log and other info

Data type: EMMA_LOGINFO_OUT_TAB
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for EMMA_LOG_PROCESS

ES_OUTPUT_HDR - Mass Run Buffer of Header Data for ALV

Data type: EMMA_HDR_ALV
Optional: No
Call by Reference: Yes

ET_OUTPUT_INT - Mass Run: Buffer for Intervals for ALV

Data type: EMMA_INT_ALV_TAB
Optional: No
Call by Reference: Yes

ET_EXPORTEO - message summary

Data type: EMMA_MSGSTOREDB_TAB
Optional: No
Call by Reference: Yes

ET_EXPORTWO - message summary

Data type: EMMA_MSGSTOREDB_TAB
Optional: No
Call by Reference: Yes

ET_EXPORTSO - message summary

Data type: EMMA_MSGSTOREDB_TAB
Optional: No
Call by Reference: Yes

ET_EXPORTIM - message summary

Data type: EMMA_MSGSTOREDB_TAB
Optional: No
Call by Reference: Yes

ET_EXPORTWM - message summary

Data type: EMMA_MSGSTOREDB_TAB
Optional: No
Call by Reference: Yes

ET_EXPORTEM - message summary

Data type: EMMA_MSGSTOREDB_TAB
Optional: No
Call by Reference: Yes

ET_MSGLONGTXTPAR - message long text par

Data type: EMMA_MSGLONGTXTPAR_TAB
Optional: No
Call by Reference: Yes

EXCEPTIONS details

NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

NO_MESSAGE_FOUND - No messages exist

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EMMA_LOG_PROCESS Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_not_found  TYPE STRING, "   
lv_it_loginfo  TYPE EMMA_LOGINFO_OUT_TAB, "   
lv_es_output_hdr  TYPE EMMA_HDR_ALV, "   
lv_et_output_int  TYPE EMMA_INT_ALV_TAB, "   
lv_no_message_found  TYPE EMMA_INT_ALV_TAB, "   
lv_et_exporteo  TYPE EMMA_MSGSTOREDB_TAB, "   
lv_et_exportwo  TYPE EMMA_MSGSTOREDB_TAB, "   
lv_et_exportso  TYPE EMMA_MSGSTOREDB_TAB, "   
lv_et_exportim  TYPE EMMA_MSGSTOREDB_TAB, "   
lv_et_exportwm  TYPE EMMA_MSGSTOREDB_TAB, "   
lv_et_exportem  TYPE EMMA_MSGSTOREDB_TAB, "   
lv_et_msglongtxtpar  TYPE EMMA_MSGLONGTXTPAR_TAB. "   

  CALL FUNCTION 'EMMA_LOG_PROCESS'  "Process Log
    EXPORTING
         IT_LOGINFO = lv_it_loginfo
    IMPORTING
         ES_OUTPUT_HDR = lv_es_output_hdr
         ET_OUTPUT_INT = lv_et_output_int
         ET_EXPORTEO = lv_et_exporteo
         ET_EXPORTWO = lv_et_exportwo
         ET_EXPORTSO = lv_et_exportso
         ET_EXPORTIM = lv_et_exportim
         ET_EXPORTWM = lv_et_exportwm
         ET_EXPORTEM = lv_et_exportem
         ET_MSGLONGTXTPAR = lv_et_msglongtxtpar
    EXCEPTIONS
        NOT_FOUND = 1
        NO_MESSAGE_FOUND = 2
. " EMMA_LOG_PROCESS




ABAP code using 7.40 inline data declarations to call FM EMMA_LOG_PROCESS

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!