Transfer of data from one page to another

Hi all,
  I am new in bsp. I have created one bsp application in which i have created one tableview iterator with button in one of its column.
  when i click on the button i am calling one page ,in which on initialization event, i have written one code to display PDF by converting smartforms OTF output to PDF.
first time, when i click on the button on the first page all the data declared in the application class are transfer from one page to second page. and PDF gets open in another window.
But when i close the first pdf file and again click on the button on the first page to see pdf output of another record , i found that data get initialized in the first page .hence its not transported to second page and pdf file comes as blank.
Please help me to solve this issue.
its really urgent.
thanks,
JIGs

Hi,
Passing params can be done via:
- navigation->set_parameter (see http://help.sap.com/saphelp_nw2004s/helpdata/en/c2/231779c53011d4990400508b6b8b11/frameset.htm)
- cookies (see http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm)
or by working stateful (then you need to make sure that the vars are set right before going to the next page).
Eddy
PS.
Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
Spread the wor(l)d!

Similar Messages

  • HOW TO TRANSFER HISTORICAL DATA FROM ONE ACCOUNT TO ANOTHER

    제품 : FIN_GL
    작성날짜 : 2006-05-29
    HOW TO TRANSFER HISTORICAL DATA FROM ONE ACCOUNT TO ANOTHER
    =============================================================
    PURPOSE
    특정 기간의 Balance 를 Account 별로 Transfer 하는 방법에 대해 알아 보도록 한다.
    Explanation
    GL 의 Mass Maintenance 기능을 이용하면 한 Account 에서 다른 Account 로 혹은 Multiple Account 에서 다른 하나의 Account 로 Balance 를 이동 시킬 수 있다.
    1. GL Responsibility 에서 Other> Mass Maintenance 를 선택한다.
    2. Move/Merge 작업을 위한 Request Name 과 Description을 입력한다.
    3. Request Type 으로 Move 혹은 Merge 를 선택한다.
    4. source-to-target account 를 위해 line number 를 입력한다.
    5. LOV 에서 source Account 를 선택하여 입력한다.
    모든 Account 는 enable 상태여야 한다.
    6. target account 역시 LOV에서 선택하여 입력한다.
    7. 지정한 작업을 수행 하기 전에 먼저 확인 작업을 할 수도 있다.
    8. 작업한 내용을 저장한다.
    9. Move/Merge request 를 수행한다.
    Example
    N/A
    Reference Documents
    Note. 146050.1 - How to Transfer Historical Data from One Account to Another

    Follow the directions here:
    http://support.apple.com/kb/HT2109

  • How to transfer table data from one client to another client?

    How to transfer table data from one client to another client?

    Hi,
    Look at the Blog
    /people/community.user/blog/2007/01/07/transport-table-entries
    Regards
    Sudheer

  • Transfer ownership data from one scenario to another in HFM

    I'm developing HFM Rules for a company that needs to transfer data from one scenario to another. This is so that they can perform What-if analysis on the other scenario. I can transfer the data correctly using the following code:
    'This is in Sub Calculate()
    'Check if there is a source scenario and transfer all data if there is
    If HS.Entity.IsBase("","") And HS.Value.Member = "<Entity Currency>" Then
    If Trim(HS.Scenario.UD1("")) <> "" Then
    HS.Clear "A#ALL"
    HS.Exp "A#ALL = S#" & Trim(HS.Scenario.UD1(""))
    End If
    End If
    'Check if there is a destination scenario and set the impact status if there is
    ScenList = HS.Scenario.List("", "[BASE]")
    For CurrScen = LBound(ScenList) To UBound(ScenList)
    If Trim(HS.Scenario.UD1(ScenList(CurrScen))) = HS.Scenario.Member Then
    HS.ImpactStatus "S#" & ScenList(CurrScen)
    End If
    Next
    If I extend this code to check *HS.Value.Member = "[None]"* and run a calculate on the *[None]* Value Layer, this also copies ownership methods and percentages for the relevant entity. Unfortunately, going to each parent entity and running a calculate for each month is not going to be practical since there are more than 500 entities in this group.
    What I want to do is to actually copy ownership methods and percentages automatically if I run a consol. Is there a way to do either of the following:
    1. Set a value for a POV that is in a different value layer?
    2. Trigger a calculate for a different value layer in the rules?

    Try posting this to the HFM forum

  • How do I transfer the data from one iPad to another

    How do I transfer all of the data from one ipad to another one?

    The best way IMO is to sync each iPad with your computer. Having all your stuff backed up on a computer is a good idea anyway. Just read how many folks here are trying to recover lost stuff that could easily be copied back from either backup or iTunes on the computer.
    Sync both iPads to the computer. Transfer all photos to the same computer. Then sync again selecting which items you want on each iPad.

  • Transfer of Data from one Database to Another

    Respected Guys
    Is there any way to transfer few fields from different tables located on a Database Server used by SAP to an other database used by an another application. The other database also have same fields and and Tables structure.
    Both databases are located on different servers and are oracle9i.
    Is there any way to transfer real time data from one database to another. If not then any way by which we can preiodically can transfer the data.
    Thnx

    Hi
    U can use a <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9c/d736b880c34f76b507bac7751a0474/frameset.htm">DBCON (Database Connection) tool</a>.
    Here you should call another database and write SQL native code in order to transfer/read the data.
    Max

  • How do I transfer personal data from one iPhone to another?

    How do I transfer personal data (contacts etc) from one iPhone to another (3GS to 4)?

    You're gonna have to start over if you want to use the backup of your 3GS to restore to your iPhone 4. So, in iTunes>Preferences(under the edit menu if using Windows)>Devices...delete any and all backups listed for your iPhone 4(there should only be one). Then, on your iPhone 4: Settings>General>Reset>Erase All Content & Settings. That should take but a minute or so, then plug your phone in, iTunes running, name it what you want & restore it from your 3GS backup. Follow this by syncing your iTunes content back to your phone.

  • Transfer app data from one laptop to another?

    Not quite sure if this is the right place for this question but I'll give it a shot...
    I've recently got a new laptop and haven't yet plugged my iPod into it yet as I'm wary about losing all my app data. I've tried searching the internet but I haven't really found anything that helps.
    So my question - if you transfer apps and stuff from one laptop to another will all the data stay with it (over home sharing or external harddrive) or will it clear all the data once I connect my ipod? Is it even possible to keep the app data?
    Please help, I'm desperate to put more music on my iPod and can't use my old laptop to do it as I can't install the latest iTunes due to lack of memory.
    Thank you
    Message was edited by: LeenaBear

    Welcome to the Apple Community.
    If you follow the method of copying the entire iTunes folder from the old to new computer here, you shouldn't have any problems.

  • Transfer data from one page to another.

    hi SDNS,
    i have small problem.
    I have 2 pages.
    page1.
    page2.
    page1 ->i wrote a select query and got the data into an internal table<b> itab.</b>
    now my requirment is i want to populate it into the page2.
    i.e.
    page2->I require the <b>itab</b>.
    how should i navigate the internal table data from page1 to page2.
    thanks in Advance,
    Lokesh@EDS.

    There are two way,
    1. Using server side cookies: Refer
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/31b97b35a111d5992100508b6b8b11/frameset.htm">Server Cookie</a>
    2. Using Auto Parameter
    call method NAVIGATION->SET_PARAMETER exporting
    name = 'itab'
    value = itab.
      "Here itab is internal table.
    NAVIGATION->GOTO_PAGE('next.htm').
    In the next page , you can make the internal table as auto in the attributes.
    <i>*Reward each useful answer</i>
    Raja T

  • How to transfer app data from one mac to another without using syncing of the iphone?

    Right, recently I have tried to change which computer my Iphone syncs with so that my older mac can be sold or disposed of in some profitable form. I have successfully synced all of my music off of one mac onto another via home sharing at which point I connected my phone to my new computer which suggested that the phone needed a software update. Immediately after doing this I realised that my updated Iphone 3GS would no longer sync to my old computer and attempted to sync it just to confirm this- it failed and stated that the iphone could only sync with itunes 10.1 which is a higher spec than that mac can hold. I then feeling doubtful that things would work out tried to carry on as if this problem were absent but I later discovered that I could only transfer the apps that I had synced to my phone to my new mac and all unsynced apps appeared lost because as I stated previously I could not sync with my older mac which contains all of their data. I have consulted the online apple manual for the phone and all it states is the method of transferring purchases in itunes which I tried and is what lead to the copying of my synced apps on to my new mac. What I am asking is is their anyway that I can 'cheat' so to speak at app transfers. I know that somewhere on my old mac the files are stored with the information of the lost apps but I cannot locate them and would not know how to merge them into my newer itunes if I were to copy and paste them to a memory stick (assuming that this is the right method) Other than this is their any other way of downgrading the upgrades of an iphone or somehow tricking itunes into running a higher update than the computer spec? I've tried all I can and this is really annoying- please help!!!!!!

    I'm not entirely sure what you're asking... I'll have to look on my Mac at home to see exactly where they are, but you should just be able to copy all the apps from your old machine to thumb drive or over the network and put them in iTunes on the new one, then sync. Right click on one of the apps in your iTunes library and choose Show in Finder. That will point you to where they are.
    If you're asking how you can do this and maintain data contained 'within' the apps themselves (high scores, game progress, etc), I don't think there's any way you can do that.

  • Passing from data from one page to another

    Hi All, i'm currently doing a CSV file upload into a database
    application, and I'm wondering if it is possible to pass the data
    from the file field to another php file which executes the command
    of inserting the data of the csv file into the database? Thanks!!
    Wanqi

    You have this in test.php -
    $target_path = $_GET['uploadfile'];
    That implies that the page calling test.php is passing
    'uploadfile' as a URL
    variable. But it isn't.
    <form id="form1" name="form1"
    enctype="multipart/form-data" method="post"
    action="test.php">
    Why wouldn't $target_path be the same as $uploadfile?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "taywanqi" <[email protected]> wrote in
    message
    news:[email protected]...
    > Attached below is the code i used for my application:
    >
    > form.php
    >
    >
    >
    >
    >
    >
    >
    > <?php
    > session_start();
    > ?>
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <head>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    > <title>Untitled Document</title>
    > <style type="text/css">
    > <!--
    > .style13 { color: #FFFFFF;
    > font-family: Georgia, "Times New Roman", Times, serif;
    > font-size: 14px;
    > }
    > -->
    > </style>
    > </head>
    >
    > <body>
    > <form id="form1" name="form1"
    enctype="multipart/form-data" method="post"
    > action="test.php">
    > <p align="center">
    > <input type="file" name="fileupload" id="fileupload"
    />
    > <input type="hidden" name="csvfile" id="csvfile"/>
    >
    > </p>
    > <p align="center">
    > <input type="submit" name="upload" id="upload"
    value="Submit" />
    > </p>
    > </form>
    > </body>
    > </html>
    >
    >
    > Test.php
    >
    > <?php
    > session_start();
    > echo $name;
    > ob_start();
    > ?>
    >
    > <?php require_once('connection.php'); ?>
    >
    > <?php
    >
    > //UPLOADING FILE
    > if(isset($_POST['upload']))
    > {
    >
    > $uploaddir = 'uploads';
    >
    > $uploadfile = $uploaddir .
    basename($_FILES['fileupload']['name']);
    >
    > $target_path = $_GET['uploadfile'];
    >
    > echo $target_path;
    >
    > //$target_path = ini_get('$uploadfile');
    >
    > echo $file;
    >
    > echo '<pre>';
    > if
    (move_uploaded_file($_FILES['fileupload']['tmp_name'],
    $uploadfile)) {
    >
    > echo "File is valid, and was successfully uploaded.\n";
    >
    > } else {
    > echo "Possible file upload attack!\n";
    > }
    >
    > echo 'Here is some more debugging info:';
    > print_r($_FILES);
    >
    > print "</pre>";
    > }
    >
    >
    > $fcontents = $_SESSION[csvfile];
    >
    > for($i=0; $i<sizeof($fcontents); $i++) {
    >
    > $line = trim($fcontents[$i]);
    > $arr = explode("\t", $line);
    >
    > echo $arr."<br>\n";
    >
    >
    > }
    >
    > //ATTRIBUTES
    > //$fieldseparator = ',';
    > //$lineseparator = '\n';
    >
    > //READING OF FILE
    > $csvfile = $uploaddir .
    basename($_FILES['fileupload']['name']);
    >
    > //TRUNCATE THE FILE BEFORE INSERTING IT INTO THE
    DATABASE
    > mysql_select_db($database, $test);
    > mysql_query("TRUNCATE TABLE timetable") or die("MySQL
    Error: " .
    > mysql_error()); //Delete the existing rows
    >
    > //IMPORT CSV INTO DATABASE
    > $lines = 0;
    > $queries = "";
    > $linearray = array();
    > $fcontents = file($csvfile);
    >
    > for($i=0; $i<sizeof($fcontents); $i++) {
    >
    > $lines++;
    >
    > $line = trim($fcontents[$i]);
    >
    > $linearray = explode(',',$line);
    >
    > $linemysql = implode("','",$linearray); // convert the
    array to a string
    >
    > echo "$linemysql". "\n";
    >
    > //$query = "INSERT INTO timetable
    values('$linemysql')";//Insert query to
    > insert values into the database
    > $query = 'LOAD DATA INFILE "$target_path" REPLACE
    > INTO TABLE timetable
    > FIELDS TERMINATED BY ","
    > OPTIONALLY ENCLOSED BY """"
    > LINES TERMINATED BY "\r\n"';
    >
    > mysql_query($query, $test) or die('SQL
    ERROR:'.mysql_error()); //Insert
    > in
    > the new values into the database
    >
    > }
    >
    > ?>
    >
    > </head>
    > <body>
    > </body>
    > </html>
    > <?php ob_flush(); ?>
    >

  • Transfering Table data from one page to another page in OAF

    Hi All,
    Could you please help me with the following requirement. I am trying to transfer the first page selected records to second page, but running into issue.
    I have 2 custom OAF pages:
    1st Page is Invoice Search page and upon searching for an invoice, user can select 'multi records' (its table region with multi-select) and click on upload button.
    The button internally calls setForwardUrl method and calls 2nd page, where second page contains Advacned Table region to show the selected records from 1st page.
    Since user can select more than 1 record in Search region on first page, I would like to hold all rows in an array of Hashmap with Integer index and transfer it to 2nd page. Following is the hashmap syntax I am using:
    java.util.HashMap<Integer,InvoiceRow> map=new <Integer,InvoiceRow>(); // Here InvoiceRow is a custom CLASS structure with InvoiceNumber and Customer Number as variables inside.
    But if I pass the above HashMap to setForwardURL method, the JDeveloper throwing an exception saying that "setForwardURL cannot invoke" message.
    Could you please help me how can I transfer the first page multiselected records to second page?
    Appreciate your time.
    -- Venkat

    Venket, the approach i told you can try in below way:
    public String getSelectedData()
            String whereclause = "(";
           // String whereclause1 = "(";
         XXCONTAINLINESVOImpl vo = this.getXXCONTAINLINESVO1();
          //OAViewObject vo=(OAViewObject)getXXDPECONTAINLINESVO1();
          // System.out.println("debTEST"+punload);
           Row[] sumVoRow =vo.getFilteredRows("Select1", "Y");
            System.out.println("deb multi select test"+sumVoRow.length);
        if (sumVoRow != null && sumVoRow.length > 0)
         for (int i = 0; i < sumVoRow.length; i++) {
                  String wipEntityId =
                  sumVoRow[i].getAttribute("LineId").toString();             
                  whereclause = whereclause+sumVoRow[i].getAttribute("LineId").toString()+",";
                System.out.println("deb multi select test"+whereclause);
            if (whereclause.length() > 0 && whereclause.charAt(whereclause.length()-1)==',')
                 StringBuilder b = new StringBuilder(whereclause);
                 b.replace(whereclause.lastIndexOf(","), whereclause.lastIndexOf(",") + 1, ")" );
                 whereclause = b.toString();
               //  return whereclause;          
            System.out.println("deb where clause test"+whereclause);
        return whereclause;
    so this method will return the value as like : whereclause=(111,222,333) then put this in one session varibale and pass to the below method from CO
        public void processPOData (String wherclause)
            String query = getXXDPECONTAINDATAVO1().getQuery();//Old queryStringBuffer stringbuffer = new StringBuffer();
                      String newwhereclause ="LINE.LINE_ID IN "+wherclause;
                        System.out.println("DEB NEW where clause:"+newwhereclause);
                         StringBuffer stringbuffer = new StringBuffer();  
                       // stringbuffer.append("SELECT rownum LINE_NUM,A.* FROM (");
                        stringbuffer.append(query);
                        stringbuffer.append("  where ");
                       stringbuffer.append(newwhereclause);
                        ViewDefImpl viewdefimpl = getXXDPECONTAINDATAVO1().getViewDefinition();
                        viewdefimpl.setQuery(stringbuffer.toString());
                        System.out.println("DEB NEW QUERY TEST:"+stringbuffer.toString());
                        getXXDPECONTAINDATAVO1().executeQuery();
    Let me know if stil r u facing isssue
    Thnaks
    Deb

  • How do i transfer all data from one mac to another?

    When I started up my new iMac, there was an option to transfer all my data from my older mac (macbook air) to the new iMac. I skipped this step at first, how can I get back to this step and utilize this feature?   

    Choose Utilities from the Finder’s Go menu and double-click the Migration Assistant. Note that if you move a home folder, it’ll create a new user account for it.
    (123782)

  • How do you do a quick transfer of data from one TX to another TX with different user name

    I have more than one TX and want to keep most of the information, addresses, media, calendar as well as third party software the same on all my TX's.  Is there a way to do this without the long hassle of exporting all that can be exported, and then importing it into each TX.  Then adding all the third party software again?  I have a new TX and remember how long this takes, so I am hoping for a faster method.   I already know how to do a transfer if using the same user name, but this won't work when each will have a different user name in order to hotsync.
    This may be a different question. All the TXs will be used and will sync to the same computer via USB, and all are on the Palm Desktop.   I want to use them interchangeably.  I would also like to keep the information current on all of them, as I now must copy paste any new info (ex. new address) into each via either palm desktop, or beaming to the others.  Often this leads to discrepancies of the data between the different TXs. 
    Post relates to: Palm TX
    Message Edited by Silfox on 06-22-2009 09:03 AM

    You might look into a program called "SyncUs" from an author in the UK.  It will keep all the PIM data synced between two Palm OS units.
    WyreNut
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How to pass data from one page to another

    i have a table with multiselect and i want that in the moment i select some rows and press on a button in the other page should be displayed only those data i have selected from previous one.... how can i do this? any link or example for this case?
    thanks in advance :)

    If the data you are retrieving from the excel file is just a few fields, then you can get them all on the first page and store them as public variables and use those variables on the different pages. But if you are getting a lot of data per page, then it would still be a good idea to get them all on the first page but store them as arrays. Then, on each page you can use the array you need.

Maybe you are looking for

  • How do I undo the changes to Firefox's appearance?

    When I started up Firefox today, it suddenly switched to a hideous Windows 7-style look, and I can't figure out what I did to cause it or how I can make it go away! Searching online, I came across a "classic" ad-on, but it doesn't reflect the look an

  • XE and OFA

    Why is OFA (techinique invented by Oracle) left in this version? It is a little bit strange to see directory structure like this!

  • Validation sequencing not working

    hi I have found that my item level validations on a page are not working as I expected. I validate a field (P74_change_id) to 'must be numeric', then I have another validation with a much higher sequence number that checks whether the value already e

  • Contacts created in Phone app do not show in the Contacts list.

    Hello, When I create a new contact from within the Phone app (i.e. from a "Recent" call) it does not show up in my contacts list. The new contact will show up in a search, but it only appears in the Phone app in the "Info" window. Any info. on why th

  • Connecting mac to wirless laserjet pro 200

    I recently upgraded to the HP Laserjet pro 200. It is connected to my wireless connection as is my mac books. But I cannot get the two to recognize each other. I have downloaded the correct drivers my os is 10.9, and I still get the message that my m