Skip to Content
Author's profile photo Suresh Honnappanavar

Different content for users in Action Lane in HR Renewal

In HR Renewal, Action Lane is offered as a part of HR Professional role or landing page. Action lane displays all actions available for HR Professionals. For more details please see this link in the section HR Renewal 1.0 SP14.

Content for the Action Lane comes from launchpad configured in the HRPAO_ACTIONS_LPD Personalization object Key in the PFCG role assigned for the user. If no launchpad name is in the  HRPAO_ACTIONS_LPD Personalization object Key then standard SAP delivered launchpad’s (Role: HRPAO instance: ACTIONS) content is displayed in the action lane.


If different users (based on customizing or other settings) should have different content in Action Lane, this can be achieved in two ways:

1. Using PFCG Roles :

If the requirement is to have different content in Action Lane for certain users.

     a. Create different Launchpad’s with required content

     b. Create different PFCG roles based on the scenario

     c. Assign the Launchpad to PFCG role

     d. Assign the PFCG role to the user

For example:

If Employee 1 should have Actions ACT1 and ACT2, and Employee 2 should have Actions ACT3 and ACT4, then:

     a. Create LPD_ROLE1 INSTANCE1 launchpad with 2 Actions ACT1 and ACT2.

         Create LPD_ROLE2 INSTANCE2 launchpad with 2 Actions ACT3 and ACT4.

     b. Create 2 PFCG Roles, like ROLE1 and ROLE2

     c. For ROLE1 PFCG role assign the LPD_ROLE1 INSTANCE1 launchpad in HRPAO_ACTIONS_LPD Personalization object Key.

         For ROLE2 PFCG role assign the LPD_ROLE2 INSTANCE2 launchpad in HRPAO_ACTIONS_LPD Personalization object Key.

     d. Assign PFCG role ROLE1 to Employee1

         Assign PFCG role ROLE2 to Employee2

By this approach when Employee1 access the Actions Lane then he can see only ACT1 and ACT2 actions, where as Employee2 can see only ACT3 and ACT4 actions.

For more information on how to create custom launchpad and assign to role, refer blog Creating and associating custom launchpad to Action Lane for HR Professional


2. Using Launchpad feeder class:

In View /UI2/LPD_FEEDERV, launchpad can be associated with a feeder class. In this class, you can write a logic to dynamically modify the content based on Customizing settings or some other conditions.

For example, in this view, if i have entered my launchpad (which is associated in my PFCG role) with feeder class CL_HRPAO_ACTIONS_LPD_FEEDER.

LPD4.jpg


Note: this feeder should have implemented interfaces:

IF_FPM_GUIBB

IF_FPM_GUIBB_LAUNCHPAD

In this feeder class IF_FPM_GUIBB_LAUNCHPAD~MODIFY method can be implemented to dynamically modify the content.

class.JPG

Using this approach we can dynamically modify the content which appear in the Actions Lane.

    


Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Suresh

         Our customer had ask a quesion :

           he want two action lane in the landing page :

                      one for  general action

                      one for special usage

         How to configure ?

      Br,

      Franklin

      Author's profile photo Suresh Honnappanavar
      Suresh Honnappanavar
      Blog Post Author

      Hi Franklin,

      This functionality is not available or achievable with few changes. Since there is only one personalization object key (maintained in the pfcg) which provides data to the lane, if we add the chip two times also but the data would be the same.

      There is another way, let me look into that first before we suggest to the customer.

      I will keep you updated about it once my testing is over.

      best regards,

      Suresh

      Author's profile photo Suresh Honnappanavar
      Suresh Honnappanavar
      Blog Post Author

      Hi Franklin,

      Its possible to achieve the required behavior using Launchpad reuse CHIP/Lane.

      I created a small blog regarding this CHIP.

      http://scn.sap.com/community/erp/hcm/blog/2014/01/13/adding-another-launchpad-based-chip-in-hr-renewal

      BR,

      Suresh

      Author's profile photo Former Member
      Former Member

      Hi, Suresh,

                That's Greate !

                Thanks.

      Br.

      Franklin

      Author's profile photo Li Wang
      Li Wang

      Helpful!