Working on table dynamically

HI all ,
There is problem which i need to Move data from table one to table 2 with differnt structure the
for instance
table 1
pernr                                                             comments
123                            AAA
123                               BBB
123                                          CCC
456                              ZZZZ          
456                               TTTT
456                                         GGGG
456                                         SSSS
What I want :
table 2
pernr            line 1             line 2         line3
11               AAA                BBBB            CCCC
22               ZZZZ               TTTT            GGGG
The code :
TYPES:BEGIN OF ty_tab,
    pernr TYPE numc10,
    comments TYPE char10,
  END OF ty_tab.
DATA:it_emp_com TYPE TABLE OF ty_tab,
      ls_emp_com LIKE LINE OF it_emp_com.
TYPES:BEGIN OF ty_tab2,
    pernr TYPE numc10,
    line1 TYPE char10,
    line2 TYPE char10,
    line3 TYPE char10,
    line4 TYPE char10,
  END OF ty_tab2.
DATA: it_emp_com2 TYPE TABLE OF ty_tab2,
      ls_emp_com2 LIKE LINE OF it_emp_com.
ls_emp_com-pernr = 123.
ls_emp_com-comments = 'AAA'.
APPEND ls_emp_com TO it_emp_com.
ls_emp_com-pernr = 123.
ls_emp_com-comments = 'BBB'.
APPEND ls_emp_com TO it_emp_com.
ls_emp_com-pernr = 123.
ls_emp_com-comments = 'CCC'.
APPEND ls_emp_com TO it_emp_com.
ls_emp_com-pernr = 456.
ls_emp_com-comments = 'ZZZ'.
APPEND ls_emp_com TO it_emp_com.
ls_emp_com-pernr = 456.
ls_emp_com-comments = 'GGGG'.
APPEND ls_emp_com TO it_emp_com.
ls_emp_com-pernr = 456.
ls_emp_com-comments = 'CCCC'.
APPEND ls_emp_com TO it_emp_com.
ls_emp_com-pernr = 456.
ls_emp_com-comments = 'SSSS'.
APPEND ls_emp_com TO it_emp_com.
FIELD-SYMBOLS : <fs> TYPE any.
REFRESH : it_emp_com2.
DATA: v_flg TYPE n,
      v_field TYPE char20.
LOOP AT it_emp_com INTO ls_emp_com.
  AT NEW pernr.
    MOVE 1 TO v_flg.
  ENDAT.
  MOVE ls_emp_com-pernr TO ls_emp_com2-pernr.
  CONCATENATE 'LS_EMP_COM2-LINE' v_flg INTO v_field.
  CONDENSE v_field NO-GAPS.
  ASSIGN v_field TO <fs>.
  WRITE ls_emp_com-comments TO <fs>.
  v_flg = v_flg + 1.
  AT END OF pernr.
    CLEAR v_flg.
    APPEND ls_emp_com TO it_emp_com2.
  ENDAT.
ENDLOOP.
I try like this and i wont works
any idea what i miss here ?
Regards
Joy

Next and Final Part of Code
LOOP AT it_ty1 INTO wa_ty1.
  AT NEW pernr.
    wa_all_pernr-pernr = wa_ty1-pernr.
    APPEND wa_all_pernr to it_all_pernr.
    count_pernr = 0.
  ENDAT.
  add: 1 to count_pernr.
  at END OF pernr.
    IF max_pernr < count_pernr.
      max_pernr = count_pernr.
    ENDIF.
  ENDAT.
ENDLOOP.
CLEAR:it_fieldcatalog.
it_fieldcatalog-fieldname = 'PERNR'.
it_fieldcatalog-col_pos = 1.
it_fieldcatalog-outputlen = '10'.
APPEND it_fieldcatalog TO it_fieldcatalog.
column_no = 2.
count = 1.
DO max_pernr TIMES.
  clear: it_fieldcatalog.
  CONDENSE: count.
  CONCATENATE: 'line' count INTO column_name.
  it_fieldcatalog-fieldname = column_name.
  it_fieldcatalog-col_pos = column_no.
  it_fieldcatalog-outputlen = '15'.
  APPEND it_fieldcatalog TO it_fieldcatalog.
  add: 1 to column_no,
       1 to count.
ENDDO.
CALL METHOD cl_alv_table_create=>create_dynamic_table
  EXPORTING
    it_fieldcatalog           = it_fieldcatalog[]
  IMPORTING
    ep_table                  = it
  EXCEPTIONS
    generate_subpool_dir_full = 1
    others                    = 2.
assign it->* to <dyn_it>.
create data wa like line of <dyn_it> .
assign wa->* to <dyn_wa> .
LOOP AT it_all_pernr into wa_all_pernr.
  count_column = 2.
  count = 1.
  assign_val 'PERNR' wa_all_pernr-pernr.
  LOOP AT it_ty1 into wa_ty1 WHERE pernr = wa_all_pernr-pernr.
    CONDENSE: count.
    CONCATENATE: 'LINE' count INTO column_name.
    assign_val column_name wa_ty1-comments.
    add: 1 to count.
  ENDLOOP.
  APPEND <dyn_wa> to <dyn_it>.
  clear: <dyn_wa>.
ENDLOOP.
Reply me back in case of any Confusion about the Code.
Best Regards,
Faisal

Similar Messages

  • Error While creating Table dynamically

    Hello gurus,
    I am trying to create a table dynamically in OA Page. For this I have added an Empty TableLayoutBean called "TestTableLayoutRN" in My PG. and In the controller's process request I have added following Code
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    System.out.println("TableBeanCO:ProcessRequest");
    super.processRequest(pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = null;
    //am.invokeMethod("rollbackSupplier");
    OATableLayoutBean tableLayoutBean = (OATableLayoutBean)webBean.findIndexedChildRecursive("TestTableLayoutRN");
    OARowLayoutBean row = (OARowLayoutBean)createWebBean(pageContext,
    OAWebBeanConstants.ROW_LAYOUT_BEAN,null,"rowHeader");
    tableLayoutBean.addIndexedChild(row);
    OACellFormatBean cell = (OACellFormatBean)createWebBean(pageContext,
    OAWebBeanConstants.CELL_FORMAT_BEAN,null,"cellHeader");
    row.addIndexedChild(cell);
    System.out.println("TableBeanCO:End ProcessRequest");
    But I am getting null pointer exception on the Line tableLayoutBean.addIndexedChild(row);
    when I am trying to add the row to this table..
    Can you please help why I am getting this error?
    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:597)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2084)
         at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processRequest(OATableBean.java:1030)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.lang.NullPointerException
         at xx.oracle.apps.fnd.webui.TableBeanCO.processRequest(TableBeanCO.java:79)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:581)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2084)
         at oracle.apps.fnd.framework.webui.beans.table.OATableBean.processRequest(OATableBean.java:1030)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1095)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:932)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:899)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:640)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2298)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

    I am not very sure - but I seem to remember that you need to call tableBean.prepareForRendering() before you start altering it... well - dont count on my suggestion to work.. I had tried something similar 3 years ago... and speaking from what little i remember from then...

  • Problem creating an internal table dynamically

    Hi,
    I'm trying to create an internal table dynamically as i would be able to determine the structure of the table based on the user input.
    I've used the sample code from this forum ...
    REPORT  ZRICH_0003       .
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: alv_fldcat type slis_t_fieldcat_alv,
                   it_fldcat type lvc_t_fcat.
                   type-pools : abap.
    data : it_details type abap_compdescr_tab,
           wa_details type abap_compdescr.
    data : ref_descr type ref to cl_abap_structdescr.
    data: new_table type ref to data,
          new_line  type ref to data,
          wa_it_fldcat type lvc_s_fcat.
          selection-screen begin of block b1 with frame title text.
    parameters: p_table(30) type c.
    selection-screen end of block b1.
    Get the structure of the table.
    ref_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
    it_details[] = ref_descr->components[].
    loop at it_details into wa_details.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname = wa_details-name .
      wa_it_fldcat-datatype = wa_details-type_kind.
      wa_it_fldcat-inttype = wa_details-type_kind.
      wa_it_fldcat-intlen = wa_details-length.
      wa_it_fldcat-decimals = wa_details-decimals.
      append wa_it_fldcat to it_fldcat .
      endloop.
    Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
                exporting
                it_fieldcatalog = it_fldcat
                importing
                ep_table        = new_table.
    assign new_table->* to <dyn_table>.
    Create dynamic work area and assign to FS
    create data new_line like line of <dyn_table>.
    assign new_line->* to <dyn_wa>.
    <b>* Select Data from table.
    select * into table <dyn_table>           from
    (p_table).</b>
    Write out data from table.
    loop at <dyn_table> into <dyn_wa>.
    do.
    assign component  sy-index  of structure <dyn_wa> to <dyn_field>.
    if sy-subrc <> 0.
    exit.
    endif.
    if sy-index = 1.
    write:/ <dyn_field>.
    else.
    write: <dyn_field>.
    endif.
    enddo.
    endloop.
    I'm able to get the structure of the table that i want, but when i'm trying to select data from the table into this internal table..as highlighted in the sample code above..i'm getting a short dump...saying that ' the database table is 600 bytes wide but the internal table is only 576 bytes wide.
    The internal table is declared as
    field-symbols: <dyn_table> type standard table..
    Could anyone please tell me how to rectify this.
    Thanks in advance,
    Harsha.

    Hi Smitha,
    I'm building the internal table by getting the structure using the method
    cl_abap_typedescr=>describe_by_name( p_table ).
    where p_table is the table name determined dynamically..
    Now using this structure, i'm building an internal table by calling the method
    call method cl_alv_table_create=>create_dynamic_table
    I've checked all the fields after the internal table has been created .. and it contains all the fields of the table that i'm supplying initially..
    But when i read data into that internal table, it gives me that dump..I've described it in this post earlier.
    Any more suggestions would be very helpful.
    Thanks,
    Harsha

  • Help required in creation of Dictionary table dynamically

    Hello All,
    I have created DDIC table created dynamically.
    But what i require is! the dictionary table which i have created should be under the package name as given by the customer.
    I have seen in FM DDIF_TABL_PUT  the parameter dd02v-APPLCLASS is the write parameter to create the table under the required package. This field is of length char 4 only.
    Normally the package name will be greater than char4 and also it happend in my case that the package name is more than char4.
    Now i am unable to create the table dynamically under the specified pacakage of the customer
    How can i solve this problem?
    Can any one help me in this issue?
    Regards,
    Gupta

    Hi Lakshman,
    Thank you for your reply,
    I have used the FM which you have mentioned but i didn't work. I mean when i see the attributes of the table, package is still empty.
    Can you help me to solve the problem.
      CALL FUNCTION 'TR_TADIR_INTERFACE'
        EXPORTING
    *     WI_DELETE_TADIR_ENTRY                = ' '
    *     WI_REMOVE_REPAIR_FLAG                = ' '
    *     WI_SET_REPAIR_FLAG                   = ' '
    *     WI_TEST_MODUS                        = 'X'
          wi_tadir_pgmid                       = 'R3TR'
          wi_tadir_object                      = 'TABL'
          wi_tadir_obj_name                    = lv_objname
    *     WI_TADIR_KORRNUM                     = ' '
    *     WI_TADIR_SRCSYSTEM                   = ' '
    *     WI_TADIR_AUTHOR                      = ' '
         wi_tadir_devclass                    = 'ZV/HF/PLANNING'
    *     WI_TADIR_MASTERLANG                  = ' '
    *     WI_TADIR_CPROJECT                    = ' '
    *     WI_TADIR_VERSID                      = ' '
    *     WI_REMOVE_GENFLAG                    = ' '
    *     WI_SET_GENFLAG                       = ' '
    *     WI_READ_ONLY                         = ' '
    *     IV_SET_EDTFLAG                       = ' '
    *   IMPORTING
    *     NEW_GTADIR_ENTRY                     =
    *     NEW_TADIR_ENTRY                      =
       EXCEPTIONS
         tadir_entry_not_existing             = 1
         tadir_entry_ill_type                 = 2
         no_systemname                        = 3
         no_systemtype                        = 4
         original_system_conflict             = 5
         object_reserved_for_devclass         = 6
         object_exists_global                 = 7
         object_exists_local                  = 8
         object_is_distributed                = 9
         obj_specification_not_unique         = 10
         no_authorization_to_delete           = 11
         devclass_not_existing                = 12
         simultanious_set_remove_repair       = 13
         order_missing                        = 14
         no_modification_of_head_syst         = 15
         pgmid_object_not_allowed             = 16
         masterlanguage_not_specified         = 17
         devclass_not_specified               = 18
         specify_owner_unique                 = 19
         loc_priv_objs_no_repair              = 20
         gtadir_not_reached                   = 21
         object_locked_for_order              = 22
         change_of_class_not_allowed          = 23
         no_change_from_sap_to_tmp            = 24
         OTHERS                               = 25
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Regards,
    Lisa
    Edited by: Lisa Roy on Apr 9, 2008 11:37 AM

  • How to create internal table dynamically based on a table entry

    hi Experts,
      I have table yprod_cat. It has product categories.
      In my ABAP program I need to create internal table dynamically based on the number of entries in the table.
      For example:
      If the table has 3 entries for product category
      1. Board
      2. Micro
      3. Syst
    Then create three (3) internal tables.
    i_board
    i_micro
    i_syst
    How can we do this? Any sample code will be very usefull
    Thanks & Regards
    Gopal
    Moderator Message: No sample codes can be given. Please search for them or work it!
    Edited by: kishan P on Jan 19, 2011 4:22 PM

    Our APEX version is 4.2We are using below SQL query to display radio groups dynamically..
    SELECT APEX_ITEM.RADIOGROUP (1,deptno,'20',dname) dt
    FROM dept
    ORDER BY 1;
    Created a form using SQL type and given abouve SQL query as source.. But when we run the page, there were no radio groups displayed in the page..
    Below is the output of the query..
    <input type="radio" name="f01" value="10" />ACCOUNTING
    <input type="radio" name="f01" value="20" checked="checked" />RESEARCH
    <input type="radio" name="f01" value="30" />SALES
    <input type="radio" name="f01" value="40" />OPERATIONS
    >
    If Tabular Form:
    Edit Region > Report Attributes > Edit Column > Change the Column type to "Standard Report Column"
    If normal Page Item:
    Edit Page Item > Security > Escape special characters=No.
    Pl read the help on that page item to understand the security risk associated with =NO.
    Cheers,
    Edited by: Prabodh on Dec 3, 2012 5:59 PM

  • Setting the header of a Column group in a Advanced table dynamically

    Hi All,
    There is a requirement to set the Header of a column group in a Advanced table dynamically by fetching the values from a view attribute.
    Code :
    OAAdvancedTableBean spiderTbl1 ;
    Problem:
    It is not able to set the value for the header inspite of getting the handle of the bean.
    Analysis:
    the same piece of code works for
    1) Setting the text of the advanced table
    2) Setting the header of a column in a column group
    Please let me know if there is anything more that needs to be done for setting the prompt of a column group header.
    Thanks in advance!

    I have posted it without giving the complete code by mistake. Below is the code:
    OAAdvancedTableBean spiderTbl1 ;
    OASortableHeaderBean spiderHdr1;
    spiderTbl1 = (OAAdvancedTableBean)webBean.findChildRecursive("SpiderCatTbl1RN");
    if (spiderTbl1!=null){
    spiderHdr1= (OASortableHeaderBean)spiderTbl1.findChildRecursive("AnalogHdr");
    if (spiderHdr1!=null) {
    spiderHdr1.setAttributeValue(OAWebBeanConstants.PROMPT_ATTR,
    new OADataBoundValueViewObject(spiderHdr1,
    "SpiderCategory1",
    "ProjRegPVO1"));
    }

  • Can we create internal table dynamically ? how?

    hi to all experts,
                           can we create internal table dynamically ? how?plz explain me with an example.Anybody with good example  will be rewarded.it was asked in an interview what the answer for it

    HI
    Yes you can create
    see this
    /people/rich.heilman2/blog/2005/07/27/dynamic-internal-tables-and-structures--abap
    JUST USE THIS CODE AND DO THE ESSENTIAL CHANGES ACCORDING TO YOU
    STEP: 1 - get backend field catalog (currently displayed alv)
    CLEAR: tl_fieldcatalog. REFRESH: tl_fieldcatalog.
    CALL METHOD w_grid->get_backend_fieldcatalog
    IMPORTING
    et_fieldcatalog = tl_fieldcatalog.
    STEP: 2 - create a new fieldcatalog for dynamic internal table
    CLEAR: sl_fieldcatalog.
    CLEAR: t_outtab_fieldname. REFRESH: t_outtab_fieldname.
    CLEAR: tl_fieldcatalog_new. REFRESH: tl_fieldcatalog_new.
    CLEAR: t_download_fieldname. REFRESH: t_download_fieldname.
    CLEAR: t_download_fieldheading. REFRESH: t_download_fieldheading.
    LOOP AT tl_fieldcatalog INTO sl_fieldcatalog.
    STEP: 2.1 - populate data in T_OUTTAB_FIELDNAME
    APPEND sl_fieldcatalog-fieldname TO t_outtab_fieldname.
    STEP: 2.2 - populate TL_FIELDCATALOG_NEW & T_DOWNLOAD_FIELDNAME
    IF sl_fieldcatalog-no_out EQ ''.
    IF sl_fieldcatalog-fieldname NE 'STATUS'
    OR sl_fieldcatalog-fieldname NE 'MESG_STATUS'
    OR sl_fieldcatalog-fieldname NE 'ZLOCK'
    OR sl_fieldcatalog-fieldname NE 'T_PLANT'
    OR sl_fieldcatalog-fieldname NE 'T_CSR'.
    If field is COMM_PLANT, change its length
    IF sl_fieldcatalog-fieldname EQ 'COMM_PLANT'.
    sl_fieldcatalog-outputlen = 1800.
    sl_fieldcatalog-intlen = 1800.
    sl_fieldcatalog-dd_outlen = 1800.
    ENDIF. "comm_plant
    sl_fieldcatalog_new = sl_fieldcatalog.
    APPEND sl_fieldcatalog_new TO tl_fieldcatalog_new.
    APPEND sl_fieldcatalog-fieldname TO t_download_fieldname.
    APPEND sl_fieldcatalog-scrtext_l TO t_download_fieldheading.
    CLEAR: sl_fieldcatalog, sl_fieldcatalog_new.
    ENDIF.
    ENDIF.
    ENDLOOP.
    STEP: 3 - create dynamic internal table
    FREE: ref_download.
    CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
    I_STYLE_TABLE =
    it_fieldcatalog = tl_fieldcatalog_new
    IMPORTING
    ep_table = ref_download
    E_STYLE_FNAME =
    EXCEPTIONS
    generate_subpool_dir_full = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    ASSIGN ref_download->* TO <ft_download>.
    CREATE DATA ref_wa LIKE LINE OF <ft_download>.
    ASSIGN ref_wa->* TO <fs_download>.
    STEP: 4 - populate data in dynamic internal table
    LOOP AT t_outtab INTO wa_outtab.
    LOOP AT t_download_fieldname.
    ASSIGN COMPONENT t_download_fieldname OF STRUCTURE
    <fs_download> TO <fs_download_field>.
    IF t_download_fieldname-field EQ 'COMM_PLANT'.
    STEP: 4.1 - get long text from database table
    CLEAR: wal_table.
    SELECT SINGLE * FROM zshaven_plnt_txt
    INTO wal_table
    WHERE vbeln = wa_outtab-vbeln
    AND posnr = wa_outtab-posnr
    AND del_no = wa_outtab-del_no
    AND del_itm = wa_outtab-del_itm.
    IF sy-subrc EQ 0.
    STEP: 4.2 - break long-text into separate lines
    CLEAR: tl_text. REFRESH: tl_text.
    SPLIT wal_table-plant_comm
    AT '~'
    INTO TABLE tl_text.
    STEP: 4.3 - Combine these separate lines with space in
    between two lines
    CLEAR: wal_text, final_text.
    LOOP AT tl_text INTO wal_text.
    IF final_text IS INITIAL.
    final_text = wal_text.
    ELSE.
    CONCATENATE final_text '-' wal_text
    INTO final_text.
    REPLACE '-' WITH ' ' INTO final_text.
    ENDIF.
    ENDLOOP.
    STEP: 4.4 - move long text to work-area
    <fs_download_field> = final_text.
    ENDIF. "subrc
    ELSE. "t_download_fieldname
    READ TABLE t_outtab_fieldname
    WITH KEY field = t_download_fieldname-field.
    ASSIGN COMPONENT t_outtab_fieldname-field OF STRUCTURE
    wa_outtab TO <fs_outtab_field>.
    <fs_download_field> = <fs_outtab_field>.
    ENDIF.
    ENDLOOP.
    STEP: 4.5 - Move data from work-area to dynamic internal table
    APPEND <fs_download> TO <ft_download>.
    CLEAR: <fs_download>.
    ENDLOOP.
    STEP: 5 - download
    CALL FUNCTION 'DOWNLOAD'
    EXPORTING
    filename = 'C:\zshaven.xls'
    filetype = 'DAT'
    filetype_no_show = 'X'
    filetype_no_change = 'X'
    TABLES
    data_tab = <ft_download>
    fieldnames = t_download_fieldheading
    EXCEPTIONS
    invalid_filesize = 1
    invalid_table_width = 2
    invalid_type = 3
    no_batch = 4
    unknown_error = 5
    gui_refuse_filetransfer = 6
    customer_error = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.

  • SELECT 시 TABLE 이름을 DYNAMIC 하게 이용하기 (PRO*C)

    제품 : PRECOMPILERS
    작성날짜 : 1998-02-04
    다음은 method 3 를 이용해 select 하는 table 명을 dynamic 하게 가져가는
    program 이다.
    #include <stdio.h>
    #include <string.h>
    #define USERNAME "scott"
    #define PASSWORD "tiger"
    #include <sqlca.h>
    #include <oraca.h>
    EXEC ORACLE OPTION (ORACA=YES);
    char   *username = USERNAME;
    char   *password = PASSWORD;
    VARCHAR dynstmt[80];
    varchar    ename[10] ;
    int     deptno = 10;
    char    tab[10];
    void sql_error();
    main()
       EXEC SQL WHENEVER SQLERROR DO sql_error("Oracle error");
       oraca.orastxtf = ORASTFERR;
       EXEC SQL CONNECT :username IDENTIFIED BY :password;
       puts("\nConnected to Oracle.\n");
    /*exec sql declare s statement;*/
     gets(tab);
       strcpy((char *)dynstmt.arr,
           "SELECT ename FROM ");
      strcat((char*) dynstmt.arr,tab);
     dynstmt.len = strlen((char *)dynstmt.arr);
       puts((char *) dynstmt.arr);
       printf("  table name is %s\n", tab );
       printf("\nEmployee\n");
       printf("--------\n");
     /*sprintf (statement ,"select ename from :tab");*/
       EXEC SQL PREPARE S FROM :dynstmt;
       EXEC SQL DECLARE C CURSOR FOR S;
       EXEC SQL OPEN C ;
       EXEC SQL WHENEVER NOT FOUND DO break;
       for (;;)
           EXEC SQL FETCH C INTO :ename;
           ename.arr[ename.len] = '\0';
           puts((char *) ename.arr);
       printf("\nQuery returned %d row%s.\n\n", sqlca.sqlerrd[2],
           (sqlca.sqlerrd[2] == 1) ? "" : "s");
       EXEC SQL CLOSE C;
       EXEC SQL COMMIT RELEASE;
       exit(0);
    void sql_error(char *msg)
       printf("\n%s", msg);
       sqlca.sqlerrm.sqlerrmc[sqlca.sqlerrm.sqlerrml] = '\0';
       oraca.orastxt.orastxtc[oraca.orastxt.orastxtl] = '\0';
       oraca.orasfnm.orasfnmc[oraca.orasfnm.orasfnml] = '\0';
       printf("\n%s\n", sqlca.sqlerrm.sqlerrmc);
       printf("in \"%s...\"\n", oraca.orastxt.orastxtc);
       printf("on line %d of %s.\n\n", oraca.oraslnr,
          oraca.orasfnm.orasfnmc);
       EXEC SQL WHENEVER SQLERROR CONTINUE;
       EXEC SQL CLOSE C;
       EXEC SQL ROLLBACK RELEASE;!!!! exit(1);
    이상입니다.

    Can you post a brief code example with what works and doesn't?

  • Dynamic table dynamic setCellDesign

    Hi experts,
    i created a table dynamically and i would like to set the CellDesign for each column dynamically as well.
    I have created a dynamic node and added a attribute of Type: "com.sap.ide.webdynpro.uielementdefinitions.TableCellDesign" to it. in there specify how the cell shall looks like. My problem comes, when i try to add the attribute to the table property Cell Design via tablecolumn.setCellDesign().
    Does anyone know how i can achieve this?
    thanks in advance,
    Rene

    Hi Armin,
    wow this was fast and absolutely correct. i tried it right away and worked.
    Thanks Armin...
    best regards
    rene

  • Create internal table dynamically for IDoc fields

    Hi,
    I need to create an internal table dynamically based on the segment field names that are returned in the table pt_fields when calling function 'IDOCTYPE_READ_COMPLETE'.  I see many posts suggesting classes such as 'cl_wrf_dynamic_table=>create_dynamic_table', but it does not work for me.  The problem I have with the classes is that it doesn't allow you to have the same column name more than once.  But in the scenario I am testing, I have some column names that are duplicated, and I cannot remove the duplicates.  Are there any functions or classes that I can use to create a dynamic internal table that will not check if a column name is used twice?
    Thanks,
    Carrie

    Hello Carrie
    My first thought was that RTTI might be able to do this but it does not (see the dump below). And it is obvious that RTTI behave likes this.
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_SY_STRUCT_COMP_NAME', was not
         caught and
        therefore caused a runtime error.
        The reason for the exception is:
        Multiple Specification of the Name 'CUSTOMER' as a Component Name (Component 7)
    Just think about any way  to define statically an itab or structure containing duplicated field names. You will always get a syntax error irrespective of whether you use a DDIC structure, a TYPE or a DATA variable.
    If there is no way to define such a structure statically why should it be different when defining dynamically?
    Regards
      Uwe

  • Create table dynamically with concatanated sysdate

    Hello,
    i am trying to create a table dynamically using a sysdate concatanated i am getting an error. could anyone point me where i am doing wrong in scripts.
    here is the script.
    decalre
    x varchar2(200)
    begin
    x:='CREATE table test_'||sysdate (pname varchar2(10), pnum number(9))''';
    execute immediate x;
    end;
    appreciate any help.

    EdStevens wrote:
    Rodriguez wrote:
    Yes, of course .
    But unfortunately it is not good practice in real production systems :)Of course, the OP's entire approach, his entire design, is profoundly flawed, so why stop here?About using "interesting" identifier names in Oracle...
    An interesting problem in doing basic o-o development in PL/SQL is that all classes (object types) need to have properties. So if you want a pure abstract class with static methods, you cannot create that without defining at minimum, a single property.
    Work-around? Define a property that most PL/SQL developers will be unable to call and use even if they tend to abuse o-o classes. Define the property as a single space. E.g.
    create or replace type TSomeAbstractClass is object(
      " " smallint,
      static method function Foo1 ...
    ) not final not instantiable;:-)

  • Create tables dynamically

    Hi,
    I need to create a number of tables (with the same number of fields for each table) depending on my data.
    E.g. If I input 6 at the selection screen,
    I need to create GT_1, GT_2.... GT_6 with LINE1 TYPE C and LINE2 TYPE C as the fields.
    How to do that? Thanks.
    Regards,
    Janet

    Hi Lee,
          The following code shoul help the purpose.
    This code explains about the dynamic creation of internal table according to the input database table and displaying it in an ALV Grid. Works with all sort of database tables (even huge number of records).This concept can be expanded to work with tables that have very large number of fields.     
    By: Siva Subramanian Kalaiselvan
    Company: Wipro Technologies
    Date: 21 Jan. 2005
    Code Sample
    REPORT ZC3_DYNITABDISPALV   MESSAGE-ID zmsgdynamic.
    Description           : Dynamic internal table creation and
                            displaying in ALV Grid.
    Technical Contact     : SivaSubramanian Kalaiselvan
    Technical Spec. Number: ZC3_DYNITABDISPALV.
    Created on            : 21/01/05.
    Transport request     : PDCK902348.
    Development Class     : zc3_sivdev.
    TABLES : tadir. " table in which the obj_name field stores all the
                    " database table names
    TYPE-POOLS : slis.
    TYPES ztab LIKE dcobjdef-name .
    DATA : dyntab LIKE dntab OCCURS 0 WITH HEADER LINE,
           dref TYPE REF TO data,
           i_fcat TYPE  lvc_t_fcat ,
           wa_fcat TYPE lvc_s_fcat ,
           w_pgm LIKE sy-repid,
           count TYPE i VALUE 0,
           w_obj_name LIKE tadir-obj_name.
    DATA : wa_fieldcat TYPE slis_fieldcat_alv,  "ALV FIELD CATALOG TABLE
           i_fieldcat TYPE slis_t_fieldcat_alv, "ALV FIELD CATALOG STRUCTURE
           i_event TYPE slis_t_event,            "ALV EVENT HANDLING TABLE
           wa_event TYPE slis_alv_event,         "ALV EVENT HANDLING STRUCT
           i_listheader TYPE slis_t_listheader,  "ALV LIST HEADER TABLE
           wa_listheader TYPE slis_listheader,   "ALV LIST HEADER STRUCT
           i_layout TYPE slis_layout_alv.
    FIELD-SYMBOLS :<newtab> TYPE table.
    INITIALIZATION.
      w_pgm = sy-repid.
    ****************SELECTION-SCREEN 2000
      SELECTION-SCREEN BEGIN OF SCREEN 2000 AS WINDOW.
      SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE tit1.
      PARAMETERS:   tab_name TYPE ztab . " Enter database table name
      SELECTION-SCREEN END OF BLOCK b1.
      SELECTION-SCREEN END OF SCREEN 2000.
    ***************END OF SELECTION-SCREEN 2000
      tit1 = 'Enter Table Name?'.
    START-OF-SELECTION.
      CALL SELECTION-SCREEN 2000 STARTING AT 10 10.
      PERFORM occurcheck.
    *********CHECKING WHETHER THE DATABASE TABLE EXISTS
    FORM occurcheck.
      SELECT obj_name FROM tadir INTO w_obj_name WHERE obj_name = tab_name.
      ENDSELECT.
      IF sy-subrc <> 0.
        MESSAGE i003."Table not found in the database .
        CALL SELECTION-SCREEN 2000 STARTING AT 10 10.
        PERFORM occurcheck.
      ELSE.
        PERFORM startprocess.
        EXIT.
      ENDIF.
    ENDFORM.
    **********GETTING THE FIELD NAMES OF THE INPUT DATABASE TABLE
    FORM startprocess.
      CALL FUNCTION 'NAMETAB_GET'
           EXPORTING
                langu   = sy-langu
                tabname = tab_name
           TABLES
                nametab = dyntab. "dntab now contains the field names
    **********FILLING THE CATALOG OF NEW DYNAMIC INTERNAL TABLE
      LOOP AT dyntab.
        wa_fcat-fieldname = dyntab-fieldname.
        wa_fcat-ref_field = dyntab-fieldname.
        wa_fcat-ref_table = dyntab-tabname.
        APPEND wa_fcat TO i_fcat .
      ENDLOOP.
    ***********CREATING A POINTER (FIELD SYMBOL) TO THE INTERNAL TABLE
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog           = i_fcat
        IMPORTING
          ep_table                  = dref.
      ASSIGN  dref->* TO <newtab>.
      SELECT * FROM (dyntab-tabname) INTO TABLE <newtab>.
    **********CHECKING WHETHER DATA HAS BEEN UPLOADED.
      DESCRIBE TABLE <newtab> LINES sy-tfill.
      DESCRIBE TABLE <newtab> LINES count.
      IF sy-tfill = 0 .
        MESSAGE i001.    "Internal table is not filled
      ELSE.
        MESSAGE i002 WITH count. "Internal table is filled
      ENDIF.
    ****************EVENTS USED IN ALV
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
           EXPORTING
                i_list_type = 0  " 0-simple list, 1-hierarchial list.
           IMPORTING
                et_events   = i_event.
      SORT i_event.
      READ TABLE i_event
      WITH KEY name = slis_ev_top_of_page    "TOP_OF_PAGE event
      INTO wa_event.
      IF sy-subrc = 0.
        MOVE 'IAM_TOP_OF_PAGE' TO wa_event-form.  "IAM_TOP_OF_PAGE will
        "call  subroutine automatically
        MODIFY i_event FROM wa_event INDEX sy-tabix.
      ENDIF.
    ****************DISPLAYING ALV.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program = w_pgm
                i_structure_name   = dyntab-tabname
                it_events          = i_event
           TABLES
                t_outtab           = <newtab>.
    ENDFORM.
    **********FORM TOP_OF-PAGE.
    ******FILLING OF LIST HEADER TABLE
    FORM iam_top_of_page.
      CLEAR wa_listheader.
      wa_listheader-typ = 'H'.     "HEADING
      wa_listheader-info = 'ALV CREATED DYNAMICALLY'.
      APPEND wa_listheader TO i_listheader.
      CLEAR wa_listheader.
      wa_listheader-typ = 'S'.      "SUB-HEADING
      wa_listheader-key = 'PGM NAME:'.
      wa_listheader-info = w_pgm.
      APPEND wa_listheader TO i_listheader.
      CLEAR wa_listheader.
      wa_listheader-typ = 'S'.
      wa_listheader-key = 'USER:'.
      wa_listheader-info = sy-uname.
      APPEND wa_listheader TO i_listheader.
      CLEAR wa_listheader.
      wa_listheader-typ = 'S'.
      wa_listheader-key = 'DATE:'.
      wa_listheader-info = sy-datum.
      APPEND wa_listheader TO i_listheader.
      CLEAR wa_listheader.
      wa_listheader-typ = 'S'.
      wa_listheader-key = 'TABLE NAME:'.
      wa_listheader-info = dyntab-tabname.
      APPEND wa_listheader TO i_listheader.
    ********FUNCTION TO WRITE THE TITLE AND SUB-TITLE OF THE ALV.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = i_listheader.
    ENDFORM.
    Reward if found usefull......!
    Regards,
    Ram.

  • How to find the number of columns in an internal table DYNAMICALLY ?

    Hi,
    How to find the number of columns in an internal table DYNAMICALLY ?
    Thanks and Regards,
    saleem.

    Hi,
    you can find the number of columns and their order using
    the <b>'REUSE_ALV_FIELDCATALOG_MERGE'</b>
    call function 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
       I_PROGRAM_NAME               = sy-repid
       I_INTERNAL_TABNAME           = 'ITAB'
       I_INCLNAME                   = sy-repid
      changing
        ct_fieldcat                  = IT_FIELDCAT
    EXCEPTIONS
       INCONSISTENT_INTERFACE       = 1
       PROGRAM_ERROR                = 2
       OTHERS                       = 3
    if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif
    now describe your fieldcat . and find no of columns.
    and their order also..
    regards
    vijay

  • Layout adjustment not working with tables

    Hi all
    Why will layout adjustment not work with tables?
    I am trying to re-format from A4 landscape to A4 portrait.
    The text box containing the table will resize but not the table.
    Any clues why this might be, I don't want to manually resize every table in the document.
    Many thanks,
    Rob

    Thanks Jongware,
    Having resized the table and got the little red ovals, I tried various things like changing the font size etc but the best workaround I found was to select the table and change the cell inset value to 0, this got rid of all red ovals and I didn't need to change the font size.
    Cheers,
    Rob

  • Please!!!!!!   How can i add rows in html table dynamically [use jsp,bean]

    hello, i am a fresher in jsp. i want to add new rows in html table dynamically.In my coding, just only shows in one row . please help my problem with correct coding and i don't want to use database. Thanks ...............!
    Here is my coding-------------------
    ---------------- form.jsp --------------------->
    <%@ page import="java.util.*,newtest1.Validation" %>
    <jsp:useBean id="mybean" scope="page" class="newtest1.Validation" />
    <jsp:setProperty name="mybean" property="name" param="name" />
    <jsp:setProperty name="mybean" property="age" param="age" />
    <% s[i][j] %>
    <html>
    <head><title>Form</title></head>
    <body>
    <form method="get">
    <table border="0" width="700">
    <tr>
    <td width="150" align="right">Name</td>
    <td width="550" align="left"><input type="text" name="name" size="35"></td>
    </tr>
    <tr>
    <td width="150" align="right">Age</td>
    <td width="550" align="left"><input type="text" name="age" size="35"></td>
    </tr>
    </table>
    <table width="100%" border="0" cellspacing="0" cellpadding="5">
    <tr><td> </td></tr>
    <tr><td><input type="submit" name="submit" value="ADD"></td></tr>
    <tr><td> </td></tr>
    <tr><td width="100%" align="center" border=1>
    <% int count=mybean.getStart();
    for(int i=count; i<count+1; i++) { %>
    <tr>
    <td><jsp:getProperty name="mybean" property="name" /></td>
    <td><jsp:getProperty name="mybean" property="age" /></td>
    <td><%= count %></td>
    <% count+=1; %>
    </tr>
    <% } %></td></tr>
    </table>
    </form>
    </body>
    </html>
    ----------------- Validation.java ----------------->
    package newtest1;
    import java.util.*;
    public class Validation {
    private String name;
    private String age;
    static int start=0;
    public Validation() {    name=null;
    age=null;
    ++start;}
    public void setName(String username) { if(username!="")
    name=username;
    public String getName() { return name;  }
    public void setAge(String userage) {  if (age!="")
    {age=userage;}
    public String getAge() {  return age;   }
    public int getStart() {
    return start; }

    Hi, Do you mean to say,
    You have an HTML page in which you have a text field and an add button. If you enter anything in that text field and click on Add button the text field contents should be displayed in the same HTML page and you should be able to go on entering new values into the text field and you should be able to retain and display all the previously entered values..
    and finally the list of added items are not stored in the database..
    If this is the case
    i. Your html form should be submitted to the same page.
    ii. You need to have a Vector which holds the entered values.
    iii. Bind the vector object to the request object and collect the same vector object from the request and display its contents...
    I think this would help...

Maybe you are looking for

  • Virgo Tools for Eclipse Luna and Mars

    Hi all, I tried to install the Virgo Tools both in Eclipse Luna and in Mars (JEE packages), from this update site: "Virgo IDE Releases" - http://download.eclipse.org/virgo/release/tooling - Eclipse Virgo Tools 1.0.1.201302270038-RELEASE but I got err

  • Why does Soundbooth change Premiere Pro sample rate?

    I asked this question in the Soundbooth section and nobody had an answer, so please pardon the cross-post. (The Google machine didn't help, either.)  When I take a sound track in PPro CS5 and run the  Edit in Soundbooth command, how do I prevent Soun

  • All website layers will not print

    Designed website in layers. The background is a jpg. The next layer is a white box and then a layer of black text. The background prints and the black text, but the white box does not. How can I get the white box to print so someone can view the text

  • Cannot open any Internet Explorer  files

    Here's the other question. ( I have Tiger. I still have OS 9 with Classic. ) 2) when I click on a file in Mac Intosh HD that was created under OS 9, with Internet Explorer 5.1.6, a file with the IE logo (the letter e + a globe), I see now a message s

  • Copying text from internet into Appleworks

    Hello! So, I would like to copy some exact text, same colors and fonts, from a web page on Firefox into Appleworks. When I paste the selection into a word processing document, the text comes up, but it pastes in Lucinda Grande text and with black ink