I_TrdgContrType

DDL: I_TRDGCONTRTYPE Type: view_entity COMPOSITE

Trading Contract Type

I_TrdgContrType (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sales

I_TrdgContrType is a Composite CDS View that provides data about "Trading Contract Type" in SAP S/4HANA. It reads from 1 data source (R_TrdgContrType) and exposes 5 fields with key field TradingContractType. It has 1 association to related views.

SAP Help Documentation

CategoryGlobal Trade Management
Purpose
This CDS view contains information about the trading contract types in the system. This CDS view provides the data to answer the following business questions: What type of trading contracts are one-sided or two-sided for the purchase side? What type of trading contracts are one-sided or two-sided for the sales side? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: W_WBHK_TCT (Trading Contract: Authorization for Trading Contract Type)

Structure
Fields Used for Filtering The main filters are as follows: TradingContractType : This field is used to filter for the reference contract type. Further Important Fields Important fields in this view include the following: Field Name Description TrdgContrCtrlGrpPurg Control Group Purchasing for Trading Contracts TrdgContrCtrlGrpSls Control Group Sales for Trading Contracts

Constraints
This CDS view only includes some trading contract types. To include all trading contract types, use the view Trading Document Type .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentLO-GT
CapabilitiesData Source for Defining CDS Entities
PackageSales for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view contains information about the trading contract types in the system.</p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What type of trading contracts are one-sided or two-sided for the purchase side?</p></li> <li><p>What type of trading contracts are one-sided or two-sided for the sales side?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
R_TrdgContrType R_TrdgContrType from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_TrdgContrTypeText _Text

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Trading Contract Type view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey TradingContractType view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY TradingContractType TradingContractType Reference Document Type
TrdgContrCtrlGrpPurg TrdgContrCtrlGrpPurg Control Group Purchasing for Trading Contracts
TrdgContrCtrlGrpSls TrdgContrCtrlGrpSls Control Group Sales for Trading Contracts
TrdgContrSglOrganizationalData TrdgContrSglOrganizationalData Control of Organizational Data Entry
_Text _Text

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_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 I_TrdgContrType AS
SELECT
  TradingContractType,
  TrdgContrCtrlGrpPurg,
  TrdgContrCtrlGrpSls,
  TrdgContrSglOrganizationalData
FROM R_TrdgContrType
LEFT OUTER JOIN I_TrdgContrTypeText AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;