N2PDT_DTHEADER SAP (PMD: DocCat with Texts Header Data) Structure details

Dictionary Type: Structure
Description: PMD: DocCat with Texts Header Data




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




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

N2PDT_DTHEADER 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 "PMD: DocCat with Texts Header 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_N2PDT_DTHEADER TYPE N2PDT_DTHEADER.

The N2PDT_DTHEADER table consists of various fields, each holding specific information or linking keys about PMD: DocCat with Texts Header Data data available in SAP. These include MANDT (Client), EINRI (Institution), DTID (Document Category ID), DTVERS (Version Number).. 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 N2PDT_DTHEADER 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
N2DT 0
MANDTClient MANDTCLNT3MANDT
EINRIInstitution EINRICHAR4ALPHAEINRIEIN
DTIDDocument Category ID N2_DTIDCHAR10N2_DTIDDTYN2_DTID
DTVERSVersion Number N2_VERSNUMC3N2_VERS
DTUUIDPMD: UUID N2_DT_UUIDCHAR32SYSUUID_C
DTARTDocument Category Type N2_DTARTCHAR1N2_DTART
STATUSStatus for Document Categories N2_DTSTATCHAR1N2_DTSTAT
DOKARTDocument Type N2_DOKARTCHAR3DOKARCV2N2DOC_DOKAR
DAPPLWork Station Application N2_APPLCHAR3DAPPL
APPLPARApplication Parameters N2_APPLPARCHAR30N2_APPLPAR
ETLFDNRSequential Assignment Number N2_LFDNRNUMC4NUM04
DEIDIdent. of Documentation Element N2_DEIDCHAR10N2_DEID
DTUMSType of Document Conversion N2_DTUMSCHAR2N2_DTUMS
NOABSENTWDocument Category Without Abstract Design N2_NOABSENCHAR1N2_NOABSEN
STABLNRNumber of Secondary Tables Created for Doc. Categ. N2_STABLNRNUMC2NUM02
TMPDLGName of Template of Dialog Program N2_TMPDLGCHAR40PROGRAM_ID
TMPREPName of Template of Print Program N2_TMPREPCHAR40PROGRAM_ID
PRGDLGPMD: Name of Generated Function Group N2_PRGDLGCHAR40PROGRAM_ID
ANWDIAPMD: Name of Generated Function Group N2_PRGDLGCHAR40PROGRAM_ID
PRGREPName of Print Program N2_PRGREPCHAR40PROGRAM_ID
PRGEOPForm Routine 'Print Output' N2_PRGEOPCHAR30FUNCNAME
MODEOPInclude 'Print Output' N2_MODEOPCHAR40PROGRAM_ID
FKTEOS'Print End' Form Routine N2_FKTEOSCHAR30FUNCNAME
MODEOSInclude 'Print End' N2_MODEOSCHAR40PROGRAM_ID
FKTPBO'PBO' Form Routine N2_FKTPBOCHAR30FUNCNAME
MODPBOInclude 'PBO' N2_MODPBOCHAR40PROGRAM_ID
FKTPAI'PAI' Form Routine N2_FKTPAICHAR30FUNCNAME
MODPAIInclude 'PAI' N2_MODPAICHAR40PROGRAM_ID
FKTTOR'Print Start' Form Routine N2_FKTTORCHAR30FUNCNAME
MODTORInclude 'Print Start' N2_MODTORCHAR40PROGRAM_ID
MODTOPInclude Modules -Page Start- N2_MODTOPCHAR40PROGRAM_ID
PRGTOPName of Module for -Top of Page- N2_PRGTOPCHAR30FUNCNAME
FKTDA'Create Document' Form Routine N2_FKTDACHAR30FUNCNAME
MODDAInclude 'Create Document' N2_MODDACHAR40PROGRAM_ID
FKTDE'Document Start' Form Routine N2_FKTDECHAR30FUNCNAME
MODDEInclude 'Document Start' N2_MODDECHAR40PROGRAM_ID
FKTDP'Check Document' Form Routine N2_FKTDPCHAR30FUNCNAME
MODDPInclude 'Check Document' N2_MODDPCHAR40PROGRAM_ID
FKTSAV'Save Document' Form Routine N2_FKTSAVCHAR30FUNCNAME
MODSAVInclude 'Save Document' N2_MODSAVCHAR40PROGRAM_ID
FKTDENDE'Document End' FORM Routine N2_FKTDENDCHAR30FUNCNAME
MODDENDEInclude 'End of Document' N2_MODDENDCHAR40PROGRAM_ID
MODTOPITop Include for User Exits N2_MODTOPICHAR40PROGRAM_ID
DDTABTable Name N2_DDTABCHAR30AS4TAB
GSAPDIASAP Dialog Integration N2_GDIACHAR1XFELD
GSAPDRUSAP Print Connection N2_GDRUCHAR1XFELD
GAPP01PMD: Instantiate Own Global Data N2_GAPP01CHAR1XFELD
GAPP02EXCEL Link N2_GAPP02CHAR1XFELD
GAPP03External Application 3 (Control Field for Link) N2_GAPP03CHAR1XFELD
GAPP04External Applicatn 4 (Control Field for Link) N2_GAPP04CHAR1XFELD
GAPP05External Application 5 (Control Field for Link) N2_GAPP05CHAR1XFELD
GAPP06External Application 6 (Control Field for Link) N2_GAPP06CHAR1XFELD
GAPP07Print PMD: Use Work Organizer Option? N2_GAPP07CHAR1XFELD
REBERAuthorization Object for Reading N2_REBERCHAR10XUOBJECTXUO
UPBERAuthorization Object - Modify Document - N2_UPBERCHAR10XUOBJECTXUO
ERUSRIS-H: Name of Employee who Created Record RI_ERNAMCHAR12USNAM
ERDATIS-H: Date when Record Created RI_ERDATDATS8RI_DATUM
UPUSRIS-H: Name of Person who Last Changed Data RI_UPNAMCHAR12USNAM
UPDATIS-H: Date of Last Change RI_UPDATDATS8RI_DATUM
UPDTIMEPMD: Time N2PMD_TIMETIMS6
LOEKZDeletion Flag/Indicator RI_LOEKZCHAR1XFELD
LOUSRUser Who Deleted Record RI_LOUSRCHAR12USNAM
LODATDate of Deletion RI_LODATDATS8RI_DATUM
TMPSCIPROGTemplate for SAPscript control program N2_TSCIPRGCHAR40PROGRAM_ID
PRGSCIPROGSAPscript control program N2_PSCIPRGCHAR40PROGRAM_ID
TMPSCIFORMTemplate for SAPscript form N2_TSCIFORCHAR16TDFORM
FORSCIFORMSAPscript form N2_FSCIFORCHAR16TDFORM
USRSCIFORMUser-defined SAPscript form N2_USCIFORCHAR16TDFORM
FORTITELName of the title page template for SAPscript representation N2_FORTITLCHAR8N2_FORMWIN
FORODDEVENIndicator: Document Dispatch Allowed N2_SENDCHAR1N2_SEND
FORPAGNUMPMD: Display HTML Patient Header N2_FORPAGNCHAR1XFELD
BEZEBReference Level of a Document BEZEBCHAR1BEZEB
BEZEBKZUnique Document per Reference Level N2_BEZEBKZCHAR1XFELD
SCRLINESScreen Rows N2_LINESDEC3SCRPDEC3
SCRCOLUMNSScreen Columns N2_COLUMNSDEC3SCRPDEC3
GDIAUSRUser Name SYUNAMECHAR12SYCHAR12
GDIADATGeneration Date of the Dialog Application N2_GDIADATDATS8RI_DATUM
GDIATIMEPMD: Time N2PMD_TIMETIMS6
GDRUDATGeneration Date of Print Application N2_GDRUDATDATS8RI_DATUM
GDIARELIS-H Release Time Generation Dialog Application N2_GDIARELCHAR30N2_GENREL
GDRURELIS-H Release Generation Time of Print Application N2_GDRURELCHAR30N2_GENREL
TRARTPMD: Type of User Exit Implementation N2_TRARTCHAR1N2_TRART
GNRTRELGenerator Release Number of Parameterized Doc. N2_GNRTRELNUMC4N2_GNRTREL
APPINSApplication ID for Document Categories N2DAPPIDCHAR15N2DAPPID
APPUPDApplication ID for Document Categories N2DAPPIDCHAR15N2DAPPID
APPDISApplication ID for Document Categories N2DAPPIDCHAR15N2DAPPID
APPQVWApplication ID for Document Categories N2DAPPIDCHAR15N2DAPPID
APPDRUApplication ID for Document Categories N2DAPPIDCHAR15N2DAPPID
APPDRAApplication ID for Document Categories N2DAPPIDCHAR15N2DAPPID
GUI_STATUSGUI status N2_GUI_STATUSCHAR20GUI_STATUS
GUI_MODProgram for the GUI status N2_GUI_MODCHAR40PROGRAM_ID
ENTW_KLPackage DEVCLASSCHAR30DEVCLASSDVCDEVCLASS
GEN_KZGeneration Indicator N2_GEN_KZCHAR1N2_GEN_KZ
GFORDATGeneration Date of Print Application N2_GDRUDATDATS8RI_DATUM
GFORRELIS-H Release Generation Time of Print Application N2_GDRURELCHAR30N2_GENREL
DYNCOMPScreen compression yes/no N2_DYNCOMPCHAR1XFELD
ARCHMODECase Archiving Mode for Medical Documents N2_ARCHMODECHAR1N2_ARCHMODE
TRANSUSRUser of the Last DocCat-Transport N2_TRANSUSRCHAR12USNAM
TRANSDATDate of the Last DocCat-Transport N2_TRANSDATDATS8N2_TRANSDAT
TRANSMANDTClient ID SYMANDTCLNT3MANDT
TRANSSYSTName of SAP System SYSYSIDCHAR8SYCHAR08
TRANSISHRELISH-Release of the Transport N2_TRANSISHRELCHAR30N2_GENREL
CALC_VERSPMD: Version of Calculation Routine for Items N2_CALC_VERSNUMC3N2_VERS
BEZEBLIMLimit the Assignments of a Document N2_BEZEBLIMCHAR1N2_BEZEBLIM
MODGSD_DIA(Gen-1) Include for Standard Dialog User Exits N2_MODGSD_DIACHAR40PROGRAM_ID
FKTPBO_PREPBO: Customer User Exit before GSD N2_FKTPBO_PRECHAR30FUNCNAME
FKTPBO_GSD(GSD) User Exit PBO N2_FKTPBO_GSDCHAR30FUNCNAME
PBO_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PBO_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PBO_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
FKTPAI_GSD(GSD) User Exit PAI N2_FKTPAI_GSDCHAR30FUNCNAME
PRINT_NEWPMD: Generator Version 2 N2_PRINT_NEWCHAR1N2_PRINT_NEW
FALLREVISIONCase Revision for Medical Documents N2_FALLREVISIONCHAR1N2_FALLREVISION
AUSLIEFERUNGDelivery Type of Parameterized Documents N2_AUSLIEFERUNGCHAR1N2_AUSLIEFERUNG
P1RELEASESAP Release SAPRELEASECHAR10CHAR10
P1PATCHLVSupport Package Level of a Software Component SAPPATCHLVCHAR10CHAR10
P1DOCUKEYi.s.h.med UUID N2UUIDCHAR32SYSUUID_C
N2DTPART2 0
FKTDOKANL_GSD(Standard) User Exit Document-CREATE N2_FKTDOKANL_GSDCHAR30FUNCNAME
FKTDOKSTART_GSD(Standard) User Exit Document-START N2_FKTDOKSTART_GSDCHAR30FUNCNAME
FKTDOKCHECK_GSD(Standard) User Exit Document-CHECK N2_FKTDOKCHECK_GSDCHAR30FUNCNAME
FKTDOKSAVE_GSD(Standard) User Exit Document-SAVE N2_FKTDOKSAVE_GSDCHAR30FUNCNAME
FKTDOKEND_GSD(Standard) User Exit Document-END N2_FKTDOKEND_GSDCHAR30FUNCNAME
FKTPAI_PRE(Customer) PAI-Userexit before Standard N2_FKTPAI_PRECHAR30FUNCNAME
FKTDOKANL_PRE(Customer) DocCREATE User Exit before Standard N2_FKTDOKANL_PRECHAR30FUNCNAME
FKTDOKSTART_PRE(Customer) DocSTART-User Exit before Standard N2_FKTDOKSTART_PRECHAR30FUNCNAME
FKTDOKCHECK_PRE(Customer) DocCHECK-User Exit before Standard N2_FKTDOKCHECK_PRECHAR30FUNCNAME
FKTDOKSAVE_PRE(Customer) DocSAVE-User Exit before Standard N2_FKTDOKSAVE_PRECHAR30FUNCNAME
FKTDOKEND_PRE(Customer) DocEND-User Exit before Standard N2_FKTDOKEND_PRECHAR30FUNCNAME
PAI_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PAI_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PAI_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DOKANL_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DOKANL_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DOKANL_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DSTART_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DSTART_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DSTART_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DCHECK_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DCHECK_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DCHECK_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DSAVE_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DSAVE_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DSAVE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DEND_PRE_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DEND_GSD_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
DEND_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRISTART_PRE(Customer) User Exit PrintSTART before Standard N2_PRISTART_PRECHAR30FUNCNAME
PRISTART_GSD(Standard) User Exit PrintSTART N2_PRISTART_GSDCHAR30FUNCNAME
PRIOUT_PRE(Customer) User Exit Print OUTPUT before Standard N2_PRIOUT_PRECHAR30FUNCNAME
PRIOUT_GSD(Standard) User Exit PrintOUTPUT N2_PRIOUT_GSDCHAR30FUNCNAME
PRIEND_PRE(Customer) User Exit PrintEND before Standard N2_PRIEND_PRECHAR30FUNCNAME
PRIEND_GSD(Standard) User Exit PrintEND N2_PRIEND_GSDCHAR30FUNCNAME
PRISTART_PRE_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRISTART_GSD_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRISTART_POST_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRIOUT_PRE_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRIOUT_GSD_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRIOUT_POST_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRIEND_PRE_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRIEND_GSD_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
PRIEND_POST_NODeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
UEXINCL_GSD2PMD: Include for Std User Exits (GenVs 2) N2_UEXINCL_GSD2CHAR40PROGRAM_ID
USRFORM_DEAKTDeactivate User Exit N2_UEXIT_DEAKTCHAR1XFELD
P2NAMESPACEPMD: Namespace for Generated Objects N2PMD_NAMESPACECHAR10NAMESPACE
P2OBJPREFIXPMD: Prefix for Generated Objects N2PMD_OBJPREFIXCHAR12N2PMD_OBJPREFIX8
P2LINETYPEPMD: Row Category for Complex Type N2_LINETYPECHAR30OBJECTNAME
P2PDFFORMULARPMD: Name of PDF Form N2PMD_PDFFORMULARCHAR30FPNAME
N2DTPART3 0
P3FUNCEDITPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCDEFIPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCDELEPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCPRINPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCREADPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCEXDOPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCEXELPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCCREAPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCFREEPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCCHCKPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCOKHDPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNCASSIPMD: Name of Dynamically Called Function Module N2_PMDFUNCCHAR30FUNCNAME
P3FUNC13PMD: Name of Function Module N2_PMDFUNC13CHAR30FUNCNAME
DOCUOBJECTPMD: Docu. Object N2_DOKU_OBJCHAR60N2_DOKU_OBJ
GOPT_TOPPMD: Installation of TOP Include N2_GOPT_TOPCHAR1
N2DTAPPLFORMAT 0
N2DTT 0

Key field Non-key field



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

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

How to access SAP table N2PDT_DTHEADER

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