cancel
Showing results for 
Search instead for 
Did you mean: 

Can you start Fiori launchpad from ABAP? How?

0 Kudos

Hello,

We deliver an add-on where we want to launch our own Fiori screens from ABAP. Is it possible and if so could you point me in the right direction since I'm new to Fiori?

Thanks,

Steve

Accepted Solutions (0)

Answers (4)

Answers (4)

LutzR
Active Contributor
0 Kudos

Hi Steve, I am not shure if I correctly understood your requirements. But perhaps launching a Fiori app in a GUI HTML control would be a solution. This would theoretically allow data exchange between Browser and GUI-World. Some SAP transactions are built like this but typically incorporate WebDynpro or BSP nowadays. One well known example ist the WebDynpro View Designer in SE80.

Trying this with a Fiori app would be an interesting excercise.

regards,

Lutz

LeonardoGomez
Advisor
Advisor
0 Kudos

Hello Steve,

I agree with Masa in that Fiori won't help you in what you intend to do, for various reasons. For example, there is not such thing as "Fiori screens" but Fiori apps. In Fiori, screens are called views, but they are components of a single Fiori app.

You can use that method to launch a Fiori app but what you are doing is opening a browser with a specific url, which in fact could be anything. Once you launch the browser you won't be able to access the same session running on the GUI, so you won't be able to interact. Fiori apps only access data via oData services, so data in that ABAP program is inaccessible. Besides, if you launch the Fiori Launchpad the user can navigate to any app from there, not just an specific view. So the user can work with GUI or Fiori but never with both at the same time.

If you want to use Fiori, just to get started with the new SAP UX, you have to abandon SAP transactions. Build a custom app and oData services. But if you will stick with GUI, then forget about Fiori, the only thing you will be able to do is to display an HTML view with rather "Fiori-like visual design".

Kind regards,

Leonardo.

Former Member
0 Kudos

Hi Steve,

Please go through the below link and setup the role and assign to your user.  Once you login to GUI, you can then launch SAP Fiori Launchpad through transaction /UI2/FLP.

Assign Role with Launchpad Start Authorization to End Users - SAP Fiori for SAP Business Suite - SAP...

Regards,

Ganga

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Steve,

What is the first tool that end users to log on?

SAPGUI or SAP Business Client or Enterprise Portal or SAPGUI for HTMLor Fiori launchpad on ABAP or Fiori launchpad on HCP or Fiori Client on mobile device?

Regards,

Masa / SAP Technology RIG

0 Kudos

Hello Masa,

We are looking to launch our Fiori screens from Fiori on-premise or cloud platform. Yesterday I figured I can start the launchpad by using the following- this kicks off the launchpad but I just want to display a Firoi screen that our product will develop. My other concern is if I use the following code how do I send data between ABAP and the screen.

Thanks for the assistance.

Steve

call method cl_gui_frontend_services=>execute

  exporting

    document = 'https://<system>:<port>/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=<client>'

  exceptions

    others = 1.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Steve,

Could you share the business use case? I do not get why it should be opened from ABAP program.

Regards,

Masa / SAP Technology RIG

0 Kudos

Sure - our product provides address standardization and validation capabilities. We currently get called through the SAP Business Address Services (BAS) interface that we implement. When we get called we provide suggestions to the user to validate their address...say they mis-spell a street name (i.e. Mein st) we will provide street names related to what they entered for them to select from. Once they have a valid address we return control to the calling component (MDG, CRM, ERP, ...) with the updated/validated address data.

To keep the same flow we would like to keep the same interface and create/display our own Firoi screens since we have the logic of what type of screen and associated fields (city, street, house number, apt number, PO Box...) need to be displayed.

I agree most the time things are driven from the GUI.

Regards,

Steve

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Steve,

I think it is better calling API from original screen. I think opening another screen does not fit in the Fiori design guideline. https://experience.sap.com/fiori-design-web/

We can learn from available solution like UPS. Address Validation API: UPS

Regards,

Masa / SAP Technology RIG