I_ACMTrdgContrBusForMntnContr
Trading Contract Business Details for Maintain Contract App
I_ACMTrdgContrBusForMntnContr is a Basic CDS View that provides data about "Trading Contract Business Details for Maintain Contract App" in SAP S/4HANA. It reads from 2 data sources (P_ContSubItem, I_ACMTrdgContrShadowItemDets) and exposes 20 fields with key field TradingContractNumber.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_ContSubItem | Business | from |
| I_ACMTrdgContrShadowItemDets | Shadow | inner |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IACMTCBUSMNTNAPP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.type | #INHERITED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| EndUserText.label | Trading Contract Business Details for Maintain Contract App | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TradingContractNumber | P_ContSubItem | TKONN | Trading Contract |
| PurchaseOrderSupplier | P_ContSubItem | ELIFN | Supplier | |
| PaymentTerms | P_ContSubItem | ZTERM | Terms of Payment | |
| PurchasingOrganization | P_ContSubItem | EKORG | Purchasing Org. | |
| PurchasingGroup | P_ContSubItem | EKGRP | Sub. purchasing grp | |
| TradingContractCurrency | P_ContSubItem | WAERS_PURCH | Currency | |
| TrdgContrSalesIncotermsVersion | P_ContSubItem | INCOV_SD | Inco. Version | |
| TrdgContrSlsIncotermsLoc1Text | P_ContSubItem | INCO2_L_SD | Inco. Location1 | |
| TrdgContrSlsIncotermsLoc2Text | P_ContSubItem | INCO3_L_SD | Inco. Location2 | |
| TrdgContrPurgIncotermsVersion | P_ContSubItem | INCOV_MM | Inco. Version | |
| TrdgContrPurgIncotermsLoc1Text | P_ContSubItem | INCO2_L_MM | Inco. Location1 | |
| PricingDocument | P_ContSubItem | KNUMV_MM | Doc. Condition | |
| ACMYourReference | P_ContSubItem | IHREZ | Your Reference | |
| ACMCustomerReference | P_ContSubItem | BSTKD | PO Number | |
| TrdgContrSalesPaymentTerms | P_ContSubItem | ZTERM_SALES | PaytTermsSls | |
| ACMPurgIncotermsPart1 | P_ContSubItem | INCO1_MM | Incoterms Purch | |
| ACMSlsIncotermsPart1 | P_ContSubItem | INCO1_SD | Incoterms Sales | |
| DocumentSide | I_ACMTrdgContrShadowItemDets | DocumentSide | ||
| INCO2_L_SDendasIncotermsLocation1 | ||||
| ZTERM_SALESendasAlternatePaymentTerm |
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_ACMTrdgContrBusForMntnContr.
-- 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: IACMTCBUSMNTNAPP
CREATE VIEW I_ACMTrdgContrBusForMntnContr AS
SELECT
Business.TKONN AS TradingContractNumber,
Business.ELIFN AS PurchaseOrderSupplier,
Business.ZTERM AS PaymentTerms,
Business.EKORG AS PurchasingOrganization,
Business.EKGRP AS PurchasingGroup,
Business.WAERS_PURCH AS TradingContractCurrency,
Business.INCOV_SD AS TrdgContrSalesIncotermsVersion,
Business.INCO2_L_SD AS TrdgContrSlsIncotermsLoc1Text,
Business.INCO3_L_SD AS TrdgContrSlsIncotermsLoc2Text,
Business.INCOV_MM AS TrdgContrPurgIncotermsVersion,
Business.INCO2_L_MM AS TrdgContrPurgIncotermsLoc1Text,
Business.KNUMV_MM AS PricingDocument,
Business.IHREZ AS ACMYourReference,
Business.BSTKD AS ACMCustomerReference,
Business.ZTERM_SALES AS TrdgContrSalesPaymentTerms,
Business.INCO1_MM AS ACMPurgIncotermsPart1,
Business.INCO1_SD AS ACMSlsIncotermsPart1,
Shadow.DocumentSide AS DocumentSide,
case Shadow.DocumentSide when 'M' then Business.INCO2_L_MM else Business.INCO2_L_SD end as IncotermsLocation1 AS INCO2_L_SDendasIncotermsLocation1,
case Shadow.DocumentSide when 'M' then Business.ZTERM else Business.ZTERM_SALES end as AlternatePaymentTerm AS ZTERM_SALESendasAlternatePaymentTerm
FROM P_ContSubItem AS Business
INNER JOIN I_ACMTrdgContrShadowItemDets AS Shadow ON /* join condition not captured in parsed metadata */
;
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