cancel
Showing results for 
Search instead for 
Did you mean: 

Get information on right Business Object and screen to Enhance in Business ByDesign

Former Member
0 Kudos

Hi All,

I want to enhance a screen in Project Management with a couple of fields. Therefore, what I need is to find out the correct business Object and then correct screen that I have to enhance. From where can I get this information? I am currently on 1711 Business ByDesign version and 1711 Cloud Application Studio version.

My requirement is to enhance the Basic Data section with a few fields (This is under Maintain Project --> Project Plan. When you click on an element in Gantt Chart, you will find details of the element on the Basic Data section below).

The above mentioned is a specific scenario. In general, I would really like to know how one can find the correct screen which needs to be enhanced because using debugMode = true, we cannot even open certain screens (eg. the Gantt Chart UI screen in the above case).

Any help / information will be appreciated.

Thanks & Best Regards,

Nakul Saxena

Accepted Solutions (1)

Accepted Solutions (1)

dominik_g
Participant

Hello Nakul,

every URL that you access in ByD or C4C contains a direct path to the screen. The URL contains an encoded base64 string which you can encode. Just use a website like https://www.base64decode.org/

Assume that you have opened the Workcenter for Account management and opened an Account.

The URL in your web browser will be simillar like this one

https://myxxxxxx.sapbydesign.com/sap/public/ap/ui/repository/SAP_UI/HTMLOBERON5/client.html?client_t....

If you decode the base64 string after, "_type=html#n=" you will get the following result:

{"inPort":"CustomerRootFulleditOrgIn","target":"/SAP_BYD_APPLICATION_UI/crm/acm/accountorgoifeco.OIF.uicomponent", ........ "viewId":"/SAP_BYD_APPLICATION_UI/mdm/bpm/AccountManagement_Accounts_WCView.WCVIEW.uiwocview","isNavNode":false,"navNodeText":""}}

Same thing for C4C systems, decode the base64 string after /Nav/1/ and you will get something like this:

https://myxxxxxx.crm.ondemand.com/sap/ap/ui/clogin?saml2=disabled≈p.component=/SAP_UI_CT/Main/root.u....
"target":"/BYD_COD/SalesOnDemand/Account/UI/COD_Account_WCV.WCVIEW.uiwocview" .....}

Hope this helps.

Former Member
0 Kudos

Hi Dominik,

Thank you for your help. This certainly helps to find UI and Object information.

Best Regards,

Nakul

acasolla2
Discoverer
0 Kudos

Hello Dominik,

Thx for your answer, i found it very useful.

I have a similare use case, i create EMailCollections via odata api, and then with the UUID i open the tab on the created object, this thanks to your script ( i create the json, and then encode it in Base64 ).

Unfortunately i cannot find any documentation on this technic on SAP, do you know if is fully supported ? Or this is just an "hack" ?

dominik_g
Participant

Hi Alessandro,

From my experience this is still working for nearly all screens in ByDesign and C4C. Most of the screen URL are encoded this way, so it's expected system behaviour 😉. I am not aware of any official documentation from SAP out there.

Regards

Dominik

former_member226
Employee
Employee

Hi All,

For the C4C system, you can also use browser developer tool and get the information without any URL decoding or hack. You can open any UI screen and right-click anywhere and choose "Inspect". In the elements tab at the bottom you will find complete UI information like UI path, work center, browser used, end to end time taken etc etc as shown:

inpect-ui.png

Answers (2)

Answers (2)

former_member183363
Active Contributor

Nakul,

A good way of doing it is finding the corresponding BO, adding a field to it in the SDK using an XBO, and open up the screens in the UI designer. If a section's available to enhance there, then it's available to enhance in the front end too --- if not, then you're out of luck. A lot of screen sections simply can't have extension fields added to them, it's as simple as that. If you're looking to simply read information, then that's a more promising prospect.

Lewis

Former Member
0 Kudos

Hi Lewis,

I do agree with you. This is the process I have been trying to follow as well, just that it ends up being very much hit and trial and hence takes much more time. But at least this is a good way to know if a screen is available to enhance or not.

Thanks once again for your reply. It certainly helps.

Best Regards,

Nakul

former_member226
Employee
Employee
0 Kudos

Hi All,

For the C4C system, you can also use browser developer tool and get the information without any URL decoding or hack. You can open any UI screen and right-click anywhere and choose "Inspect". In the elements tab at the bottom you will find complete UI information like UI path, work center, browser used, end to end time taken etc etc as shown:

inpect-ui.png

ui-information.png