I_ARPostgRuleAdvncdCndnTP

DDL: I_ARPOSTGRULEADVNCDCNDNTP Type: view_entity TRANSACTIONAL Package: ODATA_AR_POSTING_RULES

Posting Rule Advanced Condition - TP

I_ARPostgRuleAdvncdCndnTP is a Transactional CDS View that provides data about "Posting Rule Advanced Condition - TP" in SAP S/4HANA. It reads from 1 data source (I_ARPostgRuleAdvncdCndn) and exposes 10 fields with key field PostgRuleAdvncdCndnUUID. It has 3 associations to related views. Part of development package ODATA_AR_POSTING_RULES.

Data Sources (1)

SourceAliasJoin Type
I_ARPostgRuleAdvncdCndn AdvncdCondition from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_ARPostgRuleAdvncdCndnOptnVH _Option _Option.PostgRuleCndnRangeOption = $projection.PostgRuleCndnRangeOption
[0..*] I_ARPostgRuleAdvncdCndnOptnTxt _OptionText $projection.PostgRuleCndnRangeOption = _OptionText.PostgRuleCndnRangeOption
[0..*] I_ARBkTransDocRuleCndnAttribT _AttributeText $projection.PostingRuleConditionField = _AttributeText.BkTransDocRuleConditionField

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Posting Rule Advanced Condition - TP view
VDM.viewType #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MIXED view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY PostgRuleAdvncdCndnUUID I_ARPostgRuleAdvncdCndn PostgRuleAdvncdCndnUUID Condition Key
PostingRuleUUID I_ARPostgRuleAdvncdCndn PostingRuleUUID Rule Key
PostingRuleConditionField I_ARPostgRuleAdvncdCndn PostingRuleConditionField Attribute
PostgRuleCndnRangeOption I_ARPostgRuleAdvncdCndn PostgRuleCndnRangeOption Option
ProcgRuleAdvncdConditionMatch I_ARPostgRuleAdvncdCndn ProcgRuleAdvncdConditionMatch
ReprocessingRuleApplType I_ARPostgRuleAdvncdCndn ReprocessingRuleApplType Rule Appl Type
_Rule _Rule
_Option _Option
_OptionText _OptionText
_AttributeText _AttributeText

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_ARPostgRuleAdvncdCndnTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW I_ARPostgRuleAdvncdCndnTP AS
SELECT
  AdvncdCondition.PostgRuleAdvncdCndnUUID AS PostgRuleAdvncdCndnUUID,
  AdvncdCondition.PostingRuleUUID AS PostingRuleUUID,
  AdvncdCondition.PostingRuleConditionField AS PostingRuleConditionField,
  AdvncdCondition.PostgRuleCndnRangeOption AS PostgRuleCndnRangeOption,
  AdvncdCondition.ProcgRuleAdvncdConditionMatch AS ProcgRuleAdvncdConditionMatch,
  AdvncdCondition.ReprocessingRuleApplType AS ReprocessingRuleApplType
FROM I_ARPostgRuleAdvncdCndn AS AdvncdCondition
LEFT OUTER JOIN I_ARPostgRuleAdvncdCndnOptnVH AS _Option ON _Option.PostgRuleCndnRangeOption = PostgRuleCndnRangeOption  -- association [0..1]
LEFT OUTER JOIN I_ARPostgRuleAdvncdCndnOptnTxt AS _OptionText ON PostgRuleCndnRangeOption = _OptionText.PostgRuleCndnRangeOption  -- association [0..*]
LEFT OUTER JOIN I_ARBkTransDocRuleCndnAttribT AS _AttributeText ON PostingRuleConditionField = _AttributeText.BkTransDocRuleConditionField  -- association [0..*]
;