Error in displaying hierachry report with TableView and Tableiterator

Hello,
I tried to create a BSP as shown in this tutorial:
/people/vijaybabu.dudla/blog/2008/08/04/display-hierarchy-report-in-bsp-using-tableview-and-tableview-iterator
When starting the BSP I get an error that a field symbol is not assigned in the method get_column_name.
When debugging the method get_column_name I can see that row_ref is initial. So the field symbols <row> and <col> are not assigned to any values, which causes the error some lines below.
METHOD get_column_value .
*-To get the Column values which is used in the Interator
  FIELD-SYMBOLS: <row> TYPE ANY, <col> TYPE ANY, <cur> TYPE ANY.
  ASSIGN row_ref->* TO <row>.
  ASSIGN COMPONENT column_name OF STRUCTURE <row> TO <col>.
  DATA tempchar(240) TYPE c.
  IF currency IS NOT INITIAL.
    ASSIGN COMPONENT currency OF STRUCTURE <row> TO <cur>.
    WRITE <col> CURRENCY <cur> TO tempchar.
    MOVE tempchar TO column_value.
    CONCATENATE column_value ` ` <cur> INTO column_value.
  ELSE.
    WRITE <col> TO tempchar.
    MOVE tempchar TO column_value.
  ENDIF.
  CONDENSE column_value.
ENDMETHOD.
Any help?
Thank you

Hi Patrick,
Thank you for the answer.
Unfortunately there is still the error with the unassigned field symbol after implementing the render_row_start method.
Any help?
Edit: It works now. There was an error with a wrong variable name (stupig mistake.)
Thanks for the help!
Edited by: Robert Karlovic on Mar 5, 2009 10:29 AM

Similar Messages

  • Display apex report with subqueries

    How to display apex report with main query contains sub quires and sub query returns multiple values . Showing error sub query returns multiple rows.

    There is really two ways you can go about this. What it sounds to me like your dealing with is a master detail arrangement. What you probably need is two dependent reports where you pass a selected value from one report to a page item then key off that value for the 2nd report's query.
    Otherwise you could move the sub-query into the from portion of your master query and just pick the fields. This would then join the main query on the sub-query. At that point if you set your fields up correctly, you could use APEX grouping to group the results together and remove extra rows of data.

  • Is there any ECC report with PurchOrder and Purchase Requisition Selection

    Hi there,
    for one of my BI report reconciliation with ECC requirement, I would like to know how many POs are there without Purchase requisitions, same way want to know how many POs are there with Purchase requisition.
    I know some tables where we can find this info, unfortunately I cannot ask my user to go and check in Tables for Acceptance testing. So I am looking for any standard ECC report with POs and PRs as Columns
    Due to time constraints, I cannot go build any ABAP queries in ECC at the moment,
    Any insights are greatly appreciated.
    Thanks

    Hi Curious ,
    Check if the following link is helpful. The link is from the SDN Wiki for creating a Z Report in R/3 for Purchase Requisition.
    http://wiki.sdn.sap.com/wiki/display/ABAP/PurchaseRequisitionDetail+Report
    Or try the following transactions:
    ME5A - Purchase Requisitions: List Display
    ME53  - Display Purchase Requisition
    ME53N - Display Purchase Requisition
    Hope this helps your cause.
    Regards,
    Kush Kashyap

  • Displaying a report with 250 000 rows in BI Publisher 11.1.1.6 == very slow

    Hi,
    I try to display a report with 250 000 rows in bi publisher 11.1.1.6.
    Running the SQL Request in TOAD take 20s.
    From bi publisher 11.1.1.6 this operation take more than 2 hour without result.
    The temp file show an xml file which increase (53 M to 70M to 100 M)
    I configure jvm (1.6_029) with the following parameters : Xms512m - Xmx2048 -XX:MaxPermSize=3072m
    My configuration is the following :
    REHL5 64bits
    8G RAM
    100G file system and 50 GB tmp file for bi publisher
    4 CPU
    Jdk Parameters:
    Xms512m -Xmx2048m -XX:MaxPermSize=3072m -XX:UseParallelGC.
    Total CPU usage : 25%
    Live Threads : 85 threads
    Used : 665 Mb
    Commited : 908 Mb
    GC time :
    8.047 s on PS MarkSweep (3 collections)
    8.625 s on PS Scavenge (242 collections)
    Any idea to increase performance or other will be appreciate.
    Thank you
    Mams

    If you are generating a PDF output, select "PDF Compression" option in the properties. Ensure you reduce all the log levels to "Low". Ensure there are no (or minimal) calculations/formulas in the report template.

  • Enhancing Customer Reports with Commands and Parameters

    Hi All,
    I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
    Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
    Regards
    Poonam

    <i>True, the application property service is apparently not to be used for a real-life scenario</i>
    You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
    <i>in our case it forced the server down with deadlocks. </i>
    This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
    <i>
    Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
    </i>
    The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
    <i>Could you provide me with a link to the documentation for the logging framework?</i>
    <a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0.

  • Getting Error while integrating Crystal reports with Java

    Hi All,
    I am getting below error while integrating crystal report with java
    [java] os.arch = x86
    [java] java.lang.NoSuchMethodError: com.crystaldecisions.Utilities.d.<init>
    (Ljava/awt/Image;I)V
    [java] at com.crystaldecisions.Utilities.af.try(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.a(Unknown Source)
    [java] at com.crystaldecisions.Utilities.af.<init>(Unknown Source)
    [java] at com.businessobjects.crystalreports.viewer.applet.g.a(Unknown
    Source)
    [java] at com.crystaldecisions.ReportViewer.ReportViewer.start(Unknown
    Source)
    [java] at ReportViewerFrame.<init>(ReportViewerFrame.java:51)
    [java] at JRCViewReport.launchApplication(JRCViewReport.java:29)
    [java] at JRCViewReport$1.run(JRCViewReport.java:50)
    [java] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:
    178)
    [java] at java.awt.EventQueue.dispatchEvent(EventQueue.java:443)
    [java] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDi
    spatchThread.java:190)
    [java] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDisp
    atchThread.java:144)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:138)
    [java] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.j
    ava:130)
    [java] at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
    Any help can be appreciated
    Kalyan

    Hi All,
    For got to mention i am using crystal reports XI release 2 with JDK1.4.
    Kalyan

  • Tcode SD related for displaying a report with completed deliveries

    Dear SAP Experts,
    I would like to ask you a question.
    Is there any Tcode for displaying a report with all the completed outbound deliveries (8000++) or posted goods issues (4900++) with the relevant net values of the relevant sales orders, BEFORE the creation of the relevant billing documents.
    Great Thanks in Advance
    Kind Regards
    John

    You can use transaction VF04 - Billing due list.

  • I need to make a report with graphs, and generate an exit file to word

    I have to do the acquisition for a laboratory and to make inmediately a report with graphics and a constant test about the method of the experimentation

    Probably your best bet is to use ActiveX and control Word from LabVIEW, this way, you can act as you were using Word directly, automating all the steps to create your report. Look for examples in the developer zone, although there will be more examples relating Excel, that can show you the way to act. If you need to use this intensively, i think NI has created a Word toolokit that you can buy.
    For any particular question, just ask.
    Good luck

  • Connecting Crystal reports with dashboards and passing parameters

    Hi ,
    Can anyone have any document on Connecting Crystal reports with dashboards and passing parameters.
    I would appreciate for this.
    Thank You.

    Hi Ganesh,
    You can refer the following links for connecting Crystal reports with dashboards:
    Dashboard integration in Crystal Reports using flash variables | Clariba Blog
    https://websmp102.sapag.de/~sapidp/011000358700001426732009E/Xcelsius_EmbeddingInCR2008.pdf
    http://events.asug.com/2012BOUC/0315_Integrating_SAP_Dashboards_into_SAP_Crystal_Reports.pdf
    Regards,
    Renu

  • Error when refreshing WEBI report with Universe Connection Type "SSO"

    Hi Experts:
    We are trying to refresh the Webi report in Infoview with Universe Connection set as "Use Single Sign On when refreshing the report at view time", so that we can leverage SAP OLAP authorization variable from Bex Query which the Universe is built on.
    However got the error of "incomplete logon data" after all the configurations done following below blogs:
    SNC Part 1
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-1-of-2
    SNC Part 2
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-2-of-2
    We already have Win AD SSO to SAP setup, and in BO CMC, Win AD user is mapped to SAP user ID.
    The SNC settings are:
    - AD Account: service.test.bobj (all lower-letters)
    - 32-bit gsslib on the BO server, and 64 bit on the BW server side.
    - SNC0: p:service.test.bobj at DOMAIN
    - SU01 --> BO_Service ; SNC: p:service.test.bobj at DOMAIN
    - Entitlement system tab --> username: BO_Service
    SNC Name: p:service.test.bobj at DOMAIN
    - SNC settings tab:
    SNC Lib: c:\winnt\gsskrb5.dll
    Mutual Authentication settings: p:SAPServiceBP0 at DOMAIN
    In CMC, the role can be imported if "RFC activated" option unchecked in SNC0.
    I found a few threads on the same topic, but they are all not answered:
    SNC Client side configuration error
    SNC Configuration Error: Incomplete logon Data
    Can you please provide details of the solution if you have impleted a same scenario successsfully, or any thoughts to help the investigation?
    Thanks in advance!
    Regards,
    Jonathan

    Hi Ingo,
    Sorry for taking so long to reply, we are trying to set up server side trust and enable SSO; but we still couldn't success.
    What we did is:
    1. We followed installation guide chapter 6, generate certificate and PSE, etc. All looks good.
    2. Then we still have the "incomplete logon data" error when refreshing webi report after logon using Windows AD user ID.
    3. Then we trace the PFC connection, the log is as below. We checked several BO notes, e.g. 1500150, 1461247.. The part bothers us is that we even don't have URI displayed in the log when system trying to use SNC, and we couldn't get more info on this which make us very difficult to diagnosis.
    Can you please help? Thanks a lot!
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SNC. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Unable to authenticate using SNC because the URI does not meet the minimum connection requirements.
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SSO. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: The SAP SSO authentication process will fail because the SAP secondary credential are not properly updated and the password is blank.
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,R3NAME=PB0,GROUP=BI_Group1,MSHOST=sapaupdb04,LANG=en,CLIENT=100,CATALOG="ZSPUM602",CUBE="ZSPUM602/ZSPUM602_Q50"
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Calling m_pRfcWrapper->RfcOpenEx() ...
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: RfcOpenEx(...) returned 0
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Call to m_pRfcWrapper->RfcOpenEx() took 0.141 seconds
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: SAPAuthenticationService::~SAPAuthenticationService

  • Receiving Error when running Crystal reports with Images in WebSphere 6.1

    I am designing a report with a sub report that displays images via (BLOBS). The images are between 10-20 kb in size and there could be up to 200 images in the report.
    There are no problems when I run the report using Java 1.5 with Tomcat 5.5 server and JDBC connection (using ojdbc14.jar) to an Oracle 10g database.
    It seems that if I attempt to run the same report on a WebSphere 6.1 environment, the below error is encountered (stack trace is below)
    I am using Crystal 2008 (ver 12.0.0.683).
    Based on the stack trace, I think it is either an IBM JDK  javax.* package compatibility issue or the current version of Crystal reports (no service packs installed - current client environment) has a known issue with Websphere.
    I searched the forums for any similiar issues but could not find one.
    Could installing Service pack 3 solve this issue or is there another possibility?  
    Any assistance would be greatly appreciated.
    Thank you.
    Tony. 
    Stack Trace follows  (Needed to trim due to size, trying to keep unique messges) *******
    ERROR [pool-14-thread-1] c.u.p.e.g.c.GenerateCrystalReport [GenerateCrystalReport.java : 211] Generate Report: Template =
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:111) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.utc.pw.evm2.generatereports.crystalreports.GenerateCrystalReport.generateReport(GenerateCrystalReport.java:152) [classes/:na]
    at com.utc.pw.evm2.generatereports.ReportThread.run(ReportThread.java:144) [classes/:na]
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:678) [na:1.5.0]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:703) [na:1.5.0]
    at java.lang.Thread.run(Thread.java:811) [na:1.5.0]
    Caused by: java.lang.VerifyError: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    at com.crystaldecisions.reports.common.image.ImageUtils.a(SourceFile:901) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.image.ImageUtils.if(SourceFile:873) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.JavaImage.do(SourceFile:183) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.CrystalImage.createImage(SourceFile:50) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.if(SourceFile:103) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.FormattedBlobFieldObject.<init>(SourceFile:57) [CrystalReportsRuntime.jar:12.2.207.916]
    [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.formatPage(SourceFile:236) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:96) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.a.a(SourceFile:247) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.if(SourceFile:642) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.formatter.export2.ExportSupervisorEx.a(SourceFile:586) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(SourceFile:636) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.int(SourceFile:672) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1944) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:661) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:167) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:529) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:527) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:525) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:424) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:352) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:1558) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(SourceFile:337) [CrystalReportsRuntime.jar:12.2.207.916]
    at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:223) [CrystalReportsRuntime.jar:12.2.207.916]
    ... 8 common frames omitted
    2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 233] Attempt to generate report TEARDOWN using
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt for E733570-01 failed: Generate Report: Template =
    pusehk08\evm$\EVM REPORTS 5.7.2010\Staging\TEARDOWN_COM.rpt, ReportSDKException caught: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;, REPORTSDKEXCEPTION
    2010-07-20 15:57:11,147 ERROR [pool-14-thread-1] c.u.p.e.g.ReportThread [ReportThread.java : 238] Exception was caught trying to build report:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: javax/imageio/metadata/IIOMetadata.getAsTree(Ljava/lang/String;)Lorg/w3c/dom/Node;
    Edited by: Liro9999 on Jul 21, 2010 1:55 PM

    Thank you for your reply.
    The answer to your question concerning if Websphere is a clean install is no.  The client has other applications running on that server.  We do not have access to that server other than the log files and I requested information as to what other applications are on the server.
    We did try adding a known working version of the IIOMetadata class in the ear file and deploying it in the hopes that  class will be loaded before using any other version.  Unfortunately, we receive the posted errors.  Which may mean that a different version of the class has already been loaded in memory and that is the one being accessed.  A request would have to be made to the client for a shutdown and restart of Websphere in determining if that may be the case.  Since there are other applications running, coordination and communication to the other application owner will need to be done first.
    Any additional ideas will be appreciated.
    Thank you.
    Tony.

  • Discoverer report with parameters and functions

    I am new to Discoverer. Is there a way to create a report (with parameters) of one line per customer such that the following data will be displayed for each customer?
    Among the parameters is: from_date (month & year) ,to_date
    The basic query gives totals for each date (month & year) for every customer.
    Among the fields displayed:
    1-customer_id,
    2-balance until from_date,
    3-total activity between from_date and to_date
    I have a function to calculate the total balance until from_date, but then I cannot get the total activity on the same line. I tried using another function and I tried using a total calculation but to no success.
    Is this possible?
    Thanks.

    Hi Markus
    You need to determine whether you can in fact call a Discoverer report using a URL before linking it in Portal. You need to run the report in Viewer first and then see copy the URL from the address line of the browser. Then you open another browser and paste the URL. You may well be prompted for a username and password but hopefully the correct report with the right parameters will then execute.
    Assuming this works you then paste the same URL link into Portal and you should be able to get the report to run.
    Best wishes
    Michael

  • How to fix a report textbox aggregate expression error in SQL server reporting with multiple datasets?

    I have a SQL Server Reporting Services report that has a textbox within a Report with variations of the following expression 
    =Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) 
    and 
    Iif(Fields!PointID.Value = 500, 1, 0)) / Sum(Iif(Fields!PointID.Value = 500, 1, 0)) 
    I see the following error when I try to preview the report: 
    The Value expression for the text box ‘Textbox2’ uses an aggregate expression without a scope. A scope is required for all aggregates used outside of a data region unless the report contains exactly one dataset. 
    What am I missing in this this expression to make it run incorrectly

    Can you include dataset name in your sum functions? e.g. Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) 
    and 
    Iif(Fields!PointID.Value = 500, 1, 0)) should include your dataset name as Sum(IiF(Fields!RegisterID.Value = 6000, 1, 0) and Iif(Fields!PointID.Value = 500, 1, 0),"datasetname")Like wise  Sum(Iif(Fields!PointID.Value = 500, 1, 0))  should also have dataset name Sum(Iif(Fields!PointID.Value = 500, 1, 0),"datasetname") 
    Gaur

  • Consingment stock report with values and periods..

    hello guys,
    i have an issue here.. consignmet stock are "managed" within SD. Is there a standard report which cointains info about consigment stock, its amounts (values) and periods ?
    Main point here - consingment stock is processed within SD, so for example t.code MB54 is not useful here .
    Thanks guys !
    Best regards,
    Laimonas

    Hi......MB54 wont help since that shows the Vendor consignment stocks.
    Use MB52 creatively like this.
    Goto MB52
    Put your plant name.
    In the section 'Selection : Special stock', Mark the check box and put 'W' in Special Stock indicator.
    Choose the other settings as per your choice.
    Execute.
    Now you will see a whole lot of stocks along wioth the Consignment stocks. If you only want to see the consignment stocks, do like this
    In the list, put you cursor on the column 'S' which is special stock (i think the 4th colm in the list). Now choose the filter icon and put the filter criteria a 'W' i.e. customer consignment stock.
    You can save this is a variant with a name, say /ZCONS.
    Now come back to the initial MB52 screen. In the bottom section for display options, put this variant name in the field Layout.
    So now when you next run the report with this variant, you will only get the customer consignment stocks with their values.
    Hope this helps.

  • Apex 2.2.1- error in editing a report withIE 6: ORA-20001- Checksum error

    Hi all,
    I'am getting an Error when I try to edit a report with Internet Explorer 6: ORA-20001-...- Checksum error.
    With Firefox it works fine.
    Customer is using IE as standard browser and Firefox is not available here.
    Any Ideas?
    Kazim

    I had to apply Patch 4554072, provided with APEX.
    This patch is available in the directory patch\bug4554072.
    Kazim

Maybe you are looking for

  • I have a Macbook Pro and a HP 5510 printer. And suddenly a problem printing.

    I have a Macbook Pro, fully updated et cetera, and a HP 5510 printer, with all the updates as well. When I lived in my old place, I never had a significant problem getting the computer and the printer to work together. But I moved in January and even

  • Unable to create standalone proxy(webservice) in SAP NWDS 7.3

    I have to consume webservice from third party system. 1. I have imported the WSDL. 2. I selected the Java DC and trying to generate client , but getting message like "Specified project is a java project" From Hook DC i have to call webservice that's

  • Cross com code business area postings

    hi  sap guru,s how to post cross com code business area postings ? thaks in advance

  • Robohelp 8 fails to launch

    Robohelp 8.0.0.203 will not launch on my desktop PC: I've tried the shortcut, selecting a project file and clicking "Open with", and opening from the Programs list. Same results: 1 or 2 seconds of churn, then the cursor goes back to a pointer and not

  • Reprocessing change pointers for MATMAS idoc

    Hi I have a situation where i executed BD21 for changes to materials but no idocs were created due to some issue with the distribution model. Now i have fixed the issue and would like to re process all the materials which were changed. Since i have a