RULE_D SAP (Rule Structure for Daily Appointments) Structure details
Description: Rule Structure for Daily Appointments
Structure field list including key, data, relationships and ABAP select examples
RULE_D 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 Structure for Daily Appointments" 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_RULE_D TYPE RULE_D.
The RULE_D table consists of various fields, each holding specific information or linking keys about Rule Structure for Daily Appointments data available in SAP. These include RULE_ID (Internal Identification of Rules of Periodic Appointments), TYPE (Version Number Component), START_DATE (Start Date for Rule Period), END_DATE (End Date for Rule Period).. 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: Not classified
SAP RULE_D 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 | Internal Identification of Rules of Periodic Appointments | SC_RULEID | CHAR | 25 | TEXT25 | ||||
TYPE | Version Number Component | CHAR2 | CHAR | 2 | CHAR2 | ||||
START_DATE | Start Date for Rule Period | SCSTARTDAT | DATS | 8 | DATUM | ||||
END_DATE | End Date for Rule Period | SCENDDATE | DATS | 8 | DATUM | ||||
CONFLICTS | Exception Rule for Non-Working Days | SCCONFLICT | CHAR | 1 | CHAR1 | ||||
FCALID | Factory Calendar | WFCID | CHAR | 2 | Assigned to domain | WFCID | FCI | ||
HCALID | Public Holiday Calendar | HIDENT | CHAR | 2 | Assigned to domain | HIDENT | HCI | ||
INFO_DEL | Maintenance identifier | SC_MAINTID | CHAR | 1 | CHAR1 | ||||
RULE_INDEX | Char 20 | CHAR20 | CHAR | 20 | CHAR20 | ||||
RULE_REF | Reference counter | SCREFCNT | INT4 | 10 | |||||
DAYS | Number of Days Between Appointments | SCDAYS | CHAR | 3 | CHAR3 | ||||
TIME_FROM | Start Time on this Weekday | SC_RULEWFR | TIMS | 6 | TIME | ||||
TIME_TO | Finish time of this weekday | SC_RULEWTO | TIMS | 6 | TIME | ||||
TZONE | Time zone for this weekday | SC_RULEWTZ | CHAR | 6 | Assigned to domain | TZNZONE | |||
OVER | Number of skipped days for this weekday | SC_RULEWOV | INT1 | 3 | INT1 |
Key field | Non-key field |
How do I retrieve data from SAP structure RULE_D using ABAP code?
As RULE_D 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 RULE_D as there is no data to select.How to access SAP table RULE_D
Within an ECC or HANA version of SAP you can also view further information about RULE_D 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