<?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 code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/1876269#M368459</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;           &amp;lt;b&amp;gt; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;                     t_data2_temp-vsbed       = w_sales-vsbed.      &lt;/P&gt;&lt;P&gt;              IF w_sales-augru EQ 'Z47'.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate_c.&lt;/P&gt;&lt;P&gt;              ELSE.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate.&lt;/P&gt;&lt;P&gt;              ENDIF .&lt;/P&gt;&lt;P&gt;              t_data2_temp-kwmeng      = w_sales-kwmeng.&lt;/P&gt;&lt;P&gt;              MODIFY t_data2_temp TRANSPORTING  vsbed&lt;/P&gt;&lt;P&gt;                                                                         zzconfdate&lt;/P&gt;&lt;P&gt;                                                                        kwmeng&lt;/P&gt;&lt;P&gt;                                 WHERE s_vbeln = t_z0co_so_link-vbeln.&lt;/P&gt;&lt;P&gt;            ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This is the code i used in my program.&lt;/P&gt;&lt;P&gt;here the problem is with &amp;lt;b&amp;gt;if&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;actually it is not showing any error when i check it but when i press the pretty printer a window is popup with information there is a syntax-error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i commented the following lines&lt;/P&gt;&lt;P&gt;              &amp;lt;b&amp;gt;IF w_sales-augru EQ 'Z47'.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate_c.&lt;/P&gt;&lt;P&gt;              ELSE.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate.&lt;/P&gt;&lt;P&gt;              ENDIF .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;it is not showing any error and pretty printer also working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me what is the problem in the if statement which i used in the mentioned code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2007 11:00:03 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-19T11:00:03Z</dc:date>
    <item>
      <title>code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/1876269#M368459</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;           &amp;lt;b&amp;gt; IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;                     t_data2_temp-vsbed       = w_sales-vsbed.      &lt;/P&gt;&lt;P&gt;              IF w_sales-augru EQ 'Z47'.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate_c.&lt;/P&gt;&lt;P&gt;              ELSE.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate.&lt;/P&gt;&lt;P&gt;              ENDIF .&lt;/P&gt;&lt;P&gt;              t_data2_temp-kwmeng      = w_sales-kwmeng.&lt;/P&gt;&lt;P&gt;              MODIFY t_data2_temp TRANSPORTING  vsbed&lt;/P&gt;&lt;P&gt;                                                                         zzconfdate&lt;/P&gt;&lt;P&gt;                                                                        kwmeng&lt;/P&gt;&lt;P&gt;                                 WHERE s_vbeln = t_z0co_so_link-vbeln.&lt;/P&gt;&lt;P&gt;            ENDIF.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;This is the code i used in my program.&lt;/P&gt;&lt;P&gt;here the problem is with &amp;lt;b&amp;gt;if&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;actually it is not showing any error when i check it but when i press the pretty printer a window is popup with information there is a syntax-error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i commented the following lines&lt;/P&gt;&lt;P&gt;              &amp;lt;b&amp;gt;IF w_sales-augru EQ 'Z47'.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate_c.&lt;/P&gt;&lt;P&gt;              ELSE.&lt;/P&gt;&lt;P&gt;                t_data2_temp-zzconfdate = w_sales-zzconfdate.&lt;/P&gt;&lt;P&gt;              ENDIF .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;it is not showing any error and pretty printer also working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please tell me what is the problem in the if statement which i used in the mentioned code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 11:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/1876269#M368459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T11:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/1876270#M368460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check if table t_data2_temp has header or not?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 11:11:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code/m-p/1876270#M368460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T11:11:25Z</dc:date>
    </item>
  </channel>
</rss>

