How to determine SAP GUI Logon type during runtime?

Hello All,
I have a requirement to detect the SAP GUI Logon type (GUI for Windows vs. GUI for Java) during the execution of a program.
Is this possible?
Perhaps it would be easier to detect the type of machine; PC vs. Mac ?
Any help would be appreciated.
Thanks in advance,
AK

I found how to do it.
  DATA: lv_platform TYPE i.
  lv_platform = cl_gui_frontend_services=>get_platform( ).
  CASE lv_platform.
when cl_gui_frontend_services=>platform_unknown.      write:/ 'UNKNOWN'.
  when cl_gui_frontend_services=>platform_windows95. write:/ 'WINDOWS95'.
  when cl_gui_frontend_services=>platform_windows98. write:/ 'WINDOWS98'.
  when cl_gui_frontend_services=>platform_nt351.           write:/ 'NT351'.
  when cl_gui_frontend_services=>platform_nt40.             write:/ 'NT40'.
  when cl_gui_frontend_services=>platform_nt50.             write:/ 'NT50'.
  when cl_gui_frontend_services=>platform_mac.              write:/ 'MAC'.
  when cl_gui_frontend_services=>platform_os2.              write:/ 'OS2'.
  when cl_gui_frontend_services=>platform_linux.             write:/ 'LINUX'.
  when cl_gui_frontend_services=>platform_hpux.            write:/ 'HP UNIX'.
when cl_gui_frontend_services=>platform_tru64.             write:/ 'TRUS64'.
  when cl_gui_frontend_services=>platform_aix.                write:/ 'AIX'.
  when cl_gui_frontend_services=>platform_solaris.          write:/ 'SOLARIS'.
  when cl_gui_frontend_services=>platform_windowsxp. write:/ 'WINDOWS XP'.
   WHEN cl_gui_frontend_services=>platform_macosx.      write:/ 'MACOSX'.
    WHEN OTHERS.
  ENDCASE.
Thanks to everyone for their time,
AK

Similar Messages

  • How can i find SAP Gui logon pad version

    how can i find SAP Gui logon pad version ?

    Hi,
    That's easy. At the top of the logon, you see a title bar with a general version indication. At the most left of it, you'll see an icon. Click on that and choose about SAP logon and you'll get detailed info.
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • Insert Button on SAP GUI Logon Screen

    Hello,
    is it possible to insert a button on the SAP GUI logon screen like the "new password" button?
    We want to insert a button, with which the user can generate a new initial password, if he has forgotten his password.
    Thanks for answers
    regards
    Christian

    >
    Anand Munuswamy wrote:
    > Hi,
    >
    > I very strictly advice to avoid of providing "Reset password" button to user, this will make any user to reset the password of other users.  This is one of the security violation.
    I fully agree.
    > If you want to provide option for reseting the passwords to user, you can make a custom program which can be executed by user and can reset the password for their own user, but not for others.
    >
    > Regards
    > Anandm
    Well, I'd propose to leave the SAPGUI screen untouched but only place a comment on the logon screen (see [note 205487|https://service.sap.com/sap/support/notes/205487]) which informs the user on a URL to a web application (BSP) which provides the desired "forgotten password" self-service functionality.
    In the internet you find many examples of such "forgotten password" self-services - good ones and not so good ones. What all of them have in common is the requirement that the user has provided a valid email address or mobile number (during the account registration) which can be used for the required off-band communication. However they differentiate in the way they try to mitigate misuse: some prompt for a so-called passphrase (in most cases: the user has entered a free-text answer to a question chosen from a fixed set of predefined questions, during accoutn registration) before sending a newly created password to the email address retrieved from the user account; others generate a (random) "password change token" which they send to the email address and prompt the user to enter this "password change token" on the webpage (the account remains untouched until the correct "password change token" was entered, in most cases this is also time-restricted). I prefer the latter one.
    Cheers, Wolfgang

  • SSO Using SAP GUI Logon

    Here's my question gurus...
    Is there a way to enable SSO so that, after a user authenticates themselves within the portal, go back to the standard Windows SAP GUI Logon(pad) select the system enter the desired client and logon with having to provide a username and password? The credentials would be passed from the portal to the connected backend system.
    We currently have a slew of systems and there corresponding clients it would be awesome to sync all systems with the portal and only have to administer passwords from and for the portal. Consequently the portal would handle the rest. The folks here have not fully embraced using the html version of the gui hence the reason for this posting.

    Hi Mike,
       If i understood your requirement, You want to use SAP functionality form portal.
      You Can do that, by creating a SAP System from your portal and you can call any Transactions from the portal it self, by using that System.
      How to create System and User mapping for that System you can find in the below link. It may helpful to you. Ping me back, if you have any doubts.
    http://help.sap.com/saphelp_nw04/helpdata/en/3d/b5f9c2ea65c242957ee504ca4a37a9/frameset.htm
    Transaction Iview with integrated ITS.
    Please correct me, if i am wrong.
    Regards,
    Sridhar

  • Customize SAP GUI Logon screen

    Hi,
    I have seen that some logon screens (where you enter client, user, password, language) has additional written information, like "needing a user for this system, please call xxx". My question is how and where can i define this additonal information on the SAP GUI logon screen?
    Best regards,
    Martin

    Hello, it means the system creators (for example if is IDES or trial SAP systems) or system administrators creates this information, try read how --> Note 205487 - Own text on SAPGui logon screen
    Regards.

  • Export SAP GUI Logon system properites to another laptop

    Hi, SDN Fellows.
    I want to run SAP GUI logon systems in another laptop. After installing a new SAP GUI client. Instead of re-add the logon system properties, is that a way I can export and import from another laptop? Say I have 10 logon system properties (some with application server and some with logon groups), how do I pick the 8 of 10, and export to another SAP GUI in another laptop?
    Thanks,
    Kent

    Hello Kent,
    for SAP GUI for Windows 6.20 or 6.40, please have a look at [SAP note 512040|https://service.sap.com/sap/support/notes/512040], for SAP GUI for Windows 7.10 refer to [SAP note 1035560|https://service.sap.com/sap/support/notes/1035560] and for SAP GUI for Java please read chapter 7 of the manual included in the SAP GUI for Java installation.
    Best regards
    Rolf-Martin

  • Client ID range for SAP GUI logon?

    Hi,
    Does anyone know what is the range of client IDs allowed for SAP GUI logon? I am assuming it to be 000-999. Is that correct?
    Any help will be greatly appreciated.
    Thanks,
    Venkat

    Hi venkata,
    As Cherry mentioned above you can choose any client with exception of <b>000 SAP AG</b>, <b>001 Auslieferungsmandant</b> R11 and <b>066 Early Watch</b>, you can use the rest 997 clients to setup your system.
    Hope this help!
    Juan

  • Adding link on SAP Gui logon page

    Hi All,
    I have the problem that I need to add a link on the SAP Gui logon page.
    Within the transaction SE61 I have added the general text ZLOGIN_SCREEN_INFO.
    When I click on the Insert Command I have the possibility to create a link but the char. format F4 list is empty and it does not accept the link creation without it being filled.
    Does anybody have an idear?
    Thank you for your help
    Soeren

    Hi Juan,
    When I click on the Insert Command I have the possibility to create a link but the char. format F4 list is empty and it does not accept the link creation without it being filled.
    Would you please comment on this ?
    I have also seen the only possibility... but same issue...
    Regards.
    Rajesh Narkhede

  • SAP GUI Logon

    HI,
    We are supporting a 2 clients where one has sandboxes and  other production system.
    Is it possible to keep Sandboxes in one gui and production systems in another logon pad.
    I mean i need 2 SAP GUI-logon pad on my desktop where one logon pad must contain only productions systems and another should contain only sand-box systems.
    Is it possible? What setting has to be made?
    Sugessions and Help is appreciated
    Regards,
    Magham.

    Hi,
    Pls check things like
    http://service.sap.com/~form/sapnet?_SHORTKEY=01100035870000659894&_OBJECT=011000358700005431522005E
    service.sap.com/sapgui
    Eddy
    PS. Reward the useful answers and you will get <a href="/people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • How to install SAP GUI in Windows 8.1

    Hi,
    Please guide me how to install SAP GUI in OS Windows 8.1
    Regards,
    Priya

    Before installation of SAP GUI we need to know the OS details and the OS system Bits (32 / 64).
    NW SAP Setup
    • Download the software @ SAP Site using S user login ID.
    • Download the Software gui730_0-10010496 (include the patch 6 hotfix 1)
    • After download Extract it and go to the path and install.

  • How to download sap gui 7.1?

    hi,all
    how to download sap gui 7.1?

    Hi,
    There is no SAP GUI for win available on ftp://ftp.sap.com/pub/sapgui/win/, anymore.
    You can find only that message:
    SAP GUI for Windows downloads
    SAP GUI for Windows CDs and patches are no longer available on this server.
    Please use the official download sites on SAP Service Marketplace (User-ID required).
    SAP GUI for Windows 7.10 CDs (Compilations) can be found here:
    http://service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200615320200007657&V=INST
    SAP GUI for Windows 7.10 Patches can be found here:
    http://service.sap.com/~form/handler?_APP=00200682500000001943&_EVENT=DISPHIER&HEADER=N&FUNCTIONBAR=N&EVENT=TREE&TMPL=01200615320200007657&V=MAINT
    Cheers,
    Filip

  • How to determine a View Object Type (read only or Updatable) ADF B.C 10.1.3

    Hi all,
    in scott Schema by ADF B.C 10.1.3, I created an entity object like emp
    and created view object EmpView from emp and dept entities
    and Application Module
    and when draging EmpView and dropping it in jspx
    while running I got an error :
    JB0-25003 your EmpView View Object has no Type
    How to determine a View Object Type (read only or updatable) in B.C ?
    Thanks

    Hi,
    this should not require any manual confiuration. Can you select the ApplicationModule in the model, right click on it and run the ADf BC tester ? Check if he ViewObject runs if not added to JSF
    Frank

  • How to create editbox in a dialog during runtime in c++

    how to create editbox in a dialog during runtime in c++,so that when ever dialog is intialized different number of edit box are displayed

    how to create editbox in a dialog during runtime in c++,so that when ever dialog is intialized different number of edit box are displayed

  • How to install SAP-GUI ?

    Can u plz  send me step-by step procedure?
    After front-end SAp-GUI installation how to go to new button.

    Hi,
    Click the Systems Tab------>Click the User Defined button
    In the Description tab Type a name like Development or Production etc
    In the Application server tab type the IP of the Application server
    System ID tab give the system ID like D01 or P01 whatever is your sid
    System Number 00
    Then click Add and logon.
    Hope this helps
    Pl award suitably
    Regards

  • SAP Gui Logon Error - 0942

    Hi,
    We done system copy from SAP ECC6 windows to unix environment.It sucessfully installed.
    while we logon(SAPGUI) the Unix system  Error message Occurs "SQL Error 942 When
    accessing program SAPM".
    Kindly advice to us.
    regards
    senthil

    > No problem in System copy method. I login to my unix system(root user) i sucessfully started database & cI.
    > by using commands lsnrctl start & startsap sap. Server works fine.My problem is SAP GUI Login only
    The SAPGUI Logon problem is a symptom of the problem. The system doesn'T find a specific table it looks for. Even if the system is up and running this doesn't mean anything. You can't logon since a program can't be loaded because the table is not existing.
    Check your dev_w* traces, I'm sure you find a LOT of errors.
    Markus

Maybe you are looking for