SAFK SAP (Run Schedule Master Data) Table details

Dictionary Type: Table
Description: Run Schedule Master Data




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




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

SAFK is a standard SAP Table which is used to store Run Schedule Master Data data and is available within R/3 SAP systems depending on the version and release level.

The SAFK table consists of various fields, each holding specific information or linking keys about Run Schedule Master Data data available in SAP. These include AUFNR (Run schedule header number), AUART (Production type), REFNR (Reference order), ERNAM (Created by).. 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP SAFK table 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
AUFNRRun schedule header number SA_AUFNRCHAR12ALPHASA_AUFNR
AUARTProduction type SA_AUARTCHAR4SA_AUART
REFNRReference order SA_REFNRCHAR12Assigned to domainALPHASA_AUFNR
ERNAMCreated by SA_ERNAMCHAR12USNAM
ERDATCreated on SA_ERDATDATS8DATUM
AENAMLast changed by SA_AENAMCHAR12USNAM
AEDATChange Date SA_AEDATDATS8DATUM
KTEXTDescription of Run Schedule Header SA_KTEXTCHAR40TEXT40
MATNRMaterial number SA_MATNRCHAR18MARAMATN1MATNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
PHAS0Indicator for blocking run schedule header SA_PHAS0CHAR1XFELD
LOEKZDeletion indicator SA_LOEKZCHAR1XFELD
GAMNGTotal run schedule header quantity SA_GAMNGQUAN13(3) MENG13
GASMGTotal scrap quantity in the order GASMGQUAN13(3) MENG13
TLMNGPartial lot quantity TLMNGQUAN13(3) MENG13
GMEINBase Unit of Measure MEINSUNIT3T006CUNITMEINS
DISLSLot size (materials planning) DISLSCHAR2T439ADISLS
BSTMILower value of the lot-size interval SA_LOSVNQUAN13(3) MENG13
BSTMAUpper value of the lot-size interval SA_LOSBSQUAN13(3) MENG13
BSTFEFixed lot size BSTFEQUAN13(3) MENG13
BSTRFRounding value for purchase order quantity BSTRFQUAN13(3) MENG13
DISPOMRP controller of the run schedule header SA_DISPOCHAR3T024DDISPODGR
VERIDProduction Version VERIDCHAR4MKALVERIDVER
STDAYStart of the validity period of the RS header STDAYDATS8DATUM
ENDAYEnd of validity period of the RS header ENDAYDATS8DATUM
VERTODistribution key for quantity produced SA_VERTOCHAR4T437VSA_VERTL
PLRSTPlanning calendar identification SA_MRPPPCHAR3T439GMRPPP
MDV01Production line MDV01CHAR8T437PMDVXX
MDV02Planning identification 2 MDV02CHAR8T437PMDVXX
STLALAlternative BOM STALTCHAR2ALPHAALTNR
STLANBOM Usage STLANCHAR1T416STLANCSV
PLNTYTask List Type PLNTYCHAR1TCA01PLNTYPTYH_TCA01
PLNNRKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
APLALGroup Counter PLNALCHAR2ALPHAALTNRPAL
PERIOTime bucket SA_PERIOCHAR1SA_PERIO
RGEKZIndicator: backflush for RS header SA_RGEKZCHAR1CO_RGEKZ
PKOSACost collector for production process PROCNR PKOSA_DCHAR12Assigned to domainALPHAAUFNR
ALORTReceiving storage location for repetitive manufacturing ALORTCHAR4T001LLGORT
RSNUMNumber of Reservation/Dependent Requirement RSNUMNUMC10Assigned to domainRSNUMRES
PLTYGTask List Type PLNTYCHAR1TCA01PLNTYPTYH_TCA01
PLNNGKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
ALNAGGroup Counter PLNALCHAR2ALPHAALTNRPAL
PLTYMTask List Type PLNTYCHAR1TCA01PLNTYPTYH_TCA01
PLNNMKey for Task List Group PLNNRCHAR8ALPHAPLNNRPLNPLKS
ALNAMGroup Counter PLNALCHAR2ALPHAALTNRPAL
QPLOSInspection Lot Number QPLOSNUMC12QALSQPLOSQLSQALS

Key field Non-key field



How do I retrieve data from SAP table SAFK using ABAP code

The following ABAP code Example will allow you to do a basic selection on SAFK to SELECT all data from the table
DATA: WA_SAFK TYPE SAFK.

SELECT SINGLE *
FROM SAFK
INTO CORRESPONDING FIELDS OF WA_SAFK
WHERE...

How to access SAP table SAFK

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