<?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 ABAP class or function for retrieving BEx query properties at runtime in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164400#M1516311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on BW enhancement RSR_OLAP_BADI and for a special calculation I need to know which characteristics are in the drill-down of the BEX query, sol later on I can aggregate some key figures using only these characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that structure C_s_DATA in method COMPUTE contains all fields of the query (filters, free chars, chars in the rows, etc) and I need to now which characteristics are currently being showing in the Bex analyzer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there an ABAP class or function module I can use to find out this kind of information at run time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found classes CL_RSR_OLAP and CL_RSR_REQUEST that somehow are used for calling Bex queries. The main problem now is how to get a reference from within the method COMPUTE of my implementation of RSR_OLAP_BADI to the object that represents this runtime query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Garduño Azael on Aug 5, 2010 8:29 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Aug 2010 01:22:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-05T01:22:57Z</dc:date>
    <item>
      <title>ABAP class or function for retrieving BEx query properties at runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164400#M1516311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello again Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on BW enhancement RSR_OLAP_BADI and for a special calculation I need to know which characteristics are in the drill-down of the BEX query, sol later on I can aggregate some key figures using only these characteristics.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that structure C_s_DATA in method COMPUTE contains all fields of the query (filters, free chars, chars in the rows, etc) and I need to now which characteristics are currently being showing in the Bex analyzer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So is there an ABAP class or function module I can use to find out this kind of information at run time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found classes CL_RSR_OLAP and CL_RSR_REQUEST that somehow are used for calling Bex queries. The main problem now is how to get a reference from within the method COMPUTE of my implementation of RSR_OLAP_BADI to the object that represents this runtime query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Garduño Azael on Aug 5, 2010 8:29 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 01:22:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164400#M1516311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T01:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP class or function for retrieving BEx query properties at runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164401#M1516312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved by myself. I use field navigation of the input parameter i_th_sfc of method INITIALIZE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 16:14:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164401#M1516312</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T16:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP class or function for retrieving BEx query properties at runtime</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164402#M1516313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Azael, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having the same issue right now. How did you make this work-around? I don't find a way to change the field navigation of the input parameter &lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;i_th_sfc&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2012 15:44:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-class-or-function-for-retrieving-bex-query-properties-at-runtime/m-p/7164402#M1516313</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-19T15:44:38Z</dc:date>
    </item>
  </channel>
</rss>

