<?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 BDC session:not taking data properly from file during session execution? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501459#M1421892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a BDC program for z tode (zbdc_cust) in that i am entering values on screen and on click of save ,values are saved in ztable ZCUSTOMER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session is created sucessfully but the problem is  there are 5 records in my text file but it wont take all record one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will ask me "Do you still want to keep the batch input data?" and after pressing no it will take first record and then next next record.this happens for each record.all previously processed records are taken again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is my recording:&lt;/P&gt;&lt;P&gt;LOOP AT GTBL_CUST INTO WA_CUST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM BDC_DYNPRO      USING 'ZCUST_MPOOL_BDC' '0100'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SAVE'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ZCUSTOMER-ZCUSTID'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZCUSTID'&lt;/P&gt;&lt;P&gt;                               WA_CUST-ZCUSTID.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZFNAME'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZFNAME.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZLNAME'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZLNAME.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZADDR'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZADDR.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZMOBILE'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZMOBILE.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZSEX'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZSEX.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZAGE'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZAGE.&lt;/P&gt;&lt;P&gt;PERFORM BDC_INSERT_DATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that all record should be taken one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Arpita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jan 2010 05:28:59 GMT</pubDate>
    <dc:creator>arpita_churi3</dc:creator>
    <dc:date>2010-01-19T05:28:59Z</dc:date>
    <item>
      <title>BDC session:not taking data properly from file during session execution?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501459#M1421892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have written a BDC program for z tode (zbdc_cust) in that i am entering values on screen and on click of save ,values are saved in ztable ZCUSTOMER.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Session is created sucessfully but the problem is  there are 5 records in my text file but it wont take all record one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will ask me "Do you still want to keep the batch input data?" and after pressing no it will take first record and then next next record.this happens for each record.all previously processed records are taken again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is my recording:&lt;/P&gt;&lt;P&gt;LOOP AT GTBL_CUST INTO WA_CUST.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  PERFORM BDC_DYNPRO      USING 'ZCUST_MPOOL_BDC' '0100'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SAVE'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'ZCUSTOMER-ZCUSTID'.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZCUSTID'&lt;/P&gt;&lt;P&gt;                               WA_CUST-ZCUSTID.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZFNAME'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZFNAME.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZLNAME'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZLNAME.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZADDR'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZADDR.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZMOBILE'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZMOBILE.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZSEX'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZSEX.&lt;/P&gt;&lt;P&gt;PERFORM BDC_FIELD       USING 'ZCUSTOMER-ZAGE'&lt;/P&gt;&lt;P&gt;                              WA_CUST-ZAGE.&lt;/P&gt;&lt;P&gt;PERFORM BDC_INSERT_DATA.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want that all record should be taken one by one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Arpita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:28:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501459#M1421892</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2010-01-19T05:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session:not taking data properly from file during session execution?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501460#M1421893</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;check the GTBL_CUST  table first , how many reacords are there. i think if u r entering through the Tcode only one record can be done. if it is excel or text file or csv file we have the n nunber of entries, so we can loop that.&lt;/P&gt;&lt;P&gt;check the BDCDATA too....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bharani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:35:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501460#M1421893</guid>
      <dc:creator>BH2408</dc:creator>
      <dc:date>2010-01-19T05:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session:not taking data properly from file during session execution?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501461#M1421894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Clear &amp;amp; Refresh BDC tables after LOOP AT GTBL_CUST INTO WA_CUST. statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501461#M1421894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T05:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session:not taking data properly from file during session execution?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501462#M1421895</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;My GTBL_CUST table has three records (Two from my notepad file and one is empty)&lt;/P&gt;&lt;P&gt;and BDCDATA table is filled properly for two records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Arpita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501462#M1421895</guid>
      <dc:creator>arpita_churi3</dc:creator>
      <dc:date>2010-01-19T05:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session:not taking data properly from file during session execution?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501463#M1421896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   WHile doing recording do it with inserting 2 records, by seeing your recording it shows that you have done recording for only one record, thats why it is inserting one record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do the recording doing below things&lt;/P&gt;&lt;P&gt;Insert one record, click on new entry and insert the second entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bala Krishna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501463#M1421896</guid>
      <dc:creator>former_member585060</dc:creator>
      <dc:date>2010-01-19T05:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: BDC session:not taking data properly from file during session execution?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501464#M1421897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arpita,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve your Issue,&lt;/P&gt;&lt;P&gt;Just Check your GTBL_CUST  table, Does it contain only single record, IF yes then there is no point for applying loop on that table, If it contains more then one records then Clear and Refresh BDCDATA after &lt;STRONG&gt;PERFORM BDC_INSERT_DATA&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jan 2010 05:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-session-not-taking-data-properly-from-file-during-session-execution/m-p/6501464#M1421897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-19T05:45:46Z</dc:date>
    </item>
  </channel>
</rss>

