<?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>Question Re: Accessing nested report's data in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416725#M3776366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although you did not want to use a composite dw but just try to edit source of your dw and change the processing=0 to processing=5. Then you can use GetChild. See if that would work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jul 2014 16:15:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-03T16:15:40Z</dc:date>
    <item>
      <title>Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaq-p/10416715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I have a nested report, not a composite so GetChild is of no use, and I'd like to get to the data in the nested report. This kind of thing works very well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For ll_loop = 1 to dw_1.RowCount()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; la_any = dw_1.Object.d_nested[ll_loop].object.data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For ll_loop2 = 1 to UpperBound(la_any)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ll_ref = dw_validation.Object.dw_property[ll_loop].object.ref[ll_loop2]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when dw_1.Object.d_nested[ll_loop].object.data has no rows, a System Error occurs. I can't think of a way to check if there are any rows in advance. Long searches of the internet have turned up the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If long(dw_1.Object.d_nested[ll_loop].object.DataWindow.FirstRowOnPage) &amp;gt; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This always returns 0 for me and I know I have data in my first few nested reports&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IsNull(dw_1.Object.d_nested[ll_loop])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is never TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IsValid(dw_1.Object.d_nested[ll_loop])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is never FALSE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyone have any other ideas this is driving me crazy, it looks like it should be so simple!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 13:33:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaq-p/10416715</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T13:33:44Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416716#M3776357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aron;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Just a Thought: May I suggest checking to see if their is an array of data first ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Any&amp;nbsp;&amp;nbsp; ls_data[]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;la_data = dw_1.Object.d_nested.object.data&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IF UpperBound (la_data) &amp;gt; 0 THEN&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp; la_any = dw_1.Object.d_nested[ll_loop].object.data&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ... Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 13:44:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416716#M3776357</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416717#M3776358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good try &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; Unfortunately it is the dw_1.Object.d_nested.Object.data that causes the crash so you can't get it back into the array in the first place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 13:47:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416717#M3776358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T13:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416718#M3776359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hold on maybe I didn't get your code. I'm not sure I understand what you were getting at. Sorry, brain has slowed down, it's been one of those days. Can you explain a bit more?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 13:51:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416718#M3776359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T13:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416719#M3776360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aron;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The idea here is that you were trying to access (subscript) a NULL array. Since each of the DWO's buffers are an array, transferring a null array to the variable should not cause it to crash. Then the key is to see if the variable is a null array (ie: upperbound = 0) and then continue (subscript) the DWO's buffer if indeed data is present.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ... Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416719#M3776360</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T14:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416720#M3776361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris, I will look at this one tomorrow when my head isn't spinning so much &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:27:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416720#M3776361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416721#M3776362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your in the USA and celebrating Independence Day (July 4th) - you may want to wait another day for your head to stop spinning.&amp;nbsp;&amp;nbsp; &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Happy July 4th to all my US friends (from the Great White North of Canada)!&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/490343" height="61" width="122" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:39:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416721#M3776362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T14:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416722#M3776363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a Brit (with a Canadian passport) I have to say 'Boo, we should've won!!!'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But "Happy 4th of July" anyway, you hosers &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:48:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416722#M3776363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T14:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416723#M3776364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, the US guys should thank us for burning the White House down in the war of 1812 (&lt;A href="http://en.wikipedia.org/wiki/Burning_of_Washington" title="http://en.wikipedia.org/wiki/Burning_of_Washington"&gt;Burning of Washington - Wikipedia, the free encyclopedia&lt;/A&gt; ... an example of where the US actually lost a war). Now Mr Obama has some new updated "digs" to work from C/O us.&amp;nbsp;&amp;nbsp; &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Have you hugged you DataWindow today?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 14:56:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416723#M3776364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416724#M3776365</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;It might be trial and error here, these things can be tricky.&lt;/P&gt;&lt;P&gt; Maybe there is no dw_1.Object.d_nested.Object ? Have you tried IsNull or IsValid?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; dw_1.Object.d_nested.Object.data that causes the crash&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't find a property; and it might not be very elegant, but a systemerror is not a crash and you can capture it locally using a try catch in the loop and continue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 15:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416724#M3776365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T15:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416725#M3776366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although you did not want to use a composite dw but just try to edit source of your dw and change the processing=0 to processing=5. Then you can use GetChild. See if that would work for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 16:15:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416725#M3776366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T16:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416726#M3776367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion but GetChild just doesn't work in situations like this it only returns the data in the first nested datawindow, i.e. the one for row 1 of the main report. I need to be able to see the data that belongs to each row, and the only way to do that is via dot notation, or at least not using GetChild. If only GetChild had a row number as an argument it would be very useful &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 16:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416726#M3776367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T16:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416727#M3776368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like there's no simple solution. Some options you could do:&lt;/P&gt;&lt;P&gt;1. Manually do a Select to verify if the nested report got some rows to retrieve i.e. select count(*) from table1 where &amp;lt;your conditions same with the retrieval argument on the nested report&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Add a dummy row to your dw, i.e. use a UNION clause so that your nested report should contain at least 1 row in every master row.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 21:20:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416727#M3776368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T21:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416728#M3776369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not have datastore with the same dataobject as the nested report. Loop through the base report rows to obtain arguments and retrieve the datastore one base row at a time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jul 2014 23:47:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416728#M3776369</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-03T23:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416729#M3776370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is we are loading the report from a saved PSR file and need access to the data in order to generate some charts and we can;t guarantee there is any database connection at that time. It's always more complicated than it should be &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 07:22:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416729#M3776370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-04T07:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416730#M3776371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IsNull and IsValid don't seem to be of any use unfortunately, but you're right I could just ignore the error, that may have to be the way to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jul 2014 07:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416730#M3776371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-04T07:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416731#M3776372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wow. maybe the data would reveal itself if you did a saveas XML... long shot...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Jul 2014 12:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416731#M3776372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-05T12:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416732#M3776373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One more thing you could do, is to load the PSR twice, one in a separate DS and the other on your original DW. In your DS, when you are going to access the nested report, modify a column's value first. It's going to be like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//If there's no row in the nested report this line below will insert one otherwise this will replace the column's value in row 1.&lt;/P&gt;&lt;P&gt;ds.object.nestedreport[i].object.columnX[1] = 1&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Choose a column that supposed to contain a value (not null) when the row was loaded from PSR.&lt;/P&gt;&lt;P&gt;If IsNull(ds.object.nestedreport[i].object.columnY[1]) Then&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Then this is a newly inserted row and this means the nested report was empty.&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above is kind of ugly solution but I think would work in checking if the nested report contains a row when first loaded.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 06 Jul 2014 15:43:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416732#M3776373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-06T15:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416733#M3776374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aron;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; How about wrapping that code in a TRY..CATCH?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards .. Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 11:53:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416733#M3776374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-07T11:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing nested report's data</title>
      <link>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416734#M3776375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this can be enhanced by just adding a dummy column to your nested report. Before looping through the nested report, set a value to the dummy column at row 1 and then check if the nested report contains only one row. If it has only one row, check if the value of the &lt;SPAN style="text-decoration: underline;"&gt;non-dummy&lt;/SPAN&gt; columns are nulls or default values, if they are, then that nested report was empty and that lone row was just inserted when you set the value of the dummy column.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jul 2014 15:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/accessing-nested-report-s-data/qaa-p/10416734#M3776375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-07T15:27:29Z</dc:date>
    </item>
  </channel>
</rss>

