C_TrdCmplncLicWthDocsAssgd
Trade Compliance License With Documents Assigned
C_TrdCmplncLicWthDocsAssgd is a Consumption CDS View that provides data about "Trade Compliance License With Documents Assigned" in SAP S/4HANA. It has 2 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.
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.TrdCmplncLicenseOwner = _CompanyCode.CompanyCode |
| [1..*] | C_TrdCmplncLicDocItmAssgmt | _TrdCmplncLicDocItmAssgmt | |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CTRDCMPLLICWDCAS | view | |
| EndUserText.label | Trade Compliance License With Documents Assigned | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | false | 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 (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | TrdCmplncLicense | TrdCmplncLicense | ||
| LegalRegulation | _TrdCmplncLicense | LegalRegulation | ||
| TrdCmplncLicenseType | TrdCmplncLicenseType | |||
| TrdCmplncLicenseUUID | _TrdCmplncLicense | TrdCmplncLicenseUUID | ||
| ExtTrdCmplncLicense | ExtTrdCmplncLicense | |||
| TrdCmplncLicenseOwner | TrdCmplncLicenseOwner | |||
| CompanyCodeName | License Owner Description | |||
| TrdCmplncLicenseStatus | TrdCmplncLicenseStatus | |||
| TrdCmplncLicenseStatusName | Status Description | |||
| TrdCmplncLicenseCategory | TrdCmplncLicenseCategory | |||
| TrdCmplncLicenseCategoryName | License Category Description | |||
| ValidityStartDate | ValidityStartDate | Validity Start Date | ||
| ValidityEndDate | ValidityEndDate | ValidTo | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreatedByUserName | _CreatedByUser | UserDescription | Created By Description | |
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangedByUserName | _LastChangedByUser | UserDescription | Changed By Description | |
| TrdCmplncLicenseRemark | _TrdCmplncLicense | TrdCmplncLicenseRemark | ||
| _LegalRegulationText | _LegalRegulationText | |||
| _TrdCmplncLicCategoryText | _TrdCmplncLicCategoryText | |||
| _TrdCmplncLicStatusText | _TrdCmplncLicStatusText | |||
| _TrdCmplncLicTypeText | _TrdCmplncLicTypeText | |||
| _CompanyCode | _CompanyCode | |||
| _TrdCmplncLicDocItmAssgmt | _TrdCmplncLicDocItmAssgmt |
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_TrdCmplncLicWthDocsAssgd.
-- 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: CTRDCMPLLICWDCAS
CREATE VIEW C_TrdCmplncLicWthDocsAssgd AS
SELECT
TrdCmplncLicense,
_TrdCmplncLicense.LegalRegulation AS LegalRegulation,
TrdCmplncLicenseType,
_TrdCmplncLicense.TrdCmplncLicenseUUID AS TrdCmplncLicenseUUID,
ExtTrdCmplncLicense,
TrdCmplncLicenseOwner,
_CompanyCode[ 1: Language = $session.system_language ].CompanyCodeName AS CompanyCodeName,
TrdCmplncLicenseStatus,
_TrdCmplncLicStatusText[ 1: Language = $session.system_language ].TrdCmplncLicenseStatusName AS TrdCmplncLicenseStatusName,
TrdCmplncLicenseCategory,
_TrdCmplncLicCategoryText[ 1: Language = $session.system_language ].TrdCmplncLicenseCategoryName AS TrdCmplncLicenseCategoryName,
ValidityStartDate,
ValidityEndDate,
CreatedByUser,
_CreatedByUser.UserDescription AS CreatedByUserName,
LastChangedByUser,
_LastChangedByUser.UserDescription AS LastChangedByUserName,
_TrdCmplncLicense.TrdCmplncLicenseRemark AS TrdCmplncLicenseRemark
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON TrdCmplncLicenseOwner = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN C_TrdCmplncLicDocItmAssgmt AS _TrdCmplncLicDocItmAssgmt ON /* condition not available in parsed metadata */ -- association [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