Get Application Name

Hi,
I have one component and two diffenerent applications using the same component and same window.
At runtime, in the main view, I want to get the name of the application which was called. How can this be done?
Regards,
Reema.

You can get it via the Application API object.  For instance in your Component Controller WDDOINIT:
    DATA lo_api_componentcontroller TYPE REF TO if_wd_component.
    lo_api_componentcontroller = wd_this->wd_get_api( ).
    data lo_api_application type ref to IF_WD_APPLICATION.
    lo_api_application = lo_api_componentcontroller->get_application( ).
    data lo_application_info type ref to IF_WD_RR_APPLICATION.
    lo_application_info = lo_api_application->get_application_info( ).
    if lo_application_info->name is not INITIAL.
    endif.

Similar Messages

  • How to get application names currently running on Windows?

    Hi Experts,
    Please help me how do I get application names (tasks) currently running (as shown in Windows Task Manager-Application Tab) in Windows.
    Thanks,
    Deepak

    Hi....
    probably it's a unusual solution but you could try it....
    Create a *.bat file   call it test.bat .. Create it on your local machine or on your server folder..
    PARAMETERS: DOSCMD(30) DEFAULT 'c:\test.bat' LOWER CASE.
    call function 'GUI_EXEC'
      exporting
        command          = DOSCMD.
    Inside your test.bat file put this code..(it's a dos command to create a txt file containing the output  of tasklist.exe command
    tasklist > c:\test.txt
    In your test.txt file you will have a list of tasks running on windows...
    Hope to help...
    bye...

  • How to get application name from a receive location?

    Hi all,
    I am trying to do a custom error application, and I want to notify system admin users that "the receive port XXXX has stopped in application YYYYYY".
    Right now I do know which receive location that is being suspended. But I am not being able to get the application name, associated to this receive location (I can also get the ReceivePort, if it matters).
    I've tried 2 ways:
    > using WMI
    > Using SQL (direct query in BizTalk databases - for testing).
    I did not found any solution, even search table by table, i did not found a relation between Applications and receive location..
    Anyone? 
    Thanks in advance
    Ricardo Bessa

    The following SQL query should give you a result of every disabled receive location as well as it's receive port and application:
    SELECT
    RL.Name AS ReceiveLocationName
    , RP.nvcName AS ReceivePortName
    , APP.nvcName As Application
    FROM [BizTalkMgmtDb].[dbo].[adm_ReceiveLocation] AS RL WITH(NOLOCK)
    INNER JOIN [BizTalkMgmtDb].[dbo].[bts_receiveport] AS RP WITH(NOLOCK)
    ON RL.ReceivePortId = RP.nID
    INNER JOIN [BizTalkMgmtDb].[dbo].[bts_application] AS APP WITH(NOLOCK)
    ON RP.nApplicationID = APP.nID
    WHERE
    RL.[Disabled] = -1
    ORDER BY Application ASC
    Christian @ IntegrationAdmin.com

  • How to get Application name of a current running process in LiveCycle??

    Hi,
    I want to get the Application name of current running process in LiveCycle as a output value.
    I have 3 applictions, the 3 applications are calling same SubProcess, so I want get the name of the application from which the sub process has been called.
    I want to retrieve the Application name and asssign this value to a output variable.
    I have searched for the solution I found a method getApplicationName() but inorder to get the current running process's Application Name this might not be useful..
    So suggest the way to resolve this..
    Thanks in Advance.....
    Regards,
    Kalyan Urimi

    Use an input/output string variable in the subprocess and set its value in each calling process as respective Application name.
    May be if this could help.
    Thanks,
    Wasil

  • How to get application name or component name

    I have a requirement to make a Z table similar to the context change log table . I need to add application name to that.Is there a way one can retrieve application name of the current application from a function module or any other way?The table WDY_APPLICATION does not seem to have all the custom applications built it only shows the SAP provided applicatoin details.

    here is coding to get the wd app name:
      DATA:
        lr_ctrl_api                    TYPE REF TO if_wd_controller,
        lr_comp_api                    TYPE REF TO if_wd_component,
        lr_appl_api                    TYPE REF TO if_wd_application,
        lr_appl_info                   TYPE REF TO if_wd_rr_application,
        l_appl_name                    TYPE string.
    * get app name
      lr_ctrl_api  = wd_this->wd_get_api( ).
      lr_comp_api  = lr_ctrl_api->get_component( ).
      lr_appl_api  = lr_comp_api->get_application( ).
      lr_appl_info = lr_appl_api->get_application_info( ).
      l_appl_name  = lr_appl_info->get_name( ).
    For further Information check also the Runtime Repository APIs: [http://help.sap.com/saphelp_nw04s/helpdata/en/46/a07a6e79822c10e10000000a114a6b/frameset.htm]

  • Get application name in APEX

    Hello,
    I want to get the application name. I want to use this name to do a title.
    I'm sorry but my english is very bad. thank you,
    Amparo

    Hi,
    create an application item called APP_NAME and then an application computation (in the shared components), specify "on new instance" as computation point
    and enter the following query (choose SQL query for the computation type):
    select application_name
    from apex_applications
    where application_id = :APP_ID
    Bye
    Flavio
    http://oraclequirks.blogspot.com

  • Getting application Name

    Hi Experts,
    I have PCD path of portal page. Can I get application path(the full path with project path and application name) of the application that portal page is holding?
    Regards,
    Gopal

    Hi  Gopal,
    Check this [thread|how do i retrieve the url for external window;
    It may be useful to you.
    regards,
    Siva

  • Getting application name in APEX in a query

    Hi Guys, is there anyway to get the application name via query.
    I looked at the API and can only get the ID by using v('APP_ID')
    http://www.utoug.org/i/doc/concept_sub_strings.htm
    Thanks.
    Edited by: AI on Dec 22, 2011 2:33 PM

    AI wrote:
    Hi Guys, is there anyway to get the application name via query.
    select application_name
    from apex_applications
    where application_id = :app_idDocumented, public access to application metadata is available through APEX views. You can get an overview of these using the query
    select * from apex_dictionaryin Home > SQL Workshop > SQL Commands.
    A more structured view of the APEX views is available at Home > Utilities > Application Express Views (switch to Tree view to get the best idea of how these are organised).

  • Getting Application Name of the Servlet

    Hello Developers,
    I need to retrieve the Application Name of my Servlet to display it in my web page.
    I try to use the ServletContextName but i'm not able to implement it (I think that my version of the Servlet API is too old).
    Thanks for your help.
    Hyppo250

    // this = your servlet
    this.getServletName()this will return the servlet name defined in the web.xml configuration file
    e.g.:
    <web-app>
        <servlet>
            <servlet-name>THIS_IS_THE_NAME_YOU_WILL_GET_BY_USING_getServletName()</servlet-name>
            <servlet-class>...</servlet-class>
        </servlet>
    </web-app>

  • APPLICATION name  in SWFVISU

    please let me know ,diffrenet ways  to get APPLICATION name for an invoice approval task ( BO :FIPP) to maintain in SWFVISU.
    I tried with package name of FIPP but no entries in SE80.
    Thanks
    Sarath.

    Sarath,
      The point of using SAP Transaction SWFVISU is to only generate XML use in UWL configuration.
      check this link for more details http://help.sap.com/saphelp_nw2004s/helpdata/en/59/d516690e854c7090ae15bf492a869f/frameset.htm
      You can ask your portal admin to add this code into generated xml of uwl task configuration. just change the task number into your task.
    <ItemType name="uwl.task.webflow.T50012283" connector="WebFlowConnector"
            defaultView=u201CDefaultView" defaultAction=u201CLaunchSAPAction" >
          <ItemTypeCriteria externalType="T50012283"
               connector="WebFlowConnector"/>
          <Actions>
            <!!--- all the customized actions go here -- >.
          </Actions>
    </ItemType>
    Regards,
    Chaiphon

  • My itunes wont work. I keep getting this Problem signature:   Problem Event Name:     BEX   Application Name:     iTunes.exe   Application Version:     10.7.0.21   Application Timestamp:     504d85d9   Fault Module Name:     QuickTime.qts_unloaded   Fault

    My itunes usnt working. I keep getting this message.
    Problem signature:
      Problem Event Name:          BEX
      Application Name:          iTunes.exe
      Application Version:          10.7.0.21
      Application Timestamp:          504d85d9
      Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
      Fault Module Timestamp:          4f8f8a5b
      Exception Offset:          70be1040
      Exception Code:          c0000005
      Exception Data:          00000008
      OS Version:          6.0.6002.2.2.0.768.3
      Locale ID:          1033
      Additional Information 1:          b9b5
      Additional Information 2:          063aa4ebde4a7a45f8c482e6ed282861
      Additional Information 3:          b251
      Additional Information 4:          0639314542445d4694fa87cff3be7aa4

    Fault Module Name:          QuickTime.qts_unloaded
      Fault Module Version:          0.0.0.0
    Try updating your QuickTime player to the most recent version.

  • To get the Application name

    Hai experts,
    I have a requirement as follows:
    I have a component named as ZComponent which has 3 view.
    i am creating 2 applications for the component named as zappl1 and zappl2.
    zappl1 starts from first view itsef where as zappl2 starts from second view.
    I have an ALV table in the second screen.
    it shud not be editable for ZAPPL1 and shud be editable for ZAPPl2.
    Inorder to that i need to get the application name at runtime in the WDDOINIT METHOD of the second view.
    Is there any method to get the application name.
    If so plz help me as soon as possible.
    IF any doubts revert back to me ASAP.
    Cheers,
    Madhu

    Hi Madhu,
    You do not need the application name for this. The following would work:
    1. Create one more inbound plug to your window (interface view), other than the existing plug (default). The second plug should also be an interface plug of type "startup".
    2. Create a node in your component controller with an attribute denoting the editable property.
    3. Map this node in the window's context.
    4. Your window will have 2 plug handlers, for each startup plug. Inside one handler, set the editable attribute to true and in the other, set the same to false.
    5. Map the same node in the view controller also, and in your view layout, bind the "read only" attribute of your table to the node attribute.
    6. Create a new application, zappl2 and in the default plug, specify the name of the second plug.
    Launch both applications, your control should be editable in one and read only in the other.
    Regards,
    Nithya

  • How to get WD component name or application name

    Hi ,
    Is there any sap standard variable where webdynpro component name or application name get store like SY-CPORG.
    Thanks And Regards,
    Rohit

    Hi,
    You can get the application name using below code:
    DATA : lr_api      TYPE REF TO if_wd_component,
              lr_app      TYPE REF TO if_wd_application,
              lr_app_info TYPE REF TO if_wd_rr_application,
              lv_app_name TYPE string.
       lr_api = wd_comp_controller->wd_get_api( ).
       CALL METHOD lr_api->get_application
         RECEIVING
           result = lr_app.
       CALL METHOD lr_app->get_application_info
         RECEIVING
           result = lr_app_info.
       CALL METHOD lr_app_info->get_name
         RECEIVING
           result = lv_app_name.
    Now pass the lv_app_name to the FM.
    hope this helps u,
    Regards,
    Kiran

  • How to get the Application name/fullpath in a servlet deployed in WebLogic

    Hi ,
    Just like we can get the domain root directory from weblogic.management.DomainDir
    String root = DomainDir.getRootDir() ;and domain name from weblogic.management.configuration.DomainMBean
    DomainMBean domainMBean = MBeanUtils.getDomainMBean();
    String domainName = domainMBean.getName() ;How can i get , the application name in which the servlet is deployed from inside the same servlet ? Which API from weblogic provides that information ?
    for eg : application path = Middleware/user_projects/domains/Domain_1/servers/AdminServer/upload/webapp1.war
    and application name = webapp1.war
    Edited by: Tom on Mar 31, 2011 9:32 PM

    Not sure about Weblogic Specific API however you can use Java API.
    public void init(ServletConfig config) throws ServletException {
              // TODO Auto-generated method stub
              System.out.println(config.getServletContext().getRealPath(""));
              System.out.println(config.getServletContext().getContextPath());
    output:
    C:\Documents and Settings\user\KEDB\KEDBRISKIT\WebContent --- Application Path
    /KEDBRISKIT --- Application Name
    -Akshay

  • What is Best Way to Get Table Name in Oracle Applications : 12.1.1 (web)

    Hello Friends..
    I need your Help My Friends...
    we are working currently on Oracle Applications : 12.1.1
    i would like to know the best way to get Table name from Web Based Form..
    Regards
    Yas.

    Hi Yas;
    Please follow below 2 thread i belive you will find some hint in those thread
    table name for a jdeveloper page
    Re: EBS, 11.5.10, table name
    Hope it helps
    Regard
    Helios

Maybe you are looking for

  • Problem with the code autocomplete feature.

    I'm having a problem related to the code autocomplete feature in JDeveloper 10.1.3.2.0 Studio Edition. When I'm typing the code to create a new instance of a class, JDev doesn't display the list of constructors this class has, regardless whether this

  • Tween with as 3.0

    I want to tween 3 balls after one and other wit AS3. I have linked the ball to the transition object in the library Short described: The next ball should start when the first balls animation is finished. The firts ball1: var ball:MovieClip = new Ball

  • Lost my preinstalled YouTube Tried reset. Doesn't work. Any ideas?

    How can I recover lost preinstalled YouTube app?  Reset home page did not work.

  • Getting an error on my mac

    Hi guys! I just got my first mac.It's not new. This is macbook pro 15 So i get an error sometimes.I don't understand why.Sometimes it's very often. I copied details.Please help me Interval Since Last Panic Report:  47007 sec Panics Since Last Report:

  • How do I transfer photos and videos to my computer?

    How can I transfer the photos on my camera roll to my computer?