SAP GRFN_S_TASKPLAN_GENERAL_API Task plan (Used by GRFN_S_TASKPLAN_GRP_GEN_API only) Table data and field list

GRFN_S_TASKPLAN_GENERAL_API 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 "Task plan (Used by GRFN_S_TASKPLAN_GRP_GEN_API only)" 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_GRFN_S_TASKPLAN_GENERAL_API TYPE GRFN_S_TASKPLAN_GENERAL_API.

The GRFN_S_TASKPLAN_GENERAL_API table consists of various fields, each holding specific information or linking keys about Task plan (Used by GRFN_S_TASKPLAN_GRP_GEN_API only) data available in SAP. These include TIMEFRAME (Timeframe), TF_YEAR (Timeframe Year), REF_TIMEFRAME (Timeframe), REF_TF_YEAR (Timeframe Year)... 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. .

GRFN_S_TASKPLAN_GENERAL_API structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can Be Enhanced (Deep)


SAP GRFN_S_TASKPLAN_GENERAL_API structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the GRFN_S_TASKPLAN_GENERAL_API table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
TASKPlan usage GRFN_PLAN_USAGECHAR10GRFN_PLAN_USAGE
TIMEFRAMETimeframe GRFN_TIMEFRAMECHAR10Assigned to domainGRFN_TIMEFRAME
TF_YEARTimeframe Year GRFN_TF_YEARCHAR4GRFN_TF_YEAR
REF_TIMEFRAMETimeframe GRFN_TIMEFRAMECHAR10Assigned to domainGRFN_TIMEFRAME
REF_TF_YEARTimeframe Year GRFN_TF_YEARCHAR4GRFN_TF_YEAR
HAS_REF_TFIndicator GRFN_BOOLEANCHAR1GRFN_BOOLEAN
DATE_BEGINLatest Start Date for Work Item SWW_LSDDATS8SYDATS
DATE_ENDEnd Date ENDDATUMDATS8DATUMEND
DATE_ANALYSISStart Date BEGDATUMDATS8DATUMBEG
CREATED_BYUser Name UNAMECHAR12UNAME
CREATED_ONUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
CHANGED_BYUser Name UNAMECHAR12UNAME
CHANGED_ONUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
SURVEY_IDObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
SEL_PRC_IDObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
SEL_RCPT_IDRecipient component ID GRFN_RCPT_COMP_IDCHAR20
SEL_PRC_CONTENTContent of selection procedure settings GRFN_SEL_PRC_CONTENTRSTR0
STATUSStatus of task plan group GRFN_TASKPLAN_GRP_STATUSCHAR10GRFN_TASKPLAN_STATUS
REGULATIONObject ID GRFN_API_OBJECT_IDCHAR50CHAR50
INCL_SUBENTITYReplacement for Real Boolean Type: 'X' == True '' == False WDY_BOOLEANCHAR1WDY_BOOLEAN
CORP_LEVELis it Corporate Level Only? GRFN_CORP_LEVELCHAR1XFELD
IS_RECURRINGIndicator GRFN_BOOLEANCHAR1GRFN_BOOLEAN
SHARE_REGSharing regulation category GRFN_SHARE_REG_CATEGCHAR1GRFN_SHARE_REG_CATEG
START_IMMEDIndicator GRFN_BOOLEANCHAR1GRFN_BOOLEAN
START_TIMEUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
NEXT_RUNUTC Time Stamp in Short Form (YYYYMMDDhhmmss) TIMESTAMPDEC15TZNTSTMPS
SURVEY_OFFLINEIndicator GRFN_BOOLEANCHAR1GRFN_BOOLEAN
RISK_SELRisk consolidation selection GRFN_RISK_SELECTIONCHAR1GRFN_RISK_SELECTION
OU_VIEWAssignment Type GRFN_ASSIGNMENT_TYPECHAR3Assigned to domainRELAT
DATE_FROMDate GRFN_DATEDATS8
TIME_FROMTime GRFN_TIMETIMS6SYTIME
DATE_TODate GRFN_DATEDATS8
TIME_TOTime GRFN_TIMETIMS6SYTIME
FREQUENCYFrequency of schedule GRFN_SCHD_FREQUENCYCHAR2GRFN_SCHD_FREQUENCY
PRD_MINSDuration period (in minutes) for a batch job BTCPMINNUMC2NUM02
PRD_HOURSDuration period (in hours) for a batch job BTCPHOURNUMC2NUM02
PRD_DAYSDuration (in days) of DBA action BTCPDAYNUMC3NUM03
PRD_WEEKSDuration period (in weeks) for a batch job BTCPWEEKNUMC2NUM02
WEEKDAYWeekdays for Periodic Scheduling PERWEEKINT13PERWEEK
PRD_MONTHSDuration period (in months) for a batch job BTCPMNTHNUMC2NUM02
MONTH_DAYABAB Dictionary: Two-Digit Numeric Field NUM02NUMC2NUM02
MONTH_NUMList of Month in numbers ALMONTHCHAR2ALMONTH
DURATIONDuration (in days) of DBA action BTCPDAYNUMC3NUM03
DUE_DATEDate GRFN_DATEDATS8

Key field Non-key field



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

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

How to access SAP table GRFN_S_TASKPLAN_GENERAL_API

Within an ECC or HANA version of SAP you can also view further information about GRFN_S_TASKPLAN_GENERAL_API and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).