<?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 bdc in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614279#M870730</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sanki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          thank for the help,but still the issue is that the insert line code which u had provided &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=EINF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is not working ,so i am not able to place a insert line and then insert the data at first row as u had mentioned.so,i am still at the start of the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2008 10:49:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-28T10:49:01Z</dc:date>
    <item>
      <title>table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614268#M870719</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 am creating a bdc for tcode qp02 for uploading material for plant and group entered....well the problem is the screen where the material data will be inserted is a table control and the table control may or may not contain any previous material data.....the problem i am encountering is when there is already data in table control.how will i know that till which row no. of table control the data is filled and from which row i have to insert the data from flat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; any useful comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                                          shailendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614268#M870719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T05:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614269#M870720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi use &lt;STRONG&gt;QP01&lt;/STRONG&gt; for creating new records instead of QP02&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:23:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614269#M870720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T05:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614270#M870721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Boss...&lt;/P&gt;&lt;P&gt;Point the BDC Cursor and to the table field and &lt;/P&gt;&lt;P&gt;bdc_okcode for the insert new line.&lt;/P&gt;&lt;P&gt;this will move the cursor the line next to the already existing line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:25:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614270#M870721</guid>
      <dc:creator>former_member210123</dc:creator>
      <dc:date>2008-03-28T05:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614271#M870722</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;    but in qp01 i am facing the same problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:26:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614271#M870722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T05:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614272#M870723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi bharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          can u elaborate a bit b'coz this is my first encounter with table control bdc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:28:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614272#M870723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T05:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614273#M870724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To be exact it should look like something like this.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                  'PLKOD-KTEXT'.&lt;/P&gt;&lt;P&gt;    PERFORM bdc_field       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  'ANLG'.&lt;/P&gt;&lt;P&gt;This should work..Test and see....&lt;/P&gt;&lt;P&gt;This will insert a new line.after the existing records .I checked it .it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614273#M870724</guid>
      <dc:creator>former_member210123</dc:creator>
      <dc:date>2008-03-28T05:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614274#M870725</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 have just seen the table control that you have mentioned. I think it is of work center assignment. this is the first screen after giving the material and the plant. Here in the menu bar goto EDIT-&amp;gt;click Insert line. Embed the bdc recording code. This will prompt you to enter the data from the first line itself.So the previous data also will not be deleted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also use the code,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    perform bdc_dynpro      using 'SAPLCPDI' '1400'.&lt;/P&gt;&lt;P&gt;    perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                  '=EINF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sankar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 05:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614274#M870725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T05:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614275#M870726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi bharath &amp;amp; sanki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry for late reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           i tried but it didn't worked.well the issue i am facing is if the table control has 14 visible rows in a page and 10 rows are already filled and i have to insert the data from 11 row ,so is there any way so that i can directly get the no. of rows that are already filled (in this case i get 10)....i think starting a counter wouldn't be feasible in cases where no.f rows that are already filled are large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well sanki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           in th initial screen of qp02 i am not entering the material ,only the plant and group.in the next screen clicking the header --&amp;gt;material assignment --&amp;gt; the table control that appears is the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:09:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614275#M870726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614276#M870727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  I will give you a trick. Just record the BDC to fill the first line when the first record comes. After that pass every record in the second line. You need not go for the total lines displayed in the page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say for example. Look at the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT ITAB1 WHERE MATNR = ITAB-MATNR AND WERKS = ITAB-WERKS.&lt;/P&gt;&lt;P&gt;      CNT = CNT + 1.&lt;/P&gt;&lt;P&gt;      IF CNT = 1.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_DYNPRO      USING 'SAPLMDIA' '0100'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'MKAL-TEXT1(01)'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                      '=DETA'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'MKAL-VERID(01)'&lt;/P&gt;&lt;P&gt;                                      ITAB1-VERID.          "'0001'.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_DYNPRO      USING 'SAPLMDIA' '0100'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'RM03T-AKTZL'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                      '=NEWM'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_DYNPRO      USING 'SAPLMDIA' '0100'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                                      'MKAL-TEXT1(02)'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                                      '=DETA'.&lt;/P&gt;&lt;P&gt;        PERFORM BDC_FIELD       USING 'MKAL-VERID(02)'&lt;/P&gt;&lt;P&gt;                                      ITAB1-VERID.          "'0003'.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have already given a code. In that i have mentioned a function code. its for insert line. whenever you press the 'Insert Line' The cursor will prompt you to the first line. The above code will make you to enter the data in first line when the first record comes and after each records will be passed through the second line. Because the function code for insert line will make the table control to scroll upwards. So our process will be easier.  Just try it out at once.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:26:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614276#M870727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614277#M870728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sanki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;           but my table control can have more than one row that is filled.ur solution is for the scenario when only one row is filled ,where i can start inserting the data from the second row.&lt;/P&gt;&lt;P&gt;but in my case it can be 2nd,3rd............&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 10:23:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614277#M870728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T10:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614278#M870729</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; Just look at the code. It doesn't a problem how many records you have.  I will give an illustration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the first record comes. &lt;/P&gt;&lt;P&gt;click the insert line button in the menu bar. So the first record will be passed into the first line as like follows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10   first record.&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the second record comes again click the insert line option. also write the cursor in the second row position.so the will be passed to the second line as folllows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10   first record.&lt;/P&gt;&lt;P&gt;20   second record.&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the third record comes,again click the insert line option. also write the cursor in the second row position by the table control will scroll upwards . so the will be passed to the second line as folllows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10   second record.&lt;/P&gt;&lt;P&gt;20   third record.&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then do the same thing for the following records. Then the fourth record will be.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10   third record.&lt;/P&gt;&lt;P&gt;20   fourth record.&lt;/P&gt;&lt;P&gt;30&lt;/P&gt;&lt;P&gt;40&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the completion of the BDCyou can visualize the effect. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanki.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 10:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614278#M870729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T10:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: table control bdc</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614279#M870730</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sanki,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          thank for the help,but still the issue is that the insert line code which u had provided &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=EINF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; is not working ,so i am not able to place a insert line and then insert the data at first row as u had mentioned.so,i am still at the start of the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 10:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-control-bdc/m-p/3614279#M870730</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T10:49:01Z</dc:date>
    </item>
  </channel>
</rss>

