<?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 How do I dynamically &amp;quot;INCLUDE......&amp;quot; depending on condition in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606215#M868669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to be able to transport a program from DEV to QAS to PROD (and not getting errors), in  my program I would like to be able to do the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SYSID = PROD. &lt;/P&gt;&lt;P&gt;   include /1BCDWB/IQG000000000118DAT.   "Generated by SAP QUERY. exists in PROD only &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;IF SY-SYSID = QAS. &lt;/P&gt;&lt;P&gt;   include /1BCDWB/IQG000000000222DAT.   "Generated by SAP QUERY. exists in QAS only &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;IF SY-SYSID = DEV. &lt;/P&gt;&lt;P&gt;   include /1BCDWB/IQG000000000777DAT.   "Generated by SAP QUERY. exists in DEV only &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;Syntax check errors prevent me from generating the program as all "include" arguments must exist beforehand. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need a way of selecting the right INCLUDE argument dynamically depending on some condition without getting syntax errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2008 08:26:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-01T08:26:04Z</dc:date>
    <item>
      <title>How do I dynamically "INCLUDE......" depending on condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606215#M868669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to be able to transport a program from DEV to QAS to PROD (and not getting errors), in  my program I would like to be able to do the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF SY-SYSID = PROD. &lt;/P&gt;&lt;P&gt;   include /1BCDWB/IQG000000000118DAT.   "Generated by SAP QUERY. exists in PROD only &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;IF SY-SYSID = QAS. &lt;/P&gt;&lt;P&gt;   include /1BCDWB/IQG000000000222DAT.   "Generated by SAP QUERY. exists in QAS only &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;IF SY-SYSID = DEV. &lt;/P&gt;&lt;P&gt;   include /1BCDWB/IQG000000000777DAT.   "Generated by SAP QUERY. exists in DEV only &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;   . &lt;/P&gt;&lt;P&gt;Syntax check errors prevent me from generating the program as all "include" arguments must exist beforehand. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I need a way of selecting the right INCLUDE argument dynamically depending on some condition without getting syntax errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your help is greatly appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 08:26:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606215#M868669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-01T08:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: How do I dynamically "INCLUDE......" depending on condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606216#M868670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;include can never be dynamic. Either you include something or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 08:27:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606216#M868670</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-04-01T08:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do I dynamically "INCLUDE......" depending on condition</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606217#M868671</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;to determie query generated program name dynamically you have to use FM RSAQ_REPORT_NAME in your pogram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the other hand why do you want to include a query source code into your program? It does not make any sense (at least for me)...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2008 09:02:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-do-i-dynamically-quot-include-quot-depending-on-condition/m-p/3606217#M868671</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-04-01T09:02:10Z</dc:date>
    </item>
  </channel>
</rss>

