SAP AFSPREL Relation Between Orders in an Order Split Table
Overview
AFSPREL is a standard SAP S/4HANA table that stores Relation Between Orders in an Order Split data. There are total 21 fields in the AFSPREL table. The following is a list of the fields that make up this table. Key fields are marked in blue.
The table AFSPREL belongs to Production Orders (PP-SFC) module and is located in the package Application Development ERP PP Production Orders (CO).
In addition, following links provide an overview of foreign key relationships, if any, that link AFSPREL to other SAP tables and standard CDS views available based on AFSPREL table in S/4HANA 2020.
Techincal Settings of AFSPREL
Below are technical details of the table AFSPREL
- Buffering not allowed
- No buffering
- Storage type is Column Store
List of AFSPREL Fields
The following table gives you an overview of the fields available in AFSPREL
| Field | Description | Data Element | Check Table | Data Type | Length |
|---|---|---|---|---|---|
| MANDT | Client | MANDT | * | CLNT | 3 |
| C_AUFNR | Child order of a split hierarchy | SPLIT_CAUFNR | * | CHAR | 12 |
| BYPRODUCT | Material Number By-Product Order Split | COOS_BYPRODUCT | * | CHAR | 40 |
| BYPRODUCT_BATCH | Batch Number By-Product Order Split | COOS_BYPRODUCT_BATCH | * | CHAR | 10 |
| SPLCNT | Counter for the Parent-Child Order Relationships | SPLCNT | NUMC | 4 | |
| P_AUFNR | Parent order of a split hierarchy | SPLIT_PAUFNR | * | CHAR | 12 |
| L_AUFNR | Leading order of a split hierarchy | SPLIT_LAUFNR | * | CHAR | 12 |
| SPLQ | Split Quantity in Order Split | SPLIT_QTY | QUAN | 13 | |
| QUNIT | Unit of measure for activity | VORME | * | UNIT | 3 |
| SDATE | Created On | CATS_ERSDA | DATS | 8 | |
| STIME | Created At | C_TIME | TIMS | 6 | |
| SUSER | User Name | UNAME | CHAR | 12 | |
| BYPROD_MAT_DOC | Material Document for Goods Receipt By-Product Order Split | COOS_MATERIAL_DOC_NO_BYPRODUCT | CHAR | 10 | |
| BYPROD_MAT_ITEM | Material Document Item GR By-Product Order Split | COOS_MATERIAL_DOC_PO_BYPRODUCT | NUMC | 4 | |
| BYPROD_MAT_YEAR | Material Document Year Goods Receipt By-Product Order Split | COOS_MATERIAL_DOC_YY_BYPRODUCT | NUMC | 4 | |
| COMPONENT_BATCH | Component Batch Used for Order Split | COOS_COMPONENT_BATCH | * | CHAR | 10 |
| WIP_BATCH | WIP Batch Used for Order Split | COOS_WIPBATCH | * | CHAR | 10 |
| CANCELED | Order Split Cancelled | COOS_CANCELED | CHAR | 1 | |
| CANCEL_USER | User Who Carried Out Order Split Cancellation | COOS_CANCELLATION_USER | CHAR | 12 | |
| CANCEL_DATE | Cancellation Date Order Split | COOS_CANCELLATION_DATE | DATS | 8 | |
| CANCEL_TIME | Time of Cancellation | COOS_CANCELLATION_TIME | TIMS | 6 |
Foreign Key Relationships
A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for AFSPREL