I_ProdMktCmplRqRsltText
Text associations for CmplRq for Products
I_ProdMktCmplRqRsltText is a Composite CDS View that provides data about "Text associations for CmplRq for Products" in SAP S/4HANA. It reads from 1 data source (I_CmplRqRslt) and exposes 34 fields with key fields ChmlCmplncInfoUUID, CmplRqRsltUUID, CmplRqVersUUID, ChmlCmplncMatlAssgmtUUID, CmplRqRsltExmpAssgmtUUID. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmplRqRslt | CmplRqRslt | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_ChmlCmplncMatlAssgmt | _ChmlCmplncMatlAssgmt | $projection.ChmlCmplncInfoUUID = _ChmlCmplncMatlAssgmt.ChmlCmplncInfoUUID |
| [0..1] | I_BusinessUserBasic | _ProcessorUser | $projection.Processor = _ProcessorUser.BusinessPartner |
| [0..1] | I_BusinessUserBasic | _ReleasedByUser | $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner |
| [0..*] | I_CmplRqRsltExemption | _CmplRqRsltExemption | $projection.CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPRODMKTCRRTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Text associations for CmplRq for Products | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChmlCmplncInfoUUID | I_CmplRqRslt | ChmlCmplncInfoUUID | |
| KEY | CmplRqRsltUUID | I_CmplRqRslt | CmplRqRsltUUID | |
| KEY | CmplRqVersUUID | I_CmplRqRslt | CmplRqVersUUID | |
| KEY | ChmlCmplncMatlAssgmtUUID | _ChmlCmplncMatlAssgmt | ChmlCmplncMatlAssgmtUUID | |
| KEY | CmplRqRsltExmpAssgmtUUID | _CmplRqRsltExemption | CmplRqRsltExmpAssgmtUUID | |
| ChmlSuplrMatlUUID | I_CmplRqRslt | ChmlSuplrMatlUUID | ||
| SubstanceUUID | I_CmplRqRslt | SubstanceUUID | ||
| Product | ||||
| ChmlCmplncInfoType | ||||
| MaterialIsSold | ||||
| MaterialIsTransported | ||||
| MaterialIsSourced | ||||
| MaterialIsProduced | ||||
| Material | _ChmlCmplncPrimMatl | Material | ||
| ProdStewardshipRespUnit | ||||
| ChmlCmplncInfoCombinedName | _ChmlCmplncPrimMatl | ChmlCmplncInfoCombinedName | ||
| ChmlCmplncProdIsResearched | ||||
| CmplRqRsltProcessingStatus | I_CmplRqRslt | CmplRqRsltProcessingStatus | ||
| ComplianceRequirement | I_CmplRqRslt | ComplianceRequirement | ||
| ReleasedByUser | I_CmplRqRslt | ReleasedByUser | ||
| Processor | I_CmplRqRslt | Processor | ||
| _ProcessorUser | _ProcessorUser | |||
| _ReleasedByUser | _ReleasedByUser | |||
| _ProductGroup | ||||
| _ProductType | ||||
| _Division | ||||
| _RespUnitForProductStewardship | ||||
| ValidityStartDateTime | ValidityStartDateTime | |||
| ValidityEndDateTime | ValidityEndDateTime | |||
| ProductGroup | ||||
| ProductType | ||||
| IndustrySector | ||||
| Division | ||||
| CmplRqVersExemption | _CmplRqRsltExemption | CmplRqVersExemption |
@AbapCatalog.sqlViewName: 'IPRODMKTCRRTEXT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #NOT_REQUIRED
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Text associations for CmplRq for Products'
@ObjectModel.usageType:{ serviceQuality: #D, // < 500 msec
sizeCategory: #XL, // < 100.000.000
dataClass: #MIXED }
define view I_ProdMktCmplRqRsltText
as select from I_CmplRqRslt as CmplRqRslt
join C_ChmlCmplncPrimMatl as _ChmlCmplncPrimMatl on CmplRqRslt.ChmlCmplncInfoUUID = _ChmlCmplncPrimMatl.ChmlCmplncInfoUUID
association [1..*] to I_ChmlCmplncMatlAssgmt as _ChmlCmplncMatlAssgmt on $projection.ChmlCmplncInfoUUID = _ChmlCmplncMatlAssgmt.ChmlCmplncInfoUUID
association [0..1] to I_BusinessUserBasic as _ProcessorUser on $projection.Processor = _ProcessorUser.BusinessPartner
association [0..1] to I_BusinessUserBasic as _ReleasedByUser on $projection.ReleasedByUser = _ReleasedByUser.BusinessPartner
association [0..*] to I_CmplRqRsltExemption as _CmplRqRsltExemption on $projection.CmplRqRsltUUID = _CmplRqRsltExemption.CmplRqRsltUUID
{
key CmplRqRslt.ChmlCmplncInfoUUID,
key CmplRqRslt.CmplRqRsltUUID,
key CmplRqRslt.CmplRqVersUUID,
key _ChmlCmplncMatlAssgmt.ChmlCmplncMatlAssgmtUUID,
key _CmplRqRsltExemption.CmplRqRsltExmpAssgmtUUID,
CmplRqRslt.ChmlSuplrMatlUUID,
CmplRqRslt.SubstanceUUID,
_ChmlCmplncMatlAssgmt._Product.Product,
_ChmlCmplncPrimMatl._ChmlCmplncInfo.ChmlCmplncInfoType,
_ChmlCmplncPrimMatl._ChmlCmplncInfo.MaterialIsSold,
_ChmlCmplncPrimMatl._ChmlCmplncInfo.MaterialIsTransported,
_ChmlCmplncPrimMatl._ChmlCmplncInfo.MaterialIsSourced,
_ChmlCmplncPrimMatl._ChmlCmplncInfo.MaterialIsProduced,
_ChmlCmplncPrimMatl.Material,
_ChmlCmplncPrimMatl._ChmlCmplncInfo.ProdStewardshipRespUnit,
_ChmlCmplncPrimMatl.ChmlCmplncInfoCombinedName,
cast(_ChmlCmplncPrimMatl._ChmlCmplncInfo.ChmlCmplncProdIsResearched as char1) as ChmlCmplncProdIsResearched,
//Processing Status
CmplRqRslt.CmplRqRsltProcessingStatus,
cast(
case
when ( CmplRqRslt.CmplRqRsltProcessingStatus = 'RE' or CmplRqRslt.CmplRqRsltProcessingStatus = 'OD' )
then CmplRqRslt.CmplRqRsltReldCmplncSts
when CmplRqRslt.CmplRqRsltProcessingStatus = 'IP' and CmplRqRslt.CmplRqRsltManualStatus <> '03'
then CmplRqRslt.CmplRqRsltManualStatus
when CmplRqRslt.CmplRqRsltProcessingStatus = 'IP' and CmplRqRslt.CmplRqRsltCalculatedStatus is not null and CmplRqRslt.CmplRqRsltCalculatedStatus <> ''
then CmplRqRslt.CmplRqRsltCalculatedStatus
else '03' end as ehpma_crr_mkt_stat_nd preserving type
) as CmplRqRsltReldCmplncSts,
CmplRqRslt.ComplianceRequirement,
CmplRqRslt.ReleasedByUser,
CmplRqRslt.Processor,
_ProcessorUser,
_ReleasedByUser,
_ChmlCmplncMatlAssgmt._Product._ProductGroup,
_ChmlCmplncMatlAssgmt._Product._ProductType,
_ChmlCmplncMatlAssgmt._Product._Division,
_ChmlCmplncPrimMatl._ChmlCmplncInfo._RespUnitForProductStewardship,
ValidityStartDateTime,
ValidityEndDateTime,
_ChmlCmplncMatlAssgmt._Product.ProductGroup,
_ChmlCmplncMatlAssgmt._Product.ProductType,
_ChmlCmplncMatlAssgmt._Product.IndustrySector,
_ChmlCmplncMatlAssgmt._Product.Division,
_CmplRqRsltExemption.CmplRqVersExemption as CmplRqVersExemption
}
where
(
CmplRqRslt.CmplRqRsltProcessingStatus = 'IP'
or CmplRqRslt.CmplRqRsltProcessingStatus = 'RE'
or CmplRqRslt.CmplRqRsltProcessingStatus = 'OD'
)
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"C_CHMLCMPLNCPRIMMATL",
"I_CHMLCMPLNCINFO",
"I_CHMLCMPLNCMATLASSGMT",
"I_CMPLRQRSLT",
"I_CMPLRQRSLTEXEMPTION",
"I_PRODUCT"
],
"ASSOCIATED":
[
"I_BUSINESSUSERBASIC",
"I_CHMLCMPLNCMATLASSGMT",
"I_CMPLRQRSLTEXEMPTION",
"I_DIVISION",
"I_PRODUCTGROUP",
"I_PRODUCTTYPE",
"I_RESPONSIBLEUNIT"
],
"BASE":
[
"I_CHMLCMPLNCINFO",
"I_PRODUCT"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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