WFDBPS_RULE SAP (Rule for timespecs) Structure details

Dictionary Type: Structure
Description: Rule for timespecs




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




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

WFDBPS_RULE 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 "Rule for timespecs" 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_WFDBPS_RULE TYPE WFDBPS_RULE.

The WFDBPS_RULE table consists of various fields, each holding specific information or linking keys about Rule for timespecs data available in SAP. These include RULE_DESCRIPTION (Rule Description field), TEMPLATE_KEY (Availability Template Key), TEMPLATE_DESCRIPTION (Description field), TIMESPECTYPE (Time Allocation Type).. 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 WFDBPS_RULE 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
RULE_IDWFD Rule ID WFDBP_RULE_IDCHAR10CHAR10
RULE_DESCRIPTIONRule Description field WFDBP_RULE_DESCRCHAR40WFDBPD_DESCR
TEMPLATE_KEYAvailability Template Key WFDBP_AVL_TEMPLATECHAR12WFDBP_AVL_TEMPLATEWFDBPSH_AVL_TEMPLATE
TEMPLATE_DESCRIPTIONDescription field WFDBP_DESCRCHAR40WFDBPD_DESCR
TIMESPECTYPETime Allocation Type /SAPAPO/LRPTSTYPECHAR10Assigned to domain/SAPAPO/LRPTSTYPE/SAPAPO/TIMESPECTYP
TIMESPEC_GUIDGUID in 'CHAR' Format in Uppercase GUID_32CHAR32SYSUUID_C
RULE_TYPEWFD type of recurrence for a rule WFDBP_RULE_TYPECHAR2WFDBP_RULE_TYPED
FACTORY_CALENDARFactory calendar SC_FACIDCHAR2Assigned to domainWFCID
START_DATEStart Date BEGDADATS8DATUM
END_DATEEnd Date ENDDADATS8DATUM
TIME_FROMStart Time BEGUZTIMS6UZEIT
TIME_TOEnd Time ENDUZTIMS6UZEIT
TZONETime zone of appointment SC_ZONEDEFCHAR6Assigned to domainTZNZONESCSEAR_TZ
WEEKSnumber of weeks WFDBP_WEEKSCHAR2CHAR2
MONDAYMonday WFDBP_MONCHAR1CHAR1
TUESDAYTuesday WFDBP_TUECHAR1CHAR1
WEDNESDAYWednesday WFDBP_WENCHAR1CHAR1
THURSDAYThursday WFDBP_THUCHAR1CHAR1
FRIDAYFriday WFDBP_FRICHAR1CHAR1
SATURDAYSaturday WFDBP_SATCHAR1CHAR1
SUNDAYSunday WFDBP_SUNCHAR1CHAR1
R_DAYSnumber of day in month WFDBP_DAYSCHAR2CHAR2
R_MONTHnumber of months WFDBP_MONTHCHAR2CHAR2
DAY_NRday in month WFDBP_DAY_NRINT25WFDBP_DAY_NR
WEEKDAY_NRweekday WFDBP_WEEKDAY_NRCHAR1WFDBP_WEEKDAY_NR
R_MONTHSnumber of months WFDBP_MONTHSCHAR2CHAR2

Key field Non-key field



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

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

How to access SAP table WFDBPS_RULE

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