P_CChmlCmplConstants
P_CChmlCmplConstants is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (ehfndv_dummy) and exposes 56 fields with key field Dummy.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| ehfndv_dummy | ehfndv_dummy | from |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCCCONST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Dummy | dummy | ||
| Constant0 | constant0 | |||
| Constant1 | constant1 | |||
| Constant2 | constant2 | |||
| Constant3 | constant3 | |||
| Constant4 | constant4 | |||
| ConstantEmptyRaw16 | constantemptyraw16 | |||
| ConstantHyphen | constanthyphen | |||
| ConstantRaw | constantraw | |||
| ConstantEmpty | constantempty | |||
| ConstantTrue | constanttrue | |||
| ConstantFalse | constantfalse | |||
| ConstantNotExisting | constantnotexisting | |||
| ConstantMixture | constantmixture | |||
| ConstantInProgress | constantinprogress | |||
| ConstantInitialVersion | constantinitialversion | |||
| ConstantReleased | constantreleased | |||
| ConstantCalculated | constantcalculated | |||
| ConstantOutdated | constantoutdated | |||
| ConstantMissing | constantmissing | |||
| ConstantCompStatForrelease | constantcompstatforrelease | |||
| ConstantCompStatNew | constantcompstatnew | |||
| Constant01 | constant01 | |||
| Constant02 | constant02 | |||
| Constant03 | constant03 | |||
| Constant04 | constant04 | |||
| ConstantNew | constantnew | |||
| ConstantActive | constantactive | |||
| ConstantUpdated | constantupdated | |||
| ConstantNone | constantnone | |||
| ConstantComplete | constantcomplete | |||
| ConstantInProcess | constantinprocess | |||
| ConstantCCI | constantcci | |||
| ConstantSUB | constantsub | |||
| ConstantCSM | constantcsm | |||
| ConstantCCMPS | constantccmps | |||
| ConstantCRR | constantcrr | |||
| ConstantCR | constantcr | |||
| ConstantCRV | constantcrv | |||
| ConstantPRP | constantprp | |||
| ConstantPCSRQ | constantpcsrq | |||
| ConstantEvtStsNew | constantevtstsnew | |||
| ConstantEvtStsInProgress | constantevtstsinprogress | |||
| ConstantEvtStsFatal | constantevtstsfatal | |||
| ConstantEvtStsError | constantevtstserror | |||
| ConstantEvtStsCompleted | constantevtstscompleted | |||
| ConstantChgStsNewComp | constantchgstsnewcomp | |||
| ConstantChgStsRemovdComp | constantchgstsremovdcomp | |||
| ConstantChgStsNewSub | constantchgstsnewsub | |||
| ConstantChgStsRemovdSub | constantchgstsremovdsub | |||
| ConstantChgStsDiffConc | constantchgstsdiffconc | |||
| ConstantChgStsDiffRole | constantchgstsdiffrole | |||
| ConstantLglDvnCatReplaced | constantlgldvncatreplaced | |||
| ConstantLglDvnCatUnchanged | constantlgldvncatunchanged | |||
| ConstantRawMaterialSemObj | constantrawmaterialsemobj | |||
| ConstantUnpackagedProdSemObj | constantunpackagedprodsemobj |
@AbapCatalog:
{
sqlViewName: 'PCCCCONST',
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #CONSUMPTION
@VDM.private: true
// Dummy constant selection to solve issues with case-statements with constants (not null-preserving)
define view P_CChmlCmplConstants
as select from ehfndv_dummy
{
key dummy as Dummy,
constant0 as Constant0,
constant1 as Constant1,
constant2 as Constant2,
constant3 as Constant3,
constant4 as Constant4,
constantemptyraw16 as ConstantEmptyRaw16,
constanthyphen as ConstantHyphen,
constantraw as ConstantRaw,
constantempty as ConstantEmpty,
constanttrue as ConstantTrue,
constantfalse as ConstantFalse,
constantnotexisting as ConstantNotExisting,
constantmixture as ConstantMixture,
constantinprogress as ConstantInProgress,
constantinitialversion as ConstantInitialVersion,
constantreleased as ConstantReleased,
constantcalculated as ConstantCalculated,
constantoutdated as ConstantOutdated,
constantmissing as ConstantMissing,
constantcompstatforrelease as ConstantCompStatForrelease,
constantcompstatnew as ConstantCompStatNew,
constant01 as Constant01,
constant02 as Constant02,
constant03 as Constant03,
constant04 as Constant04,
constantnew as ConstantNew,
constantactive as ConstantActive,
constantupdated as ConstantUpdated,
constantnone as ConstantNone,
constantcomplete as ConstantComplete,
constantinprocess as ConstantInProcess,
constantcci as ConstantCCI,
constantsub as ConstantSUB,
constantcsm as ConstantCSM,
constantccmps as ConstantCCMPS,
constantcrr as ConstantCRR,
constantcr as ConstantCR,
constantcrv as ConstantCRV,
constantprp as ConstantPRP,
constantpcsrq as ConstantPCSRQ,
constantevtstsnew as ConstantEvtStsNew,
constantevtstsinprogress as ConstantEvtStsInProgress,
constantevtstsfatal as ConstantEvtStsFatal,
constantevtstserror as ConstantEvtStsError,
constantevtstscompleted as ConstantEvtStsCompleted,
constantchgstsnewcomp as ConstantChgStsNewComp,
constantchgstsremovdcomp as ConstantChgStsRemovdComp,
constantchgstsnewsub as ConstantChgStsNewSub,
constantchgstsremovdsub as ConstantChgStsRemovdSub,
constantchgstsdiffconc as ConstantChgStsDiffConc,
constantchgstsdiffrole as ConstantChgStsDiffRole,
constantlgldvncatreplaced as ConstantLglDvnCatReplaced,
constantlgldvncatunchanged as ConstantLglDvnCatUnchanged,
constantrawmaterialsemobj as ConstantRawMaterialSemObj,
constantunpackagedprodsemobj as ConstantUnpackagedProdSemObj,
case
when constant0 = constant1
then constant0
end as ConstantNull
}
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