<?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: update syntax in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993558#M405024</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: wa_zcitorderout like zcitorderout.

if zcitorderout-flag = 'X'.
  update zcitorderout 
  set flag = space 
       erdat = wa_zcitorderout-erdat 
       erzet = wa_zcitorderout-erze
  where &amp;lt;condition&amp;gt;.
endif.

AND 

if zcitorderout-flag = 'X'.
  wa_zcitorderout-flag = space.
  modify zcitorderout from wa_zcitorderout.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 18:58:29 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-03-26T18:58:29Z</dc:date>
    <item>
      <title>update syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993553#M405019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if flag is X i want to clear the flag and update the date and time. So far I have tried &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if zcitorderout-flag = 'X'.
update zcitorderout set flag = space and erdat = wa_zcitorderout-erdat and erzet = wa_zcitorderout-erzet.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if zcitorderout-flag = 'X'.
      zcitorderout-flag = space.
      zcitorderout-erdat = wa_zcitorderout-erdat.
      zcitorderout-erzet = wa_zcitorderout-erzet.
      modify zcitorderout.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:47:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993553#M405019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T18:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: update syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993554#M405020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please don't forget to give COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aRs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:50:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993554#M405020</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-03-26T18:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: update syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993555#M405021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;neither of the above syntax work.. so i am looking for some syntax that will work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993555#M405021</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T18:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: update syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993556#M405022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try theses syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if zcitorderout-flag = 'X'.
update zcitorderout 
  set flag = space 
       erdat = wa_zcitorderout-erdat 
       erzet = wa_zcitorderout-erze.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if zcitorderout-flag = 'X'.
      zcitorderout-flag = space.
      zcitorderout-erdat = wa_zcitorderout-erdat.
      zcitorderout-erzet = wa_zcitorderout-erzet.
      update  zcitorderout.
endif&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993556#M405022</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-03-26T18:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: update syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993557#M405023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi raymond do i need commit work after the update statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:53:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993557#M405023</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T18:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: update syntax</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993558#M405024</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;Please try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: wa_zcitorderout like zcitorderout.

if zcitorderout-flag = 'X'.
  update zcitorderout 
  set flag = space 
       erdat = wa_zcitorderout-erdat 
       erzet = wa_zcitorderout-erze
  where &amp;lt;condition&amp;gt;.
endif.

AND 

if zcitorderout-flag = 'X'.
  wa_zcitorderout-flag = space.
  modify zcitorderout from wa_zcitorderout.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 18:58:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-syntax/m-p/1993558#M405024</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-03-26T18:58:29Z</dc:date>
    </item>
  </channel>
</rss>

