cancel
Showing results for 
Search instead for 
Did you mean: 

MyTeam Fiori Application: how navigation to on-behalf-of new application is defined?

dreyes
Discoverer
0 Kudos

In MyTeam fiori application, we're trying to add a custom on-behalf application using method GET_ONBEHALF_ACTIONS from BADI HCMFAB_B_MYTEAM

How is defined the navigation to this new application?

This is the code included at the end of the method:

APPEND INITIAL LINE TO et_onbehalf_actions ASSIGNING <ls_onbehalftask>.
<ls_onbehalftask>-employee_number = iv_employee_number.
<ls_onbehalftask>-application_category = gc_application_category-OTHERS.
<ls_onbehalftask>-application_id = 'MyOwnApp'.

Any help should be appreciated

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi all,

I'm currently also working on the myteam app using the sap standard cross application navigation.

Selecting an entry of the onbehalf-menu for an employee in myteam app, generally the cross application navigation is working, meaning the app is called and the parameters are forwarded by the URL, but the destination application is not using this information.

URL: ...#TimeEntry-change?OnBehalfEmployeeNumber=70010047&RequesterNumber=10000212

Do I have s.th. forgotten? Do I have to customize s.th. at the destination application? Till now all is SAP Standard, but not working as expected.

If I call the destination app directly form the launchpad (not using the myteam app) and use the onbehalf Button to select an employee everything is working fine.

Thx in advance for your support.

Best regards,

Andre

jgonzalezgo2dxc
Discoverer
0 Kudos
We have the same issue, navigation onbehalf does nothing but navigate, and using onbehalf functionality in destination app works correctly
TheGokke
Active Participant
0 Kudos

You'll have to extend the app:

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F4941')/S19OP

dreyes
Discoverer
0 Kudos

Thank you very much Andy,

we're looking for routing inside BADI, to avoid extending Fiori app but we've found that navigation to standard apps is already hardcoded into controller so, we also think the solution is to extend app.controller.js as you point out.

Best regard

TheGokke
Active Participant
0 Kudos

In the badi will never be an option since the Fiori app has to respond to the routing and it's custom so it doesn't make sense to foresee for example UI routing in the backend system. It doesn't make a lot of sense there

dreyes
Discoverer
0 Kudos

We're trying to use application ID (it's in the BADI) in combination with LPD_CUST to define the target application (or semantic object and action).

TheGokke
Active Participant
0 Kudos

please stop using lpd_cust. It's obsolete and much more work than the new semantic object navigation (no customizing required). I also had an issue where the common library could not be loaded because the tile still used lpd_cust