Need help in populating data in advanced table in oaf

Dear All,
I have a requirement as below:
I have a custom OAF page, from that i am invoking a popup page and from the popup page i am selecting some rows and populating in my base page advanced table region.
that is fine so next time when i am calling again the popup page and selecting some data and pressing button this time it is again populating properly in base page my requirement is i need to populate the old data that selected as well as new data wht selected, so every time the table refreshed with the data selected rather than keeping old data wht selected, can it be posibel please help me out.
Thnaks

Hi Vishnu,
in all sapscript for standard sap transaction cases, you can always find the original sap solution abd/or sap sample routines. Start from there and then look at your custom programming.
I can't explain in more detail because you do not give more detail.
Another frequent issue is that the sapscript form is not configure and activated correctly.
Anyway, follow this guide and find the solution ist possible.
Regards,
Clemensl

Similar Messages

  • Help needed in Loading excel data to staging table from OAF Page

    Hi All,
    We have a requirement from the client on loading of a excel sheet data into staging table using OAF page.
    We were able to load a CSV file into staging table via OAF. The approach we used is we created a item of style 'messageFileUpload', which would pick the CSV file from desktop and we wrote the logic on the controller to place the file into server and then sumit a concurrent program to load the data into the staging table.
    But client wants data from the excel file to be loaded into staging table. Is there any way(approach) by which we can convert the excel file data into .CSV file using OAF?
    Any help or pointers on this will be highly apperciated.
    Thanks,
    Chethana

    Hi,
    Read through this :
    Need to upload a CSV/Excel to a table in OAF page
    Thanks,
    Gaurav

  • Need help in retrieving data from database table

    Hi ,
    I have a Ztable with primary key.The table gets automatically sorted on primary key
    But I want to retrieve the ztable data in the order in which i enter data in to table.
    EXAMPLE :
    I enter data as : mydata
                            action
                            welcome
    When i retrieve this data  internal table should be filled in the same order.
    Your inputs will be very helpful.
    Thanks in advance.

    You will need to change your table to use a number as the first key field (after the client) which you increase by 1 each time you make a new entry.  Alternatively you can add a data/time stamp to the end of your table and use this to sort your internal table once you've extracted the records.
    Regards,
    Nick

  • Need help in Populating data in to new fields using BDT

    Hi all,
    in BDT,
    i have created  a VIEW and attached it to a subscreen,
    i am able to see the the fields and have problem in populating data into the fields,
    In the BEFORE OUTPUT FM, i am populating data into the screens, but its not available in the screen,
    Please help me in this.
    Thanks and regards,
    Sumanth.

    Hi,
    Use managedBean scope as pageFlowScope and try
    See
    http://tanveeroracle.blogspot.com/2011/02/pageflowscope-variables.html

  • Need help with saving data and keeping table history for one BP

    Hi all
    I need help with this one ,
    Scenario:
    When adding a new vendor on the system the vendor is suppose to have a tax clearance certificate and it has an expiry date, so after the certificate has expired a new one is submitted by the vendor.
    So i need to know how to have SBO fullfil this requirement ?
    Hope it's clear .
    Thanks
    Bongani

    Hi
    I don't have a problem with the query that I know I've got to write , the problem is saving the tax clearance certificate and along side it , its the expiry date.
    I'm using South African localization.
    Thanks

  • Need help adding field data from a table to a text box

    I have a form that has a table. Within the table is a description box. The user enters data into the box and can add/remove new items. When they are done I would like the text from these fields to be concatenated into a large text box. Essentially what they are doing is creating a list of descriptions that will be pushed into a report field.
    Thanks,

    Hi,
    Yes, you should be able to adapt the example to work for the main summary textfield.
    I would place the script in the exit event of the table textfields. You would still need to clear the summary textfield and then loop through the table and update.
    Inside the loop the text would be like:
    summary.rawValue = summary.rawValue + xfa.resolveNode("Table1.Row1[" + i + "]").textField.rawValue + " ";
    Hope that helps,
    Niall

  • Need help with importing data in partition table

    Hi,
    DB:8.1.7
    OS: win 2003 server
    I have a table which is 4.5GB in size. I created a new partition table,with local indexes. I exported the original table with all indexes,triggers and procedures.
    After creating the empty partitioned table,i imported the dump file. The data isn't loaded. My questions are:
    1) Will the indexes be overwritten?
    2) Will the data go automatically in allocated partitions?
    3) Do i need to export only table data ignoring indexes,triggers etc?
    Best Regards,

    ateeqrahman wrote:
    1) Will the indexes be overwritten?Not if they already exist with the same name, or with the same logical definition (ie. same columns are already indexed)
    2) Will the data go automatically in allocated partitions?Yes
    3) Do i need to export only table data ignoring indexes,triggers etc?Do you need the triggers? do you need indexes that you haven't created manually? What about grants?

  • Need help with entering data into a table.

    I just created a table, but I can't enter information.  I don't want the data linked to a datasource.  I just want it to save to the form like all of the other fields.

    Even when I create a simple table, no ability to enter information.  Please help.  I know this must be a simple answer, but surprised that there is no response.

  • Need help in transfering data to my new iphone4 from my old iphone3

    Hello, just received my new iphone 4, need help in transfering data from my old iphone 3 photos, emails etc. apps, thank you

    http://support.apple.com/kb/ht2109

  • Need help in oracle data recovery

    Friends ,i need help in oracle data recovery.
    I had an oracle 8i database running on windows.
    For some reason Windows operating system crashed.
    It is not booting up.
    I dont have current backups.But my database physical files are in the disk.
    Controlfile,datafiles and redo log files are there.
    Is there any way I can recover my database?
    Please help in this issue.
    regards
    Ajith

    HI citrus,
    thanks for the reply.
    I have installed database 9i on the same PC after O/S reinstallation.
    You are saying that ,I need to keep oracle root folder same as that of my old installation ,and copy control files,redo log and data files in exactly same folders as that of old database,and then start the database?
    thank you for your patience and support.
    regards.,
    Ajith

  • I need help proving the date tag on a photo stored in my iPhoto is from the date it was sent to my iphone/date it was imported into iphoto - and that it is NOT the date the photo was actually taken.  Please help!

    I need help proving the date tag on a photo stored in my iPhoto is from the date it was sent to my iphone/date it was imported into iphoto - and that it is NOT the date the photo was actually taken.   I recieved a photo via text on my iphone and then I synced my iphone to my macbook and now it is in iphoto.  I already know that the date on the photo per the tag that shows up on it in iphoto is NOT the date the photo was actually taken.  I need article or literature or something confirming the tag is from when it was sent to the iphone and/or when it was imported.  I greatly appreciate some assistance!

    All I am trying to do is find something on a forum board or article etc stating that the the date showing in iphoto could be the date it was imported or synced or sent to me and not the actual date taken.
    The date on the photo could be anything because you can edit the date with iPhoto or any of 100 apps, free and paid for. So, the date on the photo will prove nothing, I'm afraid.
    Regards
    TD

  • Need help in converting date format

    Hi,
    Need help in converting date format from 'DD-MON-YYYY' to 'YYYY-MM-DD' in an .rtf template as I believe xml publisher supports the date format as 'YYYY-MM-DD' only.
    Thanks,
    Raj.

    I got the same problem, anyone know how to solve this problem? I allready found some date functions on http://blogs.oracle.com/xmlpublisher/2008/09/date_functions.html . I also tried <?xdoxslt:month_name(xdoxslt:get_month(xdofx:substr(NEED_BY_DATE, 4,3)), $_XDOLOCALE), 0, 'nl-NL')?>, but then it returns a namespace error (Caused by: oracle.xdo.parser.v2.XPathException: Namespace prefix 'xdofx' used but not declared.). Anyone know how to fix this?
    Edited by: user11165753 on 7-dec-2009 23:50

  • Need Help in reading data from URLConnection in servlets

    hi i created GUI which sends d username n password to the servlets via URLConnection.n am sending the same to Server program via sockets.but when i read d data in the servlet am getting only null value...need help here....
    This is my button's ActionPerformed code
    private void LoginActionPerformed(java.awt.event.ActionEvent evt) {
    String uname = UserName.getText();
    char [] pwd = PassWord.getPassword();
    String pword = new String(pwd);
    try
    String url = "http://localhost:8080/MIMServlets/hit";
    URL ucon = new URL(url);
    URLConnection conn = ucon.openConnection();
    conn.setDoOutput(true);
    conn.setDoInput(true);
              conn.setUseCaches (false);
    conn.setDefaultUseCaches (false);
    conn.setRequestProperty("Content-Type", "text/plain");
    System.out.println(uname);
         System.out.println(pword);
         PrintWriter out = new PrintWriter( conn.getOutputStream() );
    BufferedReader in = new BufferedReader(
    new InputStreamReader(
    conn.getInputStream()));
         out.print(uname);
    out.print(pword);
         out.close();
    String inputLine = in.readLine();
    Status.setText(inputLine);// TODO add your handling code here:
    }catch(MalformedURLException e)
    System.out.println("Exception"+e);
    catch(IOException e1)
    System.out.println("Exception"+e1);
    This is my Servlet code........
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.sql.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    public class MIMServlets extends HttpServlet
    PrintWriter out,out1;
         BufferedReader in,in1;
         String host = "localhost";
         String fromServer = "";
         String username,password;
         int a;
         public void init()
    out=null;
    out1=null;
    public void doPost(HttpServletRequest request,HttpServletResponse
                   response)throws ServletException,IOException
              response.setContentType("text/html");
              out=response.getWriter();
              try{
              InetAddress address = InetAddress.getByName(host);
    Socket theSocket = new Socket(address, 4444);
    out1 = new PrintWriter(theSocket.getOutputStream(),true);
    in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
    in1 = new BufferedReader(new InputStreamReader(request.getInputStream()));
              String username = in1.readLine();
              String password = in1.readLine();
    System.out.println(username);
              System.out.println(password);
    out1.println(username);
              out1.println(password);
              out1.println("Yahoo");
              out1.flush();
    while ((fromServer = in.readLine()) != null)
    out.println("From Server: " + fromServer);
              break;
         out1.close();
    in.close();
    theSocket.close();
         }catch(IOException e)
    System.out.println("Exception");
    System.exit(-1);
              public void destroy()
         out.close();
    thanks in advance.......

    Follow below example to using FM 'READ_TEXT'
    DATA  BEGIN OF i_tlines OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA  END   OF i_tlines.
    DATA: w_textname(70) TYPE c.
      w_textname = vbdkr-vbeln.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                        = sy-mandt
          id                            = 'Z006'
          language                      = 'E'
          name                          = w_textname
          object                        = 'VBBK'
        TABLES
          lines                         = i_tlines.
      IF sy-subrc = 0.
        READ TABLE i_tlines INDEX 1.
        t_in-m1 = i_tlines-tdline.   "Now t_in_m1 will have the value
      ENDIF.
    Regards,
    SaiRam

  • Issues while Populating data in Tree Table..

    Hi,
    I am using Tree Table component to populate Hierarchical data in it.
    I create data controls based on web service proxy.
    While creating Tree table i selected the Display Attributes to show in Tree table.
    Now i am struck with two requirements:
    1. At run time when i see the data in Tree table i can see that Display Attributes for mixed.
    For Example:
    Andrew> Phone
    Work 123456789 // Here we can notice that, two attributes data displayed with on space gap. Phone Type and Phone number
    Home 987654321 need to show some separation character between thenm something like : Work - 123456789 Is it possible?
    > Email
    work [email protected]
    2. I need to show popup on click on Root node of the Tree table. If we take the above example, i want to perform a click event on "Andrew" so that i can popup and show some details.
    But when i try to insert a command link in Node. Parent & Child nodes are populated with command link. How to have command link only for parent Node.
    Code i am using:
    *<af:treeTable value="#{bindings.contact.treeModel}" var="node"*
    *selectionListener="#{bindings.contact.treeModel.makeCurrent}"*
    *rowSelection="single"*
    *binding="#{backingBeanScope.EditValidationDetails.tt1}"*
    *id="tt1" width="920">*
    *<f:facet name="nodeStamp">*
    *<af:column id="c1" width="800" filterable="true">*
    *<af:commandLink text="#{node}" id="cl2"/>*
    *</af:column>*
    *</f:facet>*
    *<f:facet name="pathStamp">*
    *<af:outputText value="#{node}"*
    *binding="#{backingBeanScope.EditValidationDetails.ot3}"*
    *id="ot3"/>*
    *</f:facet>*
    *</af:treeTable>*
    Thanks in Advance...
    Regards
    Thoom

    Hi,
    I am using Tree Table component to populate Hierarchical data in it.
    I create data controls based on web service proxy.
    While creating Tree table i selected the Display Attributes to show in Tree table.
    Now i am struck with two requirements:
    1. At run time when i see the data in Tree table i can see that Display Attributes for mixed.
    For Example:
    Andrew
    --Phone
    ----Work 123456789 // Here we can notice that, two attributes data displayed with on space gap. Phone Type and Phone number
    ----Home 987654321 need to show some separation character between thenm something like : Work - 123456789 Is it possible?
    --Email
    ----work [email protected]
    2. I need to show popup on click on Root node of the Tree table. If we take the above example, i want to perform a click event on "Andrew" so that i can popup and show some details.
    But when i try to insert a command link in Node. Parent & Child nodes are populated with command link. How to have command link only for parent Node.
    Code i am using:
    <
    <af:treeTable value="#{bindings.contact.treeModel}" var="node"
    selectionListener="#{bindings.contact.treeModel.makeCurrent}"
    rowSelection="single"
    binding="#{backingBeanScope.EditValidationDetails.tt1}"
    id="tt1" width="920">
    <f:facet name="nodeStamp">
    <af:column id="c1" width="800" filterable="true">
    <af:commandLink text="#{node}" id="cl2"/>
    </af:column>
    </f:facet>
    <f:facet name="pathStamp">
    <af:outputText value="#{node}"
    binding="#{backingBeanScope.EditValidationDetails.ot3}"
    id="ot3"/>
    </f:facet>
    </af:treeTable>
    >
    Thanks in Advance...
    Regards
    Thoom

  • Need help in reading data from Database.

    Hi experts,
    I have created a custom smartforms and custom print program. In my print program i have read all the data and populated the internal table and i am able to display the data in the smartform output.
    I'm using Tcode me23n to print preview the form. i have to read the "text" tab from the me23n tcode using FM  "READ_TEXT". The data is getting populated into an internal table. I coded these statements in Initialization tab in global definition.
    Now my problem is ..... Can anyone tell me how to display the data into the forms.
    please help.
    Thanks

    Follow below example to using FM 'READ_TEXT'
    DATA  BEGIN OF i_tlines OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA  END   OF i_tlines.
    DATA: w_textname(70) TYPE c.
      w_textname = vbdkr-vbeln.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                        = sy-mandt
          id                            = 'Z006'
          language                      = 'E'
          name                          = w_textname
          object                        = 'VBBK'
        TABLES
          lines                         = i_tlines.
      IF sy-subrc = 0.
        READ TABLE i_tlines INDEX 1.
        t_in-m1 = i_tlines-tdline.   "Now t_in_m1 will have the value
      ENDIF.
    Regards,
    SaiRam

Maybe you are looking for