Connection of the Web Dynpro Applications to the Portal

Use

In addition to the standard SAP NetWeaver functions for connecting Web Dynpro applications to the Enterprise Portal, you can use application-specific functions to select data and make the application available.

Features

Making the Application Available in the Portal

You have the following options for making the application available to your managers and project leads in the Enterprise Portal:

  • You start the application by means of a work item in the universal worklist (UWL). A work item appears in the UWL for an approver only if at least one data record is pending approval. If there is only one data record for approval and it is deleted, the system automatically deletes the work item from the Universal Worklist (UWL).

    A maximum of one work item for each approver and workflow task appears in the UWL. When an approver executes a work item or accesses the application from a link in the Portal, the system selects all data records that the approver has to process. The collective approval view chosen by the approver does not affect the data that is selected.

    Note Note

    For more information, see Issuing Approvals in the Universal Worklist .

    End of the note.
  • You set a direct link to the application. In this case, you include one of the two Web Dynpro applications in the corresponding page of the manager’s or project portal.

Selecting Employees

The following Web Dynpro applications are available for the approval of working times:

  • CatManagerApprove ( Approval by Line Manager )

  • CatProjectApprove ( Approval by Project Lead )

Both applications provide exactly the same functions. The only difference is that they expect a different form of data selection.n.

Note Note

If you use SAP Business Workflow and always access the Web pplication using work items from the UWL, the differences in data selection do not matter. You can use both applications.

End of the note.

You specify the selection of data records in Customizing. You have the following options:

  • Data selection for the CatManagerApprove application ( Approval by Line Manager )

    You use this application if you want the line manager to approver his or her employees’ working times. You have to select the working times to be approved by means of the employees’ personnel numbers or Organizational Management. You can specify the selection in Customizing using Organizational Views, or the Selection IDs of the Time Manager’s Workplace. In addition, you can control the data selection by using the EDIT_SELECTION method ( Change Number of Records to be Approved ) in the HRCATS_APPR_CUST Business Add-In ( BAdIs for CATS Collective Approval ).

  • Data selection for the CatProjectApprove application ( Approval by Project Lead )

    You use this application if you want the project leads to approve the working times on the basis of the recorded working time attributes. You have to select the working times to be approved by means of the recorded working time attributes. There are appropriate procedures for selection available in the Project Self-Service Portal. In addition, you can control the data selection by using the EDIT_SELECTION method ( Change Number of Records to be Approved ) in the HRCATS_APPR_CUST Business Add-In ( BAdIs for CATS Collective Approval ).

    Note Note

    In the standard system, the Project Self-Service Portal supports data selection for project data recorded with cProjects. If you use SAP Project System (PS), you can adapt the model implementation of the EDIT_SELECTION method. For more information, see the method documentation.

    End of the note.
Authorizations

Approvers are not intended to approve all employees' working times or all activities. Therefore the following authorization checks are available for the approval of working times:

  • The standard authorization check for the approval of working times is performed using the authorization check for infotype 0328. To use the applications, these authorization checks must have been set up. For more information, see Assignment of Authorizations .

  • You set up the front-end functions and the authorizations for having working times approved by the supervisor using the Human Resources authorization objects, in particular P_ORGIN. For more information, see the Security Guide for Personnel Management and choose Authorizations .

  • If you want to run the authorization checks on the basis of the recorded working time attributes, there are no standard authorization objects for the approval in cProjects or Project System.

  • To refine the authorizations on an employee or project level, you can use the CHECK_AUTHORIZATION method ( Authorization Check for Selected Records ) of the HRCATS_APPR_CUST Business Add-In ( BAdIs for CATS Collective Approval ).

The authorization checks are run regardless of the Web Dynpro application and how it is accessed. The system checks users’ authorizations when they access the application.

See also:

For more information, see the Implementation Guide for the Cross-Application Time Sheet .