How can we know WD Appl is running from portral or normal

Hi Experts,
Could any body help in this...
How can we know one application is running from portal or normal application??
Thanks,
kris..

Hi,
Below code might help you.
data: lo_api_component    TYPE REF TO if_wd_component,
  lv_cl_environment   TYPE        i,
lo_wd_application   TYPE REF TO if_wd_application.
* get application environment: portal or non-portal environment
  lo_wd_application = lo_api_component->get_application( ).
  lv_cl_environment = lo_wd_application->get_client_environment( ).
  IF lv_cl_environment = if_wd_application=>co_client_environment-portal.
endif.
Thanks,
Kranthi.

Similar Messages

  • How can i know the servlet is running or not?

    Hi all,
           I have a doubt regarding servlet. I created one servlet and deployed in server. Now i called (RUN) the servlet from the browser. And it is running. Now can i know that the servlet is running or not in the server without seeing in the browser. Can we know the status of the servlet with its URL in the server whether it is running or not?
             Let me explain my problem. In my servlet it will run continously read one table and  do some operation depending on the entries in that table. Now i called the servlet from the browser. After some time i closed the browser. If browser is there i can know whether servlet is running or not. But now how can i know that servlet is running or not. Becoz eventhough we closed the browser the servlet will run in the background. How can i achieve this?
    Thanks and Regards,
    VJR.

    Hi!
    With first call, the servlet will be loaded, and it remains so until server-shutdown, but you need a timer-mechanism execute method calls continuously.
    Regards,
    Thomas

  • How can we know that JVM is running in our system?

    how can we know that JVM is running in our system?

    On a *dows system you can use pslist and the like:
    http://www.sysinternals.com/Utilities/PsTools.html
    http://www.sysinternals.com/Utilities/PsList.html

  • How can i know where is my iphone from ??

    How can i know where is my iphone from, i know only imei, and numbers from back of iphone
    i have blocked iphone and i dont know where is it from

    Call Apple and ask. There is no way to identify the origin of an iPhone from any of it's numbers. All iPhones are born equal.

  • How can I transfer my apple ID acc from one Itouch to another ?

    How can I transfer my apple ID acc from one Itouch to another ?

    No, you cannot transfer apps from one account to another iTunes account. Apps are DRM protected and forever tied to the account used to originally obtain them.

  • How can I know the request is come from the link in header in the filter?

    I am using the tile for layout management and each page has a header, menu, and content body. I want to do something at the filter If the request is come from the commandlinks in the header and menu.
    How can I know the request is come from the link in header in the filter?

    Basically all you have to go on is the request data. Examine the encode/decode requirements for commandLink; you may be able to determine from the request attributes which commandLink has been invoked.

  • How can we know the OSCOLECTOR is running or not.

    Hello all,
    I want to know how can we know about the the OSCOLECTOR is running or not?
    tell me the way to at os level for unix and linux and R3 level.
    Thanks in advance.
    Atul

    HI,
    AS I WORK ON WIN 2003 , U CAN CHECK WHETHER OSCOL IS RUNNING OR NOT FROM THE OS LEVEL AS;;;
    GOTO SERVICES.MSC AND CHECK FOR THE OSCOL SERVCIE. IF IT IS NOT RUNNING THEN START IT.
    AND THEN CHECK FROM THE SAP LEVEL.
    DEFINITELY IT WILL WORK.
    REGARDS,
    BHUPESH

  • How can I know what apps are running in the background of Q10

    My battery is not lasting more than 12 hours even though I'm moderately using it. How can I tell which applications are running in the background?

    As of now, the BB10 does not allow any apps to run in the background unless they are baked in the OS or in the active frames. So if an app is not in a active frame, no app is running in the background. try maximizing your battery by switching to wif whenever you have a wifi network.
    Twitter: @ukmight
    1. Click on the " Like " button if you find anything helpful posted.
    2. If any of the replies in your post has resolved your problem, mark the reply(ies) as " Solution ", so that others can readily view the solution instead of creating another redundant post.

  • How can I delete old Apple Software Updates from 10.6 server?

    Hi guys!!
    First of all, please, excuse my english......i know it's the worst possible and will try to develop it.
    My question is the following.
    The hard disk of my xServe is almost full and I need to delete the old Apple Software Udates that it contains (some of them are from 2005!!)
    And I don´t know how to make it!!
    I`ve uncheck the "automatically enable copied updates" option in Server Admin and I´ve check-in the "Purge unused/legacy software", but i don´t know how to delete the oldest Apple Software Updates because I don´t know where the **** are they!!
    Thank's in advance from Spain.
    Any help will be very wellcome
    J.

    You could try what
    s in <http://discussions.apple.com/message.jspa?messageID=9289958#9289958>, or, as this is a new setup which isn't in use, you could just nuke the system and reinstall and this time use the correct DNS name.

  • HT1947 How can I stop my Apple TV remote from controling my iTunes Library at the same time?

    Every time I use the remote, my computer starts going crazy and playing music in iTunes.  So annoying!  How can I stop this?

    1. System preferences
    2. Security
    3. Uncheck box at disable infrared receiver.
    4. Done.

  • How can I know which application is running in gnome 3

    In the gnome 2 ,the running application is showed in the panel,
    but  in gnome 3,there is no panel
    I know that  i can switch to overview by pressing super key(windows key), but I think it is too inconvenient .

    I use Gnome Do in the "Docky" mode
    see here : http://do.davebsd.com/wiki/Docky

  • How can I know the kernel is running on GPU?

    I write a kernel, and then I load the PBJ byte file into a flash as a filter,but when I adjust the parameters of the filter, the usage of CPU keeps increasing rapidly, so I am wondering whether the kernel is REALLY running on GPU?

    It isn't GPU-accelerated in Flash Player 10.0 and 10.1. It runs multi-threaded on your CPU.
    See:
    http://blogs.adobe.com/kevin.goldsmith/2008/09/cpu_gpu_multico.html
    http://www.kaourantin.net/2008/05/adobe-pixel-bender-in-flash-player-10.html

  • How do you know if you are running from external drive or internal

    I just started using CCC and have cloned my HD to the external. I shutdown and then power up holding down the on button. It gives me the option to boot from the HD or the external. I select external and it boots. But how do I really know that the computer is operating from the external.
    Is there a place to look and see which drive is actually being used to operate the computer ?
    Regards.
    Jim Svarz

    If you launch Disk Utility and select a volume on a drive, then click the First Aid tab, you'll notice that the button for the option to Repair Disk is active for all volumes you choose EXCEPT the startup drive, where the button is greyed out. The startup drive can only have Verify Disk run on it, since in order to Repair Disk the volume must be unmounted, and you can't unmount the startup volume.
    Oh, and I like the change in Leopard which allows me to put drive icons wherever I want them on the Desktop and they stay there. Hope Apple doesn't go back to the old behavior.....
    Francine
    Francine
    Schwieder

  • How can I have two Apple IDs (one from Canada and one from the UK) for the same device?

    I originally bought an iPhone in Canada and had my first Apple ID while there. I still want to have this account, as there are some Canadian apps that I wish to have and keep updating. However, I am now living in the UK - yet when I try to search for apps that all of my friends have I can't find them because they are particular to Britain. Do I need an new Apple ID for the UK, and is it possible to have both Apple IDs feeding into the same iTunes account?
    Thanks for any insight!

    If you want to move your iCloud account to another existing ID you'll have to delete the existing account, set up a new account with the other ID, then upload your data to the new account.  To do this, begin by going to Settings>iCloud and turn all synced data (contacts, calendars, etc.) to Off.  When prompted choose to keep the data on your phone.  After everything is turned off you can scroll to the bottom and tap Delete Account.  Then set up the new account with your other ID and turn syncing for calendars, contacts, etc. back to On.  When prompted, choose Merge.  This will upload your data to the new account.  Note: this will not migrate your photo stream photos.  You will need to save these prior to deleting the existing account.

  • How can a LabVIEW applicatio​n be run from the guest account in Windows 7?

    I want to make some of my labVIEW applications (no DAQ or external hardware involved) available to temporary visitors in the lab. A natural choice would be the guest account of Windows 7, but if I try to run LabVIEW or any of my built LabVIEW applications, I get the following error dialog.
    I am sure this can probably be fixed with a few permission settings. What is the easiest way to allow running these applications from the guest account?
    LabVIEW Champion . Do more with less code and in less time .
    Solved!
    Go to Solution.
    Attachments:
    LabVIEWGuest.png ‏36 KB

    Ah, I missed that article somehow. Thanks!
    I actually already made a "labguest" account yesterday with normal user permissions and that works fine.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for