I_Usercatalogswithdraft

DDL: I_USERCATALOGSWITHDRAFT SQL: IUSERCATALOGSWD Type: view COMPOSITE

BO view for catalogs

I_Usercatalogswithdraft is a Composite CDS View that provides data about "BO view for catalogs" in SAP S/4HANA. It reads from 2 data sources (I_ProcmtEmployeeUserDetails, I_Usercatalogs) and exposes 21 fields with key fields Employee, PersonalizationID, BusinessObjectType, PurReqnSSPCatalog. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_ProcmtEmployeeUserDetails _Userdetail inner
I_Usercatalogs Catalog from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Userdefaultsettingitemwd _Userdefaultsettingitemwd _Userdefaultsettingitemwd.Employee = $projection.Employee and _Userdefaultsettingitemwd.PersonalizationID = $projection.PersonalizationID and _Userdefaultsettingitemwd.BusinessObjectType = $projection.BusinessObjectType
[1..1] I_UserdefaultSettingWd _UserdefaultSettingWd _UserdefaultSettingWd.Employee = $projection.Employee and _UserdefaultSettingWd.PersonalizationID = $projection.PersonalizationID
[1..1] I_Proccatalogcalldetails _Proccatalogcalldetails $projection.PurReqnSSPCatalog = _Proccatalogcalldetails.OpnCtlgWebServiceID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IUSERCATALOGSWD view
ClientDependent true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.writeEnabled true view
ObjectModel.writeDraftPersistence USERDEF_CAT_D view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label BO view for catalogs view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY Employee I_Usercatalogs Employee Object ID
KEY PersonalizationID I_Usercatalogs PersonalizationID UUID
KEY BusinessObjectType I_Usercatalogs BusinessObjectType Object Type
KEY PurReqnSSPCatalog I_Usercatalogs PurReqnSSPCatalog Web Service ID
PurReqnSSPCatalogForEdit
EmployeeForEdit
BusinessObjectTypeForEdit
IsBusinessPurposeCompleted I_Usercatalogs IsBusinessPurposeCompleted Purpose Completed
AuthorizationGroup I_Usercatalogs AuthorizationGroup AuthorizGroup
UserID I_Usercatalogs UserID User Name
CompanyCode I_Usercatalogs CompanyCode Receiver Company Code
DfltCtlgInOneProcmt I_Usercatalogs DfltCtlgInOneProcmt
OpnCtlgWebServiceName _Proccatalogcalldetails OpnCtlgWebServiceName Description
Person I_Usercatalogs Person Person/ Farm/ Field
FullName I_Usercatalogs FullName Name
PersonWorkAgrmtAuthznGrpg I_Usercatalogs PersonWorkAgrmtAuthznGrpg Org.key
_Userdefaultsettingitemwd _Userdefaultsettingitemwd
_UserdefaultSettingWd _UserdefaultSettingWd
_Userdetails _Userdetails
_BusinessPartner _BusinessPartner
_Proccatalogcalldetails _Proccatalogcalldetails

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_Usercatalogswithdraft.
-- 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: IUSERCATALOGSWD

CREATE VIEW I_Usercatalogswithdraft AS
SELECT
  Catalog.Employee AS Employee,
  Catalog.PersonalizationID AS PersonalizationID,
  Catalog.BusinessObjectType AS BusinessObjectType,
  Catalog.PurReqnSSPCatalog AS PurReqnSSPCatalog,
  cast('' as bbp_ws_service_id ) AS PurReqnSSPCatalogForEdit,
  cast('' as mmpur_d_emp_id) AS EmployeeForEdit,
  cast ('' as swo_objtyp ) AS BusinessObjectTypeForEdit,
  Catalog.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  Catalog.AuthorizationGroup AS AuthorizationGroup,
  Catalog.UserID AS UserID,
  Catalog.CompanyCode AS CompanyCode,
  Catalog.DfltCtlgInOneProcmt AS DfltCtlgInOneProcmt,
  _Proccatalogcalldetails.OpnCtlgWebServiceName AS OpnCtlgWebServiceName,
  Catalog.Person AS Person,
  Catalog.FullName AS FullName,
  Catalog.PersonWorkAgrmtAuthznGrpg AS PersonWorkAgrmtAuthznGrpg
FROM I_Usercatalogs AS Catalog
INNER JOIN I_ProcmtEmployeeUserDetails AS _Userdetail ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Userdefaultsettingitemwd AS _Userdefaultsettingitemwd ON _Userdefaultsettingitemwd.Employee = Employee AND _Userdefaultsettingitemwd.PersonalizationID = PersonalizationID AND _Userdefaultsettingitemwd.BusinessObjectType = BusinessObjectType  -- association [1..1]
LEFT OUTER JOIN I_UserdefaultSettingWd AS _UserdefaultSettingWd ON _UserdefaultSettingWd.Employee = Employee AND _UserdefaultSettingWd.PersonalizationID = PersonalizationID  -- association [1..1]
LEFT OUTER JOIN I_Proccatalogcalldetails AS _Proccatalogcalldetails ON PurReqnSSPCatalog = _Proccatalogcalldetails.OpnCtlgWebServiceID  -- association [1..1]
;