C_TripAcctDeterminationTP

DDL: C_TRIPACCTDETERMINATIONTP SQL: CTRPACNTDETRTP Type: view CONSUMPTION

Account determination cds for Trips

C_TripAcctDeterminationTP is a Consumption CDS View that provides data about "Account determination cds for Trips" in SAP S/4HANA. It reads from 1 data source (I_TripAcctDeterminationTP) and exposes 8 fields with key fields TripDoc, TripDocItem, DemurrageChargeKey, PricingProcedure, ConditionType. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_TripAcctDeterminationTP I_TripAcctDeterminationTP from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_TripSchedOfChargesTP _TripSchedOfChargesTP $projection.TripDoc = _TripSchedOfChargesTP.TripDoc and $projection.TripDocItem = _TripSchedOfChargesTP.TripDocItem and $projection.DemurrageChargeKey = _TripSchedOfChargesTP.DemurrageChargeKey
[1..1] C_TripHeadTP _TripHeadTP $projection.TripDoc = _TripHeadTP.TripDoc

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CTRPACNTDETRTP view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.preserveKey true view
EndUserText.label Account determination cds for Trips view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY TripDoc TripDoc Trip ID
KEY TripDocItem TripDocItem Trip Item
KEY DemurrageChargeKey DemurrageChargeKey Charge Key
KEY PricingProcedure PricingProcedure Pricing Procedure
KEY ConditionType ConditionType Condition Type
DebitGLAccount DebitGLAccount Debit GL Account
_TripHeadTP _TripHeadTP
_TripSchedOfChargesTP _TripSchedOfChargesTP

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 C_TripAcctDeterminationTP.
-- 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.
-- SQL view name: CTRPACNTDETRTP

CREATE VIEW C_TripAcctDeterminationTP AS
SELECT
  TripDoc,
  TripDocItem,
  DemurrageChargeKey,
  PricingProcedure,
  ConditionType,
  DebitGLAccount
FROM I_TripAcctDeterminationTP
LEFT OUTER JOIN C_TripSchedOfChargesTP AS _TripSchedOfChargesTP ON TripDoc = _TripSchedOfChargesTP.TripDoc AND TripDocItem = _TripSchedOfChargesTP.TripDocItem AND DemurrageChargeKey = _TripSchedOfChargesTP.DemurrageChargeKey  -- association [1..1]
LEFT OUTER JOIN C_TripHeadTP AS _TripHeadTP ON TripDoc = _TripHeadTP.TripDoc  -- association [1..1]
;