<?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: ABAP Query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879485#M51340</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I observed some line items is filtered while i am &lt;/P&gt;&lt;P&gt;exicuting the report from the query,but not in the correspoding z-report.&lt;/P&gt;&lt;P&gt;I have all the authorization in the development system.&lt;/P&gt;&lt;P&gt;any clues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Apr 2005 13:43:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-04-06T13:43:34Z</dc:date>
    <item>
      <title>ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879479#M51334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;      Will it be ok If I copy and mondify the code &lt;/P&gt;&lt;P&gt;autamaticaly generated for an abap Quary ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thnaks in advance  for your reply.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 09:03:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879479#M51334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T09:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879480#M51335</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;I tried that a very long time back. Can't remember if I had faced any particular problems. What's the harm in trying it out anyways?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 09:20:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879480#M51335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T09:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879481#M51336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when i copied an exat copy of query to a z-program,&lt;/P&gt;&lt;P&gt;I am getting different set of results from both sides.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 09:38:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879481#M51336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T09:38:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879482#M51337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with previous comment that technically you could copy and change a SAP Query report. Of course there is so much happening in such coding that you might find that a simple copy doesn't work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would offer that you can actually do a lot of "additional" processing in SAP Query using the existing features. For example, you can add fields, structures, additional selection criteria, coding at many reporting events (e.g. GET, GET LATE, SELECTION, DATA). The help in the SAP Library is quite good in terms of what you can do with InfoSet and queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to reply with your specific issue I'll try to give my thoughts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 12:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879482#M51337</guid>
      <dc:creator>michael_bennett1</dc:creator>
      <dc:date>2005-04-06T12:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879483#M51338</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;   U can copy ABAP QUery into z-programs ,But u will get problem while Transport to testing ,Bcos the Logic or code generated by ABAP Query may not be compatible with Client &amp;lt;&amp;gt; Client.Better to write Own Program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 12:54:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879483#M51338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T12:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879484#M51339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;          This is customer Open Items aging report in iter company transactions.using LDB- KDF .&lt;/P&gt;&lt;P&gt;Data is fetched from LDB in the query.&lt;/P&gt;&lt;P&gt;But the new requirement is to handle inter company postings,in case a an inter conmapany document is found &lt;/P&gt;&lt;P&gt;fetch all the corresponding documents from the receving company codes.&lt;/P&gt;&lt;P&gt;Since we give co-code in selection screen, LDB will not process other company code documents,So I wrote select query in the right place in the info set to fetch the other company info,in Get event.&lt;/P&gt;&lt;P&gt;But the problem is the user wants to display all the line items coming under a document which is posted in different co-codes.&lt;/P&gt;&lt;P&gt;i.e like sub items of the original document info. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 13:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879484#M51339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T13:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879485#M51340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I observed some line items is filtered while i am &lt;/P&gt;&lt;P&gt;exicuting the report from the query,but not in the correspoding z-report.&lt;/P&gt;&lt;P&gt;I have all the authorization in the development system.&lt;/P&gt;&lt;P&gt;any clues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 13:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879485#M51340</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T13:43:34Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879486#M51341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar problem. The report generated by abap query was generated report: AQA2SU-TEAM=====PR_CHECK======&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy the program with all the includes to a Z program and then make changes or transport it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 14:01:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879486#M51341</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T14:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879487#M51342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had a similar problem. The report generated by abap query was generated report: AQA2SU-TEAM=====PR_CHECK======&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Copy the program with all the includes to a Z program and then make changes or transport it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is also a way to add code or make changes to the query using SQ02.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Shekhar Kulkarni&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Apr 2005 14:03:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879487#M51342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-04-06T14:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879488#M51343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the explanation. Ironically enough I just faced this situation myself. I wrote my own report using the logical database instead of using SAP Query, the main reason is not being able to "insert" the additional records from the cross company documents. On relection, without having tried, there should be no reason that you couldn't include the additional logic at the GET event for the BSID item, as you indicated, and then add these extra records to the field-groups that SAP Query uses (i.e. you should find an EXTRACT statement in the generated coding). That is to say you will need to EXTRACT the additional retrieved records to the defined FIELD-GROUPS in order to see them in the report. I haven't tried it but it should be possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As others have mentioned you might just find this easier i your own ABAP report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2005 00:03:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-query/m-p/879488#M51343</guid>
      <dc:creator>michael_bennett1</dc:creator>
      <dc:date>2005-04-07T00:03:45Z</dc:date>
    </item>
  </channel>
</rss>

