C_TrdCmplncLicWthDocsAssgd

DDL: C_TRDCMPLNCLICWTHDOCSASSGD SQL: CTRDCMPLLICWDCAS Type: view CONSUMPTION Package: VDM_SLL_LMG

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)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.TrdCmplncLicenseOwner = _CompanyCode.CompanyCode
[1..*] C_TrdCmplncLicDocItmAssgmt _TrdCmplncLicDocItmAssgmt

Annotations (12)

NameValueLevelField
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)

ServiceBindingVersionContractRelease
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 IDApp NameTypeDescription
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)

KeyFieldSource TableSource FieldDescription
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..*]
;