<?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 Query  - Can we use 'perform subroutine' in SQ02 code for customer fields? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197870#M1824539</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Now I am develop a report about query.&lt;/P&gt;&lt;P&gt;The question is that I add the Additional fields and add some source codes in code node. Like perform subroutine.&lt;/P&gt;&lt;P&gt;But the program return wrong message when I execute the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"The current ABAP program "AQZZYY******====YY***QUERY01==" had to be terminated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; because it has&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; come across a statement that unfortunately cannot be executed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; The following syntax error occurred in program "/1BCDWB/SAPLIQG000000000082 "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; in include "/1BCDWB/LIQG000000000082U02 " in&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; line 263:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; "Incorrect nesting: Before the statement "FORM", the structure introduc"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; "ed by "IF" must be concluded with "ENDIF". ."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; " "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; " "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no if ..endif code in the program.&lt;/P&gt;&lt;P&gt;So whether can&amp;nbsp; I use the perform or not? How can I solve the issue?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Apr 2014 09:01:00 GMT</pubDate>
    <dc:creator>luobin</dc:creator>
    <dc:date>2014-04-04T09:01:00Z</dc:date>
    <item>
      <title>Query  - Can we use 'perform subroutine' in SQ02 code for customer fields?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197870#M1824539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;Now I am develop a report about query.&lt;/P&gt;&lt;P&gt;The question is that I add the Additional fields and add some source codes in code node. Like perform subroutine.&lt;/P&gt;&lt;P&gt;But the program return wrong message when I execute the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"The current ABAP program "AQZZYY******====YY***QUERY01==" had to be terminated&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; because it has&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; come across a statement that unfortunately cannot be executed.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; The following syntax error occurred in program "/1BCDWB/SAPLIQG000000000082 "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; in include "/1BCDWB/LIQG000000000082U02 " in&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; line 263:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; "Incorrect nesting: Before the statement "FORM", the structure introduc"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; "ed by "IF" must be concluded with "ENDIF". ."&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; " "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; " "&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no if ..endif code in the program.&lt;/P&gt;&lt;P&gt;So whether can&amp;nbsp; I use the perform or not? How can I solve the issue?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 09:01:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197870#M1824539</guid>
      <dc:creator>luobin</dc:creator>
      <dc:date>2014-04-04T09:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Query  - Can we use 'perform subroutine' in SQ02 code for customer fields?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197871#M1824540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible.&lt;/P&gt;&lt;P&gt;You have to write subrutine in Code Section: 11 Free coding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;FORM &lt;/SPAN&gt;SET_VAL &lt;SPAN class="L0S52"&gt;USING &lt;/SPAN&gt;ev_char20&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ev_char20 &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ABCD'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;ENDFORM&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and set value of the additional field in Code Section: 5 Record Precessing:&lt;/P&gt;&lt;P&gt;(no code in field coding)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;PERFORM &lt;/SPAN&gt;SET_VAL &lt;SPAN class="L0S52"&gt;USING ZADD_FLD&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Apr 2014 11:09:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197871#M1824540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-04-04T11:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query  - Can we use 'perform subroutine' in SQ02 code for customer fields?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197872#M1824541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Wiktor. Thank you for your help.&lt;/P&gt;&lt;P&gt;I tried just now. The perform structure has been achieved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Apr 2014 07:01:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-can-we-use-perform-subroutine-in-sq02-code-for-customer-fields/m-p/10197872#M1824541</guid>
      <dc:creator>luobin</dc:creator>
      <dc:date>2014-04-05T07:01:05Z</dc:date>
    </item>
  </channel>
</rss>

