A_LastMileVisitingRule

DDL: A_LASTMILEVISITINGRULE Type: view_entity CONSUMPTION

Visiting Rule

A_LastMileVisitingRule is a Consumption CDS View that provides data about "Visiting Rule" in SAP S/4HANA. It reads from 1 data source (R_LastMileVisitingRuleTP) and exposes 7 fields with key field LastMileVisitingRuleUUID.

Data Sources (1)

SourceAliasJoin Type
R_LastMileVisitingRuleTP R_LastMileVisitingRuleTP projection

Annotations (9)

NameValueLevelField
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Visiting Rule view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.dataClass #MASTER view
OData.entityType.name LastMileVisitingRule_Type view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY LastMileVisitingRuleUUID LastMileVisitingRuleUUID
LastMileVisitingRule LastMileVisitingRule
LstMiVstngRuleReferenceUUID LstMiVstngRuleReferenceUUID
LstMiVstngRuleReferenceType LstMiVstngRuleReferenceType
LstMiVstngRuleFactoryCalendar LstMiVstngRuleFactoryCalendar
LastChangeDateTime LastChangeDateTime Timestamp
LstMiVstngRuleLifeCycleStatus LstMiVstngRuleLifeCycleStatus

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 A_LastMileVisitingRule.
-- 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 A_LastMileVisitingRule AS
SELECT
  LastMileVisitingRuleUUID,
  LastMileVisitingRule,
  LstMiVstngRuleReferenceUUID,
  LstMiVstngRuleReferenceType,
  LstMiVstngRuleFactoryCalendar,
  LastChangeDateTime,
  LstMiVstngRuleLifeCycleStatus
FROM R_LastMileVisitingRuleTP
;