Problem LFPOS IN EKBE AND RSEG Tables

HI!
  we have posted MIGO AND MIRO IN RSEG TABLE all the Item of a Reference Document are Updated Sequencely i.e, 1 - 20
were as EKBE Table all the Item of a Reference Document  are Updated with 1 only no number sequence r updated as in RSEG Table.
Kindly give a solution.
Regards,
Mohammed Rasul.S

Hi Mohammed,
LFPOS gives the number of the line item in a reference document as a GR or Invoice
can have many line items related to the one PO. However the EKBE table does not
need this type of field as it references the actual posting document, GR or invoice.
Having such a field in EKBE would have a major impact on performance as when
creating an invoice it has to go through the previous postings in EKBE to generate
the necessary amounts for each transaction posting it creates in the follow on FI
document.
If you need to find the number of a document that was posted against a PO field BELNR
in EKBE references the document number.
Hope this helps,
Adam.

Similar Messages

  • How to link EKBE and MKPF tables

    HI all
    plz help me,
    how to link EKBE and MKPF tables
    thanks
    ramesh redddy

    HI,
    EKPO-EBELN =  EKKO-EBELN  has Purchase Documnet no.
    MSEG=MBLNR = MKPF-MBLNR  has material document no
    Link MSEG-EBELN =  EKPO-EBELN ( MSEG purchase prder no and EKPO purhcase document no.)
    and you should have to add one  more table MSEG which is provide three table.
    check this link
    EKPO-EBELN = EKKO-EBELN
    MSEG-EBELN =  EKPO-EBELN
    MSEG=MBLNR = MKPF-MBLNR
    regards,
    PK.

  • Problem when filling Node and Item tables for the metho add_nodes_and_items

    Hi Experts,
    I am facing problem when filling  Node and Item internal tables for the method add_nodes_and_items.
    as i have written the below logic:
      LOOP AT gt_partner INTO wa_partner.
        CLEAR lvs_tc_root.
        l_key = l_key + 1.
        lvs_tc_root-node_key   = l_key. "wa_partner-sndprn.
    *  lvs_tc_root-relatkey  = lvf_tc_node_key.
    *  lvs_tc_root-relatship = cl_gui_column_tree=>relat_last_child.
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden     = ' '.
        lvs_tc_root-disabled   = ' '.
        lvs_tc_root-isfolder   = 'X'.
        lvs_tc_root-n_image    = icon_folder.
        lvs_tc_root-exp_image  = icon_folder.
        lvs_tc_root-expander   = 'X'.
        APPEND lvs_tc_root TO gvt_tc_node_table.
        CLEAR lvs_tc_root.
        lvs_tc_root-node_key   = 'A'.  "Successfull
        lvs_tc_root-relatkey   = l_key.
        lvs_tc_root-relatship  = cl_gui_column_tree=>relat_last_child.
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden     = ' '.
        lvs_tc_root-disabled   = ' '.
        lvs_tc_root-n_image    = icon_green_light.
        APPEND lvs_tc_root TO gvt_tc_node_table.
        CLEAR lvs_tc_root.
        lvs_tc_root-node_key   = 'B'.  "Errors
        lvs_tc_root-relatkey   = l_key    .
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden     = ' '.
        lvs_tc_root-disabled   = ' '.
        lvs_tc_root-n_image    = icon_red_light.
        APPEND lvs_tc_root TO gvt_tc_node_table.
        CLEAR lvs_tc_root.
        lvs_tc_root-node_key  = 'C'.  "Deleted
        lvs_tc_root-relatkey  = l_key .
        lvs_tc_root-last_hitem = wa_partner-sndprn.
        lvs_tc_root-hidden    = ' '.
        lvs_tc_root-disabled  = ' '.
        lvs_tc_root-n_image   = icon_yellow_light.
        APPEND lvs_tc_root TO gvt_tc_node_table.
    *   LOOP AT gt_partner_item INTO wa_partner_item WHERE sndprn = wa_partner-sndprn
        LOOP AT gt_partner INTO wa_partner_item WHERE sndprn = wa_partner-sndprn.
          CLEAR lvs_item.
          lvs_item-node_key   = l_key.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = wa_partner-sndprn.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
          lvs_item-node_key   = 'A'.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = 'Successful'.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
          lvs_item-node_key   = 'B'.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = 'Errors'.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
          lvs_item-node_key   = 'C'.
          lvs_item-item_name  = 'Column1'.
          lvs_item-text       = 'Deleted'.
          lvs_item-class      = cl_gui_column_tree=>item_class_text.
          APPEND lvs_item TO gvt_tc_item_table. CLEAR lvs_item.
        ENDLOOP.
      ENDLOOP.
      CALL METHOD go_tree->add_nodes_and_items
        EXPORTING
          node_table                     = gvt_tc_node_table
          item_table                     = gvt_tc_item_table
          item_table_structure_name      = 'MTREEITM'
        EXCEPTIONS
          failed                         = 1
          cntl_system_error              = 3
          error_in_tables                = 4
          dp_error                       = 5
          table_structure_name_not_found = 6.
    If the internal table has more than 1 record getting dump...Runtime Errors         MESSAGE_TYPE_X
    Plase let me know how to overcome the problem..
    Thanks,
    Rajasekhar
    Edited by: RajasekharReddy Nevali on Nov 29, 2010 3:43 PM
    Edited by: Neil Gardiner on Nov 30, 2010 12:41 PM

    Hi ,
    U can undestand the code and one more thing dynamically display record for automcally here i am using root nodes please look at that one Same requiremtn i done previously.
    cLEAR item.
      item-node_key = c_nodekey-root.    "partner1
      item-item_name = c_column-column1.
      item-class = cl_gui_column_tree=>item_class_text.
      item-alignment = cl_gui_column_tree=>align_at_top.
      item-font = cl_gui_column_tree=>item_font_prop.
      item-text = 'APPLICATION'.
      item-length = 30.
      APPEND item TO item_table.
      DATA:lv_name TYPE tv_itmname VALUE '1',
           lv_nkey TYPE i,
           lv_nkey2 TYPE i,
           lv_nkey_c TYPE string,
           lv_nkey_c2 TYPE string,
           lv_nkey_c3 TYPE string,
           lv_nkey_c4 TYPE string,
           LV_NKEY_C5 TYPE STRING,
           lv_itmkey TYPE i,
           lv_itmkey_c TYPE string,
           LV_INDEX TYPE I.
    ************************************************LOOP FOR APPLICATION*********
      LOOP AT i_otypes INTO wa_otypes.
        read table it_appl into wa_appl with key appl = wa_otypes-applic." BINARY SEARCH.
              if sy-subrc = 0.
                lv_apdes = wa_appl-text1.
              endif.
        CLEAR:item,lv_nkey_c.
        lv_nkey_c = sy-tabix.
        LV_INDEX = SY-TABIX.
        CONDENSE lv_nkey_c.
        CONCATENATE 'N' lv_nkey_c INTO lv_nkey_c.
        node-node_key = lv_nkey_c.
        node-relatkey = c_nodekey-root.
        node-relatship = cl_gui_list_tree=>relat_last_child.
        node-isfolder = 'X'.
        APPEND node TO node_table.
        CLEAR item.
        item-node_key = lv_nkey_c.
        item-item_name = c_column-column1.
        item-class = cl_gui_column_tree=>item_class_text.
        item-font = cl_gui_column_tree=>item_font_prop.
        item-text = wa_otypes-APPLIC.
        item-length = 30.
        APPEND item TO item_table.
         CLEAR item.
          item-node_key = lv_nkey_c.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = lv_apdes.
          item-length = 30.
          APPEND item TO item_table.
         v_acount = v_acount + 1.
         v_acount1 = v_acount1 + 1.
    clear lv_apdes.
    *****************************************LOOP FOR ARCHIV OBJECTS***************************
        loop at it_obj into wa_obj where applic = wa_otypes-applic.
          CLEAR:item,lv_nkey_c2.
          lv_nkey_c2 = SY-TABIX.
          CONDENSE lv_nkey_c2.
          CONCATENATE 'SN' lv_nkey_c2 INTO lv_nkey_c2.
          node-node_key = lv_nkey_c2.
          node-relatkey = lv_nkey_c.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          APPEND node TO node_table.
          CLEAR item.
          item-node_key = lv_nkey_c2.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_obj-object.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c2.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_obj-objtext.
          item-length = 30.
          APPEND item TO item_table.
    ****count all object for final displaying*******
         v_ocount1 = v_ocount1 + 1.
          LV_STR = LV_STR + 1.
         ENDLOOP.
    *********************LOOP FOR ARCH OBJECT ALL PROGRAMS*******************************************
       LOOP AT IT_PRG INTO WA_PRG WHERE OBJECT = WA_OBJ-OBJECT.
    ****************1PRG**********************
    IF wa_PRG-REORGA_PRG IS NOT INITIAL.
      read table it_trdirt into wa_trdirt with key name = wa_prg-reorga_prg BINARY SEARCH.
                  if sy-subrc = 0.
                  lv_text = wa_trdirt-text.
                  endif.
         CLEAR:item,lv_nkey_c3.
          data : v_no type sy-tabix.
          v_no = v_no + 1.
          lv_nkey_c3  =  v_no.
          CONDENSE lv_nkey_c3.
          CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
          node-node_key = lv_nkey_c3.
          node-relatkey = lv_nkey_c2.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          NODE-N_image =' '.
          APPEND node TO node_table.
           CLEAR NODE.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'WRIT'."wa_PRG-REORGA_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'WRITE PROGRAM'."lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
           clear lv_text.
    ************************SSSN NODE***********************
            CLEAR:item,lv_nkey_c4.
          data : v_no1 type sy-tabix.
          v_no1 = v_no1 + 1.
          lv_nkey_c4  =  v_no1.
          CONDENSE lv_nkey_c4.
          CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
          node-node_key = lv_nkey_c4.
          node-relatkey = lv_nkey_c3.
          node-relatship = cl_gui_list_tree=>relat_last_child.
         node-isfolder = 'X'.
          NODE-N_image =' '.
          APPEND node TO node_table.
           CLEAR NODE.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_PRG-REORGA_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
            clear lv_text.
    *******COUNT TYPE WRITE PROGRAMS****************
          V_WCOUNT = V_WCOUNT + 1.
    CLEAR item.
    V_WCOUNT = V_WCOUNT.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column3.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR V_WCOUNT.
    ENDIF.
    *endif.
    *****************2PRG*****************
    IF wa_PRG-RETRIE_PRG IS NOT INITIAL.
    read table it_trdirt into wa_trdirt with key name = wa_prg-retrie_prg.
                  if sy-subrc = 0.
                  lv_text = wa_trdirt-text.
                  endif.
         CLEAR:item, NODE, lv_nkey_c3.
          v_no = v_no + 1.
          lv_nkey_c3  =  v_no.
          CONDENSE lv_nkey_c3.
          CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
          node-node_key = lv_nkey_c3.
          node-relatkey = lv_nkey_c2.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          APPEND node TO node_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'successful'."wa_PRG-RETRIE_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'sucessful PROGRAM'.
          item-length = 60.
          APPEND item TO item_table.
    *********************************SSSN NODE*******************************
           CLEAR:item,lv_nkey_c4,node.
         data : v_no1 type sy-tabix.
          v_no1 = v_no1 + 1.
          lv_nkey_c4  =  v_no1.
          CONDENSE lv_nkey_c4.
          CONCATENATE 'SSSN' lv_nkey_c4 INTO lv_nkey_c4.
          node-node_key = lv_nkey_c4.
          node-relatkey = lv_nkey_c3.
          node-relatship = cl_gui_list_tree=>relat_last_child.
         node-isfolder = 'X'.
          NODE-N_image =' '.
          APPEND node TO node_table.
           CLEAR NODE.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = wa_PRG-RETRIE_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c4.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
            clear lv_text.
    **********COUNT THE RELOADPR*******************
              V_WCOUNT = V_WCOUNT + 1.
    CLEAR item.
    V_WCOUNT = V_WCOUNT.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column3.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = V_WCOUNT."lv_text."'WRITE PROGRAM'.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR V_WCOUNT.
    ENDIF.
    ENDIF.
    ****************3PRG**********************
    IF wa_PRG-DELETE_PRG IS NOT INITIAL.
    read table it_trdirt into wa_trdirt with key name = wa_prg-delete_prg.
                  if sy-subrc = 0.
                  lv_text = wa_trdirt-text.
                  endif.
         CLEAR:item, NODE, lv_nkey_c3.
          v_no = v_no + 1.
          lv_nkey_c3  =  v_no.
          CONDENSE lv_nkey_c3.
          CONCATENATE 'SSN' lv_nkey_c3 INTO lv_nkey_c3.
          node-node_key = lv_nkey_c3.
          node-relatkey = lv_nkey_c2.
          node-relatship = cl_gui_list_tree=>relat_last_child.
          node-isfolder = 'X'.
          APPEND node TO node_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column1.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'DELETE'."wa_PRG-DELETE_PRG.
          item-length = 30.
          APPEND item TO item_table.
          CLEAR item.
          item-node_key = lv_nkey_c3.
          item-item_name = c_column-column2.
          item-class = cl_gui_column_tree=>item_class_text.
          item-font = cl_gui_column_tree=>item_font_prop.
          item-text = 'NAME OF DELETE PROGRAM'.
          item-length = 60.
          APPEND item TO item_table.
           CLEAR:item,lv_nkey_c4,node.
         data : v_no1 type sy-tabix.
          v_no1 = v_no1 + 1.
          lv_nkey_c4  =  v_no1.
          endloop.

  • Weird problem with mysql query and data table buttons !!!!

    Hi,
    I'm using jsc 2 update 1 on windows and mysql 4.1 . I have a page with a data table. One column of the data table contains "Details" buttons.
    Source query for the table is :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    AND tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    The tbl_tesserati.data_nascita is a mysql date field.
    The click event handler code for the "Details" Button is:
    public String btnModificaTesserato_action() {
            try{
                TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");
                getRequestBean1().setId_tesserato((Long)rowData.getValue("idTesserato"));          
            } catch(Exception ex) {
                log("errore nella query",ex);
            return "dettaglioTesseratoSocieta";
        }When i run the project and open the page the table is correctly rendered and populated with some rows. But when i click on details button nothing happens, the page is simply reloaded.
    If i set a breakpoint in the code line   TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");the debbuger does not stop the code execution ! As if the button was never clicked!
    I tried to modify the source query to :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    OR tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    Using this query everything works well !! The click handler works and the debugger too !!
    I changed only the AND in OR !!!
    I also tried to change mysql-x-x-connector driver but without solving my problem.
    Can someone help me ?
    Thanks
    Giorgio

    You'll find that it is more to do with the way MySql deals with dates than anything else! Depending on how your date field is setup, then try using a BETWEEN statement for those 2 lines in your first query e.g.
    AND ( tbl_tesserati.data_nascita BETWEEN ? AND ?)
    The date column needs to be in the ISO format to work. If you examine your second query output, you might discover that the output is only going to refer to one parameter (probably the OR one). Did you manage to view the output logs from the application server? You would have got an idea from there with a message like stating a conversion error'.
    Alternatively, you could try using the to_days() function and convert it directly to a number which would be a lot easier to deal with. For example:
    AND to_days(tbl_tesserati.data_nascita >= ? )
    AND to_days( tbl_tesserati.data_nascita<= ? )
    Or try the BETWEEN version with to_days() and see what you get.
    More info about date formatting (v5) here:
    http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_to-days
    Before I forget, sometimes you may need to treat dates as Strings rather 'Long' as you did.
    As a matter of interest, did you try your query in a different piece of software?
    If my queries are a little more complicated, I tend to try MySql queries out in the free MySql query browser and also double check in another to verify certain issues. I found it easier to develop SQL in a seperate program then import the final version to JSC making the required modifications for parameters.
    Message was edited by:
    aerostra

  • Problems in KAPA - shifts and intervals table

    Hello SAP experts, i have a problem with this table, my problem is that the table isn´t updating my data every time i save, and some capacity IDs arent been considered, how can i know how often is this table been updated ,or is there a problem with this table? because my shifts and intervals in each work station aren´t been updated in the table.

    Hi,
    The follwing tables are used for workcenter capacity:
    CRCA: Workcenter Capacity Allocation
    KAKO: Capacity Header
    KAPA: Shift Parametres for Available Capacity
    KAZY: Intervals of Capacity
    Please check and confirm.

  • Relation between J_1IEXCHDR and rbkp and rseg

    Hii all ..i'm developing alv report for purchase register and i have to fetch taxes frm J_1IEXCHDR table...
    i'm able to fetch data frm rbkp and rseg tables but not able to fetch taxes from  J_1IEXCHDR table..can anyone help me hw to relate the exicse table to anyone table which i used above...below r the fields which i want to print in report program
    RBKP-BELNR,  RBKP-BUDAT,  RBKP-LIFNR ,  RBKP-RMWWR,  RBKP-GSBER ,   RBKP-WMWST1,  Rseg-wrbtr,  RSEG-BELNR,
    RSEG-MATNR,  RSEG-WERKS, RSEG-BUKRS,  RSEG-MENGE, J_1IEXCHDR-exbed,  J_1IEXCHDR-exaed,  J_1IEXCHDR-ecs,
    J_1IEXCHDR-exaddtax1....
    Edited by: venkat akella on Sep 12, 2009 1:40 PM

    Hi, 
    I Have done this report Just go through it..
    *& Report               :ZEXISMATCH
    *& ABAP Developer      :Manish Prakash
    *& Functional Analyst  :Mr. Suresh Yadav
    report  zexismatch.
    type-pools : slis.
    **************************************DATA Decleration*********************************
    data: fcat_it type slis_t_fieldcat_alv with header line.
    data: fcat_layout type slis_layout_alv.
    data: wa_event type slis_alv_event,
         i_event  type slis_t_event,
         i_listheader     type slis_t_listheader,
         l_sort           type slis_t_sortinfo_alv,
         wa_sort          type slis_sortinfo_alv,
         i_print          type slis_print_alv.
    data it_lfa1 like standard table of lfa1 with header line.
    tables: j_1iexchdr, j_1ipart2, rseg, bkpf, bsis.
    data: begin of wa,
          fawref type j_1ifawref,
          rdoc2 type j_1iexchdr-rdoc,
          budat type budat,
          lifnr type lifnr,
          exbed type j_1iexcbed,
          exaed type j_1iexcbed,
          ecs   type j_1iexcbed,
          exaddtax1 type j_1iexcbed,
          tottax type j_1iexcbed,
          belnr type bsis-belnr,
          dmbtr type dmbtr,
          exnum type j_1iexcdtl-exnum,
      name1 type lfa1-name1,
      end of wa.
      data: it_part2 like standard table of wa with header line.
      data: it_part23 like standard table of wa with header line.
      data it_rseg like standard table of rseg with header line.
      data: begin of bk.
        include structure bkpf.
        data lfbnr type rseg-lfbnr.
        data end of bk.
      data it_bkpf like standard table of bk with header line.
      data it_bkf like standard table of bk with header line.
      data off type i value 6.
      data: begin of bss.
        include structure bsis.
        data lfbnr type rseg-lfbnr.
        data end of bss.
      data it_bsis like standard table of bss with header line.
      data it_b like standard table of bsis with header line.
      data wa_b like line of it_b.
    ***************************Selection Screem*************************************************************
    selection-screen begin of block a with frame.
    select-options: s_date for j_1ipart2-budat,
                    s_typ  for j_1ipart2-trntyp,
                    s_yer  for j_1ipart2-docyr,
                    s_exg  for j_1ipart2-exgrp.
    selection-screen end of block a.
      select a~fawref a~budat b~rdoc2 b~lifnr b~exbed b~exaed b~ecs b~exaddtax1 b~exnum
        into corresponding fields of table it_part2 from j_1ipart2 as a inner join j_1iexcdtl as b
        on a~exgrp = b~exgrp
        and a~trntyp = b~trntyp
        and a~docno = b~docno
        and a~docyr = b~docyr where a~budat in s_date and a~trntyp in s_typ and a~docyr in s_yer and a~exgrp in s_exg.
    loop at it_part2 .
      it_part23-fawref = it_part2-fawref.
      it_part23-budat = it_part2-budat.
      it_part23-rdoc2 = it_part2-rdoc2.
      it_part23-lifnr = it_part2-lifnr.
      it_part23-exnum = it_part2-exnum.
      it_part23-exbed = it_part2-exbed.
      it_part23-exaed = it_part2-exaed.
      it_part23-ecs = it_part2-ecs.
      it_part23-exaddtax1 = it_part2-exaddtax1.
    collect it_part23.
    clear it_part2.
    endloop.
    refresh it_part2.
    it_part2[] = it_part23[].
        loop at it_part2 .
        it_part2-tottax = it_part2-exbed + it_part2-exaddtax1 + it_part2-exaed + it_part2-ecs.
        modify it_part2 transporting tottax.
        endloop.
       select belnr lfbnr from rseg into corresponding fields of table it_rseg
         for all entries in it_part2 where lfbnr = it_part2-rdoc2.
    select * from bkpf into corresponding fields of table it_bkpf
       where  bukrs = '7000' and gjahr in s_yer and tcode = 'MIRO' ."AND BLART = 'RE'.
    sort it_bkpf by awkey.
    data : w_len type i.
    loop at it_bkpf .
    w_len = strlen( it_bkpf-awkey ).
    w_len = w_len - 4.
    it_bkpf-awkey = it_bkpf-awkey+0(10).
    modify it_bkpf transporting awkey.
    endloop.
    sort it_rseg by belnr.
    sort it_bkpf by awkey.
    loop at it_bkpf .
    read table it_rseg with key belnr = it_bkpf-awkey.
    if sy-subrc = 0.
       it_bkpf-lfbnr = it_rseg-lfbnr.
       modify it_bkpf transporting lfbnr.
       else.
       delete it_bkpf.
    endif.
    *CLEAR it_bkpf.
    endloop.
    it_bkf[] = it_bkpf[].
    select bukrs hkont augdt augbl zuonr gjahr buzei belnr  shkzg dmbtr from bsis
      into corresponding fields of table it_b for all entries in it_bkpf
      where belnr = it_bkpf-belnr and bukrs = '7000'   and gjahr in s_yer "AND HKONT eq '6113'
       and ( hkont = '0000006113' or hkont = '0000006123' ).
    APPEND wa_b to it_b.
    loop at it_b .
      it_bsis-belnr = it_b-belnr.
    it_bsis-belnr = it_b-belnr.
      case it_b-shkzg .
        when 'S'.
          it_bsis-dmbtr = it_b-dmbtr.
        when 'H'.
           it_bsis-dmbtr = - it_b-dmbtr.
         WHEN OTHERS.
      endcase.
    collect it_bsis.
    endloop.
    sort it_bkpf by belnr.
    loop at it_bsis .
    read table it_bkpf with key belnr = it_bsis-belnr.
    if sy-subrc = 0.
      it_bsis-lfbnr = it_bkpf-lfbnr.
    modify it_bsis transporting lfbnr.
    endif.
    endloop.
    sort it_bsis by lfbnr.
    loop at it_part2 .
    read table it_bsis with key lfbnr = it_part2-rdoc2.
    if sy-subrc = 0.
      it_part2-belnr = it_bsis-belnr.
      it_part2-dmbtr = it_bsis-dmbtr.
    modify it_part2 transporting belnr dmbtr.
    endif.
    clear: it_part2, it_bsis.
    endloop.
    select * from lfa1 into corresponding fields of table it_lfa1
      for all entries in it_part2 where lifnr = it_part2-lifnr.
    loop at it_part2 .
    read table it_lfa1 with key lifnr = it_part2-lifnr.
    if sy-subrc = 0.
    it_part2-name1 = it_lfa1-name1.
    modify it_part2 transporting name1.
    clear it_lfa1.
    endif.
    endloop.
    *SORT it_part2 by belnr.
    perform get.
    fcat_layout-colwidth_optimize = 'X'.
    call function 'REUSE_ALV_GRID_DISPLAY'
      exporting
        i_callback_program     = sy-repid
        i_grid_title           = ''
        is_layout              = fcat_layout
        it_fieldcat            = fcat_it[]
        it_events              = i_event[]
        it_sort                = l_sort
        i_save                 = 'A'
        i_callback_top_of_page = 'TOP_OF_PAGE'
      tables
        t_outtab               = it_part2 " IT_PART2
      exceptions
        program_error          = 1
        others                 = 2.
    *&      Form  set_pf_status
          text
         -->RT_EXTAB   text
    form set_pf_status using rt_extab type slis_t_extab.
      set pf-status 'STANDARD_4'.
    endform.                    "set_pf_status
    *&      Form  get
          text
    form get.
      clear fcat_layout.
    fcat_layout-colwidth_optimize = 'X'.
      fcat_layout-zebra     = 'X'.
      fcat_layout-no_keyfix = 'X'.
      " SET_CELL_COLOURS
      clear fcat_it.
      fcat_it-fieldname = 'FAWREF'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
      fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'Ex Doc. No.'.
      append  fcat_it.
       clear fcat_it.
      fcat_it-fieldname = 'EXNUM'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
      fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'Invoice No.'.
      append  fcat_it.
      clear fcat_it.
      fcat_it-fieldname = 'BUDAT'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
    fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'Excise Dt.'.
      append  fcat_it.
      clear fcat_it.
      fcat_it-fieldname = 'LIFNR'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
    fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'Vendor Code'.
      append  fcat_it.
    clear fcat_it.
      fcat_it-fieldname = 'NAME1'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
    fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'Vendor Name'.
      append  fcat_it.
      clear fcat_it.
      fcat_it-fieldname = 'TOTTAX'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
    fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'Excise'.
      append  fcat_it.
      clear fcat_it.
      fcat_it-fieldname = 'BELNR'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
    fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'MIRO Doc. No.'.
      append  fcat_it.
      clear fcat_it.
      fcat_it-fieldname = 'DMBTR'.
      fcat_it-tabname   = 'IT_PART2'."it_ltab
    fcat_it-no_zero   = 'X'.
      fcat_it-seltext_l = 'MIRO Excise'.
      append  fcat_it.
    endform.                    "get
    *&      Form  eventtab_build
          text
         -->LT_EVENTS  text
    form eventtab_build changing lt_events type slis_t_event.
      constants:
      gc_formname_top_of_page type slis_formname value 'TOP_OF_PAGE'.
    gc_formname_end_of_list TYPE slis_formname VALUE 'END_OF_LIST'.
      data: ls_event type slis_alv_event.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type = 0
        importing
          et_events   = lt_events.
      read table lt_events with key name =  slis_ev_top_of_page
                               into ls_event.
      if sy-subrc = 0.
        move gc_formname_top_of_page to ls_event-form.
        append ls_event to lt_events.
      endif.
    READ TABLE lt_events WITH KEY name =  slis_ev_end_of_list
                                INTO ls_event.
    IF sy-subrc = 0.
       MOVE gc_formname_end_of_list TO ls_event-form.
       APPEND ls_event TO lt_events.
    ENDIF.
    endform.                    "EVENTTAB_BUILD
    *&      Form  top_of_page
          text
    form top_of_page.
    *ALV Header declarations
      data del(150) type c.
      data del1(150) type c.
      data: t_header type slis_t_listheader,
            wa_header type slis_listheader,
              wa_header1 type slis_listheader,
              wa_header2 type slis_listheader,
               wa_header3 type slis_listheader,
                 wa_header4 type slis_listheader,
              t_line like wa_header-info,
            ld_lines type i,
            ld_linesc(100) type c.
      wa_header-typ  = 'H'.
      wa_header1-typ  = 'S'.
      wa_header2-typ  = 'S'.
      wa_header3-typ = 'H'.
      wa_header4-typ = 'H'.
      wa_header-info = 'HINDUSTAN PULVERISING MILLS'.
      wa_header1-info = '209-210 Anupam Bhawan ,  Azadpur, Delhi - 110033'.
      wa_header2-info = '----
      wa_header3-info = ld_linesc.
      wa_header4-info = del1.
      append wa_header  to t_header.
      append wa_header1 to t_header.
      append wa_header2 to t_header.
      append wa_header3 to t_header.
      append wa_header4 to t_header.
      clear wa_header.
      wa_header-typ  = 'S'.
      wa_header-info = t_line.
      append wa_header to t_header.
      clear: wa_header, t_line.
      append wa_header to t_header.
      wa_header-typ  = 'S'.
      append wa_header to t_header.
      clear: wa_header.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary = t_header.
      I_LOGO                   = 'ENJOYSAP_LOGO'.
      I_END_OF_LIST_GRID       =
      I_ALV_FORM               =
    endform.                    "top_of_page
    *slis_ev_end_of_list

  • No Update FMIOI and KBLP tables with purchase order

    Hello,
    We have un serious problem : No Update FMIOI and KBLP tables with purchase order
    System :  SAP ERP 6.0 /7.0 - EHP 4
    Note 965633 was read.
    1) First case: The purchase order 4510000673 does not reduce the funds reservation.
    Purchase order 4510000673 should consume the funds reservation 1200000193 because all post of the PO charge the funds reservation 1200000193.But the consumption history of the funds reservation 1200000193 donu2019t show this consumption.
    In table FMIOI, we do not have lines with amount type 0200 (reduction) but whe have the lines with the post of PO with amount type (0100).  The Purchase order 4510000673 should consume the funds reservation 1200000193.
    In table KBLP, the fields are :
    Total amount (LC) - HWGES  = 53.409,40
    Amount used u2013 WTABB = 0,00
    Reduction amount u2013 HWABB = 0,00
    Open amount u2013 CWTFREE =    53.409,40
    Reduced amount u2013 WTABG = 0,00
    Reduced amount u2013HWABG = 0,00
    To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
    2) Second case : Delete a item of a purchase order does not release the budget
    The single item of the purchase order 4510000597 is deleted but in the display of consumption History of the funds reservation 1200000137, the amount of the purchase order is not to zero.
    To solve the problem, we executed the transactions : FM4N et FMN5 and the program RFFMRC20 but no result.
    Somebody already had a similar problem ?
    Thank you
    Fabian

    Hello Fabian
    There are two known notes dealing with missing update on reference Earmarked Funds, I am listing them for future references:
    1376800  Earmarked funds: Incorrect open amount         
    1438487  RFFMRC20: Missing KBLE records are ignored     
    These notes correct some errors within the Standard.
    However, in your scenario, problem has to do with an incorrect execution of a Commit work inside a customer user-exit. After elimination of this commit work, new Po's are working correctly.
    Remaining task is the correction of old PO's. Manual correction via small changes with ME22N (for instance, adding a '.' to the line item text/s) will force the correct update and fix your database
    If you agree, we can close this thread (?)
    Kind regards
    Mar

  • Any datasource available on bkpf and rseg

    hi,
    is there any sap generated data source available on bkpf and rseg tables?
    key is 'awkey'
    please suggest me
    i will assign points
    Message was edited by:
            venkat s

    hi,
    for rseg table its
    2LIS_06_INV
    for bkpf  its
    0FI_GL_4(General Ledger: Direct Line Items )
    hope it helps..

  • Problems with ReportDocument and multi-table dataset...

    Hi,
    First post here and hoping someone can help with me with this problem.
    I have an ASP.NET app running using CR 2008 Basic to produce invoices - these are fairly complex and use multiple tables - data used is provided in lists and they work fine when displayed/printed/exported from the viewer.
    My client now wants the ability to batch print these so I'm trying to develop a page which will use create a ReportDocument object and then print/export as required.
    As soon as I started down this path I received the 'invalid logon params problem' - so to simplify things and to get past this I've developed a simple 1 page report with which takes data from a dataset I've populated and passed to it.
    Here's the problem:
    1) If I put one table in the dataset and add a field from that table to the report it works OK.
    2) If I use a second table and field (without the first) it works OK.
    3) as soon as I have both tables and the report has field from each I get the 'Invalid logon parameters' error.
    The tables are fine (since I can use each individually), the report is find (only has 1 or 2 fields and works with individual tables) ... it's only when I have both tables that I get problems...
    ... this is driving me up the wall and if CR can't handle this there's no way it's going to handle the more complex invoices with subreports.
    Can anyone suggest what I'm doing wrong ... or tell me whether I'm just pushing CR beyond it's capabilities?
    The code I'm using to generate the ReportDocument is:
    List<Invoice> rinv = Invoice.SelectOneContract(inv.Invoice_ID);
    List<InvoiceLine> rline = InvoiceLine.SelectInvoice(inv.Invoice_ID);
            DataSet ds = new DataSet();
            ds.Tables.Add(InvoiceLineTable(rline));
            ds.Tables.Add(InvoiceTable(rinv));
            rdoc.FileName = Server.MapPath("~/Invoicing/test.rpt");
            rdoc.SetDataSource(ds.Tables);
            rdoc.ExportToDisk(ExportFormatType.PortableDocFormat, "c:
    test
    test.pdf");
    ... so not rocket science and the error is always caused at the 'ExportToDisk' line.
    Thanks in advance!

    I've got nowhere trying to create a reportdocument and pass it a multi-table dataset, so decided to do it the 'dirty' way by adding all the controls to an aspx page and referring to them.
    I know I can do this because the whole issue is printing a report that is currently viewed.
    So ... I've now added the ObjectDataSources to the page as well as the CrystalReportSource and the CrystalViewer ...
    .. I've tested the page and the report appears within the viewer with all the correct data ...
    ...so with a certain amount of excitement I've added the following line to the code behind file:
    rptSrcContract.ReportDocument.PrintToPrinter(1, true, 1, 1);
    ... then I run the page and predictably the first thing that comes up is:
    Unable to connect: incorrect log on parameters.
    .. this is madness!
    1) The data is retrieved and is in the correct format otherwise the report would not display.
    2) the rptSrcContract.ReportDocument exists ... otherwise it would not display in the viewer.
    So why does this want to logon to a database when the data is retrieved successfully and the security is running with a 'Network Services' account anyway????? (actually I know it has nothing to do with logging onto the database this is just the generic Crystal Reports 'I have a problem' message)
    ... sorry if this is a bit of an angry rant .. didn't get much sleep last night because of this ... all I want to be able to do is print a report from code .... surely this should be possible??

  • Linkage for RSEG and BSIS tables for tax item

    Hi,
    How to find corresponding tax line item in BSIS or BSAS table for a RSEG line item. 
    In case of BSET table I could find the linkage by BSET-TXGRP and RSEG-BUZEI.

    The obvious link I can see is on bukrs/belnr/buzei/mwskz fields.
    All available in all tables.  The company code and accounting document number is normally enough but if there are multiple line items use the buzei fields as well.  The tax field on is MWSKZ. 
    Same on both BSIS/BSAS and RSEG. 
    BSAS is almost the same table as BSIS but has the clearing items as well.
    Message was edited by: Barry Neaves

  • Any problem using bseg and bkpf tables

    For fico details i using  bseg  and bkpf  tables.
    I noted that programming is very difficult because of these tables are cluster table.
    plz give me other tables
    if i using these tables any problem will come?

    >
    mysvijai197715 wrote:
    > Hi Aniesh,
    >
    >            BSEG and BKPF are cluster tables. It contains transperant tables like BSIS, BSIK etc. For example to take vendor details usr the BSIK.If you use BSEG and BKPF it will take long time search. suppose your concern having lot of data means may be your server will get shutdown. So use only trasnperant tables like BSIS, BSIK etc.
    >
    >
    > Regards
    > R.Vijai
    Incorrect.  BKPF is a transparent table and not a cluster table and you can use it just like any other transparent table.  BSEG is a cluster table but there is no problem selecting from it so long as you use the key of BUKRS, BELNR, GJAHR - unless you are selecting a very large amount of data, but then this can cause problems when selecting from any type of table.
    The advantage of using BSEG over the other FI line item tables such as BSIS and BSIK is that it holds all the lines of an FI document while the others will hold only a subset eg BSIK will only hold lines that contain a vendor reference and BSAS holds only cleared GL account lines.  Though you can only use it when you have the key.  If you need to search on vendor, you can use BSIK as a starting point, but since I usually need to get hold of all the lines on an FI document, I then have to select from BSEG anyway.

  • Link between table VBKPF and RSEG.

    Dear FI GURUS n EXPERTS,
    Will you tell me how can I link table VBKPF and RSEG.
    Thanks in advance.
    DSC

    Hi
    You can do it through ABAP program by applying LookUp technique for each *BKPF document (Creating a reference AWKEY variable, and applying concatenate *BKPF-BELNR and *BKPF-GJAHR), with the internal loop on RSEG through query (select single * from RSEG into itab_rseg), and append each to your desired result-set
    I'm not sure if you can do it through SQVI and SQ02 infosets as *SEG documents cannot be used there.
    Hope this helps
    Regards
    Nayab

  • Problems with layout and printing tables

    Hello,
    my first ADOBE-Form "projekt" makes more problems than expected, especially with the layout.
    Layout Problem 1:
    I want to print the data of a table (thats my only parameter in the interface and the table itself is deep structures with other tables). So I have bound the "standard" subform (the one ADOBE inserts automatically" to the table and selected that the subform is repeated after every record.
    Anyhow ADOBE processes only the first record of this table.
    Maybe the reason is, that I need to display the data of one record on two pages. So I created two pages each with the "standard" subform and bounded both to the table.
    What am I doing wrong? Do i have to do the page split another way?
    Layout Problem 2:
    I have a text field with multiple lines allowed. But it overwrites the content of the object, that comes below.
    Its the same with my other subforms for table data.
    How can I tell the system, that an object needs to be pushed downside on the page, if the context above needs more space?
    Thanks in advance for your answers!
    Regards,
    Frank

    Yeah, you say it
    subforms and they "flowing" etc. properties are killing me, but after some hours I think I got the concept.
    The form looks quite well, everything is pushed downwards if an item above gets expanded.
    But one problem remains: this form only prints the very first record of my table.
    I have no problems with the tables nested inside the main table. They work perfectly and everything is fine there!
    But I cant tell the form to print my other records...
    I somehow played around and made it work, but then the next record was not on the next page but directly after the subform created by the context area (if this terminology is correct).
    I played around even further and created a paging with reference to the context area, but then the first page looked quite odd (page 2, 3, 4... looks perfect).
    I tried to fix also this and then I somehow messed up my form and could not undo my changes (it was only a "to play with" copy...)
    Just to explain it again:
    I have one table (lets call it the "main table" because its the import parameter of the interface) and inside this table are other nested tables.
    I want to print one record of the "main table" across 2 pages and after that the next record of the "main table" should be printed beginning at the 3rd page.
    As I said, the two pages look wonderful (even though I have not yet covered the issue of what should happen, two pages are not enough for one record of the "main table"). but as soon as I try to display the next records of the "main table" as well, i am stucked in unpredictable layout problems.
    I cant believe that I try anything extraordinary. Lets hope that I can solve this with your very appreciated help.
    Thanks in advance Otto!!!
    And kind regards, Frank

  • Problem with Master and Child table

    Hi,
    Working in jdev 11.1.1.2.0. I have one strange issue. i have master and child tables, the model is working fine with the view link. but when drag drop the same into my jsff. when i query the result 1st time 2 tables are refershing properly and data is coming. but the when i trying to select another row in the 1st table my 2nd table(child table) is not refreshing.
    i put partial trigger of the 2nd table as 1st table id.
    can any one help wht is issue here.
    Edited by: user5802014 on Jul 15, 2010 3:44 PM

    Check this post might help you
    http://baigsorcl.blogspot.com/2010/03/creating-master-detail-form-in-adf.html

  • Problem in Selecting the data from EKPO and KONV tables

    Hi Experts,
    Presently I am working on Report with Comparision-Sheet Between the vendor's Quotations. I have to display the Discount, Freight, Packing and Forwarding, Vat in Item level data based on the conditions made in PO.
    As per my Knowledge, Condition Types are stored in KONV Table. But there is no relation between KONV and EKPO tables.  So, I am unable to print the data for Discount, Freight, Packing and Forwarding, Vat... How can I get the values from EKPO and KONV tables?
    Thanks in Advance.
    Thanks n Regards,
    Muralikrishna.

    Don't recall if this is correct, but you may need the condition number from the header (EKKO) combined with EKPO-EBELP or other field as you key to access KONV (KNUMH and KPOSN).  My site doesn't run PP, so can't verify if the data is actually stored that, so just a possibility.

Maybe you are looking for