cancel
Showing results for 
Search instead for 
Did you mean: 

How to use free style UI code in Managed RAP scenario

former_member790239
Discoverer
0 Kudos

Hello Experts,

I have a requirement where I need to implement custom UI code in a service which is using RAP Managed implementation with UI annotations. Let me explain the scenario.
In my application I have a customizing table for which all the entries must be recorded in a transport request(Customizing TR) during save.
So, during save I would like to give an option to user for selecting transport request number. For this i need to open a dialog(sap.m.Dialog) when user clicks on save button. Can you please suggest me how to do this one. Regards,

Nikhil

former_member30
Community Manager
Community Manager

Hi and welcome to the SAP Community!

Thank you for visiting SAP Community to get answers to your questions. Since you're asking a question here for the first time, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question by selecting Actions, then Edit (although once someone answers your question, you'll lose the ability to edit the question -- but if that happens, you can leave more details in a comment).

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS. By personalizing your profile with a photo of you, you encourage readers to respond.

Cheers,

Julia
SAP Community Moderator

Accepted Solutions (0)

Answers (1)

Answers (1)

maheshpalavalli
Active Contributor
0 Kudos

You can try writing your code in the controller extension, specifically the method "beforeSaveExtension"

link

you can check the example for beforeRebind by vishnu.pankajakshan

https://blogs.sap.com/2019/03/03/fiori-element-breakoutsextensions-and-few-gimmicks-part-1/