AAFKO SAP (Change Document Structure; Generated by RSSCD000) Structure details

Dictionary Type: Structure
Description: Change Document Structure; Generated by RSSCD000




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




Structure field list including key, data, relationships and ABAP select examples

AAFKO 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 "Change Document Structure; Generated by RSSCD000" 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_AAFKO TYPE AAFKO.

The AAFKO table consists of various fields, each holding specific information or linking keys about Change Document Structure; Generated by RSSCD000 data available in SAP. These include MANDT (Client), AUFNR (Order Number), GLTRP (Basic finish date), GSTRP (Basic Start Date).. 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 AAFKO 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 MANDTCLNT3T000MANDT
AUFNROrder Number AUFNRCHAR12AUFKALPHAAUFNRANR
GLTRPBasic finish date CO_GLTRPDATS8DATUM
GSTRPBasic Start Date PM_ORDGSTRPDATS8DATUM
FTRMSScheduled release date CO_FTRMSDATS8DATUM
GLTRSScheduled finish CO_GLTRSDATS8DATUM
GSTRSScheduled start CO_GSTRSDATS8DATUM
GSTRIActual start date CO_GSTRIDATS8DATUM
GETRIConfirmed Order Finish Date CO_GETRIDATS8DATUM
GLTRIActual finish date CO_GLTRIDATS8DATUM
FTRMIActual release date CO_FTRMIDATS8DATUM
FTRMPPlanned release date CO_FTRMPDATS8DATUM
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
GASMGTotal scrap quantity in the order GASMGQUAN13(3) MENG13
GAMNGTotal order quantity GAMNGQUAN13(3) MENG13
GMEINBase Unit of Measure MEINSUNIT3T006CUNITMEINS
PLNBEZMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
PLNTYTask List Type PLNTYCHAR1Assigned to domainPLNTYPTYH_TCA01
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
PLNAWApplication of the task list PLNAWCHAR1TCA09PLNAW
PLNALGroup Counter PLNALCHAR2ALPHAALTNRPAL
PVERWTask list usage PLN_VERWECHAR3T411PLN_VERWEH_T411
PLAUFDate for routing transfer CO_PLAUFDATS8DATUM
PLSVBTo lot size LOSGRBISQUAN13(3) MENG13
PLNMETask list unit of measure PLNMEUNIT3T006CUNITMEINS
PLSVNFrom Lot Size LOSGRVONQUAN13(3) MENG13
PDATVValid-From Date DATUVDATS8DATUM
PAENRChange Number AENNRCHAR12AENRAENNRAENNRAEN
PLGRPResponsible planner group/department VAGRPCHAR3T024AVAGRPH_T024A
LODIVLot size divisor LOSDIVQUAN13(3) MENG13
STLTYBOM category STLTYCHAR1STLTY
STLBEZMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
STLSTBOM status STLSTNUMC2T415SSTLST
STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
SDATVValid-From Date DATUVDATS8DATUM
SBMNGBase quantity BASMNQUAN13(3) MENG13
SBMEHBase Unit of Measure MEINSUNIT3T006CUNITMEINS
SAENRChange Number AENNRCHAR12AENRAENNRAENNRAEN
STLALAlternative BOM STALTCHAR2ALPHAALTNR
STLANBOM Usage STLANCHAR1T416STLANCSV
SLSVNFrom Lot Size LOSVNQUAN13(3) MENG13
SLSBSTo Lot Size LOSBSQUAN13(3) MENG13
AUFLDDate of BOM Explosion/Routing Transfer CO_AUFLDDATS8DATUM
DISPOMRP controller for the order CO_DISPOCHAR3T024DDISPODGR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
FEVORProduction Supervisor FEVORCHAR3T024FFEVORCFV
FHORIScheduling Margin Key for Floats FHORICHAR3T436AFHORI
TERKZScheduling type TERMKZCHAR1T482TERART
REDKZReduction indicator for scheduling REDKZCHAR1REDKZ
APRIOOrder priority CO_APRIOCHAR1CHAR1
NTZUESuperior network number NETZ_UEBERCHAR12AUFKALPHAAUFNR
VORUESuperior activity VORG_UEBERCHAR4NUMCVVORNR
PROFIDNetwork profile PROFIDNZPLCHAR7TCN41PROFILIDPNW
VORGZFloat before production (in days) VORGZNUMC3NUM3
SICHZFloat after production (in days) SICHZNUMC3NUM3
FREIZRelease period (in days) FREIZNUMC3NUM3
UPTERIndicator: Change to Scheduled Dates CO_UPTERCHAR1CHAR1
BEDIDID of the capacity requirements record BEDIDNUMC12Assigned to domainBEDID
PRONRProject definition PS_PSP_PRONUMC8PROJKONPDPS_PSPNR
ZAEHLInternal counter CIM_COUNTNUMC8CIM_COUNT
MZAEHLInternal counter CIM_COUNTNUMC8CIM_COUNT
ZKRIZCounter for additional criteria DZKRIZNUMC7ZKRIZ
PRUEFLOSInspection Lot Number QPLOSNUMC12Assigned to domainQPLOSQLSQALS
KLVARPCosting variant for planned costs KALKVARPLNCHAR4Assigned to domainKLVAR
KLVARICosting variant for actual costs KALKVARISTCHAR4Assigned to domainKLVAR
RGEKZIndicator: Backflushing for order CO_RGEKZCHAR1CO_RGEKZ
PLARTBasis for scheduling PS_PLARTCHAR1PS_PLART
FLG_AOBIndicator: relationships FLG_AOBCHAR1FLAG
FLG_ARBEIIndicator: Default value work is relevant FLG_ARBEICHAR1FLAG
GLTPPFinish date (forecast) CO_GLTPPDATS8DATUM
GSTPPForecast start date CO_GSTPPDATS8DATUM
GLTPSScheduled forecast finish CO_GLTPSDATS8DATUM
GSTPSScheduled forecast start CO_GSTPSDATS8DATUM
FTRPSScheduled release date (forecast) CO_FTRPSDATS8DATUM
RDKZPReduction indicator for scheduling (forecast) REDKZPCHAR1REDKZ
TRKZPScheduling type (forecast) TERMKZPCHAR1Assigned to domainTERART
RUECKCompletion confirmation number for the operation CO_RUECKNUMC10CO_RUECKRCK
RMZHLInternal counter CIM_COUNTNUMC8CIM_COUNT
IGMNGYield confirmed from order confirmation CO_IGMNGQUAN13(3) MENG13
RATIDID of the capacity requirements record BEDIDNUMC12Assigned to domainBEDID
GROIDID of the capacity requirements record BEDIDNUMC12Assigned to domainBEDID
CUOBJConfiguration (internal object number) CUOBJNUMC18CUOBJCUX
GLUZSScheduled finish time CO_GLUZSTIMS6UHRZT
GSUZSScheduled Start (Time) CO_GSUZSTIMS6ATIME
REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
RSHTYObject types of the CIM resource CR_OBJTYCHAR2CR_OBJTY
RSHIDObject ID of the resource CR_OBJIDNUMC8CRIDCR_OBJID
RSNTYObject types of the CIM resource CR_OBJTYCHAR2CR_OBJTY
RSNIDObject ID of the resource CR_OBJIDNUMC8CRIDCR_OBJID
NAUTERMIndicator: Do not schedule automatically CO_NAUTERMCHAR1KREUZ
NAUCOSTIndicator: Do not cost automatically CO_NAUCOSTCHAR1KREUZ
STUFELevel (in multi-level BOM explosions) HISTUDEC2DEC2
WEGXXPath (for multi-level BOM explosions) WEGXXDEC4DEC4
VWEGXPath (for multi-level BOM explosions) WEGXXDEC4DEC4
ARSNRNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
ARSPSOrder Item Number CO_POSNRNUMC4CO_POSNR
MAUFNRNumber of superior order MAUFNRCHAR12Assigned to domainALPHAAUFNRUAF
LKNOTLeft node in collective order CO_LKNOTCHAR12Assigned to domainALPHAAUFNR
RKNOTRight node of a collective order CO_RKNOTCHAR12Assigned to domainALPHAAUFNR
PRODNETIndicator: Order is part of collective order CO_PRODNETCHAR1KREUZ
IASMGScrap confirmed for order CO_IASMGQUAN13(3) MENG13
ABARBConfirmation: Degree of processing CO_ABARBNUMC3CO_ABARB
AUFNTNumber of superior network CO_TEILNETCHAR12Assigned to domainALPHAAUFNR
AUFPTRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZTGeneral counter for order CO_APLZLNUMC8Assigned to domainCO_APLZL
NO_DISPEffective for Materials Planning NO_DISP_PLUSCHAR1NO_DISP_PLUS
CSPLITApportionment Structure CSPLITCHAR4MAKVCSPLIT
AENNRChange Number AENNRCHAR12AENRAENNRAENNRAEN
CY_SEQNRSeq. number order CY_SEQNRNUMC14CY_SEQNR
BREAKSIndicator: Scheduling allowing for breaks BREAKSCHAR1XFELD
VORGZ_TRMScheduled float before production in days VORGZ_TRMDEC6(3) PUFFER_TRM
SICHZ_TRMScheduled float after production in days SICHZ_TRMDEC6(3) PUFFER_TRM
TRMDTDate of the last scheduling TRMDTDATS8DATUM
GLUZPBasic finish (time) CO_GLUZPTIMS6UHRZT
GSUZPBasic start time CO_GSUZPTIMS6UHRZT
GSUZIActual start time CO_GSUZITIMS6UHRZT
GEUZIConfirmed order finish (time) CO_GEUZITIMS6UHRZT
GLUPPForecast finish (time) CO_GLUPPTIMS6UHRZT
GSUPPForecast start (time) CO_GSUPPTIMS6UHRZT
GLUPSScheduled forecast finish time CO_GLUPSTIMS6UHRZT
GSUPSScheduled start time (Forecast) CO_GSUPSTIMS6UHRZT
CHSCHSearch procedure for batch determination KALSMA_CHCHAR6T683KALSM
KAPT_VORGZFloat (bef. production) remaining after finite scheduling KAPT_VORGZNUMC3NUM3
KAPT_SICHZRemaining float after finite scheduling KAPT_SICHZNUMC3NUM3
LEAD_AUFNRLeading order in current processing CO_LAUFNRCHAR12AUFKALPHAAUFNR
PNETSTARTDOutline start of collective network (date) CO_PSTARTDDATS8DATUM
PNETSTARTTStart time of a collective order CO_PSTARTTTIMS6ATIME
PNETENDDOutline finish of collective order (date) CO_PENDDDATS8DATUM
PNETENDTOutline finish time CO_PENDTTIMS6ATIME
KBEDInd: do not create capacity requirements KBED_DCHAR1XFELD
KKALKRIndicator: Components will not be costed COMP_CALCCHAR1XFELD
SFCPFProduction Scheduling Profile CO_PRODPRFCHAR6TCO43CO_PRODPRF
RMNGATotal confirmed rework quantity RMNGAQUAN13(3) MENGV13
GSBTROverall commitment date CO_GSBTRDATS8DATUM
VFMNGCommitted quantity for order acc. to ATP check components CO_VFMNGQUAN13(3) MENG13
NOPCOSTDo not calculate planned costs for order CO_NOPCOSTCHAR1XFELD
NETZKONTIndicator for the account assignment of a network(hdr/act.) NETZKONTCHAR1NETZKONT
ATRKZRequest ID ATRKZCHAR1ATRKZ
OBJTYPEChange indicator OCM_OBJ_TYPECHAR1OCM_OBJ_TYPE
CH_PROCProcess that has lead to the change of an object OCM_CH_PROCCHAR1OCM_CH_PROC
KAPVERSAVersion of Available Capacity KAPVERSANUMC2Assigned to domainKAPVERSION
COLORDPROCCollective order with/without automatic goods movement CO_COLORDPRCCHAR1CO_COLORDPRC
KZERBIndicator: Project summarization via master data charact. PS_KZERBCHAR1XFELD
CONF_KEYIdentical object CC_CONF_KEYNUMC8CC_NUMC8
ST_ARBIDObject ID OBJEKTIDNUMC8NUM08PON
VSNMR_VSales document version number VSNMR_VCHAR12VSNMR
TERHWScheduling note from order scheduling TERHWCHAR1TERHW
SPLSTATStatus of an order in a split hierarchy SPLIT_STATCHAR1SPLIT_STAT
COSTUPDCosts are updated CN_COSTUPDCHAR1XFELD
MAX_GAMNGMaximum Value of Total Order Quantity After Distribution CO_MES_MAX_GAMNGQUAN13(3) MENG13
MES_ROUTINGIDKey of a Routing from an ME System CO_MES_INT_ROUTINGIDCHAR64CHAR64
.INCLU--AP 0
ADPSPPM/PS Reference Element ADCOMPARECHAR40Assigned to domainADDCOMPAREADCP
RMANRSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
POSNR_RMAItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
POSNV_RMAItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
CFB_MAXLZMaximum Storage Period MAXLZDEC5DEC5
CFB_LZEIHUnit for maximum storage period LZEIHUNIT3T006CUNITMEINS
CFB_ADTDAYSAdditional Days CFB_ADTDAYSDEC4DECV4
CFB_DATOFMDate of Manufacture CFB_DATOFMDATS8DATUM
CFB_BBDPIBest-Before Date (BBD)/ Shelf Life Expiration Date (SLED) CFB_BBD_PPPIDATS8DATUM
OIHANTYPExcise Duty Handling Type OIH_HANTYPCHAR2Assigned to domainOIH_HANTYP
.INCLU--AP 0
MILL_RATIOFactor for Quantity-Based Settlement MILL_RATIOINT410CDINT4
.INCLU--AP 0
BMEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
BMENGEBase quantity BASMNQUAN13(3) MENG13
MILL_OC_ZUSKZCombination Indicator MILL_OC_ZUSKZCHAR1MILL_OC_ZUSKZ
KZChange Type (U, I, S, D) CDCHNGINDCHAR1CDCHNGIND

Key field Non-key field



How do I retrieve data from SAP structure AAFKO using ABAP code?

As AAFKO 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 AAFKO as there is no data to select.

How to access SAP table AAFKO

Within an ECC or HANA version of SAP you can also view further information about AAFKO 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!