WFDBPS_RULE SAP (Rule for timespecs) Structure details
Description: Rule for timespecs
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_ID | WFD Rule ID | WFDBP_RULE_ID | CHAR | 10 | CHAR10 | ||||
RULE_DESCRIPTION | Rule Description field | WFDBP_RULE_DESCR | CHAR | 40 | WFDBPD_DESCR | ||||
TEMPLATE_KEY | Availability Template Key | WFDBP_AVL_TEMPLATE | CHAR | 12 | WFDBP_AVL_TEMPLATE | WFDBPSH_AVL_TEMPLATE | |||
TEMPLATE_DESCRIPTION | Description field | WFDBP_DESCR | CHAR | 40 | WFDBPD_DESCR | ||||
TIMESPECTYPE | Time Allocation Type | /SAPAPO/LRPTSTYPE | CHAR | 10 | Assigned to domain | /SAPAPO/LRPTSTYPE | /SAPAPO/TIMESPECTYP | ||
TIMESPEC_GUID | GUID in 'CHAR' Format in Uppercase | GUID_32 | CHAR | 32 | SYSUUID_C | ||||
RULE_TYPE | WFD type of recurrence for a rule | WFDBP_RULE_TYPE | CHAR | 2 | WFDBP_RULE_TYPED | ||||
FACTORY_CALENDAR | Factory calendar | SC_FACID | CHAR | 2 | Assigned to domain | WFCID | |||
START_DATE | Start Date | BEGDA | DATS | 8 | DATUM | ||||
END_DATE | End Date | ENDDA | DATS | 8 | DATUM | ||||
TIME_FROM | Start Time | BEGUZ | TIMS | 6 | UZEIT | ||||
TIME_TO | End Time | ENDUZ | TIMS | 6 | UZEIT | ||||
TZONE | Time zone of appointment | SC_ZONEDEF | CHAR | 6 | Assigned to domain | TZNZONE | SCSEAR_TZ | ||
WEEKS | number of weeks | WFDBP_WEEKS | CHAR | 2 | CHAR2 | ||||
MONDAY | Monday | WFDBP_MON | CHAR | 1 | CHAR1 | ||||
TUESDAY | Tuesday | WFDBP_TUE | CHAR | 1 | CHAR1 | ||||
WEDNESDAY | Wednesday | WFDBP_WEN | CHAR | 1 | CHAR1 | ||||
THURSDAY | Thursday | WFDBP_THU | CHAR | 1 | CHAR1 | ||||
FRIDAY | Friday | WFDBP_FRI | CHAR | 1 | CHAR1 | ||||
SATURDAY | Saturday | WFDBP_SAT | CHAR | 1 | CHAR1 | ||||
SUNDAY | Sunday | WFDBP_SUN | CHAR | 1 | CHAR1 | ||||
R_DAYS | number of day in month | WFDBP_DAYS | CHAR | 2 | CHAR2 | ||||
R_MONTH | number of months | WFDBP_MONTH | CHAR | 2 | CHAR2 | ||||
DAY_NR | day in month | WFDBP_DAY_NR | INT2 | 5 | WFDBP_DAY_NR | ||||
WEEKDAY_NR | weekday | WFDBP_WEEKDAY_NR | CHAR | 1 | WFDBP_WEEKDAY_NR | ||||
R_MONTHS | number of months | WFDBP_MONTHS | CHAR | 2 | CHAR2 |
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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects