CSTDOC SAP (Output for Initial Document in BOM Explosion) Structure details

Dictionary Type: Structure
Description: Output for Initial Document in BOM Explosion




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




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

CSTDOC 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 "Output for Initial Document in BOM Explosion" 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_CSTDOC TYPE CSTDOC.

The CSTDOC table consists of various fields, each holding specific information or linking keys about Output for Initial Document in BOM Explosion data available in SAP. These include DOKNR (Document number), DOKVR (Document Version), DOKTL (Document Part), REVLV (Revision Level).. 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: Can be enhanced (character-type or numeric)


SAP CSTDOC 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
DOKARDocument Type DOKARCHAR3Assigned to domainDOKARCV2
DOKNRDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
DOKVRDocument Version DOKVRCHAR2DOKVRCV3
DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
DKTXTDocument description DKTXTCHAR40TEXT40
STABKStatus of a document (language-dependent) STABKCHAR2CHAR2
DOSTXDescription of document status DOSTXCHAR16TEXT16
LABORLaboratory/design office LABORCHAR3Assigned to domainLABOR
LOEDKDeletion indicator LOEDKCHAR1XFELD
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLANBOM usage STLVWCHAR1Assigned to domainSTLAN
STLALAlternative BOM STLALCHAR2ALPHAALTNR
BMENGBase quantity BASMNQUAN13(3) MENG13
BMEINBase unit of measure for BOM BASMEUNIT3Assigned to domainCUNITMEINS
EMENGRequired quantity EMENGQUAN13(3) MENG13
ALTSTIndicator: Alternatives ALTSTCHAR1XFELD
VARSTIndicator: variants VARSTCHAR1XFELD
KBAUSIndicator: configurable BOM KBAUSCHAR1XFELD
DATUVValid-from/to date DTVONDATS8DATUM
DATUBValid-to date DATUBDATS8DATUM
AENNRChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
LOEKZAsset class marked for deletion LOEKZCHAR1XFELD
ANDATDate record created on ANDATDATS8DATUM
ANNAMUser who created record ANNAMCHAR12USNAM
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
LTXSPLanguage: The long text was stored in this language LTXSPLANG1Assigned to domainISOLASPRAS
STKTXAlternative BOM Text STKTXCHAR40TEXT40
STLSTBOM status STLSTNUMC2Assigned to domainSTLST

Key field Non-key field



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

As CSTDOC 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 CSTDOC as there is no data to select.

How to access SAP table CSTDOC

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