<?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: If statement is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227769#M1912030</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hi!&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Since date field is never empty, it contains only zeros. You can use:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;lw_seg_head &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;IDOC_DATA&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;sdata&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;lw_seg_head &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;to &lt;/SPAN&gt;lw_gm_head&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;if &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;lw_gm_head-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;PSTNG_DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; EQ '00000000'&lt;/STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;lw_seg_head &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;IDOC_DATA&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;sdata&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;lw_seg_head &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;to &lt;/SPAN&gt;lw_gm_head&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;if &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;lw_gm_head-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;PSTNG_DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; CO '0'&lt;/STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;. "&lt;/STRONG&gt;Contains only zeros&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Greetings&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Bartłomiej&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 07:35:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-08-12T07:35:29Z</dc:date>
    <item>
      <title>If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227763#M1912024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I am facing issue with date is initial.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Actually I am trying to do transfer posting using IDOCs. If the posting date is initial then I am trying to assign system date is default but my 'if condition is not working'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_seg_head &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;IDOC_DATA&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sdata&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;lw_seg_head &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;lw_gm_head&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;SPAN style="font-size: 13.3333330154419px;"&gt;lw_gm_head-&lt;SPAN style="font-size: 13.3333330154419px;"&gt;PSTNG_DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;is &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;INITIAL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Please advise.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 03:36:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227763#M1912024</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-12T03:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227764#M1912025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vada,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the date type of field l&lt;SPAN style="font-size: 13.3333px;"&gt;w_gm_head-&lt;SPAN style="font-size: 13.3333px;"&gt;PSTNG_DATE. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Is it declared as type sy-datum or char. Declare it as sy-datum If it is not declared .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;-Learner&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 03:58:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227764#M1912025</guid>
      <dc:creator>Mohamed_Mukhtar</dc:creator>
      <dc:date>2015-08-12T03:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227765#M1912026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you tried searching SCN before posting this question? I would suggest to read &lt;A __default_attr="18590" __jive_macro_name="document" class="jive_macro_document jive_macro" data-orig-content="The SCN Rules of Engagement" href="https://community.sap.com/"&gt;&lt;/A&gt; first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To answer your question, please refer below SCN threads. There could be many other threads on same topics. &lt;/P&gt;&lt;P&gt;&lt;A __default_attr="408813" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="date initial check" href="https://community.sap.com/" modifiedtitle="true" title="date initial check"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://scn.sap.com/thread/950883" style="font-size: 10pt;" title="https://scn.sap.com/thread/950883"&gt;https://scn.sap.com/thread/950883&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps and let us know if this is not something you were looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Rahul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 04:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227765#M1912026</guid>
      <dc:creator>rahul_mahajan</dc:creator>
      <dc:date>2015-08-12T04:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227766#M1912027</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;try to define the PSTNG_DATE as sy-datum or sdate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if lw_gm_head-PSTNG_DATE is INITIAL&lt;/P&gt;&lt;P&gt;or&amp;nbsp; lw_gm_head-PSTNG_DATE = '00000000'.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Regerads&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Ibr&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 04:32:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227766#M1912027</guid>
      <dc:creator>former_member184158</dc:creator>
      <dc:date>2015-08-12T04:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227767#M1912028</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;If you declared posting date as type sy-datum,Then use below condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_seg_head &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;IDOC_DATA&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;sdata&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;lw_seg_head &lt;SPAN class="L0S52"&gt;to &lt;/SPAN&gt;lw_gm_head&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;if &lt;SPAN style="font-size: 13.33px;"&gt;lw_gm_head-&lt;SPAN style="font-size: 13.33px;"&gt;PSTNG_DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; = '00000000'&lt;/STRONG&gt;&lt;SPAN class="L0S55"&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;KH&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 04:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227767#M1912028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-12T04:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227768#M1912029</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;That to me indicates - you have assigned to lw_gm_head-PSTNG_DATE a value that is not initial (SPACE for example). If the field type is 'date' then the &lt;A href="http://help.sap.com/abapdocu_702/en/abenbuiltin_types_character.htm"&gt;initial value for that type is '00000000'&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do programming, you should really be able to solve this kind of problems on your own...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Jānis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 05:36:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227768#M1912029</guid>
      <dc:creator>Private_Member_7726</dc:creator>
      <dc:date>2015-08-12T05:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: If statement is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227769#M1912030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Hi!&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Since date field is never empty, it contains only zeros. You can use:&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;lw_seg_head &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;IDOC_DATA&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;sdata&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;lw_seg_head &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;to &lt;/SPAN&gt;lw_gm_head&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;if &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;lw_gm_head-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;PSTNG_DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; EQ '00000000'&lt;/STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;lw_seg_head &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;IDOC_DATA&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;sdata&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;MOVE-CORRESPONDING &lt;/SPAN&gt;lw_seg_head &lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;to &lt;/SPAN&gt;lw_gm_head&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;if &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;lw_gm_head-&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333330154419px; font-family: inherit; background: transparent;"&gt;PSTNG_DATE&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; CO '0'&lt;/STRONG&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;. "&lt;/STRONG&gt;Contains only zeros&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lw_gm_head&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;PSTNG_DATE &lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;= &lt;/SPAN&gt;sy&lt;SPAN class="L0S70" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;-&lt;/SPAN&gt;datum&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S52" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;endif&lt;/SPAN&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Greetings&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;Bartłomiej&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;SPAN class="L0S55" style="font-weight: inherit; font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 07:35:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-statement-is-not-working/m-p/11227769#M1912030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-12T07:35:29Z</dc:date>
    </item>
  </channel>
</rss>

