AF61O SAP (Work fields for processing planned orders) Structure details

Dictionary Type: Structure
Description: Work fields for processing planned orders




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




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

AF61O 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 "Work fields for processing planned orders" 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_AF61O TYPE AF61O.

The AF61O table consists of various fields, each holding specific information or linking keys about Work fields for processing planned orders data available in SAP. These include FCTYP (Type of function code), GKDAY (Gregorian calender day), FKDAY (Factory calendar day), FKDIF (Factory calendar day).. 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 AF61O 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
XCODEFunction code XCODECHAR20FCODE
FCTYPType of function code FCTYPCHAR1FCTYP
GKDAYGregorian calender day GKDAYDATS8DATUM
FKDAYFactory calendar day FKDAYDEC5FKDAY
FKDIFFactory calendar day FKDAYDEC5FKDAY
FWEEKWork field for week FWEEKACCP6FWEEK
MNG01Quantity MENGE_DQUAN13(3) MENG13
REF01General counter field (P/L15) FLD15DEC15FLD15
REF02General counter field (P/L15) FLD15DEC15FLD15
FLG01Checkbox XFELDCHAR1XFELD
ALINELine index for internal table processing XLINEINT410XLINE
MLINELine index for internal table processing XLINEINT410XLINE
BLINELine index for internal table processing XLINEINT410XLINE
TBNAMR/2 table CHAR5CHAR5CHAR5
FNAMEField Name FIELDCHAR10FIELD
AEN01Checkbox XFELDCHAR1XFELD
AEN02Checkbox XFELDCHAR1XFELD
AEN03Checkbox XFELDCHAR1XFELD
STLALCheckbox XFELDCHAR1XFELD
AKPOSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
DYNNRNumber of the following screen DYNNRCHAR4DYNNR
INDEXLine index for internal table processing XLINEINT410XLINE
LLINELine index for internal table processing XLINEINT410XLINE
FLG02Checkbox XFELDCHAR1XFELD
FLG03Checkbox XFELDCHAR1XFELD
FLGS1Checkbox XFELDCHAR1XFELD
FLGS2Checkbox XFELDCHAR1XFELD
FLGS3Checkbox XFELDCHAR1XFELD
BASCHPurchase requisition key BASCHCHAR4Assigned to domainPASCH
STYPEScheduling level SCHED_TYPECHAR1SCHED_TYPE
TRMERScheduling error TRMERCHAR2TRMER
PROFLOverall profile for capacity leveling CY_GESPROFCHAR10Assigned to domainCY_PROFIL
FLGPRCheckbox XFELDCHAR1XFELD
IAKTACheckbox XFELDCHAR1XFELD
PLNFL_ALTSequence PLNFOLGECHAR6ALPHAPLNFOLGE
VORNR_ALTOperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
UVORN_ALTSuboperation UVORNCHAR4NUMCVVORNR
MSGTYMessage Type MSGTYCHAR1MSGAR
MSGIDMessage identification MSGIDCHAR20Assigned to domainARBGB
MSGNRMessage number MSGNRCHAR3Assigned to domainMSGNR
MSGV1Message variable 01 MSGV1CHAR50CHAR50
MSGV2Message variable 02 MSGV2CHAR50CHAR50
MSGV3Message variable 03 MSGV3CHAR50CHAR50
MSGV4Message variable 04 MSGV4CHAR50CHAR50
MSGLILong text of error message MSGLICHAR200CHAR200
FELDNAMDictionary: field name for branches to other transactions FELDNAMCHAR30DDFLDNAME
FELDKZCategory of object causing the load (order category) TYPKZCHAR1TYPKZ

Key field Non-key field



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

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

How to access SAP table AF61O

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