R_TrdgContrType

DDL: R_TRDGCONTRTYPE Type: view_entity COMPOSITE Package: VDM_LO_GT

Trading Contract Type

R_TrdgContrType is a Composite CDS View (Dimension) that provides data about "Trading Contract Type" in SAP S/4HANA. It reads from 1 data source (R_TrdgDocType) and exposes 10 fields with key field TradingContractType. Part of development package VDM_LO_GT.

Data Sources (1)

SourceAliasJoin Type
R_TrdgDocType TrdgDocType from

Annotations (14)

NameValueLevelField
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey TradingContractType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
AccessControl.authorizationCheck #MANDATORY view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled false view
Analytics.internalName #LOCAL view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
EndUserText.label Trading Contract Type view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY TradingContractType R_TrdgDocType TradingDocumentType
TrdgContrCtrlGrpPurg R_TrdgDocType TrdgDocCtrlGrpPurg Control Grp Pur
TrdgContrCtrlGrpSls R_TrdgDocType TrdgDocCtrlGrpSls Cntrl Grp Sales
TradingContractCategory R_TrdgDocType TrdgDocCategory TC Category
TrdgContrBusProcessCategory R_TrdgDocType TrdgDocBusProcessCategory
TradingContractPurpose R_TrdgDocType TrdgDocPurpose Purpose Type
TrdgContrSglOrganizationalData R_TrdgDocType TrdgDocSglOrganizationalData Org. Data
_TrdgContrTypeText _DocTypeText
_CtrlGrpPurgText _CtrlGrpPurgText
_CtrlGrpSlsText _CtrlGrpSlsText

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 R_TrdgContrType.
-- 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 R_TrdgContrType AS
SELECT
  TrdgDocType.TradingDocumentType AS TradingContractType,
  TrdgDocType.TrdgDocCtrlGrpPurg AS TrdgContrCtrlGrpPurg,
  TrdgDocType.TrdgDocCtrlGrpSls AS TrdgContrCtrlGrpSls,
  TrdgDocType.TrdgDocCategory AS TradingContractCategory,
  TrdgDocType.TrdgDocBusProcessCategory AS TrdgContrBusProcessCategory,
  TrdgDocType.TrdgDocPurpose AS TradingContractPurpose,
  TrdgDocType.TrdgDocSglOrganizationalData AS TrdgContrSglOrganizationalData
FROM R_TrdgDocType AS TrdgDocType
;