<?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 values are not cleared in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449290#M1413485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pasala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Use *Refrsh BDCTAB* before you pass the values to BDC 

clear wa_bdctab " if it is separately declared
refresh BDCTab.
" Note: Whenever you append an Internal table make sure you refresh internal table unless you require the
" Old values as well other wise refresh it 

now buitld it again.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2010 07:20:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-01-20T07:20:40Z</dc:date>
    <item>
      <title>bdc values are not cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449289#M1413484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi BDC Masters,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have a scree vith 2 fields  VAR1  AND VAR2.&lt;/P&gt;&lt;P&gt;in VAR1 = 05 and VAR2 = AM and i get the values...into my internal table I-CREATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using BDC and passing all my INTERNAL TABLE VALUES to the BDC where it displays all the values that are their in the INTERNAL TABLE which is fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when the user comes and changes the screen values for ex VAR1 = 00 and VAR2 = HL.&lt;/P&gt;&lt;P&gt;NOW the am able to get values of 00 and HL into  INTERNAL TABLE WHERE VAR1 = 00, VAR2 = HL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BUT when i pass this values to BDC am not able to get these values of the internal table that am passing but PREVIOUS VALUES are been displayed instead of the values that am passing now to BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am clearing my internal table befor it fills the internal table second time and and reading it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i debug i can see the values fo the second time given values and those values am passing still the OLD VALUES are displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i clear the BDC VALUES?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me pls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;pasala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449289#M1413484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: bdc values are not cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449290#M1413485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pasala,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Use *Refrsh BDCTAB* before you pass the values to BDC 

clear wa_bdctab " if it is separately declared
refresh BDCTab.
" Note: Whenever you append an Internal table make sure you refresh internal table unless you require the
" Old values as well other wise refresh it 

now buitld it again.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:20:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449290#M1413485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T07:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: bdc values are not cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449291#M1413486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data : gwa_bdcdata      TYPE bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    gwa_bdcdata-fnam = fnam.&lt;/P&gt;&lt;P&gt;    gwa_bdcdata-fval = fval.&lt;/P&gt;&lt;P&gt;    APPEND gwa_bdcdata TO gi_bdcdata.&lt;/P&gt;&lt;P&gt;CLEAR gwa_bdcdata.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_bdcdata.&lt;/P&gt;&lt;P&gt;  gwa_bdcdata-program    =  prog_name.     "Program Name&lt;/P&gt;&lt;P&gt;  gwa_bdcdata-dynpro     =  screen_no.     "Screen Number&lt;/P&gt;&lt;P&gt;  gwa_bdcdata-dynbegin   =  gc_x.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Append bdc table and clear work area&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  APPEND gwa_bdcdata TO gi_bdcdata.&lt;/P&gt;&lt;P&gt;  CLEAR gwa_bdcdata.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 07:23:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449291#M1413486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T07:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: bdc values are not cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449292#M1413487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you ramachandra.... it works... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your valuble answers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 08:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449292#M1413487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T08:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: bdc values are not cleared</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449293#M1413488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2010 08:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bdc-values-are-not-cleared/m-p/6449293#M1413488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-01-20T08:10:26Z</dc:date>
    </item>
  </channel>
</rss>

