AFSPRELB SAP (Buffer Table Structure for Relation Betw. Parent/Child Order) Structure details

Dictionary Type: Structure
Description: Buffer Table Structure for Relation Betw. Parent/Child Order




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
C_AUFNRChild order of a split hierarchy SPLIT_CAUFNRCHAR12Assigned to domainALPHAAUFNR
BYPRODUCTMaterial Number By-Product Order Split COOS_BYPRODUCTCHAR18Assigned to domainMATN1MATNRMATS_MAT1
BYPRODUCT_BATCHBatch Number By-Product Order Split COOS_BYPRODUCT_BATCHCHAR10Assigned to domainCHARG
SPLCNTCounter for the Parent-Child Order Relationships SPLCNTNUMC4NUMC4
P_AUFNRParent order of a split hierarchy SPLIT_PAUFNRCHAR12Assigned to domainALPHAAUFNR
L_AUFNRLeading order of a split hierarchy SPLIT_LAUFNRCHAR12Assigned to domainALPHAAUFNR
SPLQSplit Quantity in Order Split SPLIT_QTYQUAN13(3) MENG13
QUNITUnit of Measure for Activity/Operation VORMEUNIT3Assigned to domainCUNITMEINS
SDATECreated on CATS_ERSDADATS8DATUM
STIMETime created C_TIMETIMS6UZEIT
SUSERUser Name UNAMECHAR12UNAME
BYPROD_MAT_DOCMaterial Document for Goods Receipt By-Product Order Split COOS_MATERIAL_DOC_NO_BYPRODUCTCHAR10ALPHABELNR
BYPROD_MAT_ITEMMaterial Document Item GR By-Product Order Split COOS_MATERIAL_DOC_PO_BYPRODUCTNUMC4MBLPO
BYPROD_MAT_YEARMaterial Document Year Goods Receipt By-Product Order Split COOS_MATERIAL_DOC_YY_BYPRODUCTNUMC4GJAHRGJAHR
COMPONENT_BATCHComponent Batch Used for Order Split COOS_COMPONENT_BATCHCHAR10Assigned to domainCHARG
WIP_BATCHWIP Batch Used for Order Split COOS_WIPBATCHCHAR10Assigned to domainCHARG
CANCELEDOrder Split Cancelled COOS_CANCELEDCHAR1FLAG
CANCEL_USERUser Who Carried Out Order Split Cancellation COOS_CANCELLATION_USERCHAR12UNAME
CANCEL_DATECancellation Date Order Split COOS_CANCELLATION_DATEDATS8DATUM
CANCEL_TIMETime of Cancellation COOS_CANCELLATION_TIMETIMS6UZEIT
APLZLGeneral counter for order CO_APLZLNUMC8Assigned to domainCO_APLZL
VORNRSplit operation of an order split SPLIT_OPERCHAR4NUMCVVORNR
TREE_MODIndicator: Type of change to the split hierarchy TREE_MODCHAR1CHAR1
VBKZUpdate indicator VBKZCHAR1VERBUCHER
CANCEL_AT_SAVECancellation of Order Split Upon Saving COOS_CANCEL_AT_SAVECHAR1FLAG
BMENGEBase quantity BASMNQUAN13(3) MENG13
BMEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS

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 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!