BAPI_EMMA_HDR SAP (EMM_HDR_ALv) Structure details

Dictionary Type: Structure
Description: EMM_HDR_ALv




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




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

BAPI_EMMA_HDR is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "EMM_HDR_ALv" Information within sap ABAP programs.

This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.

i.e. DATA: wa_BAPI_EMMA_HDR TYPE BAPI_EMMA_HDR.

The BAPI_EMMA_HDR table consists of various fields, each holding specific information or linking keys about EMM_HDR_ALv data available in SAP. These include CLIENT (Client), JOB (Internal Job Number), BUSINESSPROCESSCODE (Business Process Code), BPGUID (GUID of Transaction/Process).. 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:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced


SAP BAPI_EMMA_HDR structure 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
STATUSJob Status at Time of Preparation EMMA_STATUSCHAR132ICON10
CLIENTClient MANDTCLNT3Assigned to domainMANDT
JOBInternal Job Number EMMA_RUNIDNUMC10Assigned to domainEMMA_RUNIDEMMA_RUNID
BUSINESSPROCESSCODEBusiness 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 TCODECHAR20Assigned to domainTCODETCD
XPREPPreparation Status of Job EMMA_XPREPCHAR1EMMA_LPREP
XSIMUOnly Temporary Application Log Created for Job EMMA_XSIMUCHAR1XFELD
XPRUNJob Execution Mode EMMA_XPRUNCHAR1EMMA_XPRUN
PROCESSORUser Name in User Master Record EMMA_USERCHAR12Assigned to domainXUBNAMEUSER_ADDR
DATEApplication log: date BALDATEDATS8DATUM
TIMEApplication log: time BALTIMETIMS6UZEIT
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
OBJECTApplication Log: Object Name (Application Code) BALOBJ_DCHAR20Assigned to domainBALOBJBALOBJ
CASESNumber of Cases Created EMMA_CASECNTINT410INT4
JOBRUNSTATUSJob Status at Time of Preparation EMMA_JOBRUNSTATUSCHAR132ICON10
XPRUNSTATUS Execution ode0
XPCASESTATUSClarification Case Generation Status EMMA_XPCASESTATUSCHAR132ICON10

Key field Non-key field



How do I retrieve data from SAP structure BAPI_EMMA_HDR using ABAP code?

As BAPI_EMMA_HDR is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on BAPI_EMMA_HDR as there is no data to select.

How to access SAP table BAPI_EMMA_HDR

Within an ECC or HANA version of SAP you can also view further information about BAPI_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!