EMMA_HDR SAP (Prepared Application Logs) Table details

Dictionary Type: Table
Description: Prepared Application Logs




ABAP Code to SELECT data from EMMA_HDR
Related tables to EMMA_HDR
Access table EMMA_HDR




Table field list including key, data, relationships and ABAP select examples

EMMA_HDR is a standard SAP Table which is used to store Prepared Application Logs data and is available within R/3 SAP systems depending on the version and release level.

The EMMA_HDR table consists of various fields, each holding specific information or linking keys about Prepared Application Logs data available in SAP. These include RUNID (Internal Job Number), BPCODE (Business Process Code), BPGUID (GUID of Transaction/Process), EXTRUNID (Application-Specific External Job Number).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .

Delivery Class: L - Table for storing temporary data, is delivered empty
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP EMMA_HDR table fields - Full list of fields found in SAP data dictionary

Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
CLIENTClient MANDTCLNT3T000MANDT
RUNIDInternal Job Number EMMA_RUNIDNUMC10EMMA_RUNIDEMMA_RUNID
BPCODEBusiness Process Code EMMA_BPCODECHAR8Assigned to domainALPHAEMMA_BPCODEEMMA_BPCODE
BPGUIDGUID of Transaction/Process EMMA_BPGUIDRAW16SYSUUID
EXTRUNIDApplication-Specific External Job Number EMMA_EXTRUNIDCHAR50EMMA_EXTRUNIDEMMA_EXTRUNID
VERSIONEnhanced Message Management Release EMMARELEASECHAR10CHAR10
LOGTCODETransaction Code TCODECHAR20TSTCTCODETCD
XPREPPreparation Status of Job EMMA_XPREPCHAR1EMMA_LPREP
XSIMUOnly Temporary Application Log Created for Job EMMA_XSIMUCHAR1XFELD
XPRUNJob Execution Mode EMMA_XPRUNCHAR1EMMA_XPRUN
LOGUSERUser Name in User Master Record EMMA_USERCHAR12Assigned to domainXUBNAMEUSER_ADDR
LOGDATEStart of processing (date) EMMA_DBEGDATS8DATS
LOGTIMEStart of Processing (Time) EMMA_TBEGTIMS6TIMS
INTNRNumber of Job Interval EMMA_INTNRINT410INT4
OBJECT_PROCESSTotal Number of Processed Business Objects EMMA_PROCESSINT410INT4
OBJECT_ERRORNumber of Incorrect Business Objects EMMA_ERRORINT410INT4
OBJECT_WARNINGNumber of Business Objects with Warnings EMMA_WARNINGINT410INT4
OBJECT_SUCCESSNumber of Successfully Processed Business Objects EMMA_SUCCESSINT410INT4
MESSAGE_ERRORNumber of Error Messages Without Business Object Reference EMMA_MSGERRORINT410INT4
MESSAGE_WARNINGNumber of Warning Messages Without Business Object Ref. EMMA_MSGWARNINGINT410INT4
MESSAGE_INFONumber of Information Messages Without Business Object Ref. EMMA_MSGINFOINT410INT4
MESSAGE_COUNTTotal Number of Messages for Job EMMA_MESSAGESINT410INT4
EMMA_CASENumber of Clarification Cases EMMA_CASECOUNTINT410INT4
EMMA_JOBRUSTATUSJob Status at Time of Preparation EMMA_JOBRUSTATUSCHAR1EMMA_JOBRUNSTATUS
CGEN_STATUSStatus of Clarification Case Generation EMMA_XCGENCHAR1EMMA_CGENS
PREV_USERLast Processor of Job EMMA_PREV_USERCHAR12UNAME
PREV_DATEDate of Last Processing of Job EMMA_PREV_DATEDATS8DATUM
PREV_TIMETime of Last Processing of Job EMMA_PREV_TIMETIMS6UZEIT
LOGSYSLogical system LOGSYSCHAR10TBDLSALPHALOGSYS
BRGRUAuthorization Group BRGRUCHAR4TBRGBRGRU

Key field Non-key field



How do I retrieve data from SAP table EMMA_HDR using ABAP code

The following ABAP code Example will allow you to do a basic selection on EMMA_HDR to SELECT all data from the table
DATA: WA_EMMA_HDR TYPE EMMA_HDR.

SELECT SINGLE *
FROM EMMA_HDR
INTO CORRESPONDING FIELDS OF WA_EMMA_HDR
WHERE...

How to access SAP table EMMA_HDR

Within an ECC or HANA version of SAP you can also view further information about EMMA_HDR and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


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!