<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: table control in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189255#M759710</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2007 09:20:41 GMT</pubDate>
    <dc:creator>former_member188829</dc:creator>
    <dc:date>2007-12-07T09:20:41Z</dc:date>
    <item>
      <title>table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189254#M759709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How will u handle table control in BDC?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189254#M759709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T09:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189255#M759710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm" target="test_blank"&gt;http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189255#M759710</guid>
      <dc:creator>former_member188829</dc:creator>
      <dc:date>2007-12-07T09:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189256#M759711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use the index value inside the brakects after the screen field name.&lt;/P&gt;&lt;P&gt;For example if you screen field name on the table control starts stands as SCREEN-MATNR, you have to use SCREEN-MATNR(1) to refer the first row of the table control. But one thing you have to keep in mind is, if you scroll down the list current first row will be assigned to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:22:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189256#M759711</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T09:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189257#M759712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this post&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3880782"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:22:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189257#M759712</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T09:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189258#M759713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see this example-1.&lt;/P&gt;&lt;P&gt;report ZBH_PURORDER no standard page heading line-size 255.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS:P_FILE LIKE IBIPPARMS-PATH.&lt;/P&gt;&lt;P&gt;DATA FILENAME TYPE STRING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'F4_FILENAME'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;program_name = sy-cprog&lt;/P&gt;&lt;P&gt;dynpro_number = sy-dynnr&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;file_name = P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;FILENAME = P_FILE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF XTAB OCCURS 0,&lt;/P&gt;&lt;P&gt;TYP,&lt;/P&gt;&lt;P&gt;DES(255) TYPE C,&lt;/P&gt;&lt;P&gt;END OF XTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF ITAB OCCURS 0,&lt;/P&gt;&lt;P&gt;SUPERFIELD LIKE MEPO_TOPLINE-SUPERFIELD,&lt;/P&gt;&lt;P&gt;EKORG LIKE MEPO1222-EKORG,&lt;/P&gt;&lt;P&gt;EKGRP LIKE MEPO1222-EKGRP,&lt;/P&gt;&lt;P&gt;BUKRS LIKE MEPO1222-BUKRS,&lt;/P&gt;&lt;P&gt;END OF ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BEGIN OF JTAB OCCURS 0,&lt;/P&gt;&lt;P&gt;N(4) TYPE C,&lt;/P&gt;&lt;P&gt;EMATN LIKE MEPO1211-EMATN,&lt;/P&gt;&lt;P&gt;MENGE(13) TYPE C,&lt;/P&gt;&lt;P&gt;NETPR(13) TYPE C,&lt;/P&gt;&lt;P&gt;NAME1 LIKE MEPO1211-NAME1,&lt;/P&gt;&lt;P&gt;END OF JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:BDCTAB LIKE BDCDATA OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA:DELIMITER VALUE '*'.&lt;/P&gt;&lt;P&gt;DATA A TYPE I.&lt;/P&gt;&lt;P&gt;DATA M(4) TYPE N.&lt;/P&gt;&lt;P&gt;DATA L_FNAM(30) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'GUI_UPLOAD'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;FILENAME = FILENAME&lt;/P&gt;&lt;P&gt;FILETYPE = 'ASC'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;DATA_TAB = XTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT XTAB.&lt;/P&gt;&lt;P&gt;IF XTAB-TYP = 'H'.&lt;/P&gt;&lt;P&gt;SPLIT XTAB-DES AT DELIMITER INTO ITAB-SUPERFIELD ITAB-EKORG ITAB-EKGRP&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;JTAB-N = JTAB-N + 1.&lt;/P&gt;&lt;P&gt;APPEND ITAB.&lt;/P&gt;&lt;P&gt;ELSEIF XTAB-TYP = 'I'.&lt;/P&gt;&lt;P&gt;SPLIT XTAB-DES AT DELIMITER INTO JTAB-EMATN JTAB-MENGE JTAB-NETPR&lt;/P&gt;&lt;P&gt;JTAB-NAME1.&lt;/P&gt;&lt;P&gt;APPEND JTAB.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_OPEN_GROUP'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;CLIENT = SY-MANDT&lt;/P&gt;&lt;P&gt;GROUP = 'PORDER'&lt;/P&gt;&lt;P&gt;KEEP = 'X'&lt;/P&gt;&lt;P&gt;USER = SY-UNAME.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;A = SY-TABIX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REFRESH BDCTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MEPO_TOPLINE-SUPERFIELD'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=MEV4000BUTTON'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MEPO1222-EKORG'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKORG'&lt;/P&gt;&lt;P&gt;ITAB-EKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKGRP'&lt;/P&gt;&lt;P&gt;ITAB-EKGRP.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-BUKRS'&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=MEV4001BUTTON'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKORG'&lt;/P&gt;&lt;P&gt;ITAB-EKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKGRP'&lt;/P&gt;&lt;P&gt;ITAB-EKGRP.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-BUKRS'&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT JTAB.&lt;/P&gt;&lt;P&gt;IF JTAB-N = A.&lt;/P&gt;&lt;P&gt;WRITE:/ JTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-EMATN(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-EMATN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-MENGE(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-NETPR(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-NETPR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE 'MEPO1211-NAME1(' M ')' INTO L_FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using L_FNAM&lt;/P&gt;&lt;P&gt;JTAB-NAME1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;M = M + 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'/00'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLMEGUI' '0014'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BSART'&lt;/P&gt;&lt;P&gt;'NB'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-SUPERFIELD'&lt;/P&gt;&lt;P&gt;ITAB-SUPERFIELD.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO_TOPLINE-BEDAT'&lt;/P&gt;&lt;P&gt;'09.02.2007'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKORG'&lt;/P&gt;&lt;P&gt;ITAB-EKORG.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-EKGRP'&lt;/P&gt;&lt;P&gt;ITAB-EKGRP.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1222-BUKRS'&lt;/P&gt;&lt;P&gt;ITAB-BUKRS.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'DYN_6000-LIST'&lt;/P&gt;&lt;P&gt;' 1'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;'MEPO1319-MATKL'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'MEPO1319-SPINF'&lt;/P&gt;&lt;P&gt;'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=MESAVE'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_INSERT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;TCODE = 'ME21N'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;DYNPROTAB = BDCTAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BDC_CLOSE_GROUP'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_DYNPRO USING PROGRAM DYNPRO.&lt;/P&gt;&lt;P&gt;CLEAR BDCTAB.&lt;/P&gt;&lt;P&gt;BDCTAB-PROGRAM = PROGRAM.&lt;/P&gt;&lt;P&gt;BDCTAB-DYNPRO = DYNPRO.&lt;/P&gt;&lt;P&gt;BDCTAB-DYNBEGIN = 'X'.&lt;/P&gt;&lt;P&gt;APPEND BDCTAB.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM BDC_FIELD USING FNAM FVAL.&lt;/P&gt;&lt;P&gt;CLEAR BDCTAB.&lt;/P&gt;&lt;P&gt;BDCTAB-FNAM = FNAM.&lt;/P&gt;&lt;P&gt;BDCTAB-FVAL = FVAL.&lt;/P&gt;&lt;P&gt;APPEND BDCTAB.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FLAT FILE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;H117161&lt;STRONG&gt;1000&lt;/STRONG&gt;001*1000&lt;/P&gt;&lt;P&gt;ICPU&lt;STRONG&gt;1&lt;/STRONG&gt;16000*1000&lt;/P&gt;&lt;P&gt;ILEY BOARD&lt;STRONG&gt;10&lt;/STRONG&gt;10000*1000&lt;/P&gt;&lt;P&gt;IMOUSE&lt;STRONG&gt;6&lt;/STRONG&gt;6000*1000&lt;/P&gt;&lt;P&gt;H117171&lt;STRONG&gt;1000&lt;/STRONG&gt;001*1000&lt;/P&gt;&lt;P&gt;ICPU&lt;STRONG&gt;5&lt;/STRONG&gt;80000*1000&lt;/P&gt;&lt;P&gt;H117170&lt;STRONG&gt;1000&lt;/STRONG&gt;001*1000&lt;/P&gt;&lt;P&gt;IMOUSE&lt;STRONG&gt;3&lt;/STRONG&gt;3000*1000&lt;/P&gt;&lt;P&gt;ILEY BOARD&lt;STRONG&gt;10&lt;/STRONG&gt;10000*1000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;EXAMPLE 2&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please find following code u ll get all your answer..&lt;/P&gt;&lt;P&gt;in my case table control length was 5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0731' 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i = 1.&lt;/P&gt;&lt;P&gt;loop at itab_stock.&lt;/P&gt;&lt;P&gt;quantchar = itab_stock-menge.&lt;/P&gt;&lt;P&gt;concatenate 'ISEG-ERFMG(' i ')' into fnam.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_CURSOR' FNAM.&lt;/P&gt;&lt;P&gt;perform bdc_field using fnam quantchar.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;if i = '5'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0731' 'X'.&lt;/P&gt;&lt;P&gt;i = 0.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;i = i + 1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '/00'.&lt;/P&gt;&lt;P&gt;perform bdc_screen using 'SAPMM07I' '0731' 'X'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE' '=BU'.&lt;/P&gt;&lt;P&gt;call transaction 'MI04' using itab_bdcdata mode 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Kindly Reward points if you found the reply helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;CHAITANYA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:24:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189258#M759713</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T09:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189259#M759714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you are doing recording then give information in fist row of table control then below the table control you have the option like "create item" + symbol icon. Press that. Then 1st row of table control will go up and second row of table control will come in the position of first row. Here also give data then save or do filling the next data and save. Once you get the code for recording, for above process (enter the data in table control) keep this logic in loop. It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it dose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siva Kuamr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:27:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189259#M759714</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T09:27:33Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189260#M759715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 09:39:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189260#M759715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-07T09:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: table control</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189261#M759716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to design multiple table controls in a screen and they should be expandable and collapsable .....any inputs ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;some thing like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;me22n screen -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;where the table control for items there is expandable and collapsable....I need threesuch table controls on my screen......any inputs are highly appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 16:25:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control/m-p/3189261#M759716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T16:25:11Z</dc:date>
    </item>
  </channel>
</rss>

