SCRULE_M3 SAP (Rule for the M3 Rule ('On the First Monday Every 3 Weeks')) Structure details
Description: Rule for the M3 Rule ('On the First Monday Every 3 Weeks')
Structure field list including key, data, relationships and ABAP select examples
SCRULE_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 for the M3 Rule ('On the First Monday Every 3 Weeks')" 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_SCRULE_M3 TYPE SCRULE_M3.
The SCRULE_M3 table consists of various fields, each holding specific information or linking keys about Rule for the M3 Rule ('On the First Monday Every 3 Weeks') data available in SAP. These include WEEKDAY_NR (Calendar: Number of day), MONTHS (Version Number Component), TIME_FROM (Start Time on this Weekday), TIME_TO (Finish time of this weekday).. 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 SCRULE_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 |
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 SCRULE_M3 using ABAP code?
As SCRULE_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 SCRULE_M3 as there is no data to select.How to access SAP table SCRULE_M3
Within an ECC or HANA version of SAP you can also view further information about SCRULE_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