cancel
Showing results for 
Search instead for 
Did you mean: 

How can we use Slipstream on HCP Launchpad.

0 Kudos

Hi Experts,

First let me give you a brief scenario of issue.
We are using Screen Persona flavors on HCP launchpad by creating app of type ''SAP GUI" . Now our requirement is to use Barcode Scanner in some flavor. To achieve this i referred below document and blog

https://wiki.scn.sap.com/wiki/display/Img/Scripting%3A+Building+flavors+with+Barcode+scanning+functi...

https://blogs.sap.com/2018/03/23/build-a-barcode-scanner-flavor-with-sap-screen-personas/


Now issue is that when i am trying to open launchpad url within Fiori Client App, Slipstream service is not getting called for flavors and so scanner is not opening.

And we can't use slipstream service backend url as we are accessing launchpad externally.

Please suggest how can i achieve barcode scanner functionality in this scenario?

Regards
Devesh

Accepted Solutions (0)

Answers (4)

Answers (4)

smith_john
Active Participant

This is totally possible... We have it working (with help from our friends at SAP 😉 )

The App needs to look like this in the SCP

Obviously you call called your Sematic Object and Action anythign you like ... The app names sekv1 is basically and app that lets us tunnel through SCP to our backend system.

Also don't forget you'll need to setup the mandatory URL parameters ~transaction & sap-personas-flavor

0 Kudos

Hi Neil,

i tried the app with configuration suggested by you but it didn't work for me.
Does it require SAP_UI component to work properly?

Thanks,
devesh

0 Kudos

Hi Tamas/Cris,

As i mentioned, We are accessing persona dashboard (SMEN transaction) on FLP by creating app of type 'SAP GUI ' in Fiori configuration cockpit and created tile for same app on FLP.(shown below).


But when trying to access tile from launchpad it is calling ...its/webgui sicf services by default and opens smen transaction. So in this scenario slipstream services is not getting called. so scanner is also not working.

We can't use backend URL of slipstream service in fiori configuration cockpit to create app of type 'URL ' because in our business scenario we need to access Launchpad externally (outside VPN) so this backend service URL will not be accessible directly.

So our issue is that we are not able to use slipstream service on fiori client app within external network.
Could you please suggest if there is any way if we can use barcode scanner in this scenario.


Regards
Devesh

deborah_chen2
Explorer
0 Kudos

Hi We have the exactly problem. Barcode scan function doesn't work when we run Fiori Launchpad outside our network. It will be appreciated if anyone knows the answer.

Deborah

cris_hansen
Advisor
Advisor
0 Kudos

Hi Devesh,

Please give us the complete scenario, so we can assist you.

You can also raise a support ticket to address the question.

Kind regards,

Cris

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

We had a similar issue at a customer recently, but there was a difference.

You say that when trying to open the flavor via the Fiori Client and using the Launchpad, SE is not called. The customer's problem was that while the flavor opened OK using Slipstream, the scanner functionality did not work. Standalone (with direct link to the Slipstream flavor), everything was fine including scanning, but when the same flavor was called from FLP in the Fiori Client, scanning did not work - everything else did.

Is this your scenario too, or even calling the flavor from FLP via Slipstream is not working?

Also, are you using kernel release 753?

0 Kudos

Hi Tamas,

Now, I can access slipstream SE service on FLP and can also open slipstream flavor but can't able to use barcode scanner functionality. It is somewhat similar situation as you mentioned.
We are using Kernel release 722.
Could you please suggest what could be issue. Is there anything related to kernel release?
It would be very helpful for us if we can get a quick response from you.

Thanks and Regards
Devesh

0 Kudos

Devesh,

Are you using the Fiori Client for iOS or for Android? If you are using it for Android, the you have a trailing comma as in the code below? If so, then this may be the issue.

jQuery.sap.require("sap.ndc.BarcodeScanner");
sap.ndc.BarcodeScanner.scan(
function(mResult) {
session.utils.put("scanvalue", mResult.text);
session.utils.executeScriptAsync("");
},
function(Error) {
alert("Scanning failed: " + Error);
},
);

-Daniel

0 Kudos

Hello Daniel,


i have already removed trailing comma and tried this on both android and ios fiori client but getting pop up (as shown in image). It is not launching camera. We also upgraded personas from sp06 to sp07 but it didn't work. This issue has become critical for us. Could you please suggest some solution

Regards
Devesh

Mathys
Explorer
0 Kudos
Hi Tamas,

"You say that when trying to open the flavor via the Fiori Client and using the Launchpad, SE is not called. The customer's problem was that while the flavor opened OK using Slipstream, the scanner functionality did not work. Standalone (with direct link to the Slipstream flavor), everything was fine including scanning, but when the same flavor was called from FLP in the Fiori Client, scanning did not work - everything else did."

We have this exact problem. Calling the SlipStream flavour in the Fiori Client straight from ECC scans fine, but calling the SlipStream flavour via FLP through Gateway, only opens the SlipStream flavour and the scanning functionality does not trigger.

Were you able to solve this problem for your client?

Thanks

Thys

tamas_hoznek
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thys et al,

The situation sounds like a consequence of a Fiori Launchpad setup using URL integration that leverages an iframe. This will break Cordova features such as barcode scanning. You need to use the SAPUI5 type integration for this to work.

Consider our Fiori Launchpad Guide for Slipstream Engine to configure your FLP. This is one of the topics addressed in the FAQ section.