on 01-11-2012 1:01 PM
Hi experts,
I would like to differ my code for ITS-Mobile and SAP Gui.
So, if a transaction is called via SAP Gui it should have another logic like ITS mobile.
So I would like to implement an if statement like "if sapgui is not initial....
But my problem is, that I don't know, how to find out, is a program called via GUI or via ITS.
There is no flag in SYST-Structure.
Is there a FM, which gives me back, where from a transaction is called?
Thx
Hi Christian,
You can access transactions of SAPgui ABAP by Web.
You can configure the Transaction calling at Service in SICF Transaction.
You put the Parameter at GUI Options of the Service:
~transaction = SE38
When you access this service it will enter directly in Transaction SE38 by WEB.
Anyway you can configure in this service parameters options like screen format and customized login screen and other.
Regards
Maikel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maikel,
but I don't want to go the SE38.
What I want, is to call (for example) a transaction called ZTEST and in this program I would like implement an IF-Statement which says for example:
if lv_sapgui is not initial.
lv_result = 1+ 1.
else.
lv_result = 1+2.
endif.
So if the transaction is called via sapgui the result should be 2 and if the transaction is called via ITS Mobile the result should be 3.
But my problem is, that I don't get a flag or anything like this, which shows, is the TA called via SAPGui or via ITSMobile.
Rember: above this is only an example:
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.