Get ran application name - If multiple apps are created in Dynpro Component

Hello All,
I have one dynpro component, where multiple application has been created for multiple windows in the same component. Each component has different default view set.
Is there any way fetch or get the name of application name that is ran, in the component controller's WDINIT method?
Thanks,
Bhushan

I found & the answer is -
DATA: lo_component TYPE REF TO if_wd_component,
        lo_application TYPE REF TO if_wd_application,
        lo_application_info TYPE REF TO if_wd_rr_application,
        lv_appl_name_str TYPE string.
Get component
  lo_component = wd_this->wd_get_api( ).
Set application name
  lo_application      = lo_component->get_application( ).
  lo_application_info = lo_application->get_application_info( ).
  lv_appl_name_str    = lo_application_info->get_name( ).

Similar Messages

  • 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 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

  • Can Application Manager queue multiple app installs?

    Can Application Manager queue multiple app installs or does each application have to be installed separately while we wait for it to finish (bored out of skull)?

    Yes,
    Adobe Application Manager support installation of multiple application at a time but it will affect the perfomance of the system
    in case hardware configuration is not adequate.
    -Sumit Singh

  • Is there and app that does the following. Multiple apps are showing a clock in different rooms, all are synced together, one ipad is a master ipad and if you change the time on it all other ipads change the time

    Is there and app that does the following. Multiple apps are showing a clock in different rooms, all are synced together, one ipad is a master ipad and if you change the time on it all other ipads change the time

    None of the spreadsheet apps that work with Excel files offer anything like full native support in iOS.  Apple's own Numbers app pairs down features for the iOS version.  The hardware is simply not up to what a true computer is capable of, so all apps like QuickOffice, DocumentsToGo, Numbers and so forth offer reduced features from their computer-version counterparts.
    I think a custom app will be your only real choice, be it a fully standalone app, or something built in filemaker or some other db-based platform.

  • Are there any apps for having seperate volume controls for each app if multiple apps are playing at the same time?

    Are there any apps for having seperate volume controls for each app if multiple apps are playing at the same time?

    I don't think you can do that the volume is universal, but maybe turn down the volumes in the app settings?

  • Hard-coded application name in Customized App.

    Dear all,
    The name of standard application has been hard coded in one of the methods where URL for a page is generated. The customized application starts calling standard pages at this point.
    I copied this method-code and called it from my object. But this is giving runtime context error.
    I would have replaced the application name from this URL after method call, but its called at many points in application.
    Kindly suggest what should i do now.
    Thanks

    The @computername@ variable takes a computer name defined by the user who deploys the template.
    To make this template fit for scaling you have to define the computer name not as a variable but as a name followed by a number of ### symbols. The ### symbols will become numerical values. VMM makes sure that the numbers are incremented each time you scale
    your computer tier.
    Serv## will resolve in Serv01, Serv02, etc.
    I’ve tried to combine the variable with the ### symbols in the past. I recall this didn’t work back then (2012SP1).
    HTH

  • IPod applications won't download, apps area grayed out, but everything is working.

    I was logged onto iTunes store, bought a new program, downloaded it, and then discovered it would not load into my iPod touch, and my iPod showed it was syncing okay. In fact, everything was updated and all indications were that nothing was amiss and everything was working. The software ran through every routine I tried, and the diagnostics tests showed everything was working perfectly -- just no app on the iPod. The apps area of my iPod in the iTunes software, however was grayed out and not accessible.
    I followed several suggestions from the internet and these forums. I checked to be sure nothing was locked up, I reset the iPod, and when that didn't work, I restored it, after which I no longer had any downloaded programs on the iPod.
    Solution: I was about to uninstall/reinstall the iTunes software on my PC, but first tried to repair it before uninstalling it in the Control Panel. Took a couple minutes.
    Problem(s) solved. I redownloaded all my programs from my iTunes library, and lost no data in any of them.
    I'm posting this because the answer was hiding in plain sight, so to speak. If I can just save one person the wasted time that I invested before trying the obvious, it will all have been worth it and there will be one more head of hair saved from being torn out. Too late for me, however.
    Lol.

    It worked for me.
    In Windows, go Start>Settings>Control Panel>Add Remove Programs>iTunes> ...
    you have options: repair and remove.

  • Multiple PO are creating in Sourcing

    Hi SRM Guru's,
    Multiple PO's are creating if we done the following steps though the same Vendor,same Purchasing organization, same account assignment
    1. Created the shopping cart with three line items
    2. In sourcing we added the all three items vai assign to me OR add to work area
    3. Select the one item then clicked on purchase order (But we have not processed the PO)
    4. Then again back to the Work area then selected the remaining all items once we clicked on Process PO
    5. There are three different PO are creating instead of one PO
    Please Help on this
    Thanks
    Shrinivas

    PO is splitting based upon the following condition.
    1.     Vendor u2013 If the vendor assigned to the 1st line item differs from the rest of the line items u2013 Split PO
    2.     Preferred Vendor u2013 If the preferred vendor to the 1st line item differs from the rest of the line items u2013 Split PO
    3.     Purchase Organization u2013 If there is a different Organization units between the line items u2013 Split PO
    4.     Purchasing Group u2013 If differs between line items u2013 Split PO
    5.     Procurement Card Number u2013 Procurement Card used for Sweden u2013 If this differs between line items u2013 Split PO
    6.     Procurement Card Company u2013 If procurement card company differs between the line items u2013 Split PO
    7.     Ship to Address u2013 If there is any different ship to address in the SC, then Split PO
    8.     Address number u2013 If there is a change in the ship to address which will resulted in different address then Split PO
    Thank You!!

  • HT2128 I keep on getting updates for Adobe Flash Player.app, are these safe to download?

    I keep on getting messages to download updates for Adobe Flash Player.app however, I always get a warning message since it is an application downloaded from the internet and the question "Are you sure you want to open it?" Are these safe to download, or shall I cancel it? Perhaps it is best to go to the Adobe site? Any recommendations? Thank you very much.

    It can be easier to remove Adobe Flash Player from OS X entirely, and be done with the effort involved.  Adobe has a tool to remove Flash Player from OS X available.  (If you really need Flash capabilities, there's a version embedded in the Chrome web browser that might suffice.)
    As for your question, if you have gone directly to the Adobe web site (by entering the URL in Safair, and not by clicking on anyting in email or on another web site), and have downloaded Adobe Flash Player updates from there, then you're reasonably safe.
    If you've downloaded the Adobe update bits from the Adobe site (and again, not from any other site), then clicking through the "yes, I know I downloaded this" is probably safe.

  • Get Calling Application Name

    How can I get the name of the Application I use to connect to the DB from within a procedure/view?
    The user ID used has no DBA or system privileges, so it can not use v$Session....
    Thanks in advance for any help
    Jerome

    In the application call the procedure
    DBMS_APPLICATION.set_client_info('Client Application Info');
    The will set the client_info field in v$session.
    You can also get the same value calling the function in the stored proc
    DBMS_APPLICATION.GET_CLIENT_INFO

  • MacBook pro 2009 is slow and freezing after installing mountain lion. Cannot get iPhoto to open fully, other apps are freezing.

    Help! I thought I was doing the right thing by installing Mountain Lion on my 2009 MacBook Pro. It took forever to download correctly and now it is performing so poorly (freezing during applications, have to use force quit, have to use power button to shut it down, etc.) that I wish I never installed it! I want my old operating system back!

    Boot in safe mode.* This will cause certain caches maintained by the system to be rebuilt. The instructions provided by Apple are as follows:
    Be sure your Mac is shut down.
    Press the power button.
    Immediately after you hear the startup tone, hold the Shift key. The Shift key should be held as soon as possible after the startup tone, but not before the tone.
    Release the Shift key when you see the gray Apple icon and the progress indicator (looks like a spinning gear).
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, you can’t boot in safe mode.
    Safe mode is much slower to boot than normal.
    When the login screen appears, reboot as usual (not in safe mode) and test. There's no need to log in while in safe mode.

  • VS Workflow - Erroring out when multiple records are created by same user

    Hi,
    I am using SP 2013. I have a visual webpart and custom sequential workflow. The webpart saves the data to a custom list and the workflow is associated to the custom list on Item creation only. In the workflow, I am breaking the role inheritance and setting
    permission to specific set of users, and then the normal approval workflow happens. The whole workflow condition works fine, but if the user is raising multiple requests one after another, the workflow seems to break either in the Break inheritance or granting
    permission. If the user raises only one or two requests then everything works fine.
    Below are the errors which I am getting in the workflow:
    Error 1:
    Error: Save Conflict. Your changes conflict with those made concurrently
    by another user. If you want your changes to be applied, click Back in your Web
    browser, refresh the page, and resubmit your changes.
    I have already checked this :
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/60ab04fd-9650-427d-a48f-784bc22fae05/workflow-and-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user?forum=sharepointdevelopmentprevious_
    http://adrianhenke.wordpress.com/2010/08/20/sharepoint-error-save-conflict-your-changes-conflict-with-those-made-concurrently-by-another-user/
    I have also implemented the "Reload" thing posted in the above URL. This error only happens when multiple new requests are getting raised by same user. This error does not happen if I terminate the workflow and re-start the workflow.
    How to fix this?
    Thanks

    Hi,
    Based on my understanding, you have a Visual Web Part for adding new item into a list. A workflow will be triggered when item creation in this list. Everything works
    fine except when an user adds multiple items in a short period.
    If this is the case, plus with the error message, a possible cause is that the SharePoint Server and the workflow engine are not functioning effectively enough to
    handle the multiple request in a short time, therefore a scenario is that when there is new item being added into the database, the workflow modifies the “RoleAssignments” property of this item at the same time, this may cause a “Save Conflict” error.
    As you said, “If the user raises only one or two requests then everything works fine”, a workaround is that you can disable the adding item function in Visual Web
    Part forcibly in a specific period after a new item is being added by current user, it can leave some time for handling the item creation and item modification.
    Or if there is a need to submit multiple items concurrently, we can organize the requests into one request, then handle this item with other custom logic in your workflow.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • How to add comments in IP so that no multiple lines are created?

    Hi,
    I have a problem with adding free text in IP. I'm using this How-to guide:
    How to Flexibly Change Characteristic Values and Comments in BI Integrated Planning
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/10d2b273-0e12-2c10-fab3-a34bde559f92
    Using this method creates lines with zeros.
    I need to create an input ready query with only one single line, let's say a single selected co-order. When the user opens this query the inputready line may be empty or it may have already have some values that an other user has saved earlier for that line. Now, the user needs to be able to add free text as a comment for the line. However, if there already exist a value with an added comment then the user should see it here. So the problem is that the user does not know if there already exists a comment for the line when he opens the query. How can I create a query in such a way that only the line with the latest comment (or it there are no comments then an empty line) is shown?
    Br,
    Aino Tuominen

    I hope you are modelling comments as per the how-to-guide. In this document, its shown as Comment is an IO with no-master data and free text field used as transaction data in info cube. And we are using repost method to modify comments.
    So when you add a new row, either the new row will have comment field as blank and you enter some comment for that row in the input box, and press repost button so that the entered comments gets attached to the new row. And then when you run the input ready query next time, you definitely see the latest comment for that row and you can change if you want.
    Just design as per the document, keep comment as a characteristic in any of the dimensions, use this field as row in the input ready query.

  • 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

Maybe you are looking for

  • Remote Update Manager doesn't recognize applicable updates

    Hi, We have a script scheduled to run Remote Update Manager on one of our client machines. This machine is currently running OSX 10.8.5 and Adobe Creative Cloud. When looking at Creative Cloud directly, we can clearly see that there are updates avail

  • Why does every version of Firefox seem less stable of the version before?

    Firefox used to be the best and most stable browser around, but the last few years I've been noticing major memory leaks that get worse with every update. Simply submitting a crash report from one browser won't make any difference here because I'm no

  • Saving list/report as local file - NAME OF DIRECTORY

    Hi Folks Maybe a strange questio! But when I want to save a list to my workstation, I use the menu: System->list->save->local file. Then I suggest unconverted. And then the pop-up ask me for the filename. No problem. But from where does this POP-UP g

  • EDIT_MODE in REUSE_ALV_GRID_DISPLAY

    Hi everybody. I am calling FM REUSE_ALV_GRID_DISPLAY to display certain data in an ALV grid. Some of the fields are supposed to be editable, so I modify the field catalogue accordingly (fieldcat-edit = 'X'). Since I want to edit some of the grid data

  • How to give back my device to iCloud.

    My iPhone was stolen, and I delete by mistake my device from iCloud. Can you give back my device to device list?