on ‎2020 Dec 08 3:31 PM
I know nothing about Fiori so maybe the title of this thread is nonsense, but I hope my question will clarify.
I am ABAP developer and I have developed some classic transactions with dynpros.
Now some consultants are creating fiori apps on top of my transactions (I have no idea how).
It works in something they call Fiori launch pad. So far so good.
Now they want me to make a change in the the business logic, but these changes should not work if the transactions are called via SAPgui.
Can I in ABAP determine if a transaction is called from SAPGui or Fiori?
Request clarification before answering.
You can create a Fiori Launchpad tile for tcode as described here
https://blogs.sap.com/2016/12/21/open-your-sap-gui-transaction-in-fiori-launchpad/
So in that case you will get your tcode in Launchpad. There are some limitations but mostly it would work as expected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just found that I need to correct the info I have given. The Apps in the Fiori Launchpad is not running WEBgui, but something called Slipstream, so I guess the answer from Kevin Bates is more accurate - the transactions are somehow "Fiorized" by Screen Personas Slipstream.
I have performed first test and can see that SY-CPROG is not the answer. With transaction LM05 started from Fiori Launchpad, the value is exactly the same as when started from SAPgui. (RLMOB001).
Next test was the function module GUI_IS_AVAILABLE. This also is not the answer. GUI_IS_AVAILABLE returns true in both Fiori Lanchpad and SAPgui scenario.
Further more my tests shows that the problem is not just with the special RF transaction LM*.
With all Slipstream Fiorized SAP standard transactions it is very easy to break out of the transaction and return to the SAP standard main menu instead of the Fiori Launchpad. In fact this will happen if I just leave the APP in peace and wait
So I wonder - is this just what we must expect from from a Slipstream setup or can we do better?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for god suggestions. 🙂
I will do some tests and come back with results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It sounds like they may be using SAP Personas to "Fiorize" Web Dynpro/GUI apps. I doubt if there is a way to monitor if the request came through Personas or Web GUI though. You can look at Personas here https://community.sap.com/topics/screen-personas.
Regards,
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.