AFDLD SAP (Order: Dialog Structure for Document Link) Structure details

Dictionary Type: Structure
Description: Order: Dialog Structure for Document Link




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




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

AFDLD 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 "Order: Dialog Structure for Document Link" 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_AFDLD TYPE AFDLD.

The AFDLD table consists of various fields, each holding specific information or linking keys about Order: Dialog Structure for Document Link data available in SAP. These include AUFNR (Order Number), TYP (Production Order: Document Link Type), APOSNR (Order Item Number), AUFPL (Routing number of operations in the order).. 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 AFDLD 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
MANDTClient MANDTCLNT3T000MANDT
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
TYPProduction Order: Document Link Type PORD_DOCLTCHAR1
APOSNROrder Item Number CO_POSNRNUMC4CO_POSNR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLGeneral counter for order CO_APLZLNUMC8Assigned to domainCO_APLZL
ZAEHLCounter key OBZAENUMC4NUM4
FOLNRSequence PLNFOLGECHAR6ALPHAPLNFOLGE
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
UVORNSuboperation UVORNCHAR4NUMCVVORNR
DOKARDocument Type DOKARCHAR3TDWADOKARCV2
DOKNRDocument number DOKNRCHAR25DRAWALPHADOKNRCV1
DOKVRDocument Version DOKVRCHAR2DOKVRCV3
DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
OBJKYDocument management object key OBJKYCHAR50CHAR50
LINKSRCObject type OJ_NAMECHAR10Assigned to domainOJ_NAME
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
STLTYBOM category STLTYCHAR1STLTY
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
STLKNBOM item node number STLKNNUMC8KNTNR
STPOZInternal counter CIM_COUNTNUMC8CIM_COUNT
AENNRChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
AEDATChanged On AEDATDATS8DATUM
AENAMName of Person Who Changed Object AENAMCHAR12USNAM
POSTPItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
POSNRItem Number Document Links DOC_POSNRCHAR6CHAR6
SORTFSort String SORTPCHAR10CHAR10
MEINSComponent unit of measure KMPMEUNIT3Assigned to domainCUNITMEINS
MENGEComponent quantity KMPMGQUAN13(3) MENGV13
VBKZUpdate indicator VBKZCHAR1VERBUCHER
BTIDXIndex for a table entry TBINDEXINT410TABIX
DELFLAGDeletion indicator: object link DEL_DRAD_FLAGCHAR1
DAEDATChanged On AEDATDATS8DATUM
DAENAMName of Person Who Changed Object AENAMCHAR12USNAM
DAEZEITTime created C_TIMETIMS6UZEIT
DKTXTDocument description DKTXTCHAR40TEXT40

Key field Non-key field



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

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

How to access SAP table AFDLD

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