<?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 Issue with adding a static value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228483#M1009944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a query in SAP that works the way I need it to. I am going to schedule it so that SAP does a file transfer of the output to another area where the data will be accumulated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I want the name of the system to appear at the end of each line but it is not in any table I can find to match up with the userid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserID        Group                          System &lt;/P&gt;&lt;P&gt;JDOE         HR Query Group            P201 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field for system is not in any tables but I want to add it and give it a constant/static value all the time in the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;Justin Dauby -- SAP Security Analyst &lt;/P&gt;&lt;P&gt;Kimball International Inc.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2008 16:05:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-28T16:05:14Z</dc:date>
    <item>
      <title>Query Issue with adding a static value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228483#M1009944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have written a query in SAP that works the way I need it to. I am going to schedule it so that SAP does a file transfer of the output to another area where the data will be accumulated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that I want the name of the system to appear at the end of each line but it is not in any table I can find to match up with the userid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UserID        Group                          System &lt;/P&gt;&lt;P&gt;JDOE         HR Query Group            P201 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The field for system is not in any tables but I want to add it and give it a constant/static value all the time in the output. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;Justin Dauby -- SAP Security Analyst &lt;/P&gt;&lt;P&gt;Kimball International Inc.,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 16:05:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228483#M1009944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T16:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Query Issue with adding a static value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228484#M1009945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The name of the system is not in a table, but rather a structure called SYST. You can evaluate it using the system field sy-sysid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another option is to call function module RFC_SYSTEM_INFO. The export parameter RFCSI_EXPORT will deliver the system id from component RFCSYSID of the structure RFCSI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:28:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228484#M1009945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T17:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Query Issue with adding a static value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228485#M1009946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am looking for a way to just specify in the InfoSet  to place a static value in the query output. Maybe the query can do that but I thought the InfoSet  is where I would define that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks! &lt;/P&gt;&lt;P&gt;~ Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jul 2008 17:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-issue-with-adding-a-static-value/m-p/4228485#M1009946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-28T17:49:10Z</dc:date>
    </item>
  </channel>
</rss>

