Table control--BDC

Hi Group,
When I am writting BDC for transaction in which table control occurs in the second screen,it is perfectly running when I am testing with the two records in the table control,when I increases the records (200) I am getting the error that <b>Screen is too large for Internal batch Input.</b>
Here I am attaching the part of code.
  MOVE 1 TO IDX.
  LOOP AT IT_DATATAB INTO WA_DATATAB.
    CONCATENATE 'FKKCMP_DIA-CHCKN(' IDX ')'
                                 INTO FNAM.
    perform bdc_field     using FNAM
                                wa_datatab-col5.
    CONCATENATE 'FKKCMP_DIA-GPART(' IDX ')'
                                 INTO FNAM.
    perform bdc_field       using fnam
                                wa_datatab-col1.
    CONCATENATE 'FKKCMP_DIA-VKONT(' IDX ')'
                                INTO FNAM.
    perform bdc_field   using fnam
                              wa_datatab-col2 .
    CONCATENATE 'FKKCMP_DIA-AUDAT(' IDX ')'
                                INTO FNAM.
    perform bdc_field   using fnam
                            wa_datatab-col3 .
    v_betrw = wa_datatab-col4.
    CONCATENATE 'FKKCMP_DIA-BETRW(' IDX ')'
                                INTO FNAM.
    write v_betrw to fval.
    perform bdc_field       using  fnam
                               fval.
    IDX = IDX + 1.
  ENDLOOP.
Please suggest

<b>A table control can contain many records, but the no of records you see on the screen is limited. In this case, the table control can hold only 16 records at a time and then we need to enter the page down and fill in more records.</b>
here is the sample code.
*--For each record in table IT_ICE_CONFM
    loop at it_ice_confm.
*--Get the correct line item from calling system.
*      it_ice_confm-ebelp = it_ice_confm-ebelp / '00010'.
*-- Check for Purchasing document validity
      read table lt_ekko with key ebeln = it_ice_confm-ebeln
                                  binary search.
      if sy-subrc <> 0.
         "error
      endif.
*-- Check for Purchasing document item validity
      read table lt_ekpo with key ebeln = it_ice_confm-ebeln
                                  ebelp = it_ice_confm-ebelp
                                  binary search.
      if sy-subrc <> 0.
       "error
      endif.
*--Clear local variables.
      clear : lv_tabix,
              lv_lfdat.
      lv_tabix = sy-tabix.
      lv_count1 = lv_count1 + 1.
*     For every new Purchase Order, populate first screen
      at new ebeln.
        read table it_ice_confm index lv_tabix.
        perform screen_insert tables it_bdc
                              using  'SAPMM06E' '0105' 'X'.
        perform field_insert: tables it_bdc
                              using  'BDC_OKCODE'  '/00',
                              tables it_bdc
                              using  'RM06E-BSTNR' it_ice_confm-ebeln.
      endat.
*     For every new Purchase Order line item, populate next screen
      at new ebelp.
        read table it_ice_confm index lv_tabix.
* if no Confirmation control key exist and no Goods receipt indicator
* occurs for the line item, set the Confirmation control key as 0001
        if lt_ekpo-bstae = ' '.
          if lt_ekpo-wepos = ' '.
            perform screen_insert tables it_bdc
                             using  'SAPMM06E' '0120' 'X'.
            perform field_insert: tables it_bdc
                             using  'RM06E-EBELP' it_ice_confm-ebelp,
                             tables it_bdc
                             using  'BDC_OKCODE' '/00'.
            perform screen_insert tables it_bdc
                              using  'SAPMM06E' '0120' 'X'.
            perform field_insert: tables it_bdc
                              using  'RM06E-TCSELFLAG(01)' 'X',
                              tables it_bdc
                              using  'BDC_OKCODE' '=DETA'.
            perform screen_insert tables it_bdc
                             using  'SAPMM06E' '0111' 'X'.
           perform field_insert: tables it_bdc
                                using  'EKPO-BSTAE' '0001',
                                tables it_bdc
                                using  'BDC_OKCODE' '=BACK'.
          else.
* if no Confirmation control key exist and and if Goods receipt
* indicator occurs for this line item, mark PO and line item as error
            concatenate 'Item no '                 it_ice_confm-ebelp
                        ' of Purchasing document ' it_ice_confm-ebeln
                        ' is invalid'
                       into return-message.
            move: 'E'                            to return-type,
                  'ZI'                           to return-id,
                  '999'                          to return-number.
            append return.
            clear return.
            continue.
          endif.
        else.
        endif.
          perform screen_insert tables it_bdc
                                using  'SAPMM06E' '0120' 'X'.
          perform field_insert: tables it_bdc
                                using  'RM06E-EBELP' it_ice_confm-ebelp,
                                tables it_bdc
                                using  'BDC_OKCODE' '/00'.
          perform screen_insert tables it_bdc
                                using  'SAPMM06E' '0120' 'X'.
          perform field_insert: tables it_bdc
                                using  'RM06E-TCSELFLAG(01)' 'X',
                                tables it_bdc
                                using  'BDC_OKCODE' '=BSTA'.
          clear lv_tab_line.
          perform select_line using it_ice_confm-ebeln
                                    it_ice_confm-ebelp
                           changing lv_tab_line.
          if not lv_tab_line is initial.
*--Position table control row for the first time
            lv_count2 = '01'.
            perform screen_insert  tables it_bdc
                                   using 'SAPLEINB' '0200' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=UMOD'.
            perform screen_insert  tables it_bdc
                                   using 'SAPLEINB' '0100' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=NP'.
            perform screen_insert  tables it_bdc
                                   using 'SAPLEINB' '0100' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=UMOD'.
          endif.
          perform screen_insert  tables it_bdc
                                 using 'SAPLEINB' '0200' 'X'.
        endat.
        lv_count2 = lv_count2 + 1.
*     Handle page down
*-- if confirmations already exist.
        if not lv_tab_line is initial.
*-- Check if it is 16th record, to position next record on page down
*   table control has 16 rows when default screen size,
*      mode and update are set
          if lv_count1 = 16.
            clear: lv_count1,
                   lv_count2.
*-- On page down, the next record comes to 2nd row
            lv_count2 = '02'.
            perform field_insert tables it_bdc
                                 using  'BDC_OKCODE' '=UMOD'.
            perform screen_insert  tables it_bdc
                           using 'SAPLEINB' '0100' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=NP'.
            perform screen_insert  tables it_bdc
                                   using 'SAPLEINB' '0100' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=UMOD'.
            perform screen_insert  tables it_bdc
                           using 'SAPLEINB' '0200' 'X'.
          endif.
        else.
*-- if confirmations does not exist, then check if it is 17th record.
*   to position next record on page down
          if lv_count1 = 17.
            clear: lv_count1,
                   lv_count2.
            lv_count2 = '02'.
            perform field_insert tables it_bdc
                                 using  'BDC_OKCODE' '=UMOD'.
            perform screen_insert  tables it_bdc
                           using 'SAPLEINB' '0100' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=NP'.
            perform screen_insert  tables it_bdc
                           using 'SAPLEINB' '0100' 'X'.
            perform field_insert   tables it_bdc
                                   using  'BDC_OKCODE' '=UMOD'.
            perform screen_insert  tables it_bdc
                           using 'SAPLEINB' '0200' 'X'.
*-- Initialize the table line to 1.
            lv_tab_line = 1.
          endif.
        endif.
        concatenate 'EKES-EBTYP(' lv_count2 ')' into lv_field.
        perform field_insert tables it_bdc
                             using  lv_field 'Z1'.
        if not it_ice_confm-eindt is initial.
          clear: lv_field,
                 lv_date.
          concatenate 'RM06E-EEIND(' lv_count2 ')' into lv_field.
          move it_ice_confm-eindt to lv_lfdat.
          write lv_lfdat to lv_date.
          perform field_insert tables it_bdc
                               using  lv_field lv_date.
        endif.
        if not it_ice_confm-uzeit is initial.
          clear: lv_field,
                 lv_time.
          concatenate 'EKES-UZEIT(' lv_count2 ')' into lv_field.
          write it_ice_confm-uzeit to lv_time.
          perform field_insert tables it_bdc
                               using  lv_field lv_time.
        endif.
        clear lv_field.
        concatenate 'EKES-XBLNR(' lv_count2 ')' into lv_field.
        perform field_insert tables it_bdc
                             using  lv_field it_ice_confm-scacd.
        clear lv_field.
        concatenate 'EKES-MENGE(' lv_count2 ')' into lv_field.
        perform field_insert tables it_bdc
                             using  lv_field it_ice_confm-quantity.
        at end of ebelp.
          clear: lv_tab_line,
                 lv_count1,
                 lv_count2.
          perform field_insert tables it_bdc
                               using  'BDC_OKCODE' '=BACK'.
        endat.
        at end of ebeln.
          clear: lv_lines,
                 lv_msg.
          perform screen_insert  tables it_bdc
                         using 'SAPMM06E' '0120' 'X'.
          perform field_insert tables it_bdc
                         using 'BDC_OKCODE' '=BU'.
          call transaction  <b>tcode</b> using  it_bdc
                  options from x_ctu_params
                  messages into lt_message.
          clear w_success.
          if sy-subrc <> 0.
            w_success = 'N'.
          endif.
          refresh: it_bdc,
                    lt_message.
        endat.
      endloop.
Regards,
Richa

Similar Messages

  • Table control bdc for mb1a

    Hi All,
    Can anyone tell me is table control BDC possible for MB1A tcode
    Thanks in advance.

    well there may be 2 cases,
    1. if ur batch manahement is active and the batch is determined internally,in that case it is not possible.
    2.However if ur batch management is not active,then a bdc can be written.
    But i would suggest u use an LSMW and record using the BAPI method,SAP provides good standard BAPI's.

  • Screen Resolution in table control bdc

    Hi ,
    Im working on bdc table control using call transaction method for vk11 and mek1.While uploading data for vk11 for the first time it is taking all the records of the input file and if i do the same for the second time by changing the amount value it is taking only 24 records .(i.e if the input file contains only 24 records it wil update else if it has 25 records or more it not updating even single record and it is showing error " No batch input data for screen sapmv13A ..)...this issue is with the production server......................whereas in development and quality servers there is no problem....................
    what migh be the problem and how to solve it?
    can anyone plz help me on this

    if its a problem in screen resolution then while recording through SHDB mark the check box default size
    or
    to make the bdc execute in standard screen size check the code below
    data x_ctuparams type ctu_params.
    x_ctuparams-defsize = 'X'. " This would freeze the resolution in any system
    x_ctuparams-dismode = 'N'.
    x_ctuparams-updmode = 'S'.
    call transaction <TCODE> using it_bdcdata options from x_ctuparams.
    So whatever is the screen size of the users front-end, the BDC will execute in standard screen size

  • Table Control BDC to CHANGE the contents problem

    Hi,
    I am having a problem in BDC. The screen is having a table control and I want to change the contents depending on certain conditions.
    This BDC is not to upload the data but to change already existing data.
    How can I dynamically know the contents of the screen or contents or the row so that I can select the correct row to be changed?

    Hi,
    No its not like that.
    Suppose I want to update/change sheduling agreements <b>not upload</b>
    I will be calling the transaction which will list the scheduling lines in a table control. The order of the lines in table control will be as per logic of SAP's Application program.
    Now when I read the file and how will I dynamically know the exact line which should get selected.
    Say my internal table is having the data to be changed but I can not determine the exact ordering of the records as per table control.
    Hence I am facing the problem to know the exact ordering of table control
    Let me give another example. Using ME12 transaction I am supposed to delete certain rows from info records say having condition '15EC'.
    Now when I call a transction how will I know that for a particular vendor which line will contain this condition value so that can select the line and press delete
    Regards,
    Nitin

  • Page down functionality in table control BDC-CJ02 tcode

    Hi Friends,
    I am doing a BDC with Table control for Tcode CJ02.
    When I reach certain number of records, say 13, the page down functionality doesnt work.I tried different ways like using the BDC_OKCODE as "=P" and "=P+".Also, I tried doing a recording by pressing the down key in the table contral, in SHDB, but none of them worked.
    Refered a post in SDN as well, but it doesnt hold any solution.
    Do throw some light on the same to achieve page down functionality for the bdc tcode CJ02.
    Thanks in advance.
    Shri.

    Hi,
    I already posted an answer to that here Re: BDC scroll down with OK_CODE '=P+':
    P+ (=P+ in the BDC) is not a universal function code, but only one which is defined in ABAP lists . So, 99% of time, it doesn't work for all others situations (like yours).
    Scrolling a table control is not so easy to do. When you record a page down on a table control in SHDB, you'll get probably a /00 which corresponds to Enter. When you play the recording, it won't scroll. The issue is that "page down" is processed in 2 parts, it changes the "top line" of the table control, and executes Enter. But it's not possible to record/play the "top line" information.
    The solution is that the program usually implements a function code:
    either "add new line"
    or "position at line"
    Sometimes, the function code is hidden so you must look at inside the program (or search SAP notes, like here: [SAP note 187946 (No positioning on PRT overview in routing)|https://service.sap.com/sap/support/notes/187946 ])
    And sometimes, there's no function code at all, and then you're stuck ! (or use SAP GUI scripting, but it may only work in dialog).
    For CJ02, I can't tell how to scroll through BDC, but anyway, there is a BAPI (don't remember the name, search the forum, it will be easy to find it), so you should always prefer them over BDC.
    Sandra

  • Update records in table control BDC

    I am using BDC on table control in which I have to scroll the table. The table shows 4 rows by default. I want to enter values for the 1st and 6th row. I use =p+ OK code to scroll.
    When enter value for 6th row the value in the first row vanishes.
    Please suggest

    I have to perform f_bdc_dynpro for screen 'MP901200' '2000' repeatedly for scrolling
    perform f_bdc_dynpro      using 'MP901200' '2000'.
    perform f_bdc_field       using 'BDC_CURSOR'
                                  'PT9012-SALARYSCHED'.
    perform f_bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform f_bdc_field       using 'P9012-BEGDA'
                                  '19.01.2009'.
    perform f_bdc_field       using 'P9012-ENDDA'
                                  '31.12.9999'.
    perform f_bdc_field       using 'PT9012-PLANN'
                                  '1143'.
    perform f_bdc_field       using 'PT9012-SALARYSCHED'
                                  '01'.
    perform f_bdc_field       using 'PPHDX-ENTRY_IDX'
                                  '1'.
    Here I enter value for individual fields other than the table control.
    perform f_bdc_dynpro      using 'MP901200' '2000'.
    perform f_bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
    perform f_bdc_field       using 'P9012-BEGDA'
                                  '19.01.2009'.
    perform f_bdc_field       using 'P9012-ENDDA'
                                  '31.12.9999'.
    perform f_bdc_field       using 'PT9012-PLANN'
                                  '1143'.
    perform f_bdc_field       using 'PT9012-SALARYSCHED'
                                  '01'.
    perform f_bdc_field       using 'PPHDX-ENTRY_IDX'
                                  '1'.
    perform f_bdc_field       using 'PT9012-DEGREE(01)'
                                  '03'.
    Here I enter value in the first row of table control.
    perform f_bdc_dynpro      using 'MP901200' '2000'.
    perform f_bdc_field       using 'BDC_OKCODE'
                                  '=p+'.
    perform f_bdc_field       using 'P9012-BEGDA'
                                  '19.01.2009'.
    perform f_bdc_field       using 'P9012-ENDDA'
                                  '31.12.9999'.
    perform f_bdc_field       using 'PT9012-PLANN'
                                  '1143'.
    perform f_bdc_field       using 'PT9012-SALARYSCHED'
                                  '01'.
    perform f_bdc_field       using 'PPHDX-ENTRY_IDX'
                                  '1'.
    here i scroll down to come to the sixth row.
    perform f_bdc_field       using 'BDC_OKCODE'
                                  '=/00'.
    perform f_bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform f_bdc_field       using 'P9012-BEGDA'
                                  '19.01.2009'.
    perform f_bdc_field       using 'P9012-ENDDA'
                                  '31.12.9999'.
    perform f_bdc_field       using 'PT9012-PLANN'
                                  '1143'.
    perform f_bdc_field       using 'PT9012-SALARYSCHED'
                                  '01'.
    perform f_bdc_field       using 'PPHDX-ENTRY_IDX'
                                  '6'.
    perform f_bdc_field       using 'PT9012-DEGREE(02)'
                                  '01'.
    Here I enter the value at second row as the 6th row is now the 2nd row after scrolling.
    but due to this the value in the first row vanishes.

  • Problem with the table control BDC in FV60 transaction

    Hi All,
    I got the problem with the table control in FV60 transaction.
    This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
    I know we can post only 999 line items,but in my file only 920 line items.
    Please give me solution,if anybody come across this situation.
    Thanks & regards,
    rakesh.

    Hello Rakesh ,
    your file may have only 920 line items , but based on those line items, SAP may create few more  new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
    regards
    Prabhu

  • How to handle Table control in BDC

    How to handle Table control in BDC

    HI,
    Table Control in BDC
    HI,
    Refer the link:
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    The concept is easy: it has to indicate the index of the table control in the field name, so if you have to populate the first record of table control:
    BDC-FIELDNAME = <FIELDNAME>(01).
    If you fill the second row:
    BDC-FIELDNAME = <FIELDNAME>(02).
    and so....
    Now the problem is usually on how many records you have to load, because u can fill only the rows of table control available in the screen, If you have more records than it can be displayed yuo have to simulate the command to go next page.
    The number of recod can be displayed can depend on pc resolution and many program haven't command to go to next page (in this case it could be impossible create a BDC program9.
    A way to create a bdc program resolution indipendent is to work on the first and second row.
    - Place the first hit in the first row of bdc;
    - Place the second insert in the second row of bdc;
    - Place the last hit to the top of table control;
    - Place the next hit in the second row;
    - Place the last hit to the top of table control;
    - Place the next hit in the second row;
    - .... and so
    For more info: Search in SDN with TABLE CONTROL IN BDC.
    Will get a lot of related links.
    <b>Reward points if this Helps.
    Manish</b>

  • BDC table control using Excel sheet upload

    Hi All,
    I am working BDC table control.I want to upload the From excel sheet.I am using the FM ALSM_EXCEL_TO_INTERNAL_TABLE to upload the the data into my internal table.The data is populating in the internal table.
    Now i have problem tat how to populate this excel sheet data to the Bdc table control.
    Can nybody help me out.\[removed by moderator\]
    Thanks,
    Swapna.
    Edited by: Jan Stallkamp on Jul 25, 2008 10:57 AM

    after fetching data from EXCEL sheet, each column data (in excel sheet) will be uploaded to individual record into your internal table along with row number and column number, loop through that internal table and collect all your excel data into record format.pls refer the below code.
    data:
         i_excel    type alsmex_tabline occurs 0 with header line,
         l_row      type i value 1.
    data:
         begin of x_data occurs 0,
                kunnr     like RF02L-KUNNR,
                klimk(17) type c,
                CTLPC     like knkk-CTLPC,
          end  of x_data,
          begin of x_data1 occurs 0,
                data(106),
          end   of x_data1.
    call function 'ALSM_EXCEL_TO_INTERNAL_TABLE'
       exporting
         filename                      = p_fname
         i_begin_col                   = 1
         i_begin_row                   = 1
         i_end_col                     = no.of columns in your excel file
         i_end_row                     = no.of rows in your file
       tables
         intern                        = i_excel.
    if sy-subrc = 0.
       loop at i_excel.
         if l_row <> i_excel-row.
            append x_data.
            clear x_data.
         endif.
         case i_excel-col.
            when 1.
              x_data-kunnr = i_excel-value.
            when 2.
              x_data-klimk = i_excel-value.
            when 3.
              x_data-CTLPC = i_excel-value.
         endcase.
         l_row = i_excel-row.
         clear i_excel.
         at last.
            append x_data.
         endat.
       endloop.
    endif.
    then loop through the internal table X_DATA, pass the data to your table control like.
    tbl_control-field1(1) = x_data-field1.
    tbl_control-field2(1) = x_data-field2.
    tbl_control-fieldn(1) = x_data-fieldn.
    Regards,
    Sreeram.

  • How to delete record from table control in BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    Hi,
    While doing recording check for Filter button available for the table control, if it available then do the recording for the same.
    Once it is done while passing the data from internal table put the value into Filter field.
    Hope it resolves your issue.
    Thanks & Regards.
    Nagaraj Kalbavi

  • How to delete record from table control using BDC?

    Hello friends,
    I am running a BDC program to delete records.
    I have file with following records and i got these records into t_itab.
    Material     Plant     Start date     End date     Cost
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100004     S002     09/01/2008     09/31/2008     56.00
    MQ100008     S003     09/01/2008     09/31/2008     57.00
    Now, I have BDC transaction in which table control screen which contains following structure.
    MQ100001     S001     09/01/2008     09/31/2008     55.00
    MQ100002     S002     09/01/2008     09/31/2008     56.00
    MQ100004     S003     09/01/2008     09/31/2008     47.00     
    MQ100005     S004     09/01/2008     09/31/2008     25.00
    MQ100006     S012     09/01/2008     09/31/2008     76.00
    MQ100007     S033     09/01/2008     09/31/2008     17.00
    MQ100008     S011     09/01/2008     09/31/2008     95.00
    MQ100009     S002     09/01/2008     09/31/2008     46.00
    I have recorded from SHDB in which first record will be delete.
    So, when i loop through t_itab,instead of deleting MQ100001,MQ100004 and MQ100008 from BDC screen,
    it is deleting MQ100001,MQ100002 and MQ100004 (first record for each process ).
    Which i don't want to.
    Is there any facility in BDC to put records on top which i want to delete?
    Please guide me.
    Regards,
    RH

    One option is to identify the table and find out the location as the number of row which should be deleted from the table and then in the bdc program instead of postioning the cursor on the row 1(using the statement perform bdc_cursor ....(01)), replace the 01 with the row number.
    Second option is that if a filter control is available for the table control, then filter the data each and every time with the material number to be deleted and then delete the first row.
    Regards
    Farzan

  • How to give line items in flatfile while doing BDC for Table control

    Hi all,
    I am writing BDC for Multiple line items and Transaction  is : FSE5N.
    How do i give the data in the flat file. I mean how do we give the multiple line items in flat file , i.e for second line item again we have to header data or not ?
    ex:
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    for first lineitem  : 3000172;100
    for 2nd line item : 3000172; 200.
    header data : 1015;ALL;demo;kr;INR;01;0001.
    Thanks in advance
    krupali

    Hii ,
    u can give in the same format as u have done in the example.
    A       B    C     D  E    F   G        H          I
    1015;ALL;demo;kr;INR;01;0001;3000172;100
    1015;ALL;demo;kr;INR;01;0001;3000172;200
    and while writing the loop u can give
    loop at it_head.
    loop at it_head where a = it_head-A and b = it_head-B ..........upto G = it_head-G.
      endloop.
    endloop.
    check this
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Neeraj

  • WSo2 BDC to delete line item in table control

    Hi all,
    My requirement is to delete material from wso2 table control.
    The only way to delete a line item in this table control is to select the line in table control and delete it.
    The recording doesnt captures any selection of row.
    Any input on how to caputre particular row ??
    Please dont send me links to work with table control in bdc
    Regards
    Bhanu

    DaveL  wrote:
      I am not aware of any way to make the BDC delete the row, other than by running in 'A'-all mode and letting the user step through each screen and delete the rows that should be deleted.
    Well , if the user has to run it in "A" all screen mode why a BDC is required
    DaveL  wrote:
    Deleting them from the table control would obviously have no effect upon the database table though, would it....it would just hide a row from view in this particular table control
    Really ? Well it will delete it from database too i dont know what makes you think that it wont be deleted from database.
    Anways i have figured out how to capture row selection in BDC .
    Thanks for your reply it proves nothing i guess

  • How to write bdc programme to load the data in table control

    Hi
    i have to write a bdc programme and the data to be filled in table control fileds can any one help me with the code how i have to write it is for cs02 tcode
    thanks and regards
    naveen

    Hi Naveen,
    See the sample code
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0100'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29N-DATUV'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=KALL'.
      PERFORM bdc_field       USING 'RC29N-MATNR'
                                    w_matnr.
      PERFORM bdc_field       USING 'RC29N-WERKS'
                                   w_werks.
      PERFORM bdc_field       USING 'RC29N-STLAN'
                                    '1'.
      PERFORM bdc_field       USING 'RC29N-DATUV'
                                    '01/01/2004'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '2110'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FCPU'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29K-BMENG'.
      PERFORM bdc_field       USING 'RC29K-BMENG'
                                    w_testuph.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-MENGE(02)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=FCBU'.
      PERFORM bdc_field       USING 'RC29P-MENGE(01)'
                                    w_testuph.
    "For raw material.
      IF NOT w_raw_mat_fg IS INITIAL.
        PERFORM bdc_field       USING 'RC29P-MENGE(02)'
                                   w_testuph.
      ENDIF.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POSNR'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POTX1'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0130'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POSNR'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0131'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC29P-POTX1'.
      PERFORM bdc_dynpro      USING 'SAPLCSDI' '0150'.
      CALL TRANSACTION 'CS02' USING bdcdata MODE w_display_mode UPDATE 'S'
                 MESSAGES INTO t_message_tab.
    Prabhudas

  • How to select perticular row in table control for BDC

    Hi all
    I want to select perticular row in table control for deletion through BDC. My transaction is CA02, My input is  material no and plant , then it display table control with work center. Now i want to select W999 cost center and delete through BDC.
    Please Suggest me. it urgent.
    Thanks& Regards,
    RP

    Hi all
    I want to select perticular row in table control for deletion through BDC. My transaction is CA02, My input is  material no and plant , then it display table control with work center. Now i want to select W999 cost center and delete through BDC.
    Please Suggest me. it urgent.
    Thanks& Regards,
    RP

Maybe you are looking for

  • Windows update error code 80072F78

    my window 8 on hp pavillion g6 originally window 7 changed to window 8 cannot update after sometime, it used to update but stop after awhile so i try to troubleshoot and fixed the problem but still yet it shows erro 80072F78 i dont know what to do pl

  • "Path" in Generated Reciever Adapter

    Hi, While working on JDBC-->XI-->RFC scenario, i have defined Two communication Channels (JDBC_sender and RFC_Reciever). In JDBC_sender communcation channel, "Generated Reciever Adapter" has been autogenerated. In this adapter, i am confused about th

  • Notes don't sync with iphone and mountain lion

    I upgraded to mountain lion and I cannot get my notes to sync for the life of me. So now I have notes on my iphone and separate notes on my computer. They never sync, so they are virtually worthless. What the heck happened? I don't use iCloud. In the

  • Looking for a text editor to embed in JSP

    Hello, Does anyone know of a good text editor I can use in JSP or Java? I would like to edit text only, no html codes in document. Thanks Frank

  • Adobe reader, error 15 reading a pdf.

    Hi, i'm an italian user, recently my adobe reader makes a mistake while i read a pdf, so i can't read any document. This error is always present. I tried to uninstall adobe reader, done a system clean, reboot and then i tried to install another way a