P_ProccatalogcallstructWD
Union for I_Proccatalogcallstruct
P_ProccatalogcallstructWD is a Composite CDS View that provides data about "Union for I_Proccatalogcallstruct" in SAP S/4HANA. It reads from 4 data sources (I_Proccatalogcallstruct, proccatcallstr_d, proccatcallstr_d, I_DraftAdministrativeData) and exposes 14 fields with key fields OpnCtlgSqncCntrDraftUUID, ActiveOpnCtlgSqncCntr, ActiveOpnCtlgWebServiceID. Part of development package VDM_MM_PUR_CATALOG.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| I_Proccatalogcallstruct | ActiveDocument | from |
| proccatcallstr_d | DraftDocument | left_outer |
| proccatcallstr_d | DraftDocument | union_all |
| I_DraftAdministrativeData | I_DraftAdministrativeData | inner |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PPROCCATCAL001WD | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | OpnCtlgSqncCntrDraftUUID | |||
| KEY | ActiveOpnCtlgSqncCntr | I_Proccatalogcallstruct | OpnCtlgSqncCntr | |
| KEY | ActiveOpnCtlgWebServiceID | I_Proccatalogcallstruct | OpnCtlgWebServiceID | |
| OpnCtlgWebServiceDraftUUID | ||||
| OpnCtlgSqncCntr | I_Proccatalogcallstruct | OpnCtlgSqncCntr | ||
| OpnCtlgParamName | I_Proccatalogcallstruct | OpnCtlgParamName | ||
| OpnCtlgParamVal | I_Proccatalogcallstruct | OpnCtlgParamVal | ||
| OpnCtlgValType | I_Proccatalogcallstruct | OpnCtlgValType | ||
| DraftAdministrativeDataUUID | proccatcallstr_d | opnctlgwebservicedraftuuid | ||
| IsActiveEntity | ||||
| HasActiveEntity | ||||
| DraftAdministrativeDataUUID | proccatcallstr_d | opnctlgwebservicedraftuuid | ||
| IsActiveEntity | ||||
| HasDraftEntity |
@AbapCatalog.sqlViewName: 'PPROCCATCAL001WD'
@VDM.private: true
@VDM.viewType: #COMPOSITE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@ObjectModel.usageType.dataClass: #CUSTOMIZING
define view P_ProccatalogcallstructWD
as select from I_Proccatalogcallstruct as ActiveDocument
left outer join proccatcallstr_d as DraftDocument on DraftDocument.activeopnctlgwebserviceid = ActiveDocument.OpnCtlgWebServiceID
and DraftDocument.activeopnctlgsqnccntr = ActiveDocument.OpnCtlgSqncCntr
{
key cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) as OpnCtlgSqncCntrDraftUUID,
key ActiveDocument.OpnCtlgSqncCntr as ActiveOpnCtlgSqncCntr,
key ActiveDocument.OpnCtlgWebServiceID as ActiveOpnCtlgWebServiceID,
cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) as OpnCtlgWebServiceDraftUUID,
ActiveDocument.OpnCtlgSqncCntr,
ActiveDocument.OpnCtlgParamName,
ActiveDocument.OpnCtlgParamVal,
ActiveDocument.OpnCtlgValType,
DraftDocument.opnctlgwebservicedraftuuid as DraftAdministrativeDataUUID,
cast( 'X' as sdraft_is_active preserving type ) as IsActiveEntity,
cast( ' ' as sdraft_has_active preserving type ) as HasActiveEntity,
cast(
case
when DraftDocument.opnctlgsqnccntrdraftuuid is null then ' '
else 'X'
end as sdraft_has_draft preserving type ) as HasDraftEntity
}
union all select from proccatcallstr_d as DraftDocument
inner join I_DraftAdministrativeData as I_DraftAdministrativeData on I_DraftAdministrativeData.DraftUUID = DraftDocument.opnctlgwebservicedraftuuid
{
key DraftDocument.opnctlgsqnccntrdraftuuid,
key DraftDocument.activeopnctlgsqnccntr,
key DraftDocument.activeopnctlgwebserviceid,
DraftDocument.opnctlgwebservicedraftuuid,
DraftDocument.opnctlgsqnccntr,
DraftDocument.opnctlgparamname,
DraftDocument.opnctlgparamval,
DraftDocument.opnctlgvaltype,
DraftDocument.opnctlgwebservicedraftuuid as DraftAdministrativeDataUUID,
cast( ' ' as sdraft_is_active preserving type ) as IsActiveEntity,
DraftDocument.hasactiveentity,
cast( ' ' as sdraft_has_draft preserving type ) as HasDraftEntity
}
where
I_DraftAdministrativeData.CreatedByUser = $session.user
or I_DraftAdministrativeData.InProcessByUser = $session.user
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