<?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 basic  abap in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646530#M609656</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends, i have ascenario where,the table vbuk  &lt;/P&gt;&lt;P&gt;has all the entries in it, but  now  it was found  &lt;/P&gt;&lt;P&gt;out that out of the whole table, one specific  field of &lt;/P&gt;&lt;P&gt;a specific record, value  was wrongly put as B instead of C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now  when i tried  to  change  it through TMG ,&lt;/P&gt;&lt;P&gt; or  directly , its not allowing me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so  i decided on changing  it through zprogram, i thought of  coding as  follows,&lt;/P&gt;&lt;P&gt;please  point out  errors  if any, &lt;/P&gt;&lt;P&gt;the main thing  to  remember is that, rest  of the fields  of that record  are &lt;/P&gt;&lt;P&gt;very  important  and should not be touched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab with header line,&lt;/P&gt;&lt;P&gt;vbeln type vbuk-vbeln,&lt;/P&gt;&lt;P&gt;wbstk type vbuk-wbstk,&lt;/P&gt;&lt;P&gt;endof itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = 'xyz'.&lt;/P&gt;&lt;P&gt;itab-wbstk = 'C'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update vbuk from itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will it work  or    will it mess with  the  other  entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 03:16:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-09T03:16:56Z</dc:date>
    <item>
      <title>basic  abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646530#M609656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;friends, i have ascenario where,the table vbuk  &lt;/P&gt;&lt;P&gt;has all the entries in it, but  now  it was found  &lt;/P&gt;&lt;P&gt;out that out of the whole table, one specific  field of &lt;/P&gt;&lt;P&gt;a specific record, value  was wrongly put as B instead of C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now  when i tried  to  change  it through TMG ,&lt;/P&gt;&lt;P&gt; or  directly , its not allowing me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so  i decided on changing  it through zprogram, i thought of  coding as  follows,&lt;/P&gt;&lt;P&gt;please  point out  errors  if any, &lt;/P&gt;&lt;P&gt;the main thing  to  remember is that, rest  of the fields  of that record  are &lt;/P&gt;&lt;P&gt;very  important  and should not be touched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: begin of itab with header line,&lt;/P&gt;&lt;P&gt;vbeln type vbuk-vbeln,&lt;/P&gt;&lt;P&gt;wbstk type vbuk-wbstk,&lt;/P&gt;&lt;P&gt;endof itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab-vbeln = 'xyz'.&lt;/P&gt;&lt;P&gt;itab-wbstk = 'C'.&lt;/P&gt;&lt;P&gt;append itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update vbuk from itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will it work  or    will it mess with  the  other  entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 03:16:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646530#M609656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T03:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: basic  abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646531#M609657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes it will work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 03:23:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646531#M609657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T03:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: basic  abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646532#M609658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;as u said 'one specific field of &lt;/P&gt;&lt;P&gt;a specific record'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that means u need not update all the records of the data base table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so see the below eg&lt;/P&gt;&lt;P&gt;eg: UPDATE &amp;lt;table name&amp;gt; SET: DISCOUNT  = '003',&lt;/P&gt;&lt;P&gt;                    TELEPHONE = '0621/444444'&lt;/P&gt;&lt;P&gt;              WHERE ID        = '00017777'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE SFLIGHT SET   SEATSOCC = SEATSOCC + 3&lt;/P&gt;&lt;P&gt;               WHERE CARRID   = 'LH'   AND&lt;/P&gt;&lt;P&gt;                     CONNID   = '0400' AND&lt;/P&gt;&lt;P&gt;                     FLDATE   = '19950228'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        vamsi reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 03:27:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646532#M609658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T03:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: basic  abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646533#M609659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;so if i code  only  one line  like  below it  should  work  right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***************&lt;/P&gt;&lt;P&gt;update table vbuk set wbstk = 'C' where vbeln = xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="18" type="ul"&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646533#M609659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: basic  abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646534#M609660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646534#M609660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: basic  abap</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646535#M609661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saritha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. It would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 10:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/basic-abap/m-p/2646535#M609661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-09T10:56:29Z</dc:date>
    </item>
  </channel>
</rss>

