<?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: Can you find the syntax error in this code? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354617#M520097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basavaraj and everybody else, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!  I spent a few minutes on that and couldn't find it; I assumed I was missing a quote somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jun 2007 12:59:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-08T12:59:54Z</dc:date>
    <item>
      <title>Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354612#M520092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,  I have the following code but it is giving me a syntax error which says "The text literal "'.            " is longer than 255 characters.  Check whether it ends correctly."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;case vbdkl-vkorg
when '0010' or 0011' or '0020' or '0030' or '0040' or '0060' or '0065'.
w_include = 'tvko-txnam_kop'.
when '0021'.
w_include = 'zadrs_hdr_ver_weatherbond'.
when '0012'.
perform get_bzirk
	using vbdkl-kunnr
		vbdkl-vkorg
		kna1-telf1
		kna1-telfx
	changing w_bzirk
		w_prt_phone
if w_bzirk = 'CARLSH'
	w_include = 'tvko-txnam_kop'.
else
	w_include = 'NAME1'.
endif.
when '0050'.
perform get_bzirk
	using vbdkl-kunnr
		vbdkl-vkorg
		kna1-telf1
		kna1-telfx
	changing w_bzirk
		w_prt_phone
if w_bzirk = 'CCWSH'
	w_include = 'tvko-txnam_kop'.
else
	w_include = 'NAME1'.
endif.
when others.
w_include = 'tvko-txnam_kop'.
endcase.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:52:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354612#M520092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354613#M520093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ur missing a quote here&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
when '0010' or &amp;lt;b&amp;gt;(')&amp;lt;/b&amp;gt;0011' or '0020' or '0030' or '0040' or '0060' or '0065'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:55:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354613#M520093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354614#M520094</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;It means a ' is missing, but probably a point is missing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;case vbdkl-vkorg &amp;lt;----&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt; ERROR&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;when '0010' or 0011' or '0020' or '0030' or '0040' or '0060' or '0065'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;case vbdkl-vkorg.&amp;lt;----&lt;/P&gt;&lt;HR originaltext="----------------" /&gt;&lt;P&gt; ok&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;when '0010' or 0011' or '0020' or '0030' or '0040' or '0060' or '0065'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:55:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354614#M520094</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354615#M520095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you pasted code as it is, if yes then you are missing lots of dots '.'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;case vbdkl-vkorg.&lt;/P&gt;&lt;P&gt;when '0010' or '0011' or '0020' or '0030' or '0040' or '0060' or '0065'.&lt;/P&gt;&lt;P&gt;w_include = 'tvko-txnam_kop'.&lt;/P&gt;&lt;P&gt;when '0021'.&lt;/P&gt;&lt;P&gt;w_include = 'zadrs_hdr_ver_weatherbond'.&lt;/P&gt;&lt;P&gt;when '0012'.&lt;/P&gt;&lt;P&gt;perform get_bzirk&lt;/P&gt;&lt;P&gt;	using vbdkl-kunnr&lt;/P&gt;&lt;P&gt;		vbdkl-vkorg&lt;/P&gt;&lt;P&gt;		kna1-telf1&lt;/P&gt;&lt;P&gt;		kna1-telfx&lt;/P&gt;&lt;P&gt;	changing w_bzirk&lt;/P&gt;&lt;P&gt;		w_prt_phone.&lt;/P&gt;&lt;P&gt;if w_bzirk = 'CARLSH'.&lt;/P&gt;&lt;P&gt;	w_include = 'tvko-txnam_kop'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;	w_include = 'NAME1'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when '0050'.&lt;/P&gt;&lt;P&gt;perform get_bzirk&lt;/P&gt;&lt;P&gt;	using vbdkl-kunnr&lt;/P&gt;&lt;P&gt;		vbdkl-vkorg&lt;/P&gt;&lt;P&gt;		kna1-telf1&lt;/P&gt;&lt;P&gt;		kna1-telfx&lt;/P&gt;&lt;P&gt;	changing w_bzirk&lt;/P&gt;&lt;P&gt;		w_prt_phone.&lt;/P&gt;&lt;P&gt;if w_bzirk = 'CCWSH'.&lt;/P&gt;&lt;P&gt;	w_include = 'tvko-txnam_kop'.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;	w_include = 'NAME1'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;when others.&lt;/P&gt;&lt;P&gt;w_include = 'tvko-txnam_kop'.&lt;/P&gt;&lt;P&gt;endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:58:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354615#M520095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354616#M520096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing '.' in your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if w_bzirk = 'CARLSH' &lt;/P&gt;&lt;P&gt;if w_bzirk = 'CCWSH'&lt;/P&gt;&lt;P&gt;and after your perform get_bzirk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354616#M520096</guid>
      <dc:creator>marius_greeff</dc:creator>
      <dc:date>2007-06-08T12:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354617#M520097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basavaraj and everybody else, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!  I spent a few minutes on that and couldn't find it; I assumed I was missing a quote somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 12:59:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354617#M520097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T12:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354618#M520098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Atish, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.  I didn't realize that I wrote the code as sloppy as I did.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 13:01:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354618#M520098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T13:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354619#M520099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to all who found my mistakes.  I didn't realize that I made so many mistakes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 13:02:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354619#M520099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T13:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354620#M520100</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;You missed out a single inverted comma at line number two for 0011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever you miss a single inverted comma, ABAP will treat all the lines following after the line as the part of that string. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since, a text-literal can be of maximum size 255, therefore it displays the error  "literals that take up more than one lines are not permitted".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Saurabh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 13:05:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354620#M520100</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T13:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can you find the syntax error in this code?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354621#M520101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Davis,&lt;/P&gt;&lt;P&gt;              If you have pated the code as it is you have missed out single quotes' and full stop (.) in many places in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jitendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jun 2007 15:14:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-you-find-the-syntax-error-in-this-code/m-p/2354621#M520101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-08T15:14:35Z</dc:date>
    </item>
  </channel>
</rss>

