cancel
Showing results for 
Search instead for 
Did you mean: 

Customize MyInfo Lane in HR Renewal Landing page

former_member188019
Active Participant
0 Kudos

Hi all,

we are evaluating the HR renewal Landing page for employees for ESS/MSS.

Currently we are able to launch,

in the my info lane (highlighted above) we are not able to change the services or even change the order of the services.

is it not customizable.

we checked in spro, we checked the badi, HRESS_EMP_LANE_PROFILE_UI5, but only the text is customizable but not the boxes.

IF_HRESS_EMP_LANE_PROFILE_UI5~PROVIDE_INFO_LINE_ITEMSProvide Basic Info line items for Lane Profile

we checked in lpdcust,

ESSMYINFOEmployee Self-Service: My Info Lane

we changed here, but it did not reflect.

is there any way to change the sequence of Leave Request, Salary Statement boxes etc.

thanks,

Madhu_1980

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check the BSP Application: HRESS_MY_INFO_G , page:WebContent/myinfolane/MyInfoLane.view.js

Its designed in the above mentioned page. try changing it, hope it works.

Regards,

Jyothi

former_member188019
Active Participant
0 Kudos

thanks,

in the file: WebContent/myinfolane/MyInfoLane.view.js, i can see the the javascript code which shows the applications in following order:

"/sap/bc/ui5_ui5/sap/HRESS_MY_INFO_G/resources/images/leave.png",

"/sap/bc/ui5_ui5/sap/HRESS_MY_INFO_G/resources/images/payslip_new.png",

"/sap/bc/ui5_ui5/sap/HRESS_MY_INFO_G/resources/images/personal.png",

"/sap/bc/ui5_ui5/sap/HRESS_MY_INFO_G/resources/images/tree.png",

to change the sequence of blocks, it is not allowing to change the js file, as it is standard one.

like the way we enchance WDA applications, is there any easy way to enhance these parts of the BSP applications.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

this is not BSP rather based on SAPUI5 ie HTML5 Launchpad role ESS and Instance MYINFO can be used in LPD_CUST to change the ordering of the services. ie Employee Self-Service (SAPUI5)  Landing Page  My Information  configure launchpad Please ensure you clear the cache after changing the services in the role. are you changing the standard role itself? http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/ee/56bdcb87ba405c8f60728b4aba3fe0/content.htm

Former Member
0 Kudos

What if I am planning to add a new Block with my own Custom App Name. I tried that using that ESS MYINFO launchpad but it dint not worked.

I think we would need to make a code adjustment in the MYINFO lane UI5 aplication but not sure if we have to make a Z copy as we do in SAP or just change the standard.

If have done this , pls suggest .

Is there any other way via Feeder class.?

Answers (10)

Answers (10)

Former Member
0 Kudos

Hi,

I want to change the background image on landing page

I mean, My background image will be default

best Regards

Germy

ro9
Participant
0 Kudos

Hi Again!

You have to make sure that you have added the chip to your configuration. and make sure that the changes are saved ( by adding a transport to su01 ),

My config is like this:

As you can see - my changes are also shown in the Dev console.

Try to remove the old "my info" and also delete your cache completly from Chrome.

br Ronni

Former Member
0 Kudos

  This is the main issue, How to add the new chip to My info lane
  Could you explain how to display the new chip,


  Br

  Germi
  

Former Member
0 Kudos

PS: I tried to assign the z bsp application (zhress_my_info) in the standard chip,

but when i try to display the landing page the lane my info doesn't display anything.

ro9
Participant
0 Kudos

Hi Again!

Are you sure that you followed the right procedure regardring transports?

can you look in SE09 - and check that there are som entries in the two transports you have made?

and also verify that your user parameters are right?

Then you should be able to add the new Chip to your desired catalog.

Please show a screenshot of the SPB Administrator - when you have added your new chip.

br Ronni

Former Member
0 Kudos

Hi ,

Quick question: Do you know how can I translate the text of salary statement? this is the only one that it not translated.

Thanks

ro9
Participant
0 Kudos

Hi Marc!

I think you should be able to do it in SE63

By looking at the source code of the i18n file you can find the refrence for the coding - and use that in the file.

You can see more in this blog

br Ronni

Former Member
0 Kudos

Hi,

Thanks for the way to translate.

That's works fine for all of them except for the salary statement. It's like it was hard coded...

strange.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

this was fixed ?

in table /UI5/TREP_TEXT and changes the field PROP_TEXT_NAME from SALARY to SALARY_MANAGEMENT? does it exist in your system earlier it was hard coded and later it was changed as above. ie The PROP TEXT NAME field of the entry with the below shown Prop Text Guid in table /UI5/TREP_TEXT has to be changed from SALARY to SALARY_STATEMENT. After having done the change the server cache should be cleared. i18n_*.properties" file is the one for it

ro9
Participant
0 Kudos

Hmm.

It is not hardcoded.

When i look in the code - i can see the refrence:

Have you tried to check it during runtime? you can do so by looking in the dev.console -

here you can see the source. Normally i "filter" in i18n...... then it is easy to find - and i can see if my translations are active. Because if they are - they should be visible in the 18n file in the browser.

Altso try to clear the different caches and your browser cache.

br Ronni

Former Member
0 Kudos

Thanks you were right.

Strange because my system was upgraded 5 month ago.

Former Member
0 Kudos

Again thanks a lot for the precious tips.

My issue is fixed!

Former Member
0 Kudos

Hi,
Thank you for respond
I added a new chip to my catalog by SPB Administrator

I copied the standard bsp "HRESS_MY_INFO_G"  to Z BSP (ZHRESS_MY_INFO)

i didn't change anything in my bsp
I expected to see same lane,
but
actually i'm getting an emply lane


   Does anyone have an idea why this is happening?


   BR

     Germy

S0021332585
Explorer
0 Kudos

Hi GermI,

Did you already tried to syncronize the chip? Can you share what are the errors in browser console(if any errors are there) ?


BR

Luca

ro9
Participant
0 Kudos

Hi again!

Did you remember to upgrade your profile with the correct transports? ( SU01)

and did you remember to put in the scope?

sap/bc/ui5_ui5/sap/arsrvc_spb_admn/main.html?scope=CONF

Br

Ronni

Former Member
0 Kudos

Roni,

The problem is solved, The Suite Page Builder are working fine.

But I dont know how to change The bsp application HRESS_MY_INFO_G
to my bsp application "ZHRESS_MY_INFO"
I Create New chip with my new bsp application
(i've attached screenshot)


   But I can I am using my new chip?

ro9
Participant
0 Kudos

Hi Again!

If you made a copy of the standard chip ( bsp application )

you have to change the code in your z version.

also you might have to change som refrences.

did you edit your chip.xml file in your z project?

br Ronni

Former Member
0 Kudos

Hi,

I've attached my chip.xml

   But i changed in ZHRESS_MY_INFO all the refrences to my new bsp application
  

   but there is no change, i changed the color of css an i excpected to seee the modications,
   but it display the old bsp application

   Br Germi

Former Member
0 Kudos

Hi Ronni,

I created new chip, what is the next step?

Where I assign the chip for displaying the new my info lane?

Regards

Germi

ro9
Participant
0 Kudos

There are some caches that might need to be emptied.

try to run:

/ui2/inval_caches

then you should be able to see it in the suite page builder administrator - where you can add it to your role.

br

Ronni

ro9
Participant
0 Kudos

try to remove your old chip from the page.

then try to clear your cache in your browser.

if you have done all the above right - you should be able to see your new chip.

also you can look in the developer console ( F12 ) and see if the sources loaded are from your "new" chip.

br

Ronni

Former Member
0 Kudos

Hi,

Thank you for response
How to apply suite page builder administrator?

br

Germi

ro9
Participant
0 Kudos

Please read some of the many blogs regardring this.

and help.sap.com:

https://help.sap.com/saphelp_uiaddon10/helpdata/en/bf/69de830b09406caad91de8cdcaa349/content.htm?fra...

Br

Ronni

S0021332585
Explorer
0 Kudos

Try running all these reports.

/UI2/INVALIDATE_GLOBAL_CACHES

/UI2/INVALIDATE_CLIENT_CACHES

/UI2/DELETE_CACHE

/UI2/DELETE_CACHE_AFTER_IMP

Regards

Luca

Former Member
0 Kudos

Hi,

I am using the url "http://<server>:<port>/sap/bc/ui5_ui5/sap/arsrvc_spb_admn/main.html

but I get error message

br

Germi

Former Member
0 Kudos

Hi Experts,

I copied BSP application HRESS_MY_INFO_G to Z_HRESS_MY_INFO_G

But I don't understand how to display the Z lane MyNnfo (the new one)

in the landing page
I tried to change in the chip name HRESS_MYINFO the url with Z BSP app

but it doesn't work

could you tell me please step by step  what can i do to display my bsp application

Regards

Yossi

ro9
Participant
0 Kudos

Hi!

You have to make a new chip...

this is done in transaction /ui2/chip

br

Ronni

S0021332585
Explorer
0 Kudos

Hi Yossi,

when a new chip is done, run the program /UI2/CHIP_SYNCHRONIZE_CACHE.

Regards

Luca

Former Member
0 Kudos

Hi,

I did it
but I  am still using in the old chip
how can i replace the old chip with my chip ?

Regards

Germi

shwetaganti
Participant
0 Kudos

can we make a z copy of ESS instance MY INFO

Former Member
0 Kudos

The instance would not help to make any modifications the My INFO Lane . The Launchpad MYINFO and the Lane modifications are tighly coupled and not possible through the modifications in ESS-MYINFO.

ro9
Participant
0 Kudos

Hi again!

Thanks for your reply!
So i guess the only way to do this - is to make a new chip - as a z copy of the existing one?

Can you point me in the direction - of how and where you did this?

br

Ronni 

S0021332585
Explorer
0 Kudos

There's no way to do this through the launchpad modification because the code to genrerate a new tiles into MYINFO Lane was striclty harcoded in the BSP UI5 Application.

The only right way is to crate a Z* copy  of HRESS_MY_INFO_G doing some modifications under the Page Fragments "WebContent/myinfolane/MyInfoLane.view.js".


For Example if we need to remove the "SALARY STATEMENT" tile from MYINFO Lane, we should comment or remove this part of code:



var paySlipTile = new sap.ui.commons.layout.VerticalLayout({

           tooltip : oBundleText.getText("SALARY_STATEMENT")

         });

         var paySlipIcon = new sap.ui.commons.Image(

             {

               src : "/sap/bc/ui5_ui5/sap/HRESS_MY_INFO_G/resources/images/payslip_new.png",

               tooltip : oBundleText.getText("SALARY_STATEMENT")

             });

         paySlipIcon.addStyleClass("hress_my_info_g_paySlipIcon");

         var paySlipText = new sap.ui.commons.Label({

           text : oBundleText.getText("SALARY_STATEMENT"),

           tooltip : oBundleText.getText("SALARY_STATEMENT")

         });

         paySlipText.addStyleClass('hress_my_info_g_rightTileLabel');

         paySlipTile.addContent(paySlipIcon);

         paySlipTile.addContent(paySlipText);

         paySlipTile.addStyleClass("hress_my_info_g_rightTile");

         paySlipTile

         .attachBrowserEvent(

             "click",

             function() {

               lang = jQuery.sap.getUriParameters().get('sap-ui-language');

               if(lang == undefined || lang == null){

                 lang = jQuery.sap.getUriParameters().get('sap-language');

                 if(lang != undefined || lang != null){

                   lang = 'sap-language='+lang;

                 }

               }else if (lang != null && lang != undefined){

                 lang='sap-ui-language='+lang;

               }

               rtl = jQuery.sap.getUriParameters().get('sap-ui-rtl');

               if(rtl != undefined && rtl!= null){

                 rtl='&sap-ui-rtl='+rtl;

               }               

               mode = jQuery.sap.getUriParameters().get('sap-accessibility');

               if(mode != undefined){

                 mode='&sap-accessibility='+mode;

               }

               var oModel = new sap.ui.model.odata.ODataModel(

                   "/sap/opu/odata/UI2/LAUNCHPAD/", false);

               oModel.read("ResolveAlias?role='ESS'&instance='MYINFO'&applicationAlias='PAYSLIP'&businessParams=''&shellType=''", null,                 

                   null, false, function(data) {

                 if (data != null) {                       

                   if(lang != undefined && rtl != undefined) {

                     if(mode != undefined){

                       var url_params = '?businessParams='+encodeURIComponent(lang+mode+rtl);

                       var newRplId = "sap-lpd:"+data.linkId+url_params;

                      

                     }else{

                       var url_params = '?businessParams='+encodeURIComponent(lang+rtl);

                       var newRplId = "sap-lpd:"+data.linkId+url_params;

                     }

                   }else if(lang == undefined && rtl == undefined){

                     if(mode == undefined){

                       var newRplId = "sap-lpd:"+data.linkId;                   

                     }

                     var newRplId = "sap-lpd:"+data.linkId;

                    

                   }else if(lang != undefined){

                     var url_params = '?businessParams='+encodeURIComponent(lang);

                     var newRplId = "sap-lpd:"+data.linkId+url_params;

                    

                   }else if(mode != undefined){

                     var url_params = '?businessParams='+encodeURIComponent(mode);

                     RplId = Searchlinks[j].href+url_params;

                    

                   }                 

                   sap.ui2.shell

                   .getNavigationHandle()

                   .navigateToUrl(newRplId);                     

                 }

               },function(){

               }); 

             });

         topTiles.addContent(leaveRequestTile);

         topTiles.addContent(paySlipTile);

The same action can be done to remove the others tiles not required.

How to do a Z* copy for HRESS_MY_INFO_G

  1. Donwload the BSP Application using a standard report /UI5/UI5_REPOSITORY_LOAD
  2. Create a new UI5 Application project on Ecplise
  3. Import the project downloaded into workspace
  4. Changing the code as per your requirements
  5. Upload the Z* UI5 Application using the same standard report
  6. Create a new Z* CHIP using T-Code /n/UI2/CHIP
  7. Checking if the new CHIPS was added in the CHIPs Catalog
  8. Add a new CHIP  catalog (i.e. ZMYINFO) under the specific PFCG Role
  9. Now in the landing page you should able to add and display a new ZMYINFO Lane in the Landing Page.

How to create a new lanes and How to configure CHIP’s



  1. Create a new OData Model and related services should be activated
  2. Create a new UI5 Application in your Eclipse workspace and then upload your (Z*) Application to SAP creating a new BSP Application. (For copy the standard to custom you need before to download the BSP Application in your Eclipse workspace using the Report /UI5/UI5_REPOSITORY_LOAD)
  3. Create a new CHIP.xml file in your application folder binding your initial view

    

   4. Create a new CHIP related to this UI5 Application using T-Code /UI2/CHIP

       

      

   5. Check if you find the new chip created in your CHIPs Catalog Page

   

      

   6. Add the new chip to your catalog previously created or add the folder catalog in PFCG roles and        associate the CHIPS.

   7. After that you should able to display in toggle setting the new CHIP that can be add to landing          page

        

         

Regards

Luca

Former Member
0 Kudos

Hi Gurus ,

I want to Add Guided Procedures to ESS, when I am searching the ESS standard menu in LPD_CUST , Guided procedures or life work events are not there. I copied Work Events .

but still it's not reflecting int the portal . please check the below 2 screen shots

I want to add the standard below services

https://help.sap.com/saphelp_erp60_sp/helpdata/en/00/43d642dfa9f340e10000000a1550b0/content.htm
5

ro9
Participant
0 Kudos

Hi Luca!

Thanks alot - thats all i needed, and very helpfull!

Br

Ronni

Former Member
0 Kudos

Excellent Sir ...thank you

former_member254542
Discoverer
0 Kudos

Thank you for confirming this.  I was really hoping there was another answer.  We've made the Z copy but are worried about maintaining the changes through upgrades and service patches.  We think we'll just have to keep track of when the standard changes and copy the changes to our customized Z copy.

ro9
Participant
0 Kudos

Hi!

Did any of you guys ever suceed in hiding / chaning the My Information Lane?

Bg

Ronni

Former Member
0 Kudos

Yes , I did . We added and changed the code , new blocks and Chips .

Former Member
0 Kudos

Hi All

We have requirement to hide SALARY REQUEST and ORGANIZATION CHART from MYONFO Lane. Do we have any config to do so

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

yes in role you can check in lpdcust, ESS MYINFO Employee Self-Service: My Info Lane

Former Member
0 Kudos

We cannot hide the Links and Front CHIP icons frm MYINFO LPD.

This is code change for the MYINFO lane. I did tried to make changes in LPD but thta does not get reflected .

Former Member
0 Kudos

Were you able to customize this ..I have similar kind of requirement.

S0021332585
Explorer
0 Kudos

Hi,

you should be able to do this in two differents way:

  1. changing the related link into Launchpad menu

       Role: ESS

       Instance: MYINFO

  2. adding a new Launchpad feeader class into view /UI2/LPD_FEEDERV handling your custom link application into the JSON output

In my case I followed the first option, I changed the Launchapad and I configured the SAP Fiori PaySlip as Application link.

Regards,

Luca

P.S. Look at in attachment a fake example.

Former Member
0 Kudos

Hello Luca,

I understand that on the first option , All you can do is change the Application link and open the other application from there .

What if I am planning to adda new Block with my own Custom App Name. I tried that using that ESS MYINFO launchpad but it dit not worked.

I think we would need to make a code adjustment in the MYINFO lane UI5 aplication but not sure if we have to make a Z copy as we do in SAP or just change the standard.

If have done this , pls suggest .

Second Option I did not understood ,f thatwoudl help me to add my own custom chip block in the lane below ( lets say Payslip or lEave request. )

Suggestions pls

brandy6600066
Participant
0 Kudos

Hi!

You included the Fiori Payslip in HR Renewal. But how? I mean, do you have Fiori Apps installed on the same system as HR Renewal?

We do not have that. Own system for Fiori and own system for HR Renewal (= HR System).

How to tell HR Renewal to start the Fiori application on another SAP system?

I tried out with SAP Gateway and System Alias, but it didn't work.

Would you please give me a hint.

Kr,

Gregor Brandstätter

S0021332585
Explorer
0 Kudos

Hi Gregor,

the Fiori Payslip is a custom UI5 Application that was built like the standard.

As you can see in my previous screenshot, is not embedded into the landing page but an external browser page is displayed.

I added my custom UI5 link just modifying the LPD_CUST related to MyInfo Lane.

You can do the same with the standard Fiori Payslip link wherever it is installed, but in the case that Fiori is not installed in the same system where you are installed the HR Renewal you need configure the SSO ADFS avoiding the credential pop-up.


Keep in mind that as prerequisite Fiori Addons installed on HR System or Gateway is required.


Regards

Luca

brandy6600066
Participant
0 Kudos

Hi!

First off all thanks for your answer.

Would you please tell me what you mean with SSO ADFS. SSO I think stands for Singe Sign On - but what do you mean with ADFS?

Regarding to your keep in min: on the target system the Fiori Addons are installed and can be used. I want to include the functionality in HR Renewal which runs on our HR system.

Thank you!

Kr,

Gregor

S0021332585
Explorer
0 Kudos

Hi Gregor,

Active Directory Federation Services (ADFS) is a technology that extends your Active Directory configuration to services outside of your infrastructure.

But I don't know if it is used in your landscape architecture.


Nevertheless, you can include the functionality, but it's not a solution fully integrated with HR Renewal.

You are just setting in the LPD_CUST the Fiori link application installed to another system. This is a good workaround if you don't have both component installed in the same machine.

BUT, just to avoiding to get a credential popup every time that fiori application is calling, you should have the system connected in SSO. The same user should exist in both system.

Regards

Luca