AFSPREL_EX SAP (Transfer Structure of Split Relationships) Structure details

Dictionary Type: Structure
Description: Transfer Structure of Split Relationships




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




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
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
SDATEField of type DATS DATSDATS8DATS
STIMEField of type TIMS TIMSTIMS6TIME
SUSERUser Name UNAMECHAR12UNAME
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

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