I_TrdCmplncLicenseTP

DDL: I_TRDCMPLNCLICENSETP SQL: ITRDCMPLTP Type: view_entity TRANSACTIONAL Package: VDM_SLL_LMG

License

I_TrdCmplncLicenseTP is a Transactional CDS View that provides data about "License" in SAP S/4HANA. It reads from 1 data source (I_TrdCmplncLicHeader) and exposes 71 fields with key field TrdCmplncLicenseUUID. It has 10 associations to related views. Part of development package VDM_SLL_LMG.

Data Sources (1)

SourceAliasJoin Type
I_TrdCmplncLicHeader I_TrdCmplncLicHeader from

Associations (10)

CardinalityTargetAliasCondition
[0..*] I_TrdCmplncLicProductTP _TrdCmplncLicProductTP
[0..*] I_TrdCmplncLicControlClassTP _TrdCmplncLicControlClassTP
[0..*] I_TrdCmplncLicCtrlGroupingTP _TrdCmplncLicCtrlGroupingTP
[0..*] I_TrdCmplncLicCommodityCodeTP _TrdCmplncLicCommodityCodeTP
[0..*] I_TrdCmplncLicCountryTP _TrdCmplncLicCountryTP
[0..*] I_TrdCmplncLicDocumentTP _TrdCmplncLicDocumentTP
[0..*] I_TrdCmplncLicBusPartTP _TrdCmplncLicBusPartTP
[0..*] I_TrdCmplncLicCompanyCodeTP _TrdCmplncLicCompanyCodeTP
[0..*] I_TrdCmplncLicPlantTP _TrdCmplncLicPlantTP
[0..*] I_TrdCmplncLicTariffNumberTP _TrdCmplncLicTariffNumberTP

Annotations (14)

NameValueLevelField
EndUserText.label License view
VDM.viewType #TRANSACTIONAL view
AccessControl.authorizationCheck #CHECK view
Search.searchable true view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.lifecycle.enqueue.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.enqueue.expiryInterval PT4H view
ObjectModel.lifecycle.enqueue.notificationBeforeExpiryInterval PT4H view
ObjectModel.lifecycle.processing.expiryBehavior #RELATIVE_TO_LAST_CHANGE view
ObjectModel.lifecycle.processing.expiryInterval PT4H view
ObjectModel.lifecycle.processing.notificationBeforeExpiryInterval PT4H view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view

Fields (71)

KeyFieldSource TableSource FieldDescription
KEY TrdCmplncLicenseUUID TrdCmplncLicenseUUID UUID
LegalRegulation LegalRegulation Legal Regulation
TrdCmplncLicenseType TrdCmplncLicenseType License Type
TrdCmplncLicense TrdCmplncLicense License Number
ExtTrdCmplncLicense ExtTrdCmplncLicense Official License No.
TrdCmplncDocLicIsAssgd TrdCmplncDocLicIsAssgd
TrdCmplncLicenseOwner TrdCmplncLicenseOwner License Owner
TrdCmplncLicenseOwnerName TrdCmplncLicenseOwnerName Company Name
TrdCmplncLicenseStatus TrdCmplncLicenseStatus Status
TrdCmplncLicenseCategory TrdCmplncLicenseCategory License Category
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
TrdCmplncLicenseRemark TrdCmplncLicenseRemark Remark
TrdCmplncIsMilitarySctr TrdCmplncIsMilitarySctr Military Sector
TrdCmplncIsNuclearSctr TrdCmplncIsNuclearSctr Nuclear Sector
TrdCmplncLicenseMaxAmount TrdCmplncLicenseMaxAmount Maximum Amount
TrdCmplncLicenseUsdAmount TrdCmplncLicenseUsdAmount
TrdCmplncLicenseAvailAmount TrdCmplncLicenseAvailAmount
TrdCmplncLicenseDeprCurrency TrdCmplncLicenseDeprCurrency Currency
TrdCmplncLicenseAmtExcdPct TrdCmplncLicenseAmtExcdPct Exceeded Value (%)
TrdCmplncLicenseMaxQuantity TrdCmplncLicenseMaxQuantity Maximum Quantity
TrdCmplncLicenseUsdQuantity TrdCmplncLicenseUsdQuantity
TrdCmplncLicenseAvailQuantity
TrdCmplncLicenseDeprUnit TrdCmplncLicenseDeprUnit Int. Unit Meas.
TrdCmplncLicenseQtyExcdPct TrdCmplncLicenseQtyExcdPct Exceeded Quant. (%)
CreatedByUser CreatedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDateTime LastChangeDateTime Timestamp
TrdCmplncLicenseAmtAssgmtLvl TrdCmplncLicenseAmtAssgmtLvl Amount Level
TrdCmplncLicenseQtyAssgmtLvl TrdCmplncLicenseQtyAssgmtLvl Quantity Level
TrdCmplncLicQtyUpdateBasis TrdCmplncLicQtyUpdateBasis Base
TrdCmplncLicenseHasProduct TrdCmplncLicenseHasProduct Product
TrdCmplncLicenseHasCtrlCl TrdCmplncLicenseHasCtrlCl Control Class
TrdCmplncLicenseHasCtrlGrpg TrdCmplncLicenseHasCtrlGrpg Control Grouping
TrdCmplncLicenseHasCmmdtyCode TrdCmplncLicenseHasCmmdtyCode Commodity Code
TrdCmplncLicenseHasCountry TrdCmplncLicenseHasCountry Country/Region
TrdCmplncLicenseHasDocument TrdCmplncLicenseHasDocument Document Number
TrdCmplncLicenseHasBP TrdCmplncLicenseHasBP Partner
TrdCmplncLicenseHasCompanyCode TrdCmplncLicenseHasCompanyCode Company Code
TrdCmplncLicenseHasPlant TrdCmplncLicenseHasPlant Plant
TrdCmplncLicenseHasTariffNo TrdCmplncLicenseHasTariffNo Tariff Number
_LegalRegulation _LegalRegulation
_LegalRegulationText _LegalRegulationText
_TrdCmplncLicType _TrdCmplncLicType
_TrdCmplncLicTypeText _TrdCmplncLicTypeText
_TrdCmplncLicStatus _TrdCmplncLicStatus
_TrdCmplncLicStatusText _TrdCmplncLicStatusText
_TrdCmplncLicenseOwner _TrdCmplncLicenseOwner
_TrdCmplncLicCategory _TrdCmplncLicCategory
_TrdCmplncLicCategoryText _TrdCmplncLicCategoryText
_CreatedByUser _CreatedByUser
_LastChangedByUser _LastChangedByUser
_Currency _Currency
_UnitOfMeasure _UnitOfMeasure
_TrdCmplncDocLicIsAssgd _TrdCmplncDocLicIsAssgd
_TrdCmplncDocLicIsAssgdText _TrdCmplncDocLicIsAssgdText
_TrdCmplncIsMilitarySctr _TrdCmplncIsMilitarySctr
_TrdCmplncIsMilitarySctrText _TrdCmplncIsMilitarySctrText
_TrdCmplncIsNuclearSctr _TrdCmplncIsNuclearSctr
_TrdCmplncIsNuclearSctrText _TrdCmplncIsNuclearSctrText
_TrdCmplncLicProductTP _TrdCmplncLicProductTP
_TrdCmplncLicControlClassTP _TrdCmplncLicControlClassTP
_TrdCmplncLicCtrlGroupingTP _TrdCmplncLicCtrlGroupingTP
_TrdCmplncLicCommodityCodeTP _TrdCmplncLicCommodityCodeTP
_TrdCmplncLicCountryTP _TrdCmplncLicCountryTP
_TrdCmplncLicDocumentTP _TrdCmplncLicDocumentTP
_TrdCmplncLicBusPartTP _TrdCmplncLicBusPartTP
_TrdCmplncLicCompanyCodeTP _TrdCmplncLicCompanyCodeTP
_TrdCmplncLicPlantTP _TrdCmplncLicPlantTP
_TrdCmplncLicTariffNumberTP _TrdCmplncLicTariffNumberTP

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_TrdCmplncLicenseTP.
-- 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: ITRDCMPLTP

CREATE VIEW I_TrdCmplncLicenseTP AS
SELECT
  TrdCmplncLicenseUUID,
  LegalRegulation,
  TrdCmplncLicenseType,
  TrdCmplncLicense,
  ExtTrdCmplncLicense,
  TrdCmplncDocLicIsAssgd,
  TrdCmplncLicenseOwner,
  TrdCmplncLicenseOwnerName,
  TrdCmplncLicenseStatus,
  TrdCmplncLicenseCategory,
  ValidityStartDate,
  ValidityEndDate,
  TrdCmplncLicenseRemark,
  TrdCmplncIsMilitarySctr,
  TrdCmplncIsNuclearSctr,
  TrdCmplncLicenseMaxAmount,
  TrdCmplncLicenseUsdAmount,
  TrdCmplncLicenseAvailAmount,
  TrdCmplncLicenseDeprCurrency,
  TrdCmplncLicenseAmtExcdPct,
  TrdCmplncLicenseMaxQuantity,
  TrdCmplncLicenseUsdQuantity,
  cast (( TrdCmplncLicenseMaxQuantity * (1 + division(TrdCmplncLicenseQtyExcdPct,100,4)) - TrdCmplncLicenseUsdQuantity) as /sapsll/avqua ) AS TrdCmplncLicenseAvailQuantity,
  TrdCmplncLicenseDeprUnit,
  TrdCmplncLicenseQtyExcdPct,
  CreatedByUser,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDateTime,
  TrdCmplncLicenseAmtAssgmtLvl,
  TrdCmplncLicenseQtyAssgmtLvl,
  TrdCmplncLicQtyUpdateBasis,
  TrdCmplncLicenseHasProduct,
  TrdCmplncLicenseHasCtrlCl,
  TrdCmplncLicenseHasCtrlGrpg,
  TrdCmplncLicenseHasCmmdtyCode,
  TrdCmplncLicenseHasCountry,
  TrdCmplncLicenseHasDocument,
  TrdCmplncLicenseHasBP,
  TrdCmplncLicenseHasCompanyCode,
  TrdCmplncLicenseHasPlant,
  TrdCmplncLicenseHasTariffNo
FROM I_TrdCmplncLicHeader
LEFT OUTER JOIN I_TrdCmplncLicProductTP AS _TrdCmplncLicProductTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicControlClassTP AS _TrdCmplncLicControlClassTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicCtrlGroupingTP AS _TrdCmplncLicCtrlGroupingTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicCommodityCodeTP AS _TrdCmplncLicCommodityCodeTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicCountryTP AS _TrdCmplncLicCountryTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicDocumentTP AS _TrdCmplncLicDocumentTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicBusPartTP AS _TrdCmplncLicBusPartTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicCompanyCodeTP AS _TrdCmplncLicCompanyCodeTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicPlantTP AS _TrdCmplncLicPlantTP ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN I_TrdCmplncLicTariffNumberTP AS _TrdCmplncLicTariffNumberTP ON /* condition not available in parsed metadata */  -- association [0..*]
;