AFDLD SAP (Order: Dialog Structure for Document Link) Structure details
Description: Order: Dialog Structure for Document Link
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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
TYP | Production Order: Document Link Type | PORD_DOCLT | CHAR | 1 | |||||
APOSNR | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
APLZL | General counter for order | CO_APLZL | NUMC | 8 | Assigned to domain | CO_APLZL | |||
ZAEHL | Counter key | OBZAE | NUMC | 4 | NUM4 | ||||
FOLNR | Sequence | PLNFOLGE | CHAR | 6 | ALPHA | PLNFOLGE | |||
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
UVORN | Suboperation | UVORN | CHAR | 4 | NUMCV | VORNR | |||
DOKAR | Document Type | DOKAR | CHAR | 3 | TDWA | DOKAR | CV2 | ||
DOKNR | Document number | DOKNR | CHAR | 25 | DRAW | ALPHA | DOKNR | CV1 | |
DOKVR | Document Version | DOKVR | CHAR | 2 | DOKVR | CV3 | |||
DOKTL | Document Part | DOKTL_D | CHAR | 3 | DOKTL | CV4 | |||
OBJKY | Document management object key | OBJKY | CHAR | 50 | CHAR50 | ||||
LINKSRC | Object type | OJ_NAME | CHAR | 10 | Assigned to domain | OJ_NAME | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
VERID | Production Version | VERID | CHAR | 4 | Assigned to domain | VERID | VER | ||
STLTY | BOM category | STLTY | CHAR | 1 | STLTY | ||||
STLNR | Bill of material | STNUM | CHAR | 8 | NUMCV | STNUM | STLNR | ||
STLKN | BOM item node number | STLKN | NUMC | 8 | KNTNR | ||||
STPOZ | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
AENNR | Change Number | AENNR | CHAR | 12 | Assigned to domain | AENNR | AENNR | AEN | |
AEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
AENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
POSTP | Item Category (Bill of Material) | POSTP | CHAR | 1 | Assigned to domain | POSTP | |||
POSNR | Item Number Document Links | DOC_POSNR | CHAR | 6 | CHAR6 | ||||
SORTF | Sort String | SORTP | CHAR | 10 | CHAR10 | ||||
MEINS | Component unit of measure | KMPME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MENGE | Component quantity | KMPMG | QUAN | 13(3) | MENGV13 | ||||
VBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER | ||||
BTIDX | Index for a table entry | TBINDEX | INT4 | 10 | TABIX | ||||
DELFLAG | Deletion indicator: object link | DEL_DRAD_FLAG | CHAR | 1 | |||||
DAEDAT | Changed On | AEDAT | DATS | 8 | DATUM | ||||
DAENAM | Name of Person Who Changed Object | AENAM | CHAR | 12 | USNAM | ||||
DAEZEIT | Time created | C_TIME | TIMS | 6 | UZEIT | ||||
DKTXT | Document description | DKTXT | CHAR | 40 | TEXT40 |
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 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