View Calling Two different Components

Hello Guys,
I'm developing a Web Dynpro project with a lot of views under this project, and in a specific view I'll need call the another view (by LINK) and this view it was constructed under the another component:
MyWDProject
(+)<b>Applications</b>
.....FinanceApp
.....ManagerApp
.....UserApp
(+)<b>Components</b>
.....<u>FinanceComponent</u>
.......MyView1
.......MyView2
.....<u>ManagerComponent</u>
.......MyView1
.......MyView2
.....<u>UserComponent</u>
.......MyView1
.......MyView2
For instance: <b>ManagerComponent.MyView1</b> there's a <b>HyperLink</b> and this link I should call a <b>UserComponent.MyView2</b>.
It's possible ?
Regards,
Evandro.

Hello Evandro,
Create a window in the component <b>UserComponent</b>, say UserCompWindow. As a result, an interface view will get created for this window, say with the name UserCompWindowInterfaceView and create an Inbound plug for this interfaceView, say fromMangeCompIn.
Embed the view <b>UserComponent.MyView2</b> in this window.
Go to the Used Components section of <b>ManagerComponent</b> and add the Component <b>UserComponent</b> as used component.
Then Embed the interface view <b>UserCompWindowInterfaceView</b> to the required cell area/ view Container in the Navigation modeller of <b>ManagerComponent</b>.
Create an Outbound plug from the view <b>MyView1</b> of the <b>ManagerComponent</b> say fromManageCompIn and establish a link to the <b>UserCompWindowInterfaceView</b>.(i.e establish a link between toManageCompIn & fromMangeCompIn.
In  the action handler of the link fire this outbound plug.
Good Luck.
Bala

Similar Messages

  • Duplication of Entry when we use the same view in two different components.

    Dear Experts,
    We have created a z table in Activity Screen (component: ORDERADM_H)
    and
    later on we have reused the same table on Lead screen (component:
    BT108H_LEA) as required by Business.
    To reuse the table- I did the following steps
    1. Used AET Web UI configuration tool ->Display Enhancemens
    2. Selected the z table I want to Reuse
    3. Under -> Reuse in Object tab, selected, Lead and checked the box
    and finally generated/activated the table.
    4. Went to Lead AET configuration screen, AET table appeared into
    available assignment block and moved to it displayed assignment block
    The problem is for Lead transaction, system is creating duplicate
    records
    when I have populated values on both Lead and as well as follow up
    Activity transactions.
    When I save both the Lead and follow up Activity and I log out and
    login
    back into Lead screen, I see two duplicate records as follows:-
    OPT1, Option 1
    OPT2, Option 2
    We have not written any custom code for this requirement and we believe
    there is a bug in SAP standard. Please refer to screenshots attached.
    How can i avoid duplication issue with the component workbench.
    points for quick and help full answer.
    Reg,
    Hariharan.

    Dear Nariharan,
    Today I faced a simlar issue, and this SAP Note helped me fix it: 1966807 - Duplication of AET table records in change processing
    In my case, cardinality of AET table was 1:1, and I was getting duplicate PARENT_ID every time when trying to create a subsequent service request for my activity.
    Regards,
    Andrew

  • How to call two different servlet-url in the same application

    Hi,
    I want to call, consecutively these methods in my application.
    response.sendRedirect(servlet-url1)
    reponse.sendRedirect(servlet-url2)
    but the second method dont answer,
    I think, the first method redirect s with response ,
    but how to call two different servlet ?
    thanks

    if you call the first redirect, the servlet is getting aborted, so you can redirect to the first servlet, working the stuff in it, and then in the second servlet you can redirect to the third servlet

  • Pricing for two different components in a single assembly

    Dear All,
    Issue is regarding if we maintain two different components in a single assembly.
    Say A nut & Screw assembly, Nut value is fixed & screw value differs as the length of screw differs each time.
    Issue is how to maintain the pricing OR price.
    i/ps will be of great helpful & rewarded too.
    With Regards,
    Vijayashree
    Message was edited by:
            Vijayashree nair

    Hi Vijayashree
    Normally you will maintain price ONLY for the final product which you are going to sell.  So in that case, the question of maintaining price for components does not arise.
    However following options are available in SAP
    If you want the system to carry out pricing, inventory control, and delivery processing at main item level, enter <b>ERLA</b> in the <b><i>Item category group field of the Sales: sales org. 2</i></b> screen in the material master record of the finished product. This means that the components only function as text items and are not relevant for delivery. The following graphic shows how a bill of material is processed at main item level.
    If you want the system to carry out pricing, inventory control, and delivery processing at the component level, enter <b>LUMF</b> in the <b><i>Item category group field of the Sales: sales org. 2 screen</i></b> in the material master record of the finished product. In this case, only the components are relevant for delivery. During processing the system automatically creates a delivery group. The latest delivery date among all the components becomes the delivery date for the entire delivery group.
    Thanks
    G. Lakshmipathi

  • Calling two different layouts in  a script

    Hi all,
            I have one requirement. I have created a form for Medruck and assigned it in nace tcode for purchase order.  My requirement is if version number is ' 0 ' one page should be called and if version number is not zero another page layout should be called. I have created 2 different page layouts in my SAP Script i.e. one page named first layout and second named other layout. if version number is 0 first layout should be called and version number ne 0 other layout page should be called. Is it possible to do it?  if so, how shall i do this... 
    Kindly help me...
    Thanks and regards,
    subbu.

    Hi,
    Can you tell us for what is version concept for.For which program we have to check the version .
    For example see the below scenario.
    -> we have to call the different pages for different company codes . Do as follows.
    sort itab by bukrs.
    call function 'OPEN_FORM'.
    loop at itab.
    at new bukrs .
      if itab-bukrs = '01'.
         call function 'START_FORM'.
          expoting
                page = 'FIRST'.
      else.
         call function 'START_FORM'.
          expoting
                page = 'SECOND'.
      endif.
    endat.
          call function 'WRITE_FORM'.
    AT END of bukrs.
          call function 'END_FORM'.
    endat.
    Endloop.
       call function 'CLOSE_FORM'.
    Thanks,
    NN.

  • Getting error in calling two different Bapi

    Hi ALL ,
    I want to create web-dynpro application
    Requirement : Main View contain one tabstrip 'T' which will display data from all the values.
    I am using one search Button 'B'and passing one number 777
    For example :for search number 777 record should come like this
    Search -- 777 -ITC NUMBER --Input filed
    For Payment & Transfer view I am calling BAPI 'A'.
    Loan Transfer I am calling Bapi 'B'.
    Desired Output :
    A            A                     B
    payment    transfer          laontransfer
    cash        JRM account        open
    cheque     CTC Employee        closed
    For this I am using following Views
    1)Main View  2) Payment 3) Transfer 4)Loan Transfer
    Error : I am not getting any records in field 'Loan Transfer ' which I am calling from Bapi 'B'.
    Can anyone please help me out ??
    Like this :
    A            A                      B
    payment    transfer          laontransfer
    cash        JRM account       
    cheque     CTC Employee

    Hi ,
    Can anyone please let me know the approach of calling different BAPI s
    in web dynpro application.
    Requirement : I want to connect Input from both the Bapi to single element.
    Regards
    Rahul

  • Calling two different clients in SOLAR02-configuration

    Hi Experts,
    I have got two clients one for Configuration and another for development - All the necessary settings have been done and they are assigned to the project system landscape.
    since both of them belongs to the same logical component(SAP ECC) during configuration in SOLAR02 I'm unable to select the required client as the system provides selection only for logical component.
    How can i handle this ? Any inputs ?
    Thanks in advance.
    Regards,
    Vasanth

    Dear Friend.
    all the three client like dev qa and prd are always in a single logical component for any satellite or connected system say R/3.
    Now if you want to run a transaction say on development then in the solar02 transaction goto SAP menu
    Configuration->System Role
    A pop up will appear choose the role here if it is dev then choose dev if it is quality then choose quality based upon ur assignment to the logical component
    then execute the transaction it will be execute in the selected role.
    Hope it clarifies ur doubt
    Regards
    Prakhar

  • Calling two different data sources within same transaction

    Hi,
    I have a method (in an Entity Bean), which I need to use two data sources.
    But the system give this error when I try to do it.
    An illegal attempt to use multiple resources that have only one-phase capability has occurred within a global transaction.
    Please help me to solve this problem.
    Best Regards,
    Chamal.

    I hope you need to use XA Drivers (while create the connection pool it self you need to choose the XA Drivers) for this. else you need to use the userTranscations instead of containers.
    Because other database drivers won't support this feature.
    Please try any of this. Using XA drivers is costly interms of performace.

  • Session management in Info View with two different logins using single sign

    There is a form with 2 user logins UserA and User B to redirect to infoview with sso in my application. I am able to go to each of the Infoview pages successfully but have the following problem.
    User A logs in and infoview opens in a new IE window and sees his/her folders based on permissions and is able to do his/her work for the first time.
    User B logs in andand infoview opens in a new IE window sees his/her folders based on permissions and is able to do his/her work for the first time.
    <b>After a while when User A tries to access the InfoView in the previously opened IE Window, he/she gets an error message. An error has occurred: The object with ID 2519 does not exist in the CMS or you don't have the right to access it.
    User B is able to continue his/her work. Who ever logs in the last, he/she is able to continue his/her work but the other one gets an error.</b>
    <b>Please let me know on how to address this issue . I added logonToken and tried everything at my hand but no success. Is this session controlled by business objects or by the jsp page. What more changes are required for my jsp page to fix the error. Attached below are the form and the applogon.jsp snippets.</b>
    <B> applogon.jsp</B>
        IEnterpriseSession enterpriseSession = null;
        Exception failure = null;
        boolean loggedIn = true;
         String redirectURL = null;
         // If no session already exists, logon using the specified parameters.
        if (enterpriseSession == null){
            try{
                // Attempt logon. Create an Enterprise session manager object.
                ISessionMgr sm = CrystalEnterprise.getSessionMgr();
                // Log on to BusinessObjects Enterprise
                enterpriseSession = sm.logon(username, password, "cms", "secEnterprise");
            }catch (Exception error){
                loggedIn = false;
                failure = error;
            if (!loggedIn){
                // If the login failed, redirect the user to the start page.
                return;
            }else{
                // Store the IEnterpriseSession object in the session.
                session.setAttribute("EnterpriseSession", enterpriseSession);
                // Create the IInfoStore object.
                IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
                // Store the IInfoStore object in the session using the helper functions.
                session.setAttribute("InfoStore", iStore);
                // Store the CMS name for later use.
                session.setAttribute("CMS", "CMS");
                   // Create the IReportSourceFactory object.
                   IReportAppFactory reportAppFactory =(IReportAppFactory)enterpriseSession.getService("RASReportService");
                   // Store the IReportSourceFactory object in the session using the helper functions.
                   session.setAttribute("ReportAppFactory", reportAppFactory);
                // Retrieve the logon token manager.
                ILogonTokenMgr logonTokenMgr = enterpriseSession.getLogonTokenMgr();
                   String logonToken = logonTokenMgr.createLogonToken("", 60, 100);
                   String infoViewURL = null;
                   String tokenParam = null;
                   infoViewURL = "/businessobjects/enterprise115/desktoplaunch/InfoView/logon/logon.do";
                   tokenParam = "token=" + logonToken;
                   redirectURL = infoViewURL + "?" + tokenParam;
                // Retrieve a logon token and store it in the user's cookie
                // file for use later.
                Cookie cookie = new Cookie("LogonToken", logonTokenMgr.createLogonToken("", 60, 100));
                response.addCookie(cookie);
                // Store the logon token for later use.
                session.setAttribute("token", enterpriseSession.getLogonTokenMgr().getDefaultToken());
         // Redirect the user to the relevant tutorial page.
         out.println("You have been logged on to Enterprise.");
         response.sendRedirect (redirectURL);
    Thank You for your help

    // Retrieve the parameters that the user entered into the logon fields.
    <b> user name and password come from here from the above html form into the jsp here. Ted Is this what you are asking for where does the username and password come from
        String username = request.getParameter("user");
        String password = request.getParameter("pass");
    </b>
        IEnterpriseSession enterpriseSession = null;
        Exception failure = null;
        boolean loggedIn = true;
         String redirectURL = null;
         ISessionMgr sessionMgr = null;
         // If no session already exists, logon using the specified parameters.
        if (enterpriseSession == null){
            try{
                // Attempt logon. Create an Enterprise session manager object.
                sessionMgr = CrystalEnterprise.getSessionMgr();
                // Log on to BusinessObjects Enterprise
                enterpriseSession = sessionMgr.logon(username, password, "appserver.abc.com", "secEnterprise");
                   System.out.println("line61");
            }catch (Exception error){
                loggedIn = false;
                failure = error;
            if (!loggedIn){
                // If the login failed, redirect the user to the start page.
                return;
            }else{ this code is in my first post

  • Issues of using same enhancement set for different components

    Hi experts,
    I have an issue when using the same enhancement set(ZCRM_EHSET) for two different components IUICMD & IUICMRD. Component IUICMRD has two views IUICMRD/MainVS & IUICMRD/MeterReading and these views have been copied to Component IUICMD.
    Now, i am getting the following error, when i try to access AccountSearch view of component IUICMD
    Context initialization failed in view IUICMRD/MeterReading of UI Component IUICMD
    An exception has occurredException Class CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_IUICMD_BSPWDCOMPONENT_IMPL is not compatible, for the purposes of assignment, with target type \CLASS=CL_IUICMRD_BSPWDCOMPONENT_IMPL
    Method: CL_IUICMRD_METERREADING_IMPL=>DO_INIT_CONTEXT
    Source Text Row: 10
    Let me know how i can solve this. Is there any precautions that i should have taken before using the same enhancement view for two different components.
    Thanks in advance.......................
    Regards,
    Prabahar

    Hi Bharathy,
    Thank you for the reply which helped me to come close to the solution.
    I hope you reply will solve the second part of my question where i get MOVE_CAST_ERROR.
    My first Question is still unanswered and i request you to provide solution if you have any. I worked on CRM 4.0 and CRM 2007 is new to me.
    My first question is below.
    I have two components IUICMD & IUICMRD. I have enhanced 4 views in the first component IUICMD using enhancement set ZCRM_ENHSET. There is no problem with that. But when i try to use the same enhancement set ZCRM_ENHSET for enhancing the second component IUICMRD, it's enhanceable in enhancement set.  But 2 views IUICRMD/Meterreading & IUICMRD/MainVS is also copied to first component and available as enhanceable views in First component.
    Is it the std behaviour that views from one component is copied to other when you try to use the same enhancement set? Kindly let me know if you faced similar situation.
    Best regards,
    Prabahar

  • Show two windows, two different docs at once, split screen

    Hi,
    I need to take the names of form fields and rewrite them in the asp send document. For this I figure it would be really easy to show a side by side view of two different documents. I could have the form up on the left, and the send asp document on the right.
    Can this configuration be done with Dreamweaver?

    Hi
    Ensure you have your window selected to open pages in tabs. Open both pages and select the tile vertically or horizontally from the windows menu.
    PZ

  • How can I use sysnonym to hide two different views?

    hi,
    My question is how can I use 2 different users to login and they point to different views. However, in the program level, the view name always stand for "Test_View".
    I try to meet the requirements and do the followings:
    Step 1: In user A account, it creates two different views and also grant select to User B and User C respectively.
    Step 2: Login User B and create public synonym called "Test_View".
    Step 3: Login User C and create public synonym called "Test_View".
    I encounter the problem in Step 3 which is public synonym called "Test_View" is already exist. So, anyone can tell me once login and it will depend on which view you can see on program level.
    Thanks
    Amy

    As 399811 told you, you have to create private synonyms.
    "CREATE SYNONYM ...." instead of "CREATE PUBLIC SYNONYM ...."
    the private synonym has to created in each user.
    Joel Pérez

  • I have two different 5s's with two different phone numbers but they are both using the same iCloud/apple account. After upgrading to iOS8 when I get a phone call on one phone both phones ring.

    I have two different 5s's with two different phone numbers but they are both using the same iCloud/apple account. After upgrading to iOS8 when I get a phone call on one phone both phones ring. One phone is for work and one is for private and I don't need both phones to ring from one call. It's bizarre.......is this supposed to be like this? If so where can I turn it off?? And while we are at it iOS8 has installed iBooks on both of my phones and iTunes won't let me uninstall it. I don't need or want iBooks on my phones.

    Hi,
    There are two easy fixes to this.
    One, you can set up Family Sharing, in which you can have two different iCloud Accounts, yet still share the same apps, music, media etc.
    Two, go to Settings and turn-off "Handoff". This can be found under the General page.
    Hope this helps!

  • Can I use one Apple TV device on two different HD televisions to view the same info from a mini Mac?

    Can I use one Apple TV device on two different HD televisions to view the same info from a mini Mac?

    Welcome to the Apple Community Lschaef5318.
    You need one Apple TV for each TV.

  • How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album togeth

    How do I get all the songs from an album to show in the album view?  Currently, if an album lists the artist plus a guest artist, those are shown separately and appear to be two different albums on my iPod.  How do I get all the songs on that album together on my iPod?  If the album is a collaboration wtih many artists, each sond may appear as a separate album.

    I used to have this problem.
    First, you need to go back on iTunes
    you need to go to each of the songs that are having this problem
    Click the album so all the songs drop down
    Right click the songs that have this problem
    Click ' Get info '
    Click the tab that says " info '
    The box that says ' album artist ' should probably be empty (correct me if I'm wrong)
    Click it and type the artist of the entire album, NOT the songs guest artist
    as such,
    ARTIST
    JAY-Z Feat. Justin Timberlake
    ALBUM ARTIST
    JAY-Z
    These should be separate for each artist
    If you write the same album artists for each song by that artist, all the songs should be on 1 album

Maybe you are looking for

  • Please help!  My ipod isn't recognized by computer or itunes

    Thank you in advance for reading this, I'm about to lose it. I have spent 12 hours trying fix my problem, and nothing seems to work. I did everything suggested by the apple site, and other misc. sites out there. Last week I put music on my ipod video

  • Problem with STO cond.type FRB1

    Hi Seniors,     For Stock Transport Order the system is not considering the Freight condition FRB1 filled in the Header of the Purchase order. As a result, the system is not calculating the GR/IR value and the related FICO posting waiting for the Inv

  • Hi I need to reset my ipad 2 .How .Please

    Hi I need to reset mt ipad 2 .How . Please & THank you

  • PO Ammendment after release prints only changed materials,need to print all

    Dear Sir/Madam, i'm creating a PO and releasing it using ME9F Now, when i change the PO, only the changed materials are displyed in the Output. Now, i got to know that this is the standard process. but my requirement is that all the materials are to

  • Cs3 to cs5 upgrade query

    Hello I have CS3 (InDesign, Photoshop and Illustrator) and am looking to upgrade to CS5 Design Premium. Is this possible even though I don't currently have Fireworks, Flash or Dreamweaver? Thanks!