BAPI_EMMA_HDR SAP (EMM_HDR_ALv) Structure details
Description: EMM_HDR_ALv
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 |
STATUS | Job Status at Time of Preparation | EMMA_STATUS | CHAR | 132 | ICON10 | ||||
CLIENT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
JOB | Internal Job Number | EMMA_RUNID | NUMC | 10 | Assigned to domain | EMMA_RUNID | EMMA_RUNID | ||
BUSINESSPROCESSCODE | Business Process Code | EMMA_BPCODE | CHAR | 8 | Assigned to domain | ALPHA | EMMA_BPCODE | EMMA_BPCODE | |
BPGUID | GUID of Transaction/Process | EMMA_BPGUID | RAW | 16 | SYSUUID | ||||
EXTRUNID | Application-Specific External Job Number | EMMA_EXTRUNID | CHAR | 50 | EMMA_EXTRUNID | EMMA_EXTRUNID | |||
VERSION | Enhanced Message Management Release | EMMARELEASE | CHAR | 10 | CHAR10 | ||||
LOGTCODE | Transaction Code | TCODE | CHAR | 20 | Assigned to domain | TCODE | TCD | ||
XPREP | Preparation Status of Job | EMMA_XPREP | CHAR | 1 | EMMA_LPREP | ||||
XSIMU | Only Temporary Application Log Created for Job | EMMA_XSIMU | CHAR | 1 | XFELD | ||||
XPRUN | Job Execution Mode | EMMA_XPRUN | CHAR | 1 | EMMA_XPRUN | ||||
PROCESSOR | User Name in User Master Record | EMMA_USER | CHAR | 12 | Assigned to domain | XUBNAME | USER_ADDR | ||
DATE | Application log: date | BALDATE | DATS | 8 | DATUM | ||||
TIME | Application log: time | BALTIME | TIMS | 6 | UZEIT | ||||
INTNR | Number of Job Interval | EMMA_INTNR | INT4 | 10 | INT4 | ||||
OBJECT_PROCESS | Total Number of Processed Business Objects | EMMA_PROCESS | INT4 | 10 | INT4 | ||||
OBJECT_ERROR | Number of Incorrect Business Objects | EMMA_ERROR | INT4 | 10 | INT4 | ||||
OBJECT_WARNING | Number of Business Objects with Warnings | EMMA_WARNING | INT4 | 10 | INT4 | ||||
OBJECT_SUCCESS | Number of Successfully Processed Business Objects | EMMA_SUCCESS | INT4 | 10 | INT4 | ||||
MESSAGE_ERROR | Number of Error Messages Without Business Object Reference | EMMA_MSGERROR | INT4 | 10 | INT4 | ||||
MESSAGE_WARNING | Number of Warning Messages Without Business Object Ref. | EMMA_MSGWARNING | INT4 | 10 | INT4 | ||||
MESSAGE_INFO | Number of Information Messages Without Business Object Ref. | EMMA_MSGINFO | INT4 | 10 | INT4 | ||||
MESSAGE_COUNT | Total Number of Messages for Job | EMMA_MESSAGES | INT4 | 10 | INT4 | ||||
EMMA_CASE | Number of Clarification Cases | EMMA_CASECOUNT | INT4 | 10 | INT4 | ||||
EMMA_JOBRUSTATUS | Job Status at Time of Preparation | EMMA_JOBRUSTATUS | CHAR | 1 | EMMA_JOBRUNSTATUS | ||||
CGEN_STATUS | Status of Clarification Case Generation | EMMA_XCGEN | CHAR | 1 | EMMA_CGENS | ||||
PREV_USER | Last Processor of Job | EMMA_PREV_USER | CHAR | 12 | UNAME | ||||
PREV_DATE | Date of Last Processing of Job | EMMA_PREV_DATE | DATS | 8 | DATUM | ||||
PREV_TIME | Time of Last Processing of Job | EMMA_PREV_TIME | TIMS | 6 | UZEIT | ||||
OBJECT | Application Log: Object Name (Application Code) | BALOBJ_D | CHAR | 20 | Assigned to domain | BALOBJ | BALOBJ | ||
CASES | Number of Cases Created | EMMA_CASECNT | INT4 | 10 | INT4 | ||||
JOBRUNSTATUS | Job Status at Time of Preparation | EMMA_JOBRUNSTATUS | CHAR | 132 | ICON10 | ||||
XPRUNSTATUS | Execution ode | 0 | |||||||
XPCASESTATUS | Clarification Case Generation Status | EMMA_XPCASESTATUS | CHAR | 132 | ICON10 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects