How to transfer parameters between two iViews?

Hi all,
I have two WebDynpro based iViews (StartView and SecondView). when I press the button in the StartView, the EP will navigate to the SecondView. During this process, I want send a parameter value from the StartView to the Second View. In the StartView, I use the follow method to navigator:
WDPortalNavigation.navigateAbsolute(
              "ROLES:portal_content/com.sap.itsamtest/com.sap.secondpage",
                 WDPortalNavigationMode.SHOW_INPLACE,
                 (String) null,
                 (String) null,
                 WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
                 (String) null,
                 (String) null,
                 "value=From Start Page");
In the SecondView, I use the WDWebContextAdapter to get parameter's value.
String Name = WDWebContextAdapter.getWebContextAdapter().getRequestParameter("value");
It works fine. But I found there is a warning message:
The method getRequestParameter(String) from the type IWDWebContextAdapter is deprecated     
So is there any other good mechanism to implement the data transfer between two iViews.
Thanks and Best regards
Deyang

Hi,
  Try the following:
<b>Subscribing to a Portal Event:</b>
http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
<b>Code Example for Programming Portal Eventing:</b>
http://help.sap.com/saphelp_nw04/helpdata/en/0c/8eee31e383cd408bcb07e80b887463/frameset.htm
<b>Regards,
Sai Krishna.
PS: Plz do assign points if it helps. ;-)</b>

Similar Messages

  • In jsp file, how to transfer parameter between two javabean?

    In jsp file, how to transfer parameter between two javabean?
    for example
    Bean1 has a attribute A
    Bean2 has a attribute B
    how to transfer the value of A to B

    Have you tried something like...
    <jsp:setProperty name="Bean2" property="B" value="<jsp:getProperty name="Bean1" property="A" />" />

  • How to pass parameters between two xterm windows?

    Hi,
    I would like to know how to pass parameters between two xterm windows where there are two independence processes running on them respectively ? Would appreciate if any one out there can advise me . Thanks.

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • How to pass Parameters between two forms

    im trying to do this but i could not find any way for this.
    can any one help me how can i pass parameters between two forms
    in forms4.5. any help will be appreciated
    thanks.
    null

    Global variables can be used, but you can do what the online help
    says ...
    Parameters are passed to called forms by means of a parameter
    list. A parameter list is a named programmatic construct that is
    simply a list of parameter names (called keys) and their values.
    You can pass parameter values to forms invoked by the built-in
    subprograms CALL_FORM, OPEN_FORM, and NEW_FORM. In addition, you
    can pass parameter values to other Oracle tools with the
    RUN_PRODUCT procedure.
    A parameter you include in a parameter list can be either a text
    parameter or a data parameter. The parameter type determines how
    its value is interpreted.
    Text Parameters The value of a text parameter being passed to a
    called product is a CHAR string that can represent the following:
    n a user-defined form parameter defined in a form invoked
    by the CALL_FORM, OPEN_FORM, or NEW_FORM built-in subprograms
    n a command line or user-defined parameter for a product
    invoked with the RUN_PRODUCT built-in subprogram
    Data Parameters The value of a data parameter being passed to a
    called product is always the name of a record group defined in
    the current form. (A record group is a data structure that
    stores records derived from a query or through programmatic
    assignment.) Data parameters are used to pass data to products
    invoked with the RUN_PRODUCT built-in subprogram. You cannot
    pass data parameters to forms.
    The following table shows the structure of a parameter list that
    contains four parameters:
    Key Paramtype Value
    CITY Text_Parameter 'BOGOTA'
    CATEGORY Text_Parameter 'EXPORTS'
    MULTIPLIER Text_Parameter '.0275'
    NEW_DATA Data_Parameter 'RECORD_GROUP8'
    arun reddy (guest) wrote:
    : im trying to do this but i could not find any way for this.
    : can any one help me how can i pass parameters between two forms
    : in forms4.5. any help will be appreciated
    : thanks.
    null

  • How to transfer file between two computers?

    Hi,
    I am student, and recently got an assigment to write a java program to transfer file between two computer. I tried to use sockets, but fails. Any suggestion?
    Thanks
    hol

    I am student, and recently got an assigment to write a java program to transfer file between two computer. I tried to use sockets, but fails. Any suggestion?
    Any suggestion?
    My My My te hehe,I know you can put it on a floopy disk or a cd and then take that cd or floopy to the other computer to transfer the files.

  • How to transfer hierarchies between two InfoObjects

    Hi guys,
    I need your opinion to solve a problem.
    I have to transfer hierarchies between two InfoObjects.
    I have to transfer one hierarchy from 0GL_ACCOUNT to other infoobject already created.
    The hierarchy datasource of 0GL_ACCOUNT is already associated, and the only option I see is to use flat files.
    Do you know another way to do this?
    Best regards,
    João Arvanas

    Hi
    If i am not wrong, a new infoobject can be created with 0GL_ACCOUNT as the reference characteristic so that the data in the 0GL_ACCOUNT infoobject will be available for the second infoobject also.
    Thanks

  • How to transfer files between two Macs via Firewire cable?

    I heard you can transfer selected files between two Macs running Tiger. I'm not talking about setting up a new Mac w. files from an older one, if that's different? Can someone enlighten me on this or point me to a "how-to" link? Thanks.

    Yes, you pretty much just drag and drop or copy and paste depending on which way you like better. It is pretty much like connecting an external hard drive. Just find the files you want and copy them over to your other computer.
    This is one of my favorite features from Macs. It's very simple to do and because it's Firewire even large files transfer over very quickly.

  • How Can i communicate between two iviews?

    Hi all,
       I am having two iviews.I want to conect those two in two pages.How can i do this?Can any one help me out from this?
    regards
    Sudeep.

    Hi ,
    Try this
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview,WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Param=Paramvalue");
    "ROLES:"+iview=Iview Path
    "Param=Paramvalue"=Parameter and its value
    Youcan receive the value as
    String parmvalue=WDWebContextAdapter.getWebContextAdapter().getRequestParameter("Param");
    Kind Regards
    Mukesh

  • How to transfer data between two tables

    Hi friends i have got a new problem actually i'm a fresher in this SAP so i have a doubt in SAP Smart Forms the problem is like this
    I have a data element common in both of the tables BSEG and KNA1 and the common data element is KUNNR so i want to transfer all the data in the table BSEG to KNA1 of the same data element(KUNNR) in which there is data regarding customer information so i want to transfer the single customer data into another table KNA1 and i want to display the data in the output plz any one can help me.

    hi.
    the below metjhod u can adopt.
    1)
    select data from 1st zable to internal table.
    2)insert data from internal table to 2nd ztable simple.
    data:begin of itab occurs 0.
    include structure ztable_structure1.
    data:end of itab.
    select * from ztable into table itab.
    modify ztable1 FROM TABLE itab.
    3 ) ike that u can catch date from other table.
    4) if any condition is there u can check it in the internal table.
    Rgds
    Anver
    if hlped pls mark points

  • How do you configure the iMac so separate users can access each other's files, especially iPhoto and iTunes? I need to be able to transfer media between two users and not just gain limited access using 'share'.

    How do you configure the iMac so separate users can access each other's files, especially iPhoto and iTunes? I need to be able to transfer media between two users and not just gain limited access using 'share'.

    See Terence Devlin's thorough explanation here.

  • Is there a way to sync past messages from my old iPhone to my iPhone 5 ? I'm aware of the iTunes backup syncing but how would I transfer that between two devices ?

    Is there a way to sync past messages from my old iPhone to my iPhone 5 ? I'm aware of the iTunes backup syncing but how would I transfer that between two devices ?

    Restore from old iPhone backup can past all data including messages to your new iPhone. Or you can resfer to this iPhone 4/4S SMS to iPhone 5 transfer tutorial. It shows you how to transfer messages only.

  • Can you transfer files between two user accounts on the same macbook pro?

    Can you transfer files between two user accounts on the same MacBook Pro?
    Specifically, I used the Migration Assistant to move music and photos from my old PC to my new MacBook. 
    Somehow, I missed the fact that it was creating a new user account when it was doing this.  So none of music and photos are in the user account I originally set-up.  Instead, all these files are now in a different account.
    I'd like to consolidate all my files on the one user account and delete the other one.
    Is this possible and, if so, how do I do it?
    Thank you.

    you can crop files from one account to another using the Public Dropbox which every user account has.  Log into the user that has the files you want to move, then drag the folder you want to the new users' dropbox:
    I suggest a small scale test on a few files first before moving gigabytes of files.

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • How to Transfer Assets between Departments

    Hi,
    Will SAP System allow the creation of the corresponding accounting entries for the Transfers of Fixed Assets between departments.
    How to transfer the between departments,please give me the proceedure.
    Thanks
    Sap Guru

    Hi,
    Here is how you have to handle transfers between two departments that belong to the same company code. You have 2 scenarios here : a) both the departments belong to the same profit center and ofcourse different cost centers 2) both belong to different profit centers and different cost centers.
    1st scenario : Since they both belong to the same profit center, all you have to do is include a new cost center in the new validity period in the asset master data. SAP will automatically post the depreciation in the new cost center w.e.f the new validity period.
    2nd scenario : This is a Intra-company transfer ABUMN. You have to create a new asset (assuming you dont have one already created) for the new cost center and transfer from the old to the new. This will post the relevant Profit center entries automatically. Make sure you review the transfer variant which is usually 4.
    Thanks
    Jagdish

  • Use of SAP memory to transfer data between two different sessions.

    Hello experts,
    I wish to know how to use SAP memory to transfer data between two different sessions.
    The scenario is that when I run a report and change a variable, the value of changed variable should be availabe to another user on another terminal.
    Thanks & Regards!
    Sumit

    Hello,
    Just to add what Max has already mentioned. IMPORT TO / EXPORT FROM DATABASE statements can be used to store data in special "cluster" tables (you can't use any DDIC table) e.g., INDX.
    @OP: You can opt for Shared Memory(SHM) for this specific requirement as well. In my opinion SHM is a bit tricky to code, but it is easier to monitor. The opposite holds true for "data clusters".
    You should remember SHM is app-server specific. So if you've a load balancing scenario, using SHM can cause problems.
    Hope i'm clear.
    BR,
    Suhas
    Edited by: Suhas Saha on Nov 19, 2010 4:12 PM

Maybe you are looking for

  • Possible Display problem on MacBook Pro 15''

    There is one pixel that shows up as red in the bottom left corner of my display. Screenshots do not capture it. It is present in every program and rebooting the laptop does not get rid of it. Does anyone know what it is or how I can get rid of it? Sh

  • IPhoto/Apple TV sync problem

    Since upgrading to iTunes 9.1 and 8.1.2 my iPhoto pics no longer sync with Apple TV. I've disconnected the library and set up new connection. No luck. I'm looking for suggestions and help.

  • Hi everyone. I have a problem with with gems in clash of clans.

    Hi everyone. I have a problem with with gems in clash of clans. I bought sack of gems by 19.99 dollar and they take my money without adding gems to my account. After that I received an email from apple about my purchase (it's very normal email after

  • Dependent Jobs in scheduler

    Hi Experts, Below are the version details where I am working. Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production PL/SQL Release 11.2.0.2.0 - Production "CORE 11.2.0.2.0 Production" TNS for 32-bit Windows: Version 11.2.0.2.0 - Product

  • Data extraction into sap table  from legacy oracle database

    Hello All,     I have a scenario where I have two different software systems (SAP and xyz systems), where a intermediate table will be created in between the two systems that is shared. Data will be updated by the xyz systems into this shared table.