IB0004 SAP (IB: Document detail data) Structure details
Description: IB: Document detail data
Structure field list including key, data, relationships and ABAP select examples
IB0004 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 "IB: Document detail data" 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_IB0004 TYPE IB0004.
The IB0004 table consists of various fields, each holding specific information or linking keys about IB: Document detail data data available in SAP. These include MANDT (Client), DOKAR (Document Type), DOKNR (Document number), DOKVR (Document Version).. 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: Not classified
SAP IB0004 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 |
OBJID | IB: Master Record Key of Component/Instance | IB_OBJID_INSTANCE | CHAR | 50 | TEXT50 | ||||
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
DOKAR | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOKNR | Document number | DOKNR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | CV1 | |
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
DWNAM | Name of person responsible | DWNAM | CHAR | 12 | DWNAM | ||||
DOKST | Document Status | DOKST | CHAR | 2 | TDWS | DOKST | |||
LABOR | Laboratory/design office | LABOR | CHAR | 3 | T024L | LABOR | |||
AENNR | Change Number | DAENR | CHAR | 12 | AENR | AENNR | AENNR | ||
WERKA | Plant | WERKA | CHAR | 4 | T001W | WERKS | |||
LOEDK | Deletion indicator | LOEDK | CHAR | 1 | XFELD | ||||
CADKZ | CAD Indicator | CADKZ | CHAR | 1 | XFELD | ||||
PRENR | Document number of superior document | PRENR | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | ||
PREVR | Document version of superior document | PREVR | CHAR | 2 | DOKVR | ||||
PRETL | Document Part of Superior Document | PRETL | CHAR | 3 | DOKTL | ||||
PREAR | Document type of the superior document | PREAR | CHAR | 3 | TDWA | DOKAR | |||
BEGRU | Authorization Group | BEGRU | CHAR | 4 | BEGRU | ||||
FILEP | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DTTRG | Name of Data Carrier | DTTRG | CHAR | 10 | TDWD | DTTRG | CV5 | ||
DAPPL | Application | DAPPL | CHAR | 3 | TDWP | DAPPL | |||
FILEP1 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
DTTRG1 | Name of Data Carrier | DTTRG | CHAR | 10 | TDWD | DTTRG | CV5 | ||
DAPPL1 | Application | DAPPL | CHAR | 3 | TDWP | DAPPL | |||
VRLDAT | Due Date | VRLDAT | DATS | 8 | DATUM | ||||
VPRIOR | Processing priority | VPRIOR | NUMC | 1 | NUMC01 | ||||
RES1 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
RES2 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
RES3 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
RES4 | Reserve field DRAW | RESDRAW | CHAR | 14 | CHAR14 | ||||
MRK_FILEP | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
MRK_DTTRG | Name of Data Carrier | DTTRG | CHAR | 10 | Assigned to domain | DTTRG | CV5 | ||
MRK_FILEP1 | Original of document | FILEP | CHAR | 255 | TEXT255 | ||||
MRK_DTTRG1 | Name of Data Carrier | DTTRG | CHAR | 10 | Assigned to domain | DTTRG | CV5 | ||
ADATUM | Output date for document | ADATUM | DATS | 8 | DATUM | ||||
DOKNR_VL | Document Number of Source Document | DOKNR_VL | CHAR | 25 | Assigned to domain | ALPHA | DOKNR | ||
DOKTL_VL | Document part of source document | DOKTL_VL | CHAR | 3 | DOKTL | ||||
DOKVR_VL | Document version of source document | DOKVR_VL | CHAR | 2 | DOKVR | ||||
FILELEN | File length of original | ORLN | NUMC | 12 | NUM12 | ||||
FILELEN1 | File length of original | ORLN | NUMC | 12 | NUM12 | ||||
CM_RELEVANCE | Relevant for Configuration Management | DE_CM_RELEVANCE_FLAG | CHAR | 1 | DO_CM_RELEVANCE_FLAG | ||||
CM_FIXED | Document fixed | DMS_CM_FIXED | CHAR | 1 | XFELD | ||||
LANGU | Language Key | LANGU | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
DKTXT | Document description | DKTXT | CHAR | 40 | TEXT40 | ||||
STABK | Status of a document (language-dependent) | STABK | CHAR | 2 | CHAR2 | ||||
DOSTX | Description of document status | DOSTX | CHAR | 16 | TEXT16 |
Key field | Non-key field |
How do I retrieve data from SAP structure IB0004 using ABAP code?
As IB0004 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 IB0004 as there is no data to select.How to access SAP table IB0004
Within an ECC or HANA version of SAP you can also view further information about IB0004 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