I_PersWrkAgrmtSrchHelp

DDL: I_PERSWRKAGRMTSRCHHELP SQL: IPERSWKAGRMTSHLP Type: view COMPOSITE Package: VDM_SHCM_EMPLOYEE_V2

Search Help for WorkAgreements

I_PersWrkAgrmtSrchHelp (Composite)

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

Human Resources

I_PersWrkAgrmtSrchHelp is a Composite CDS View that provides data about "Search Help for WorkAgreements" in SAP S/4HANA. It reads from 3 data sources (I_PersonWorkAgrmtOrglDetails, I_PersonWorkAgrmtStatus, I_WorkforcePerson) and exposes 31 fields with key field PersonWorkAgreement. It is exposed through 18 OData services (ASQL_F2827, ASQL_F2828, ASQL_F3065, ...). It is used in 1 Fiori application: Perform Maintenance Jobs. Part of development package VDM_SHCM_EMPLOYEE_V2.

SAP Help Documentation

CategoryCDS Views for Human Resources
Purpose
This view provides value help for Personnel Number . This view should be used for value help purposes only. This CDS view provides the data to answer the following business question: Which work agreement is associated with the workforce person? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations To use this CDS view, the following business catalogs need to be assigned to a user: BEGRU_BUPA_GRP (Authorization Group for Business Partners) B_BUP_DCPD (Business Partner Processing)

Structure
Important Fields Important fields in this view include the following: Field Name Description PersonWorkAgreement Personnel number FirstName First Name of Business Partner LastName Last Name of Business Partner FamilyName Family Name PersonExternalID Identification Number UserID User ID CompanyCode Company Code CompanyCodeName Name of Company Code or Company CostCenter Cost Center CostCenterName Cost Center Name Job Key Job JobName Job Title OrganizationalUnitName Organizational Unit Name PersonWorkAgrmtAuthznGrpg Organizational Key AuthorizationGroup Authorization Group

Related Information
The following fields are created in the CDS view in accordance with BP data controller adoption: DataControllerSet, DataController1, DataController2, DataController3, DataController4, DataController5, DataController6, DataController7, DataController8, DataController9, DataController10. Note These fields may be visible in the interface of the CDS view. However, they are meant only for internal-SAP consumption and must not be consumed externally for any purposes. For more information about BP data controller authorization, refer to Assign Data Controller .

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessHuman Resources
Application ComponentCA-WFD
CapabilitiesData Provider for Value Help,Data Source for Search
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageHuman Resources for SAP S/4HANA Cloud Public Edition
Description <p>This view provides value help for Personnel Number.</p> <p>This view should be used for value help purposes only.</p> <p>This CDS view provides the data to answer the following business question:</p> <ul> <li> <p>Which work agreement is associated with the workforce person?</p> </li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (3)

SourceAliasJoin Type
I_PersonWorkAgrmtOrglDetails a inner
I_PersonWorkAgrmtStatus b inner
I_WorkforcePerson c inner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IPERSWKAGRMTSHLP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Search Help for WorkAgreements view
VDM.viewType #COMPOSITE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.dataClass #MASTER view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Search.searchable true view
Consumption.ranked true view
ObjectModel.dataCategory #VALUE_HELP view
Metadata.ignorePropagatedAnnotations true view

OData Services (18)

ServiceBindingVersionContractRelease
ASQL_F2827 ASQL_F2827 C2 NOT_RELEASED
ASQL_F2828 ASQL_F2828 C2 NOT_RELEASED
ASQL_F3065 ASQL_F3065 C2 NOT_RELEASED
ASQL_F3326 ASQL_F3326 C2 NOT_RELEASED
ASQL_F3423 ASQL_F3423 C2 NOT_RELEASED
ASQL_F3888 ASQL_F3888 C2 NOT_RELEASED
ASQL_F4072 ASQL_F4072 C2 NOT_RELEASED
ASQL_F4513 ASQL_F4513 C2 NOT_RELEASED
ASQL_F4577 ASQL_F4577 C2 NOT_RELEASED
ASQL_F4766 ASQL_F4766 C2 NOT_RELEASED
ASQL_F5105 ASQL_F5105 C2 NOT_RELEASED
ASQL_F6178 ASQL_F6178 C2 NOT_RELEASED
ASQL_F8725 ASQL_F8725 C2 NOT_RELEASED
ASQL_F8755 ASQL_F8755 C2 NOT_RELEASED
ASQL_F8756 ASQL_F8756 C2 NOT_RELEASED
ASQL_F8757 ASQL_F8757 C2 NOT_RELEASED
ASQL_F8764 ASQL_F8764 C2 NOT_RELEASED
UI_MAINTENANCEJOB_MANAGE UI_MAINTENANCEJOB_MANAGE V2 C1 NOT_RELEASED

Fiori Apps (1)

App IDApp NameTypeDescription
F5104A Perform Maintenance Jobs Transactional Perform Maintenance Jobs app will help Maintenance Technician to see the list with all work items assigned to the him/her or to his/her team, several features like Assignment of an operation, Time recording for the Operations, create partial or final confirmations and the ability to display and change the malfunction information are possible with the app. The maintenance technician can post and return the planned components and can also record the measurement document.

Perform Maintenance Jobs

Business Role: Maintenance Technician

Technician records actual work, remaining work, confirmation text, and final confirmation for self as well as for team members working on the job.

Fields (31)

KeyFieldSource TableSource FieldDescription
KEY PersonWorkAgreement employment PersonWorkAgreement Personnel Number
Person ID of Related Object
LastName I_WorkforcePerson LastName Last Name of Business Partner (Person)
FamilyName Search Help Field 1 (Name 1/Last Name)
FirstName I_WorkforcePerson FirstName First Name of Business Partner (Person)
GivenName Search Help Field 2 (Name 2/First Name)
PersonExternalID I_WorkforcePerson PersonExternalID Identification Number
UserID d UserID User Name
PersonFullName I_WorkforcePerson PersonFullName Full Name
CompanyCode I_PersonWorkAgrmtOrglDetails CompanyCode Receiver Company Code
CompanyCodeName Name of Company Code or Company
CostCenter I_PersonWorkAgrmtOrglDetails CostCenter Cost Center
CostCenterName Cost Center Name
Job I_PersonWorkAgrmtOrglDetails Job Job Key
JobName Job Title
OrganizationalUnitName Organizational Unit Name
PersonWorkAgrmtAuthznGrpg I_PersonWorkAgrmtOrglDetails PersonWorkAgrmtAuthznGrpg Organizational Key
AuthorizationGroup Authorization Group
IsBusinessPurposeCompleted I_WorkforcePerson IsBusinessPurposeCompleted Business Purpose Completed Flag
DataControllerSet I_WorkforcePerson DataControllerSet BP: Data Controller Set Flag
DataController1 I_WorkforcePerson DataController1 BP: Data Controller (Internal Use Only)
DataController2 I_WorkforcePerson DataController2 BP: Data Controller (Internal Use Only)
DataController3 I_WorkforcePerson DataController3 BP: Data Controller (Internal Use Only)
DataController4 I_WorkforcePerson DataController4 BP: Data Controller (Internal Use Only)
DataController5 I_WorkforcePerson DataController5 BP: Data Controller (Internal Use Only)
DataController6 I_WorkforcePerson DataController6 BP: Data Controller (Internal Use Only)
DataController7 I_WorkforcePerson DataController7 BP: Data Controller (Internal Use Only)
DataController8 I_WorkforcePerson DataController8 BP: Data Controller (Internal Use Only)
DataController9 I_WorkforcePerson DataController9 BP: Data Controller (Internal Use Only)
DataController10 I_WorkforcePerson DataController10 BP: Data Controller (Internal Use Only)
BusinessPartner I_WorkforcePerson Person Business Partner Number

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_PersWrkAgrmtSrchHelp.
-- 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: IPERSWKAGRMTSHLP

CREATE VIEW I_PersWrkAgrmtSrchHelp AS
SELECT
  employment.PersonWorkAgreement AS PersonWorkAgreement,
  cast( employment.Person as sobid ) AS Person,
  c.LastName AS LastName,
  c._BusinessPartner.BPLastNameSearchHelp AS FamilyName,
  c.FirstName AS FirstName,
  c._BusinessPartner.BPFirstNameSearchHelp AS GivenName,
  c.PersonExternalID AS PersonExternalID,
  d.UserID AS UserID,
  c.PersonFullName AS PersonFullName,
  a.CompanyCode AS CompanyCode,
  a._CompanyCode.CompanyCodeName AS CompanyCodeName,
  a.CostCenter AS CostCenter,
  a._CostCenter._Text[1: Language = $session.system_language ].CostCenterName AS CostCenterName,
  a.Job AS Job,
  a._PersonWorkAgrmtJobText[1:Language = $session.system_language].JobName AS JobName,
  a._OrganizationalUnitText[1:Language = $session.system_language].OrganizationalUnitName AS OrganizationalUnitName,
  a.PersonWorkAgrmtAuthznGrpg AS PersonWorkAgrmtAuthznGrpg,
  c. AuthorizationGroup AS AuthorizationGroup,
  c.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  c.DataControllerSet AS DataControllerSet,
  c.DataController1 AS DataController1,
  c.DataController2 AS DataController2,
  c.DataController3 AS DataController3,
  c.DataController4 AS DataController4,
  c.DataController5 AS DataController5,
  c.DataController6 AS DataController6,
  c.DataController7 AS DataController7,
  c.DataController8 AS DataController8,
  c.DataController9 AS DataController9,
  c.DataController10 AS DataController10,
  c.Person AS BusinessPartner
INNER JOIN I_PersonWorkAgrmtOrglDetails AS a ON /* join condition not captured in parsed metadata */
INNER JOIN I_PersonWorkAgrmtStatus AS b ON /* join condition not captured in parsed metadata */
INNER JOIN I_WorkforcePerson AS c ON /* join condition not captured in parsed metadata */
;