SAP CNPB_H_DOCS_MANDATORY_FIELDS Necessary Fields from DRAD, for Determining Hierarchy Table data and field list

CNPB_H_DOCS_MANDATORY_FIELDS 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 "Necessary Fields from DRAD, for Determining Hierarchy" 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_CNPB_H_DOCS_MANDATORY_FIELDS TYPE CNPB_H_DOCS_MANDATORY_FIELDS.

The CNPB_H_DOCS_MANDATORY_FIELDS table consists of various fields, each holding specific information or linking keys about Necessary Fields from DRAD, for Determining Hierarchy data available in SAP. These include VORNR (Operation/Activity Number), PSPNR (WBS Element), RSNUM (Number of Reservation/Dependent Requirement), RSPOS (Item Number of Reservation/Dependent Requirement)... 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. .

CNPB_H_DOCS_MANDATORY_FIELDS structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified


SAP CNPB_H_DOCS_MANDATORY_FIELDS structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CNPB_H_DOCS_MANDATORY_FIELDS table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
PSPNRWBS Element PS_POSNRNUMC8Assigned to domainABPSPPS_POSNR
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
RSPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
DOKARDocument Type DOKARCHAR3Assigned to domainDOKARCV2
DOKNRDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
DOKVRDocument Version DOKVRCHAR2DOKVRCV3
DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
DOKOBLinked SAP Object DOKOBCHAR10Assigned to domainDOKOB
OBZAECounter key OBZAENUMC4NUM4
OBJKYDocument management object key OBJKYCHAR50CHAR50
NODE_KEYTree Control: Node Key TV_NODEKEYCHAR12TM_CHAR12
FLG_HANDLEDIndicator: Object already edited CNPB_H_FLG_OBJECT_HANDLEDCHAR1XFELD
LOEKZIndicates whether an object is logically deleted. LOLOECHAR1XFELD
LOCKEDLock flag, U = User, F = Other, A = Not authorized UFENQUEUECHAR1UFENQUEUE
EXPANDER Node Status: Space = Expanded, X Exp. - ignore0
KTEXTGeneral short text CNPB_KTEXTCHAR40TEXT40

Key field Non-key field



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

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

How to access SAP table CNPB_H_DOCS_MANDATORY_FIELDS

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

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