<?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: BDC using VA02 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043368#M420407</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt; Just retain what ever screen that you come across in the recording and see.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2007 08:50:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-06T08:50:37Z</dc:date>
    <item>
      <title>BDC using VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043365#M420404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have done a BDC to update data for VA02 ..... but.... after everything is updated it stops at a screen which propmts " Do u wish to continu" ( when i run it in 'E' mode)&lt;/P&gt;&lt;P&gt;the program executes fine in 'A' mode. the following is the log but in "N" it doesen't work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;S NO Batch Input for screen SAPLSP01 0500.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i click on yes then the code executes fine and prompts again for the next record at end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i can also use Bapi  Function Module but the requirement is to do in BDC&lt;/P&gt;&lt;P&gt;Please give me some idea how to handle this ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the code:( only recording)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT t_vbak into wa_vbak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CLEAR bdcdata1.&lt;/P&gt;&lt;P&gt;     REFRESH bdcdata1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV45A' '0102'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VBAK-VBELN'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=UER1'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAK-VBELN'&lt;/P&gt;&lt;P&gt;                              wa_vbak-VBELN.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSPO1' '0500'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=OPT1'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPMV45A' '4001'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=SICH'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_CURSOR'&lt;/P&gt;&lt;P&gt;                              'VBKD-BSTDK'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-BSTKD'&lt;/P&gt;&lt;P&gt;                              wa_vbak-BSTKD.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-BSTDK'&lt;/P&gt;&lt;P&gt;                              ''.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'KUWEV-KUNNR'&lt;/P&gt;&lt;P&gt;                              wa_vbak-KUNNR.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RV45A-KETDAT'&lt;/P&gt;&lt;P&gt;                              wa_vbak-KETDAT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'RV45A-KPRGBZ'&lt;/P&gt;&lt;P&gt;                              'D'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-PRSDT'&lt;/P&gt;&lt;P&gt;                              wa_vbak-PRSDT.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-ZTERM'&lt;/P&gt;&lt;P&gt;                              'ZB02'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-INCO1'&lt;/P&gt;&lt;P&gt;                              'CIP'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBKD-INCO2'&lt;/P&gt;&lt;P&gt;                              'Düsseldorf'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'VBAK-AUGRU'&lt;/P&gt;&lt;P&gt;                              wa_vbak-AUGRU.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSPO2' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=OPT1'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro      using 'SAPLSPO1' '0500'.&lt;/P&gt;&lt;P&gt;perform bdc_field       using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;                              '=OPT1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     CALL TRANSACTION 'VA02' USING bdcdata1&lt;/P&gt;&lt;P&gt;      MODE 'N'&lt;/P&gt;&lt;P&gt;      UPDATE 'A'&lt;/P&gt;&lt;P&gt;      MESSAGES INTO messtab1.&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;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043365#M420404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: BDC using VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043366#M420405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi srinivas,&lt;/P&gt;&lt;P&gt; Why are thes etwo steps needed?&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;perform bdc_dynpro using 'SAPLSPO2' '0101'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=OPT1'.&lt;/P&gt;&lt;P&gt;perform bdc_dynpro using 'SAPLSPO1' '0500'.&lt;/P&gt;&lt;P&gt;perform bdc_field using 'BDC_OKCODE'&lt;/P&gt;&lt;P&gt;'=OPT1'.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remove that part of the code and try.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:27:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043366#M420405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: BDC using VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043367#M420406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ravi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Actually the screen 'SAPLSPO1' '0500' doesn't have  any BAtch Input Screen Number ... I ahve tried as u suggested but its not working..&lt;/P&gt;&lt;P&gt;This Screen Prompts " Do u Wish to Continue". This is not  Handled during the recording&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u have any alternative do suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanxs &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:46:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043367#M420406</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: BDC using VA02</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043368#M420407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt; Just retain what ever screen that you come across in the recording and see.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2007 08:50:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-using-va02/m-p/2043368#M420407</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-06T08:50:37Z</dc:date>
    </item>
  </channel>
</rss>

