AFSPRELB SAP (Buffer Table Structure for Relation Betw. Parent/Child Order) Structure details
Description: Buffer Table Structure for Relation Betw. Parent/Child Order
Structure field list including key, data, relationships and ABAP select examples
AFSPRELB 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 "Buffer Table Structure for Relation Betw. Parent/Child Order" 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_AFSPRELB TYPE AFSPRELB.
The AFSPRELB table consists of various fields, each holding specific information or linking keys about Buffer Table Structure for Relation Betw. Parent/Child Order data available in SAP. These include MANDT (Client), C_AUFNR (Child order of a split hierarchy), BYPRODUCT (Material Number By-Product Order Split), BYPRODUCT_BATCH (Batch Number By-Product Order Split).. 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 AFSPRELB 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 | Created on | CATS_ERSDA | DATS | 8 | DATUM | ||||
STIME | Time created | C_TIME | TIMS | 6 | UZEIT | ||||
SUSER | User Name | UNAME | CHAR | 12 | UNAME | ||||
BYPROD_MAT_DOC | Material Document for Goods Receipt By-Product Order Split | COOS_MATERIAL_DOC_NO_BYPRODUCT | CHAR | 10 | ALPHA | BELNR | |||
BYPROD_MAT_ITEM | Material Document Item GR By-Product Order Split | COOS_MATERIAL_DOC_PO_BYPRODUCT | NUMC | 4 | MBLPO | ||||
BYPROD_MAT_YEAR | Material Document Year Goods Receipt By-Product Order Split | COOS_MATERIAL_DOC_YY_BYPRODUCT | NUMC | 4 | GJAHR | GJAHR | |||
COMPONENT_BATCH | Component Batch Used for Order Split | COOS_COMPONENT_BATCH | CHAR | 10 | Assigned to domain | CHARG | |||
WIP_BATCH | WIP Batch Used for Order Split | COOS_WIPBATCH | CHAR | 10 | Assigned to domain | CHARG | |||
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 | |||
TREE_MOD | Indicator: Type of change to the split hierarchy | TREE_MOD | CHAR | 1 | CHAR1 | ||||
VBKZ | Update indicator | VBKZ | CHAR | 1 | VERBUCHER | ||||
CANCEL_AT_SAVE | Cancellation of Order Split Upon Saving | COOS_CANCEL_AT_SAVE | CHAR | 1 | FLAG | ||||
BMENGE | Base quantity | BASMN | QUAN | 13(3) | MENG13 | ||||
BMEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS |
Key field | Non-key field |
How do I retrieve data from SAP structure AFSPRELB using ABAP code?
As AFSPRELB 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 AFSPRELB as there is no data to select.How to access SAP table AFSPRELB
Within an ECC or HANA version of SAP you can also view further information about AFSPRELB 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