C_TrdCmplncLicDocItmAssgmt
Trade Compliance License Document Assignments
C_TrdCmplncLicDocItmAssgmt is a Consumption CDS View that provides data about "Trade Compliance License Document Assignments" in SAP S/4HANA. It reads from 1 data source (I_TrdCmplncDocLicAssgmt) and exposes 40 fields with key fields TrdCmplncLicense, TrdCmplncDocLglRglnUUID. It has 5 associations to related views. It is exposed through 2 OData services (ASQL_F4047, UI_SLL_LICENSE_ASSGMT_DSP). It is used in 1 Fiori application: Display License Assignments - Trade Compliance. Part of development package VDM_SLL_LMG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_TrdCmplncDocLicAssgmt | _TrdCmplncDocLicAssgmt | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Product | _Product | _Product.Product = $projection.product |
| [0..1] | I_BusinessPartner | _BusinessPartner | _BusinessPartner.BusinessPartner = $projection.BusinessPartner |
| [0..1] | I_TrdCmplncDocLglRgln | _DocLglRgln | $projection.TrdCmplncDocLglRglnUUID = _DocLglRgln.TrdCmplncDocLglRglnUUID |
| [0..*] | I_ProductText | _ProductText | $projection.product = _ProductText.Product |
| [0..1] | I_TrdCmplncDocItem | _TrdCmplncDocItemBasic | $projection.TradeComplianceDocument = _TrdCmplncDocItemBasic.TradeComplianceDocument and $projection.TrdCmplncDocCategory = _TrdCmplncDocItemBasic.TrdCmplncDocCategory and $projection.TrdCmplncDocItem = _TrdCmplncDocItemBasic.TrdCmplncDocItem |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CTRDCMPLLCDCAS | view | |
| EndUserText.label | Trade Compliance License Document Assignments | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.allowExtensions | true | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F4047 | ASQL_F4047 | C2 | NOT_RELEASED | |
| UI_SLL_LICENSE_ASSGMT_DSP | UI_SLL_LICENSE_ASSGMT_DSP | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F4047 | Display License Assignments - Trade Compliance | Transactional | An application to display licenses with documents assigned and all document items assigned to the license |
Display License Assignments - Trade Compliance
Business Role: Trade Compliance Specialist
You can use this app to display assigned documents to licenses and overview open depreciation values and quantities.
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TrdCmplncLicense | _License | TrdCmplncLicense | |
| KEY | TrdCmplncDocLglRglnUUID | TrdCmplncDocLglRglnUUID | UUID | |
| LegalRegulation | _License | LegalRegulation | ||
| TrdCmplncLicenseType | _License | TrdCmplncLicenseType | ||
| TrdCmplncLicenseUUID | I_TrdCmplncDocLicAssgmt | TrdCmplncLicenseUUID | GUID 16 | |
| TrdCmplncDocItemUUID | I_TrdCmplncDocLicAssgmt | TrdCmplncDocItemUUID | UUID | |
| TrdCmplncDocLicAssgmtUUID | TrdCmplncDocLicAssgmtUUID | UUID | ||
| ScheduleLineDeliveryDate | _DocLglRgln | ScheduleLineDeliveryDate | Delivery Date | |
| ExtTrdCmplncLicense | _License | ExtTrdCmplncLicense | ||
| ValidityStartDate | _License | ValidityStartDate | Validity Start Date | |
| ValidityEndDate | _License | ValidityEndDate | ValidTo | |
| TrdCmplncLicenseOwner | _License | TrdCmplncLicenseOwner | ||
| ControlClass | _DocLglRgln | ControlClass | ||
| CommodityCode | _DocLglRgln | CommodityCode | Commodity Code | |
| ControlGrouping | _DocLglRgln | ControlGrouping | ||
| CustomsTariffNumber | _DocLglRgln | CustomsTariffNumber | ||
| NetAmount | _DocLglRgln | NetAmount | Stated Amount | |
| RequestedQuantity | _DocLglRgln | RequestedQuantity | Requested Quantity | |
| RequestedQuantityUnit | _DocLglRgln | RequestedQuantityUnit | Requested Quantity Unit | |
| TransactionCurrency | _DocLglRgln | TransactionCurrency | Transaction Currency | |
| TradeComplianceDocument | _TrdCmplncDocItemBasicAlias | TradeComplianceDocument | ||
| TrdCmplncDocCategory | _TrdCmplncDocItemBasicAlias | TrdCmplncDocCategory | ||
| TrdCmplncDocItem | _TrdCmplncDocItemBasicAlias | TrdCmplncDocItem | ||
| TrdCmplncCheckDrctn | _TrdCmplncDocItemBasicAlias | TrdCmplncCheckDrctn | ||
| Product | _TrdCmplncDocItemBasic | Product | Product Sold | |
| CompanyCode | _TrdCmplncDocItemBasic | CompanyCode | Receiver Company Code | |
| BusinessPartner | _TrdCmplncDocItemBasicAlias | BusinessPartner | Issuing Authority | |
| BusinessPartnerName | ||||
| Country | _TrdCmplncDocItemBasic | Country | Venue: Ctry/Reg | |
| _DocLglRgln | _DocLglRgln | |||
| _TrdCmplncLicWthDocsAssgd | _TrdCmplncLicWthDocsAssgd | |||
| _TrdCmplncDocCategoryText | _TrdCmplncDocItemBasicAlias | _TrdCmplncDocCategoryText | ||
| _TrdCmplncCheckDrctnTxt | _TrdCmplncDocItemBasicAlias | _TrdCmplncCheckDrctnTxt | ||
| _CountryText | _TrdCmplncDocItemBasic | _CountryText | ||
| _TransactionCurrency | _DocLglRgln | _TransactionCurrency | ||
| _RequestedQuantityUnit | _DocLglRgln | _RequestedQuantityUnit | ||
| _BusinessPartner | _BusinessPartner | |||
| _Product | _Product | |||
| _ProductText | _ProductText | |||
| _TrdCmplncDocItemBasic | _TrdCmplncDocItemBasic |
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_TrdCmplncLicDocItmAssgmt.
-- 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: CTRDCMPLLCDCAS
CREATE VIEW C_TrdCmplncLicDocItmAssgmt AS
SELECT
_License.TrdCmplncLicense AS TrdCmplncLicense,
TrdCmplncDocLglRglnUUID,
_License.LegalRegulation AS LegalRegulation,
_License.TrdCmplncLicenseType AS TrdCmplncLicenseType,
_TrdCmplncDocLicAssgmt.TrdCmplncLicenseUUID AS TrdCmplncLicenseUUID,
_TrdCmplncDocLicAssgmt.TrdCmplncDocItemUUID AS TrdCmplncDocItemUUID,
TrdCmplncDocLicAssgmtUUID,
_DocLglRgln.ScheduleLineDeliveryDate AS ScheduleLineDeliveryDate,
_License.ExtTrdCmplncLicense AS ExtTrdCmplncLicense,
_License.ValidityStartDate AS ValidityStartDate,
_License.ValidityEndDate AS ValidityEndDate,
_License.TrdCmplncLicenseOwner AS TrdCmplncLicenseOwner,
_DocLglRgln.ControlClass AS ControlClass,
_DocLglRgln.CommodityCode AS CommodityCode,
_DocLglRgln.ControlGrouping AS ControlGrouping,
_DocLglRgln.CustomsTariffNumber AS CustomsTariffNumber,
_DocLglRgln.NetAmount AS NetAmount,
_DocLglRgln.RequestedQuantity AS RequestedQuantity,
_DocLglRgln.RequestedQuantityUnit AS RequestedQuantityUnit,
_DocLglRgln.TransactionCurrency AS TransactionCurrency,
_TrdCmplncDocItemBasicAlias.TradeComplianceDocument AS TradeComplianceDocument,
_TrdCmplncDocItemBasicAlias.TrdCmplncDocCategory AS TrdCmplncDocCategory,
_TrdCmplncDocItemBasicAlias.TrdCmplncDocItem AS TrdCmplncDocItem,
_TrdCmplncDocItemBasicAlias.TrdCmplncCheckDrctn AS TrdCmplncCheckDrctn,
_TrdCmplncDocItemBasic.Product AS Product,
_TrdCmplncDocItemBasic.CompanyCode AS CompanyCode,
_TrdCmplncDocItemBasicAlias.BusinessPartner AS BusinessPartner,
cast (_BusinessPartner.BusinessPartnerName as /sapsll/tcpna preserving type ) AS BusinessPartnerName,
_TrdCmplncDocItemBasic.Country AS Country,
_TrdCmplncDocItemBasicAlias._TrdCmplncDocCategoryText AS _TrdCmplncDocCategoryText,
_TrdCmplncDocItemBasicAlias._TrdCmplncCheckDrctnTxt AS _TrdCmplncCheckDrctnTxt,
_TrdCmplncDocItemBasic._CountryText AS _CountryText,
_DocLglRgln._TransactionCurrency AS _TransactionCurrency,
_DocLglRgln._RequestedQuantityUnit AS _RequestedQuantityUnit
FROM I_TrdCmplncDocLicAssgmt AS _TrdCmplncDocLicAssgmt
LEFT OUTER JOIN I_Product AS _Product ON _Product.Product = product -- association [0..1]
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON _BusinessPartner.BusinessPartner = BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_TrdCmplncDocLglRgln AS _DocLglRgln ON TrdCmplncDocLglRglnUUID = _DocLglRgln.TrdCmplncDocLglRglnUUID -- association [0..1]
LEFT OUTER JOIN I_ProductText AS _ProductText ON product = _ProductText.Product -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncDocItem AS _TrdCmplncDocItemBasic ON TradeComplianceDocument = _TrdCmplncDocItemBasic.TradeComplianceDocument AND TrdCmplncDocCategory = _TrdCmplncDocItemBasic.TrdCmplncDocCategory AND TrdCmplncDocItem = _TrdCmplncDocItemBasic.TrdCmplncDocItem -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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