<?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: Need help linking shared variable to subreport paramter in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250561#M3284140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you see the parameter from the subreport's source under "Subreport parameter fields to use", that usually means that the datatype of this parameter and field in the "Fields to link to" pane are same!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the datatypes don't match, CR does not show the parameter in the drop-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Abhilash&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2013 13:34:52 GMT</pubDate>
    <dc:creator>abhilash_kumar</dc:creator>
    <dc:date>2013-01-14T13:34:52Z</dc:date>
    <item>
      <title>Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaq-p/9250558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two subreports that are displayed on my main report.&amp;nbsp; The first subreport assigns a value to a shared variable from one of the fields that is returned from the subreport's stored procedure.&amp;nbsp; I'm able to successfully display that shared variable value on the main report.&amp;nbsp; I added a second subreport that to a section beneath the first subreport that will use the shared variable value as a parameter input.&amp;nbsp; I haven't been able to get the second subreport to use the shared variable value to return any data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what I've tried so far:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clicked "change subreport links" on the second subreport&lt;/P&gt;&lt;P&gt;moved the main page shared variable formula to the "fields to link to" pane.&lt;/P&gt;&lt;P&gt;Selected the second subreport stored procedure parameter name in the "subreport parameter field to use" section.&lt;/P&gt;&lt;P&gt;The checkbox to the right is greyed out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone offer any advice on what I'm doing wrong?&amp;nbsp; Is there an easier way to populate a subreport from a field that is returned in another section?&amp;nbsp; &lt;/P&gt;&lt;P&gt;I'm using Crystal 10, thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 00:24:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaq-p/9250558</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T00:24:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250559#M3284138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be able to link to a parameter in another Subreport using the shared variable without any issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You said that you were able to move the shared variable to fields to link to pane and also select the stored proc's parameter from the drop-down list. What happens after this? Doesn't the second subreport return data respective to the shared variable's value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you're following is the correct way to do it, in fact if you've linked the shared variable to the subreport's parameter so the subreport should return something.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Abhilash&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 10:38:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250559#M3284138</guid>
      <dc:creator>abhilash_kumar</dc:creator>
      <dc:date>2013-01-14T10:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250560#M3284139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope, you have placed the main report shared variable formula atleast one section above the section where subreport # 2 is placed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you might be aware that the datatype and format of the 'value' going from shared variable formula to subreport # 2's stored proc parameter should be matching.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can test if the shared variable is actually passing any value to the subreport # 2 or not, by simply calling it in a formula inside subreport # 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prathamesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 13:28:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250560#M3284139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T13:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250561#M3284140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you see the parameter from the subreport's source under "Subreport parameter fields to use", that usually means that the datatype of this parameter and field in the "Fields to link to" pane are same!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the datatypes don't match, CR does not show the parameter in the drop-down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Abhilash&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 13:34:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250561#M3284140</guid>
      <dc:creator>abhilash_kumar</dc:creator>
      <dc:date>2013-01-14T13:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250562#M3284141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I can see the parameter from the subreport's source.&amp;nbsp; The forumula has NumberVar and the stored procedure parameter has an Int type.&amp;nbsp;&amp;nbsp; I'm not sure why the subreports is not being displayed.&amp;nbsp; I did not that the forumla return 23.00 instead of 23 but I don't think that should be a problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the forumla value if I drag the formula into the the section before or the section with the subreport.&amp;nbsp; I believe something is wrong with the way I have the parameter linked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 15:08:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250562#M3284141</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T15:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250563#M3284142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fred,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you create a new report using the sub-reports's datasource and use 23 as the parameter value when it prompts? Does the report return any results?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Abhilash&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 15:44:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250563#M3284142</guid>
      <dc:creator>abhilash_kumar</dc:creator>
      <dc:date>2013-01-14T15:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250564#M3284143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works fine.&amp;nbsp; Are you allowed to use shared variables as subreport parameters?&amp;nbsp; Is there another option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 15:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250564#M3284143</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-14T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250565#M3284144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. Looks like that's what the issue is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Seems that you cannot link a shared variable to a subreport's parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-Abhilash&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 16:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250565#M3284144</guid>
      <dc:creator>abhilash_kumar</dc:creator>
      <dc:date>2013-01-14T16:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need help linking shared variable to subreport paramter</title>
      <link>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250566#M3284145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if thats really true then I still can't believe it,since I don't see any logic why this shouldn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhilash, can we consult the concerned group about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Prathamesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 06:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-help-linking-shared-variable-to-subreport-paramter/qaa-p/9250566#M3284145</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-01-18T06:21:25Z</dc:date>
    </item>
  </channel>
</rss>

