Function to get the windows version of user's PC

Hi guys
How can I know a way to know the windows version of user's PC?
I need to know if the user uses Windows XP or Windows 7...or another version of Windows.
I tried to get some Function, but no clues until now.
Regards
Miguel

Hi Miguel,
Try calling method CL_GUI_FRONTEND_SERVICES=>GET_PLATFORM as mentioned above.
You will probably then need to carry out a flush...
CALL METHOD CL_GUI_CFW=>FLUSH
  EXCEPTIONS
    CNTL_SYSTEM_ERROR = 1
    CNTL_ERROR        = 2
    OTHERS            = 3.
IF SY-SUBRC  0.
  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
The returned integer is then equal to a constant in CL_GUI_FRONTEND_SERVICES which gives you the name of the platform e.g.
CASE lv_plat.
  WHEN CL_GUI_FRONTEND_SERVICES=>PLATFORM_WINDOWSXP.
     "platform is windows XP
  WHEN OTHERS.
    "platform not windows xp... or maybe you would like to check more values

Similar Messages

  • I bought the Mac version of Premiere Elements, can I get the Windows version for free or cheap with my serial number?

    I bought the Mac version of Premiere Elements, can I get the Windows version for free or cheap with my serial number? I'm about to migrate back to PC soon and I'd love to not have to buy the program again since I just bought it. Under my order history though it only shows it for Mac so I wanted to make sure.

    ihavea4
    The boxed packaging is not sold by Adobe direct. If you want to explore that type of purchase which offers the perk of a Windows and a Mac installation disc, you need to purchase from an authorized reseller who is not going to offer you "upgraded pricing". The seller would be its own entity with its own pricing and own return/refund policy. Sometimes the authorized reseller price may be less than the Adobe"upgraded pricing".
    Did you purchase your Premiere Elements 13 Mac from Adobe direct and are within 30 days of purchase? If so, you can contact Adobe Chat Orders to ask for return/refund. And, then you can explore the authorized resellers for pricing and availability of the box packaging. Maybe check out the pricing all around before making any final decisions.
    Please review and consider.
    Thank you.
    ATR

  • Getting the Windows groups a user belongs to.

    I'm using the JAAS package, and have used the NTSystem class to get the current domain and user that is running my application. What I would like to do is determine if that user belongs to a specifically named windows group (i.e. Administrators, Users, Guests, oneIMadeUp). Using the JAAS package, I'm able to list the groupSIDs, which is just an unintelligble list of numbers.
    There must be a simple way to just list the groups a user belongs to, so I can check in my code against a specific group, and then allow/deny certain functions running.
    Any ideas?

    Resubmitting
    Hi,
    I want to write some code which will retrieve all the groups a user belongs in.
    The JAZNUserAdaptor class has a getGroups() method which returns a Set which I iterate through as follows;
    JAZNUserAdaptor jaznuser = (JAZNUserAdaptor)p;
    Set aSet = jaznuser.getGroups();
    Iterator anIter = aSet.iterator();
    Object myObject = new Object();
    while (anIter.hasNext())
    myObject = anIter.next();
    System.out.println(myObject.toString());
    The above produces the output
    [JAZNGroupAdaptor: RealmRole: jazn.com/pats_sit]
    [JAZNGroupAdaptor: RealmRole: jazn.com/guests]
    [JAZNGroupAdaptor: RealmRole: jazn.com/users]
    Is there a better way to do this? What type of object is returned from anIter.next()? Is it JAZNGroupAdaptor and where is this class defined?

  • Where Can You Get The Windows Version Of Appleworks?

    I Have The Mac Version Of Appleworks 6.2.9 The Version for os 9 and I am lookin for the windows version.NOT THE UPDATER
                   Thanks. Ben

    HI Ben,
    The Windows version of AppleWorks 6 was distributed only to the Education market. If you have access to that field, you might be able to pick up a previously owned copy.
    The last update was to version 6.2.2/
    Regards,
    Barry

  • I can't get the latest version of iTunes 12.0.1 for Windows (64-bit) to work on my laptop.

    I can't get the latest version of iTunes 12.0.1 for Windows (64-bit) to work on my laptop. It says it has successfully downloaded and installed, but when I try to connect my new iPhone 6 to iTunes i get an error message 'need to install new software' but i thought i had! Please help me as i have had to connect my phone to someone else's mac and therefor don't have my music etc on my phone HELP!  I have had IT support at work trying to figure it out and no one can!

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Query to get the windows-user(os)

    Hallo,
    I have a windows operating system and on this system is oracle database with the
    spatial-option installed. Now I wanna create a trigger which writes in a table if
    a geometry is updated. In this table I wanna write the new geometry, the time of
    the update and the windows-user that logged on the windows operating system. I
    don't wanna know the database user.
    What is the sql-query to get the windows-user?
    Thanks Katrin

    As an alternative, use the SYS_CONTEXT function to get some of this info.
    oracle@fuzzy:~> sqlplus test/test@XE
    SQL*Plus: Release 10.2.0.1.0 - Production on Tue Jan 2 16:32:53 2007
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL> select sys_context('USERENV', 'HOST') Host,
      2         sys_context('USERENV', 'IP_ADDRESS') IP,
      3         sys_context('USERENV', 'OS_USER') OS_User,
      4         sys_context('USERENV', 'AUTHENTICATED_IDENTITY') Identity
      5    from dual;
    HOST    IP          OS_USER   IDENTITY
    fuzzy    127.0.0.2  oracle    test
    SQL>                                           More info at http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/functions165.htm#i1038176

  • I recently transfered everything from my emac to another one but now when I try to open iTunes I get the window that states: The file "iTunes Library" cannot be read because it was created by a newer version of iTunes.

    I recently transfered everything from my emac to another one but now when I try to open iTunes I get the window that states: The file "iTunes Library" cannot be read because it was created by a newer version of iTunes. The computer I transfered to had a bunch of files on it and I got full ownership of what was already there, so, how do I get to my iTunes library, I do have access as an administrator to the iTunes library (that works just fine) already there and I guess I must have had a newer version ofiTunes on my defunt eMac....

    Tell us some version numbers please, of your Mac OS versions and iTunes versions on both computers (two eMacs yes?).
    dlrobinson49 wrote:
    I guess I must have had a newer version ofiTunes on my defunt eMac....
    That is a pretty good guess.Try updating the second eMac's iTunes to at least the version that was on the first.

  • A user uploads a new pdf (using Dreamweaver) but still gets the old version back in browser.

    She downloads the file from the site, and gets the old version of the file instead of the one she just uploaded. I tried it myself and everything is done correctly: the new file is on the server but download keeps displaying the old version. Dreamweaver ticks off the bytes as they are going upstream. I can RDP to the server and see that the newer version is there (by datetime stamp). She is using IE 8 if relevant.
    This only happens with pdf, no caching is turned on in IIS6 - all content updates are instant.
    I have gone in to the temp internet files and deleted the cached version of the file and emptied the trash (Win XP) but it still serves the old version.
    This issue has been reported by other users, but I thought it was user error until it was staring me in the face.
    My final verification was to upload the new document with a new name, delete the old document, and rename the new name to the old name - after that it delivered the new document
    How do I tell the (non-tech) user fix this?
    I've seen references to this on other sites (now that I know it is real, I dug deeper) but the solutions proposed mostly seem to involve changing the query string by adding somthing to the end of it.
    This is out of reach of my user.
    I can't be the first person to encounter this right?
    And note that I went into the server... the document was uploaded, and IIS caching is off.
    I was told by someone here (and I can't reproduce it in my office) that I should tell the user to go to Adobe Reader | Edit | Preferences | Internet.
    Then tell her to uncheck all three boxes (display in browser, allow fast, and allow speculative)
    But I don't see how that would fix it - remember that I deleted the pdf from the internet cache and that didn't solve it.
    Thanks,
       -Chris C. 1972

    I've faced this before too.
    I've tried many different approaches but the most reliable way I've ever found of handling it is to rename the new PDF each time (e.g. adding the revision date into the filename) and update the link in the web page to point to the renamed PDF.
    Works every time.
    Chris C. 1972 wrote:
    I was told by someone here (and I can't reproduce it in my office) that I should tell the user to go to Adobe Reader | Edit | Preferences | Internet.
    Then tell her to uncheck all three boxes (display in browser, allow fast, and allow speculative)
    But I don't see how that would fix it
    Nor me.

  • I just bought a ScanSnap scanner and it came with Adobe Acrobat Standard for Windows - but I have a Mac - can I get the Mac version?

    I just bought a ScanSnap scanner and it came with Adobe Acrobat Standard for Windows - but I have a Mac - can I get the Mac version?

    Hi Dcee3,
    Acrobat Standard has not been developed for Mac platform so Mac version is not available. It can only run on windows machine.
    Regards,
    Anand

  • Web Application getting the Windows NT User ID

    Is there a way within the web Oracle application to get the Windows NT User ID of the client running the application?
    Thanks in advance.

    For 6i, there is a bean example that works
    out of the box for that purpose.
    The only thing you have to keep in mind is
    that using Jinitiator, you have to create
    an identity and populate it with the provided
    certificate ON EVERY CLIENT MACHINE.
    Using IE5 native VM, there is no need for that, provided that you can live with granting some privileges to unsigned java code. (Signing is kinda tricky, I failed anyway...)
    If you are running 6.0, I posted an example
    (for the client hostname) that works under 6.0 a couple weeks back ("Getting Client Info"), an it can easily be modified to return the NT userid.
    Regards
    Anton

  • I have a problem with my Internet Security and the new Firefox, where can I get the previous version which I had before my system crashed?

    Hi I use CA Internet Security Suite which checks ALL pages and searches, but it does not work with this version, also I wish to use Goggle Toolbar which ALSO does not work with this version where can I get the previous version? As my harddrive crashed I have had to install windows 7 and this version doesn't seem to allow me to change my homepage, why is this? Cheers Ernest

    You can get the latest version of Firefox 3.6 from http://www.mozilla.com/en-US/firefox/all-older.html
    Mozilla are working to prevent Mac users with non-compatible systems from getting the notification about Firefox 4, and also not displaying the "Download Firefox 4" button on http://www.mozilla.com

  • How can i detect the windows version

    Hi,
    How can I detect the windows version from Forms 6i?
    I was used get_application_property(operating_system); But it only return MSWINDOWS, MSWINDOWS32, WIN32COMMON.
    Any function or way can return the exact windows version(98/ME/NT/XP)?
    Regards, Wing

    You may use Win_Api_Environment API call to get windows version.
    I have sample code on my home PC if you need code send mail at [email protected]

  • [JNI] get the window ID

    Hi,
    I'd like to get the window ID of a frame. I'm runing java on Linux.
    I've seen on a web site that I can get it from the JAWT_X11DrawingSurfaceInfo.
    So I did this to get the JAWT_X11DrawingSurfaceInfo :
    JNIEXPORT jlong JNICALL Java_MyFrame_getWindowID(JNIEnv *env, jclass cls, jobject comp) {
      JAWT awt;
      JAWT_DrawingSurface *ds;
      JAWT_DrawingSurfaceInfo *dsi;
      JAWT_X11DrawingSurfaceInfo *dsi_X11;
      jint lock;
      jlong windowID;
      jboolean result;
      /* get the awt */
      awt.version = JAWT_VERSION_1_3;
      result = JAWT_GetAWT(env, &awt);
      assert(result != JNI_FALSE);
      /* get the drawing surface */
      ds = awt.GetDrawingSurface(env, comp);
      assert(ds != NULL);
      /* lock the drawing surface */
      lock = ds->Lock(ds);
      assert((lock & JAWT_LOCK_ERROR) == 0);
      /* get the drawing surface info */
      dsi = ds->GetDrawingSurfaceInfo(ds);
      /* get the X11 drawing surface info */
      dsi_X11 = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo;
      windowID = (jlong)dsi_X11->visualID;
      /* resource cleanup */
      ds->FreeDrawingSurfaceInfo(dsi);
      ds->Unlock(ds);
      awt.FreeDrawingSurface(ds);
      return windowID;
    }My pb is that I can't lock my frame. It always crash here : assert((lock & JAWT_LOCK_ERROR) == 0);
    I'm completly lost at the moment, any help will be welcome.
    Thank you for your answers.
    Nicolas

    Linux_Java wrote:
    How do i get the Window Id / handle to java frame.You can't get it from within Java, that much I know, and in fact since it is an OS construct it is meaningless in java. If you are working with MS Windows, I'm guessing that your best bet is to play with some of the functions in the User32 library, such as enumerateWindows and such, and by doing this you'll find out how to get a handle on the JFrame. If it's unix/linux (and given your name, that is a reasonable assumption) then I have no idea.
    If I am giving any actionlistener to my frame that has to be reflected in C windowNo idea what you mean here.
    Anybody can send me the full source code too.Doesn't this kind of go against the philosophy of these forums?
    Also, consider posting this sort of question in the JNI forum where you will have a much better chance of getting a JNI guru who actually knows what he's talking about instead of, well, me.

  • It's happened twice in the last month- I suddenly can't open my Pages documents unless I get the new version (for $20!) What is going on??!!

    Some documents, but not others, that I've created/edited/printed and worked with JUST RECENTLY suddenly won't open UNLESS I get the new version of Pages (for $20!!) I just edited some of these a couple of days ago! I edited one, printed it, etc. Now I need to look at it again and it WON'T open! I "need the new version of Pages??! What if I don't want to suddenly shell out $20 to work with documents I made on the version I already have? And why do SOME documents now look different (in a new style) while others look like they always have, and function normally?

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • HT1199 Newer version of iTunes will not open.  My music is gone.  How can I get the older version back?

    My "newer version" of itunes will not open.  How can I either get it to open or get the older version which worked fine?

    Restore the backup before you installed.
    If you didn't make a backup, at very minimum make sure your Music library isn't compromised by locating the folder you selected the music to be in (usually in Users -> yourname -> Music) and make sure there are several MB of data there by clicking once on the folder, and selecting Get Info from the File menu in the Finder.
    If you can't find it, try to locate parts of track names with Find Any File.
    http://apps.tempel.org/FindAnyFile/ 
    then determine which parent file of the .mp3 or .mpa files you have contains all of the music files by getting info under each previous folder in the folder tree.
    Once you determine which folder contains all your music, back it up using the Finder, or backup the entire hard drive using cloning software at least to two different drives or two complete copies on DVDs:
    https://discussions.apple.com/docs/DOC-1992
    You'll then want to erase and install 10.6 from the system installer you used to put 10.6 on your Mac, and run the combo 10.6.8 updater and apply the necessary security updates:
    https://discussions.apple.com/docs/DOC-3261
    Then you can install older versions of iTunes for the Mac from here, once you determine which version is compatible with 10.6.8 that you liked before by first checking which version is compatible with what you need:
    https://en.wikipedia.org/wiki/ITunes_version_history
    Once you know that, if you can't find it with Google, let us know and maybe one of us can help. Lastly reload your music in your music folder, and your other applications.

Maybe you are looking for

  • What are the right names for the 2 OHS?

    Hi, Currently we have 2 options for an HTTP Web Server for APEX: - An Oracle HTTP Server (OHS) from the database companion CD. - An Oracle HTTP Server (OHS) from the Oracle Application Server. The first OHS is based on Apache 1.3.x and the second on

  • WCS Serial Number - Where can I find it?

    Hi There, We are running WCS 4.2 on linux. I need to find the serial number of the software so I can raise a TAC case. Does anyone know how to find the serial number? I cant see it via the GUI. Thanks

  • Duplicate SMS messages

    I have been looking to find a solution to a problem but have not been able to find. Perhaps you can help. I have connected my 3100 phone to PC Suite 6.8 (and previous versions). The problem is that upon synch thru File Manager, SMS messages continue

  • Monitor all service Start with the word "SAP"

    Hallo i have sccm 2012  Can monitor services start with the word "SAP" Instead of monitoring all service set separately . thanks 

  • Character Viewer fails to launch

    Character Viewer never launches with the first click on the menu bar. It launches only with the second attempt but even then it takes more time than expected for such an app. Sometimes it also launches (always second click) on the background. OS Bug?