Skip to Content
0
Dec 03, 2021 at 10:25 AM

OBN navigation form employee.bo to custom BO

194 Views Last edit 5 days ago 2 rev

Hello all,

I am trying to extend the Employee.bo to add more data that is needed for some specific calculations like payrols etc.

Employee.bo is different than other standard objects I have experimented with, and I guess its because it is in Foundation deployment unit.

My first try was to add a tab with embeded component in the ViewSwitchNavigation but that is not possible here like it is with most other standard business obejcts, the option is just not displayed like with other objects.

So I decided to create a custom BO that would act as a custom extension object for the standard Employee object and an OBN button/link from the Employee to my custom BO.

Again I have issues trying to connect instances of my custom BO with the standard BO because I dont have any parameters to select when creating the OBN on the standard screens of Employee.bo.

What I did was to follow this blog : https://blogs.sap.com/2017/11/02/step-by-step-to-create-obn-button-which-navigates-from-standard-ui-to-custom-ui/

this video: https://www.youtube.com/watch?v=bhjPsXnGWNw

and a couple more community questions, but the issue that bothers me is that when I go to extensibility explorer and add an OBN button there are no parameters to select

obn-configuration1.png

Here I select my operation to edit from the standard .PTP that was generated automaticaly in cloud applciation studio.

After that I try to bind parameters but no data fields are offered for selection, and this is where I am stuck. I am trying to get employee UUID, or employee ID to my custom BO and then fire an event handler that would read the instance of my custom object that I need for editing additional data

obn-configfuration2.png

Why can I only select ROOT here ? And is there any way to make it work with root ?

I understand that Foundation objects behave differently, but if there is a limitation for them that I cant add embeded components or OBN buttons, what are some other options to fulfill this requirement ?

Thanks,

Josip

Attachments