LRM_T_OC_RG
Rule Groups
LRM_T_OC_RG is an SAP database table in S/4HANA. Rule Groups. It contains 7 fields. 3 CDS views read from this table.
CDS Views using this table (3)
| View | Type | Join | VDM | Description |
|---|---|---|---|---|
| I_IlmRuleGroup | view | from | Interface view for ILM Rule Groups | |
| I_IlmRuleGroupCount | view | from | Count of ILM Rule Groups by Object Group | |
| I_IlmRuleGroupsCount | view | from | Count of Rule Groups by Object Group |
Fields (7)
| Key | Field | Data Element | Description | Domain | Type | Length |
|---|---|---|---|---|---|---|
| KEY | mandt | MANDT | Client | |||
| KEY | object_category | LRM_OBJECT_CATEGORY | Object Category | |||
| KEY | policy_category | LRM_POLICY_CATEGORY | Policy Category | |||
| KEY | rule_group | LRM_RULE_GROUP | Rule Group | |||
| object_group | LRM_OBJECT_GROUP | Object Group | ||||
| user_name | LRM_POL_LAST_CHANGE_USER | User Name | ||||
| timestamp | LRM_POL_LAST_CHANGE_TIMESTAMP | Last Changed |
Derived SQL schema, reconstructed from the indexed DDIC field metadata (field names, types, lengths and key flags) — a functional representation, not the verbatim SAP source.
-- Rule Groups
-- Category TRANSPARENT · Delivery class C
-- Derived schema, generated from indexed DDIC field metadata (not the verbatim SAP source).
CREATE TABLE LRM_T_OC_RG (
MANDT, -- Client [MANDT]
OBJECT_CATEGORY, -- Object Category [LRM_OBJECT_CATEGORY]
POLICY_CATEGORY, -- Policy Category [LRM_POLICY_CATEGORY]
RULE_GROUP, -- Rule Group [LRM_RULE_GROUP]
OBJECT_GROUP, -- Object Group [LRM_OBJECT_GROUP]
USER_NAME, -- User Name [LRM_POL_LAST_CHANGE_USER]
TIMESTAMP, -- Last Changed [LRM_POL_LAST_CHANGE_TIMESTAMP]
PRIMARY KEY (MANDT, OBJECT_CATEGORY, POLICY_CATEGORY, RULE_GROUP)
);
Learn More
- Understanding Data Lineage in SAP S/4HANA
- SAP Tables vs CDS Views — Key Differences
- Understanding the SAP S/4HANA Data Model
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA