RULE_M3 SAP (Rule Structure for Monthly Appointments (M3)) Structure details
Description: Rule Structure for Monthly Appointments (M3)
Structure field list including key, data, relationships and ABAP select examples
RULE_M3 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 Monthly Appointments (M3)" 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_M3 TYPE RULE_M3.
The RULE_M3 table consists of various fields, each holding specific information or linking keys about Rule Structure for Monthly Appointments (M3) 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_M3 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 | |||||
DAY_NR | 2 byte integer (signed) | INT2 | INT2 | 5 | INT2 | ||||
WEEKDAY_NR | Calendar: Number of day | WOTNR | CHAR | 1 | CHAR1 | ||||
MONTHS | Version Number Component | CHAR2 | CHAR | 2 | CHAR2 | ||||
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_M3 using ABAP code?
As RULE_M3 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_M3 as there is no data to select.How to access SAP table RULE_M3
Within an ECC or HANA version of SAP you can also view further information about RULE_M3 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