<?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: PROBLEM IN BADI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160657#M456982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you have declared WA as the type of CT_KONPDB_NEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa LIKE LINE OF ct_konpdb_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ct_konpdb_new iINTO wa.&lt;/P&gt;&lt;P&gt;wa-konwa = 'USDN'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alsp please note that the above loop will NOT modify the internal table unless u use a MODIFY statement within the loop.&lt;/P&gt;&lt;P&gt;MODIFY ct_konpdb_new FROM wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A faster alternative is to use field symbols :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : &amp;lt;fs&amp;gt; LIKE LINE OF ct_konpdb_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ct_konpdb_new ASSIGNING &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;fs&amp;gt;-konwa = 'USDN'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2007 03:13:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-30T03:13:31Z</dc:date>
    <item>
      <title>PROBLEM IN BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160656#M456981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;      i have problem badi.when i have save the pricing i should change the 'usd' to 'usdn' i have save i should change in to 'usdn'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; the code ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT CT_KONPDB_NEW INTO WA.  &lt;/P&gt;&lt;P&gt;WA-KONWA = 'USDN'.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;iam geetting the error as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WA cannot be converted to the line type of CT_KONPDB_NEW-internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please can you tell me what to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sivakumar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 02:54:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160656#M456981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T02:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160657#M456982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope you have declared WA as the type of CT_KONPDB_NEW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : wa LIKE LINE OF ct_konpdb_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ct_konpdb_new iINTO wa.&lt;/P&gt;&lt;P&gt;wa-konwa = 'USDN'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alsp please note that the above loop will NOT modify the internal table unless u use a MODIFY statement within the loop.&lt;/P&gt;&lt;P&gt;MODIFY ct_konpdb_new FROM wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A faster alternative is to use field symbols :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : &amp;lt;fs&amp;gt; LIKE LINE OF ct_konpdb_new.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ct_konpdb_new ASSIGNING &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;fs&amp;gt;-konwa = 'USDN'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 03:13:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160657#M456982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T03:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160658#M456983</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;   Now it working fine but it not changing in the table &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT CT_KONPDB_NEW INTO WA.&lt;/P&gt;&lt;P&gt;wa-KONWA = 'USDN'.&lt;/P&gt;&lt;P&gt;wa-KWAEH = 'USDN'.&lt;/P&gt;&lt;P&gt;MODIFY ct_konpdb_new FROM wa.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but i should change the data in KONP table it not changing &lt;/P&gt;&lt;P&gt;please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sivakumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 03:41:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160658#M456983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T03:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROBLEM IN BADI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160659#M456984</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;Did you debug and check if your internal table ct_kondb_new is modified ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your internal table is not modified, please use field symbols as suggested in post above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your internal table is modified successfully but databse is not, it means either :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Your internal table is overwritten at a later point, within your BADI.&lt;/P&gt;&lt;P&gt;2. This is not the right BADi you have chosen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2007 03:52:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-badi/m-p/2160659#M456984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-30T03:52:40Z</dc:date>
    </item>
  </channel>
</rss>

