AFSPREL_EX SAP (Transfer Structure of Split Relationships) Structure details
Description: Transfer Structure of Split Relationships
Structure field list including key, data, relationships and ABAP select examples
AFSPREL_EX 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 "Transfer Structure of Split Relationships" 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_AFSPREL_EX TYPE AFSPREL_EX.
The AFSPREL_EX table consists of various fields, each holding specific information or linking keys about Transfer Structure of Split Relationships data available in SAP. These include C_AUFNR (Child order of a split hierarchy), BYPRODUCT (Material Number By-Product Order Split), BYPRODUCT_BATCH (Batch Number By-Product Order Split), SPLCNT (Counter for the Parent-Child Order Relationships).. 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 AFSPREL_EX 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 | Assigned to domain | MANDT | |||
C_AUFNR | Child order of a split hierarchy | SPLIT_CAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
BYPRODUCT | Material Number By-Product Order Split | COOS_BYPRODUCT | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
BYPRODUCT_BATCH | Batch Number By-Product Order Split | COOS_BYPRODUCT_BATCH | CHAR | 10 | Assigned to domain | CHARG | |||
SPLCNT | Counter for the Parent-Child Order Relationships | SPLCNT | NUMC | 4 | NUMC4 | ||||
P_AUFNR | Parent order of a split hierarchy | SPLIT_PAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
L_AUFNR | Leading order of a split hierarchy | SPLIT_LAUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ||
SPLQ | Split Quantity in Order Split | SPLIT_QTY | QUAN | 13(3) | MENG13 | ||||
QUNIT | Unit of Measure for Activity/Operation | VORME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
SDATE | Field of type DATS | DATS | DATS | 8 | DATS | ||||
STIME | Field of type TIMS | TIMS | TIMS | 6 | TIME | ||||
SUSER | User Name | UNAME | CHAR | 12 | UNAME | ||||
CANCELED | Order Split Cancelled | COOS_CANCELED | CHAR | 1 | FLAG | ||||
CANCEL_USER | User Who Carried Out Order Split Cancellation | COOS_CANCELLATION_USER | CHAR | 12 | UNAME | ||||
CANCEL_DATE | Cancellation Date Order Split | COOS_CANCELLATION_DATE | DATS | 8 | DATUM | ||||
CANCEL_TIME | Time of Cancellation | COOS_CANCELLATION_TIME | TIMS | 6 | UZEIT | ||||
APLZL | General counter for order | CO_APLZL | NUMC | 8 | Assigned to domain | CO_APLZL | |||
VORNR | Split operation of an order split | SPLIT_OPER | CHAR | 4 | NUMCV | VORNR |
Key field | Non-key field |
How do I retrieve data from SAP structure AFSPREL_EX using ABAP code?
As AFSPREL_EX 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 AFSPREL_EX as there is no data to select.How to access SAP table AFSPREL_EX
Within an ECC or HANA version of SAP you can also view further information about AFSPREL_EX 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