I_ACMDetDefaultContractType

DDL: I_ACMDETDEFAULTCONTRACTTYPE SQL: IDETCNTRTYPE Type: view BASIC

Interface view for determining default contract type

I_ACMDetDefaultContractType is a Basic CDS View that provides data about "Interface view for determining default contract type" in SAP S/4HANA. It reads from 2 data sources (tb2be, /accgo/t_cak_typ) and exposes 5 fields with key field TradingContractType. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
tb2be Contract inner
/accgo/t_cak_typ ContractType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] P_TradingContractTypeDesc _ContractTypeText ContractType.tctyp = _ContractTypeText.tctyp

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IDETCNTRTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #S view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Interface view for determining default contract type view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY TradingContractType /accgo/t_cak_typ tctyp Contract Type
ACMTrdgContrTypeDesc
TradingContractCategory /accgo/t_cak_typ contract_type Document Type
ACMIsTrdgContrTypeDefaultUsage /accgo/t_cak_typ default_usage_ind Default Indicator
ACMIsTrdgContrTypeBlock tb2be tc_type_block Type Block

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_ACMDetDefaultContractType.
-- 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: IDETCNTRTYPE

CREATE VIEW I_ACMDetDefaultContractType AS
SELECT
  ContractType.tctyp AS TradingContractType,
  _ContractTypeText[1: spras = $session.system_language ].bezei AS ACMTrdgContrTypeDesc,
  ContractType.contract_type AS TradingContractCategory,
  ContractType.default_usage_ind AS ACMIsTrdgContrTypeDefaultUsage,
  Contract.tc_type_block AS ACMIsTrdgContrTypeBlock
FROM /accgo/t_cak_typ AS ContractType
INNER JOIN tb2be AS Contract ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_TradingContractTypeDesc AS _ContractTypeText ON ContractType.tctyp = _ContractTypeText.tctyp  -- association [0..*]
;