How to call View of Component A from Compoenent B

Hi Friends,
         I have a requirment like:
There are four views in component A and i want to use view2 of Component A in Component B. Can some one tell me how to work out.
Note: All four views are assigned to one window only.
Thanks in Advance
Regards
Sankar

Yeah view cannot be called independently.
Here in the above post i am just saying call the interface view.
which will call the window and first view will be called.
in the wddoinit of the first view . we will check the interface node and if a particular attribute is set.
that means call is coming from the comp B then you can fire the plug to next view.
this will take the user directly to second view.
but the flow logic then will be as per by comp A only.
means after view 2 it will go to view 3 like that as you have defined in comp A.
so you cannot use it as an independent reusable entity.
thanks
sarbjeet singh

Similar Messages

  • How to call View of Component B in WINDOW of Component A .

    Hi Experts,
    I have 4 different webdynpro Component. On the button click of first component view, I want second component view should be open in same exiting WINDOW, and same when button click from view of second component, 3rd component view should be open .  I want all 4 component should be opened in ONE WINDOW ONLY .
    Now I am using URL of component to open next component but this is opening seperate window.
    So please guide me how to open different different webdynpro component in ONE WINDOW.
    Thanks & Regards,
    Abhiiesh.

    Hi,
    Why did you create 4 views in 4 different components when you want to use all of them in a single window?
    You could have created all 4 views in a single component.
    Answer to your query:
    Define the usage of components 2, 3 & 4 in component 1
    Add the interface views of components 2, 3 & 4 in window of Comp_1
    Create inbound and outbound plugs for the interface views and windows of components 2, 3 & 4 . Use these plugs to create navigation links in Window of comp_1.
    Use the outbound plugs of windows to navigate btw views(From view call a method in window controller which will fire the outbound plugs).
    Regards,
    Ashwin

  • How to call view of one application from another application in SAP UI5?

    Hi,
    I have a main shell application. inside the shell i have called a application project using iframe.
    Now from this project i have to access the view from the shell application. I tried getParent() but it returns null.
    How do i access view which is not in my project and in a different project?

    Yeah view cannot be called independently.
    Here in the above post i am just saying call the interface view.
    which will call the window and first view will be called.
    in the wddoinit of the first view . we will check the interface node and if a particular attribute is set.
    that means call is coming from the comp B then you can fire the plug to next view.
    this will take the user directly to second view.
    but the flow logic then will be as per by comp A only.
    means after view 2 it will go to view 3 like that as you have defined in comp A.
    so you cannot use it as an independent reusable entity.
    thanks
    sarbjeet singh

  • How to call a custom controller method from view

    Hi,
    I ve created a simple web service and consumed it in a model. Mapped the input & output parameters to custom controller context which in turn mapped to component controller's context which in turn to view's contexts.
    How to call a custom controller method from view?
    Please explain the syntax.
    Regards,
    Manoj.

    Hi Patralekha,
    Give some idea for the below scenario:
    I ve created a simple web service and consumed it in a model. What I did was
    1) for the input parameters, mapped the node from view->custom controller->model
    2)for the output parameter, mapping from model->custom controller->view.
    It works fine.
    But I don't want to access model nodes directly, rather I want to set the input param in somewhere else (like custom controller) before calling the appropriate method, same for the response also.
    Share me your thoughts.
    Regards,
    Manoj.

  • Using family sharing, how does one view and download songs from a family member's collection in itunes?

    Using family sharing, how does one view and download songs from a family member's collection in itunes?

    When you click on your device you are presented with the pages
    Summary
    Info
    Apps
    Tones
    Music
    Movies
    TV shows
    Books
    Photos
    To remove Audiobooks depending on the type of Audiobook ie a series of mp3 files you will find under music and probably have to deselect the album name to remove it. I don't have any of these as I download from Audible or I use Audiobook Builder to stictch together mp3 files into m4b files. To find these Click on Books you will immediately see a section for books (in reality ebooks). Scroll down past that and you will see Audiobooks where you can select and deselect. Deselect the required Audiobooks and Click Sync

  • How to call an external web service from OIM?

    Hi,
    I have a question on how to call an external web service from OIM within e.g. creating user process? How should it be done; through adapter and task in the process?
    Any recomendations?
    Thanks in advance!

    it is not clear to me if you are having problems with calling java code from OIM or if the problem is the web service API.
    Lets do some divide and conquer:
    Can you create a simple java class that just writes a couple of lines to the log? Please attach this code to the OIM task and make sure it runs.
    Once this works we can start looking at the web service call.
    Best regards
    /Martin

  • How can I view and delete photos from my I cloud

    How can I view and delete photos from my I cloud

    Welcome to the Apple Community.
    If you mean from iCloud.com, you can't.

  • How to call java function with parameter from javascript in adf mobile?

    how to call java function with parameter from javascript in adf mobile?

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • How to call a Asynchronous bpel process from a PLSQL procedure?

    How to call a Asynchronous bpel process from a PLSQL procedure?

    Hi,
    You could do something smart and technical very spiffy with soap-stacks in the database and/or dbms_ws/dbms_http. But I allways find AQ with AQ-adapter the simplest. Let Pl/sql enqueue a message on an aq-queue and subscribe an aq-adapter process on it. That can call your async-bpel process. If you want to get answer back in pl/sql, let the aq-adapter process enqueue a response message on another queue or on the same queue with another consumer name. Give it a correlation-id that you provided in the payload of your request message. Your pl/sql process can then do a dequeue on that correlation-id. It will sit and wait until a message with that correlation id is enqueued on the queue.
    Regards,
    Martien

  • How to call a Bapi or RFC from a custom logon module

    Can you provide an example of how to call a bapi or rfc from a custom logon module? (used to authenticate in portal)

    Hello all,
    Is it possible to use SAP JRA instead?
    We have a Connector deployed on the WebAS 6.40. From an EJB (Webservice) it is possible to lookup the connector, but if i try to lookup the connector from a custom LoginModule, i get the following error:
    Path to object does not exist at java:comp, the whole lookup name is java:comp/env/eis/SAPJRA_CRMDC.#
    The whole lookup in LoginModule looks
    try
                   initialcontext    = new InitialContext();
                   connectionFactory = (ConnectionFactory) initialcontext.lookup("java:comp/env/eis/SAPJRA_CRM");
              } catch (Exception ex)
                   location.errorT(ex.getMessage());
    Regards Oliver

  • How to call Apps Module Custom Method from Entity Object / View Object ?

    Hi All,
    I create a custom method in AppsModuleImpl.java. How can I call that custom method from a setter method on Entity Object / View Object ?
    (I have tried to use Configuration.createRootApplicationModule(amDef,config); but it is not the correct way, is it? )
    Below is my code :
    The setter on MyEntityImpl.java :
    public void setKodeprd(String value) {
    setAttributeInternal(KODEPRD, value);
    if (getProduct() != null) {
    // CALL the getSalesPrice custom method from here, HOW ??
    The Application Module custom method :
    public Number getSalesPrice(String priceCode, String kodePrd) {
    Number price = new Number(0);
    String [] theKey = {priceCode, kodePrd};
    Key priceKey = new Key(theKey) ;
    ViewObject SalesPrice = getSalespricedView1();
    Row[] salesPriceRow = SalesPrice.findByKey(priceKey, 1);
    price = ((SalespricedViewRowImpl)salesPriceRow[0]).getPrice();
    SalesPrice.remove();
    return price;
    Thank you for your help,
    xtanto

    inside the EntityObjectImpl :
    YourAppModuleImpl am = (YourAppModuleImpl)getDBTransaction().getRootApplicationModule().findApplicationModule("YourAppModuleorServiceName");

  • How to call view-controller method out of componentcontroller

    Hello all,
    my component implements a component-interface with method BACK.
    Thus my componentcontroller has the interface Method BACK.
    When triggering BACK from an foreign component, the implementation within the componentcontroller is called. So far so good.
    Now I want to POPUP_AND_CONFIRM when BACK is hit. But this POPUP_TO_CONFIRM requires me to create an action. But I can't create an action within the componentcontroller.
    I could realize the POPUP_AND_CONFIRM within the components view. But how can I call a view-method out of the componentcontroller?
    Or does anybody have a better solution? (Maybe I could implement BACK within the view, but how to connect the componentcontroller-back-method with the views back-method?)
    Thank you very much in advance...
    Regards
    I. Durmaz

    You should never attempt to call view methods from outside the view.  It is possible to register popop event handlers to methods of the component or custom controllers.  From the online help:
    For a few special cases it is useful to register event handlers for component controllers or custom controllers on the button events of a dialog box. For these cases, a special POPUP_TO_CONFIRM attribute of type IF_WD_POPUP_TO_CONFIRM_N has been implemented in the IF_WD_WINDOW interface. This interface provides precisely the methods with which event handlers for component and custom controllers can be registered on events of the dialog box.
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/47/b9487e01602fe2e10000000a42189d/frameset.htm

  • How can I view my iCloud contacts from someone else's iPhone? I don't want to change their phone settings.

    Yesterday I ran into a problem that was eye opening to say the least. I could not not access my contacts in order to find a friend's phone number. No one remembers phone numbers any more. God knows I don't.
    I was on a jetski and it broke down. I was stranded at a dock miles away. I needed to contact my friend to tell him (a) I'm ok, (b) where I was, (c) to bring a tow. Of course I had no phone on me because it would have gotten soaked.
    People were kind enough on the dock to let me use their smart phones to attempt to retreive the phone number and call for help. But I quickly discovered that it is impossible.
    On an iPhone, I tried to use their Safari browser to go to www.icloud.com. When you do that, it simply redirects you to the apps. But it isn't my phone, and their apps are logged in to the owner's accounts. I wasn't about to update the settings in a stranger's phone.
    One guy let me try his iPad with Cellular. Same problem as the iphones. It would not let me use www.icloud.com. It insisted that I use the native iOS apps.
    On an Android, www.icloud.com would simply refuse to work. It would say it was not supported.
    The question I have is: How can I view my contacts from someone else's smart phone in an emergency situation?
    Second question: Why can't I use www.icloud.com on a smart phone's web browser like I can on regular computer?
    I got lucky. I happened to know my mom's home number. Many hours later she was home and I was able to use a phone to call her. She brought up www.icloud.com on her home computer, logged on as me, and read me the phone number I was seeking. But what are the chances of being able to call a trusted person who has access to a computer to do this for you?

    Without "pretending" to be yourself on the other phone (change settings) there's nothing else you can do.
    iOS devices are meant to be single user and can't view iCloud.com the same way a Mac or PC can do.
    You need to find a desktop or laptop machine (Mac or PC) to log in at iCloud.

  • How to call external application (transaction launcher) from event method

    Hi all
    Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
    Best regards
    Arne Thage / MarchIT / Denmark

    hi,
    check class CL_CRM_UI_LTX_NAVBAR_PARAM.
    call method : CREATE_PARAMETER_OBJECT with parameters
    IV_LINK_ID     Importing     Type     CRMT_UI_LOGICAL_LINK_ID                                                                                Logical Link ID
    IV_PARAMETER     Importing     Type     CRMT_UI_LINK_PARAMETER                                                                                Link Parameter
    RV_RESULT     Returning     Type Ref To     IF_BOL_BO_PROPERTY_ACCESS                                                                                BO Attribute
    I think it should work but have never done myself.
    Best Regards
    Pankaj Kumar

  • How to call a portal component in a java program

    Hi guys,
    We need to add some more operation after user log into portal, thus we need to call a portal component after statement proxy.logon(null) from java program SAPMLogonLogic.java,
    Any ideas how can we call the component directly?
    Thanks

    Hi,
    We can access iview,page,role(pcd objects) thru APIs
    refer [this link|http://help.sap.com/saphelp_nw04/helpdata/en/5f/cf9d4207e1c86ae10000000a155106/frameset.htm].
    may be u can use these APIs to do the task.
    do revert.

Maybe you are looking for