I_ACMTrdgContrBizDet
ACM Contract Business Details Approval
I_ACMTrdgContrBizDet is a Composite CDS View that provides data about "ACM Contract Business Details Approval" in SAP S/4HANA. It reads from 2 data sources (I_ACMContractBusiness, I_ACMTrdgContrShadowItemDets) and exposes 22 fields with key field TradingContractNumber. It has 2 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ACMContractBusiness | Business | from |
| I_ACMTrdgContrShadowItemDets | Shadow | inner |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_IncotermsClassificationText | _IncoDescmm | _IncoDescmm.IncotermsClassification = Business.ACMPurgIncotermsPart1 and _IncoDescmm.Language = $session.system_language |
| [1..1] | I_IncotermsClassificationText | _IncoDescsd | _IncoDescsd.IncotermsClassification = Business.ACMSlsIncotermsPart1 and _IncoDescsd.Language = $session.system_language |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IACMCTRBUSDETS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | ACM Contract Business Details Approval | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingContractNumber | I_ACMContractBusiness | TradingContractNumber | Trading Contract |
| PurchaseOrderSupplier | I_ACMContractBusiness | PurchaseOrderSupplier | Supplier | |
| PurchasingOrganization | I_ACMContractBusiness | PurchasingOrganization | Purchasing Organization | |
| PurchasingGroup | I_ACMContractBusiness | PurchasingGroup | Purchasing Group | |
| TradingContractCurrency | I_ACMContractBusiness | TradingContractCurrency | Currency | |
| TrdgContrSalesIncotermsVersion | I_ACMContractBusiness | TrdgContrSalesIncotermsVersion | Inco. Version | |
| TrdgContrSlsIncotermsLoc1Text | I_ACMContractBusiness | TrdgContrSlsIncotermsLoc1Text | Inco. Location1 | |
| TrdgContrSlsIncotermsLoc2Text | I_ACMContractBusiness | TrdgContrSlsIncotermsLoc2Text | Inco. Location2 | |
| TrdgContrPurgIncotermsVersion | I_ACMContractBusiness | TrdgContrPurgIncotermsVersion | Inco. Version | |
| TrdgContrPurgIncotermsLoc1Text | I_ACMContractBusiness | TrdgContrPurgIncotermsLoc1Text | Inco. Location1 | |
| PricingDocument | I_ACMContractBusiness | PricingDocument | Document Condition | |
| ACMPurgIncotermsPart1 | I_ACMContractBusiness | ACMPurgIncotermsPart1 | Incoterms Purch | |
| ACMSlsIncotermsPart1 | I_ACMContractBusiness | ACMSlsIncotermsPart1 | Incoterms Sales | |
| TrdgContrPurgPaymentTerms | I_ACMContractBusiness | TrdgContrPurgPaymentTerms | Terms of Payment | |
| TrdgContrSalesPaymentTerms | I_ACMContractBusiness | TrdgContrSalesPaymentTerms | PaytTermsSls | |
| ACMSupplyingPlant | I_ACMContractBusiness | ACMSupplyingPlant | Supplying Plant | |
| ACMYourReference | I_ACMContractBusiness | ACMYourReference | Your Reference | |
| ACMCustomerReference | I_ACMContractBusiness | ACMCustomerReference | PO Number | |
| PurchasingOrganizationName | PurchasingOrganizationName | PurchasingOrganizationName | Purch. Org. Name | |
| PurchasingGroupName | PurchasingGroupName | PurchasingGroupName | Purchasing Grp. Name | |
| DocumentSide | I_ACMTrdgContrShadowItemDets | DocumentSide | ||
| ACMCustomerReferenceendasACMReferencePO |
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_ACMTrdgContrBizDet.
-- 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: IACMCTRBUSDETS
CREATE VIEW I_ACMTrdgContrBizDet AS
SELECT
Business.TradingContractNumber AS TradingContractNumber,
Business.PurchaseOrderSupplier AS PurchaseOrderSupplier,
Business.PurchasingOrganization AS PurchasingOrganization,
Business.PurchasingGroup AS PurchasingGroup,
Business.TradingContractCurrency AS TradingContractCurrency,
Business.TrdgContrSalesIncotermsVersion AS TrdgContrSalesIncotermsVersion,
Business.TrdgContrSlsIncotermsLoc1Text AS TrdgContrSlsIncotermsLoc1Text,
Business.TrdgContrSlsIncotermsLoc2Text AS TrdgContrSlsIncotermsLoc2Text,
Business.TrdgContrPurgIncotermsVersion AS TrdgContrPurgIncotermsVersion,
Business.TrdgContrPurgIncotermsLoc1Text AS TrdgContrPurgIncotermsLoc1Text,
Business.PricingDocument AS PricingDocument,
Business.ACMPurgIncotermsPart1 AS ACMPurgIncotermsPart1,
Business.ACMSlsIncotermsPart1 AS ACMSlsIncotermsPart1,
Business.TrdgContrPurgPaymentTerms AS TrdgContrPurgPaymentTerms,
Business.TrdgContrSalesPaymentTerms AS TrdgContrSalesPaymentTerms,
Business.ACMSupplyingPlant AS ACMSupplyingPlant,
Business.ACMYourReference AS ACMYourReference,
Business.ACMCustomerReference AS ACMCustomerReference,
PurchasingOrganizationName.PurchasingOrganizationName AS PurchasingOrganizationName,
PurchasingGroupName.PurchasingGroupName AS PurchasingGroupName,
Shadow.DocumentSide AS DocumentSide,
case Shadow.DocumentSide when 'M' then Business.ACMYourReference else Business.ACMCustomerReference end as ACMReferencePO AS ACMCustomerReferenceendasACMReferencePO
FROM I_ACMContractBusiness AS Business
INNER JOIN I_ACMTrdgContrShadowItemDets AS Shadow ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_IncotermsClassificationText AS _IncoDescmm ON _IncoDescmm.IncotermsClassification = Business.ACMPurgIncotermsPart1 AND _IncoDescmm.Language = $session.system_language -- association [1..1]
LEFT OUTER JOIN I_IncotermsClassificationText AS _IncoDescsd ON _IncoDescsd.IncotermsClassification = Business.ACMSlsIncotermsPart1 AND _IncoDescsd.Language = $session.system_language -- association [1..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