I_ProcmtUsrDfltReqngGrpsAPI01

DDL: I_PROCMTUSRDFLTREQNGGRPSAPI01 SQL: IUDREQGRPAPI01 Type: view COMPOSITE

Default Reqng Grps for Users in Procmt

I_ProcmtUsrDfltReqngGrpsAPI01 (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

I_ProcmtUsrDfltReqngGrpsAPI01 is a Composite CDS View that provides data about "Default Reqng Grps for Users in Procmt" in SAP S/4HANA. It reads from 1 data source (I_UserRequisitioningGroups) and exposes 21 fields with key fields UserID, PersonalizationID, BusinessObjectType, RequisitioningGroup. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Purchase Requisitions
Data CategoryComposite
StatusReleased
Purpose
This CDS view helps you retrieve the default requisitioning groups for users in procurement. This CDS view provides the prerequisites for answering the following business questions: What are the default requisitioning groups assigned to a particular employee? Which employees have a certain requisitioning group assigned to them by default? Which employees have no default requisitioning group assigned?

Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above.

Structure
Object types This view relates to the following SAP object types: Purchase Requisition Main parameters and filters of the CDS view The main parameters and filters are as follows: Employee ID Requisitioning Group ID Measures and attributes Some important measures and attributes are: Employee ID Requisitioning Group ID

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-REQ
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view helps you retrieve the default requisitioning groups for users in procurement.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>What are the default requisitioning groups assigned to a particular employee?</p></li> <li><p>Which employees have a certain requisitioning group assigned to them by default?</p></li> <li><p>Which employees have no default requisitioning group assigned?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_UserRequisitioningGroups I_UserRequisitioningGroups from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BusinessUser _Employee $projection.UserID = _Employee.UserID
[1..1] I_BusinessUserBasic _Employee1 $projection.UserID = _Employee1.UserID

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IUDREQGRPAPI01 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Default Reqng Grps for Users in Procmt view
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MASTER view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #REQUIRED view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY UserID I_UserRequisitioningGroups Employee Employee ID
KEY PersonalizationID PersonalizationID Personalization ID
KEY BusinessObjectType BusinessObjectType Object Type
KEY RequisitioningGroup RequisitioningGroup Requisitioning Group ID
Employee _Employee BPIdentificationNumber Identification Number
AuthorizationGroup _Employee AuthorizationGroup Authorization Group
IsBusinessPurposeCompleted _Employee IsBusinessPurposeCompleted Business Purpose Completed Flag
DataControllerSet _Employee DataControllerSet BP: Data Controller Set Flag
DataController1 _Employee DataController1 BP: Data Controller (Internal Use Only)
DataController2 _Employee DataController2 BP: Data Controller (Internal Use Only)
DataController3 _Employee DataController3 BP: Data Controller (Internal Use Only)
DataController4 _Employee DataController4 BP: Data Controller (Internal Use Only)
DataController5 _Employee DataController5 BP: Data Controller (Internal Use Only)
DataController6 _Employee DataController6 BP: Data Controller (Internal Use Only)
DataController7 _Employee DataController7 BP: Data Controller (Internal Use Only)
DataController8 _Employee DataController8 BP: Data Controller (Internal Use Only)
DataController9 _Employee DataController9 BP: Data Controller (Internal Use Only)
DataController10 _Employee DataController10 BP: Data Controller (Internal Use Only)
BusinessPartner _Employee BusinessPartner Business Partner Number
_Employee _Employee
_Employee1 _Employee1

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_ProcmtUsrDfltReqngGrpsAPI01.
-- 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: IUDREQGRPAPI01

CREATE VIEW I_ProcmtUsrDfltReqngGrpsAPI01 AS
SELECT
  I_UserRequisitioningGroups.Employee AS UserID,
  PersonalizationID,
  BusinessObjectType,
  RequisitioningGroup,
  _Employee.BPIdentificationNumber AS Employee,
  _Employee.AuthorizationGroup AS AuthorizationGroup,
  _Employee.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _Employee.DataControllerSet AS DataControllerSet,
  _Employee.DataController1 AS DataController1,
  _Employee.DataController2 AS DataController2,
  _Employee.DataController3 AS DataController3,
  _Employee.DataController4 AS DataController4,
  _Employee.DataController5 AS DataController5,
  _Employee.DataController6 AS DataController6,
  _Employee.DataController7 AS DataController7,
  _Employee.DataController8 AS DataController8,
  _Employee.DataController9 AS DataController9,
  _Employee.DataController10 AS DataController10,
  _Employee.BusinessPartner AS BusinessPartner
FROM I_UserRequisitioningGroups
LEFT OUTER JOIN I_BusinessUser AS _Employee ON UserID = _Employee.UserID  -- association [1..1]
LEFT OUTER JOIN I_BusinessUserBasic AS _Employee1 ON UserID = _Employee1.UserID  -- association [1..1]
;