C_TrdgContrCustFDP
FDP for Customer for Trdg Contr Header
C_TrdgContrCustFDP is a Consumption CDS View that provides data about "FDP for Customer for Trdg Contr Header" in SAP S/4HANA. It reads from 1 data source (R_TrdgContr) and exposes 39 fields with key field TradingContract. It has 9 associations to related views. Part of development package WB2B_FDP.
SAP Help Documentation
| Category | Global Trade Management |
|---|
Purpose
This CDS view contains information for order confirmations. This CDS view provides the data to answer the following business questions: What information is included in the form data provider for customer and can be used in the order confirmation? 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: V_KNA1_BRG (Customer: Account Authorization for Sales Areas) W_WBHK_ORG (Trading Contract: Authorization for Organizational Data) W_WBHK_TCT (Trading Contract: Authorization for Trading Contract Type) Configuration You have activated SAP S/4HANA output control ( CA-GTF-OC ) in Customizing.
Constraints
This CDS view only provides data about the form data provider for customer. Data for the form data provider for supplier can be retrieved from the view FDP for Suplr for Trading Contr Header ( C_TrdgContrSuplrFDP ).
This CDS view contains information for order confirmations. This CDS view provides the data to answer the following business questions: What information is included in the form data provider for customer and can be used in the order confirmation? 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: V_KNA1_BRG (Customer: Account Authorization for Sales Areas) W_WBHK_ORG (Trading Contract: Authorization for Organizational Data) W_WBHK_TCT (Trading Contract: Authorization for Trading Contract Type) Configuration You have activated SAP S/4HANA output control ( CA-GTF-OC ) in Customizing.
Constraints
This CDS view only provides data about the form data provider for customer. Data for the form data provider for supplier can be retrieved from the view FDP for Suplr for Trading Contr Header ( C_TrdgContrSuplrFDP ).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_TrdgContr | R_TrdgContr | from |
Associations (9)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PaymentTerms | _PaymentTerms | $projection.TrdgContrSalesPaymentTerms = _PaymentTerms.PaymentTerms |
| [0..1] | I_IncotermsClassification | _IncotermsClassification | $projection.SlsIncotermsClassification = _IncotermsClassification.IncotermsClassification |
| [0..1] | I_IncotermsVersion | _IncotermsVersion | $projection.TrdgContrSalesIncotermsVersion = _IncotermsVersion.IncotermsVersion |
| [0..1] | I_Currency | _SalesCurrency | $projection.TradingContractSalesCurrency = _SalesCurrency.Currency |
| [0..1] | I_SlsPricingProcedure | _PricingProcedure | $projection.TrdgContrSalesPricingProcedure = _PricingProcedure.PricingProcedure |
| [0..*] | R_TrdgContrItemCustFDP | _Item | $projection.TradingContract = _Item.TradingContract |
| [0..1] | R_TrdgContrPartner | _ShipToPartner | $projection.TradingContract = _ShipToPartner.TradingContract and _ShipToPartner.PartnerCounter = '000' and _ShipToPartner.PartnerFunction = 'WE' |
| [0..1] | R_TrdgContrPartner | _SoldToPartner | $projection.TradingContract = _SoldToPartner.TradingContract and _SoldToPartner.PartnerCounter = '000' and _SoldToPartner.PartnerFunction = 'AG' |
| [0..1] | R_TrdgContrPartner | _ContactPartner | $projection.TradingContract = _ContactPartner.TradingContract and _ContactPartner.PartnerCounter = '000' and _ContactPartner.PartnerFunction = 'AP' |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | FDP for Customer for Trdg Contr Header | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #NONE | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingContract | TradingContract | ||
| TradingContractExtID | TradingContractExtID | |||
| TrdgContrDate | TrdgContrDate | |||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| SoldToParty | SoldToParty | Sold-to Party | ||
| PurchaseOrderByCustomer | PurchaseOrderByCustomer | Purchase Order Number | ||
| CustomerPurchaseOrderDate | CustomerPurchaseOrderDate | Purchase Order Date | ||
| TrdgContrSlsReqdDeliveryDate | TrdgContrSlsReqdDeliveryDate | |||
| TrdgContrSalesPaymentTerms | TrdgContrSalesPaymentTerms | |||
| TradingContractSalesCurrency | TradingContractSalesCurrency | |||
| TrdgContrSalesPricingProcedure | TrdgContrSalesPricingProcedure | |||
| SlsIncotermsClassification | SlsIncotermsClassification | |||
| TrdgContrSalesIncotermsVersion | TrdgContrSalesIncotermsVersion | |||
| TrdgContrSlsIncotermsLoc1Text | TrdgContrSlsIncotermsLoc1Text | |||
| TrdgContrSlsIncotermsLoc2Text | TrdgContrSlsIncotermsLoc2Text | |||
| SalesDocumentCondition | SalesDocumentCondition | |||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| TrdgContrSalesPricingDate | TrdgContrSalesPricingDate | |||
| TrdgContrSalesExchangeRateType | TrdgContrSalesExchangeRateType | |||
| TrdgContrSalesExchangeRate | TrdgContrSalesExchangeRate | |||
| TradingContractType | TradingContractType | |||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| PurchasingOrganization | PurchasingOrganization | Purchasing Organization | ||
| _Item | _Item | |||
| _TradingContractPartner | _TradingContractPartner | |||
| _SalesOrganization | _SalesOrganization | |||
| _SoldToPartner | _SoldToPartner | |||
| _ShipToPartner | _ShipToPartner | |||
| _ContactPartner | _ContactPartner | |||
| _CompanyCode | _CompanyCode | |||
| _PricingProcedure | _PricingProcedure | |||
| _SalesCurrency | _SalesCurrency | |||
| _PaymentTerms | _PaymentTerms | |||
| _IncotermsVersion | _IncotermsVersion | |||
| _IncotermsClassification | _IncotermsClassification | |||
| _SoldToParty | _SoldToParty | |||
| _CustomerSalesArea | _CustomerSalesArea |
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_TrdgContrCustFDP.
-- 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 C_TrdgContrCustFDP AS
SELECT
TradingContract,
TradingContractExtID,
TrdgContrDate,
CompanyCode,
SoldToParty,
PurchaseOrderByCustomer,
CustomerPurchaseOrderDate,
TrdgContrSlsReqdDeliveryDate,
TrdgContrSalesPaymentTerms,
TradingContractSalesCurrency,
TrdgContrSalesPricingProcedure,
SlsIncotermsClassification,
TrdgContrSalesIncotermsVersion,
TrdgContrSlsIncotermsLoc1Text,
TrdgContrSlsIncotermsLoc2Text,
SalesDocumentCondition,
SDDocumentCategory,
TrdgContrSalesPricingDate,
TrdgContrSalesExchangeRateType,
TrdgContrSalesExchangeRate,
TradingContractType,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
PurchasingOrganization
FROM R_TrdgContr
LEFT OUTER JOIN I_PaymentTerms AS _PaymentTerms ON TrdgContrSalesPaymentTerms = _PaymentTerms.PaymentTerms -- association [0..1]
LEFT OUTER JOIN I_IncotermsClassification AS _IncotermsClassification ON SlsIncotermsClassification = _IncotermsClassification.IncotermsClassification -- association [0..1]
LEFT OUTER JOIN I_IncotermsVersion AS _IncotermsVersion ON TrdgContrSalesIncotermsVersion = _IncotermsVersion.IncotermsVersion -- association [0..1]
LEFT OUTER JOIN I_Currency AS _SalesCurrency ON TradingContractSalesCurrency = _SalesCurrency.Currency -- association [0..1]
LEFT OUTER JOIN I_SlsPricingProcedure AS _PricingProcedure ON TrdgContrSalesPricingProcedure = _PricingProcedure.PricingProcedure -- association [0..1]
LEFT OUTER JOIN R_TrdgContrItemCustFDP AS _Item ON TradingContract = _Item.TradingContract -- association [0..*]
LEFT OUTER JOIN R_TrdgContrPartner AS _ShipToPartner ON TradingContract = _ShipToPartner.TradingContract AND _ShipToPartner.PartnerCounter = '000' AND _ShipToPartner.PartnerFunction = 'WE' -- association [0..1]
LEFT OUTER JOIN R_TrdgContrPartner AS _SoldToPartner ON TradingContract = _SoldToPartner.TradingContract AND _SoldToPartner.PartnerCounter = '000' AND _SoldToPartner.PartnerFunction = 'AG' -- association [0..1]
LEFT OUTER JOIN R_TrdgContrPartner AS _ContactPartner ON TradingContract = _ContactPartner.TradingContract AND _ContactPartner.PartnerCounter = '000' AND _ContactPartner.PartnerFunction = 'AP' -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA