<?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: code not working still in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849651#M925478</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;&lt;/P&gt;&lt;P&gt;If the content '####' is fixed then use the following condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF date CP '########'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;statements if condition is true.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are 4 # in the string then use 8 # in the if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As # is escape character. If comparision is with '##', while execution the code will be interpreted like, first # is escape character, it will take next character # for the comparision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mahantesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2008 10:36:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-12T10:36:21Z</dc:date>
    <item>
      <title>code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849643#M925470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IF  sa30-yygpreisbi CA '#'.&lt;/P&gt;&lt;P&gt;    EXIT.&lt;/P&gt;&lt;P&gt;  ELSE.&lt;/P&gt;&lt;P&gt;    IF sa30-yygpreisbi &amp;lt;= hgvabbv_30-yygpreisab.&lt;/P&gt;&lt;P&gt;      fehler_vertrag = 1.&lt;/P&gt;&lt;P&gt;      IF xscreen = space.&lt;/P&gt;&lt;P&gt;        syst-msgno = '442'.&lt;/P&gt;&lt;P&gt;        syst-msgid = 'YS'.&lt;/P&gt;&lt;P&gt;        syst-msgty = 'W'.&lt;/P&gt;&lt;P&gt;        PERFORM protokollausgabe.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        MESSAGE e442.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   return_code = 4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;please tell me the reason?&lt;/P&gt;&lt;P&gt;my presbi is a date field also if it contains #### then also its not exiting&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 08:46:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849643#M925470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849644#M925471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tell me the situation where in you get '####'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 08:48:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849644#M925471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T08:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849645#M925472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi bhanu,&lt;/P&gt;&lt;P&gt;i dunno wot u using for CA = contains any..if that contains '#' ..it will exit..othawise i doesnt..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 08:56:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849645#M925472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T08:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849646#M925473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My preisbi is a date field so if a situation arises when it contains a #### characters &lt;/P&gt;&lt;P&gt;then it shlod check and exit from perform &lt;/P&gt;&lt;P&gt;but its not doing that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 08:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849646#M925473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T08:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849647#M925474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do you ever get a situation where in you get a date field having characters '####' ??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 08:58:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849647#M925474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T08:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849648#M925475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;below code works fine for me ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : v_c type C value '#'.&lt;/P&gt;&lt;P&gt;data : v_datum like sy-datum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_datum = '####'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if v_datum CA v_c.&lt;/P&gt;&lt;P&gt;  exit.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;*coding&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:00:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849648#M925475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849649#M925476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this code. Its working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT  ZSCD_TEST3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : dat(8) type c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dat = 'sachin#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if dat CA '#'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ ' contain #'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ ' Does contain #'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;**************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code, see in the debug mode what is the value coming in sa30-yygpreisbi.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be the reason that it does not contain the desired data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regads,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849649#M925476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849650#M925477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a structure SA30 which contains all my dates &lt;/P&gt;&lt;P&gt;after this check its like &lt;/P&gt;&lt;P&gt;sa30  is been  sa30 USING low_value_translator&lt;/P&gt;&lt;P&gt;which leads to value in sa-30 date field -00000 to #######&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cn u please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 May 2008 09:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849650#M925477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-09T09:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: code not working still</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849651#M925478</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;&lt;/P&gt;&lt;P&gt;If the content '####' is fixed then use the following condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF date CP '########'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;statements if condition is true.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there are 4 # in the string then use 8 # in the if condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As # is escape character. If comparision is with '##', while execution the code will be interpreted like, first # is escape character, it will take next character # for the comparision.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;mahantesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 10:36:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-still/m-p/3849651#M925478</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T10:36:21Z</dc:date>
    </item>
  </channel>
</rss>

