I_TrdgContrTypeVH

DDL: I_TRDGCONTRTYPEVH SQL: ITRDGCONTRTYPEVH Type: view COMPOSITE Package: VDM_LO_GT

Trading Contract Type

I_TrdgContrTypeVH (Composite)

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

Sales

I_TrdgContrTypeVH is a Composite CDS View that provides data about "Trading Contract Type" in SAP S/4HANA. It reads from 1 data source (I_TrdgContrType) and exposes 6 fields with key field TradingContractType. It is exposed through 1 OData service (UI_TRDGCONTR_MANAGEV4). Part of development package VDM_LO_GT.

SAP Help Documentation

CategoryGlobal Trade Management
Purpose
This view provides value help for trading contract type. This view should be used for value help purposes only. If you intend to select the entire business data, use the view Trading Contract Type instead. 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. TrdgContrCtrlGrpPurg : This field is used to filter for the control group purchasing for trading contracts. TrdgContrCtrlGrpSls : This field is used to filter for the control group sales for trading contracts. TrdgContrTypeName : This field is used to filter for the description of trading contracts.

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessSales
Application ComponentLO-GT
CapabilitiesData Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageSales for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_TrdgContrType I_TrdgContrType from

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName ITRDGCONTRTYPEVH view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Trading Contract Type view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.representativeKey TradingContractType view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.modelingPattern #NONE view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.resultSet.sizeCategory #XS view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
UI_TRDGCONTR_MANAGEV4 UI_TRDGCONTR_MANAGEV4 V4 C1 NOT_RELEASED

Fields (6)

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
TrdgContrTypeName Trading Contract Type Description
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_TrdgContrTypeVH.
-- 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: ITRDGCONTRTYPEVH

CREATE VIEW I_TrdgContrTypeVH AS
SELECT
  TradingContractType,
  TrdgContrCtrlGrpPurg,
  TrdgContrCtrlGrpSls,
  _Text[1: Language = $session.system_language].TrdgContrTypeName AS TrdgContrTypeName,
  TrdgContrSglOrganizationalData
FROM I_TrdgContrType
;