Report to Report Interface Error
Hello,
I have a summary query which needs to go to detail query. I used the RSBBS transaction to designate the sender and receiver query. I can see the "go to" option in the context box when I try to link from my summary to detail and see the detail query as available. However, when it tries to transfer, I get the following error. I know these queries are saved and active. I can run them each independently but cannot get the Report-to-Report Interface to work. Any help would be greatly appreciated.
Thanks,
Lynda
error:
query &v2 on infoprovider &v3 can't be assigned to the dataprovider &v1,
because it does not exist on the BW Server.
Hi Chandran,
Thank you for your reply and the two links. I am reviewing the assignment details and have a few questions. I currently only have 2 fields assigned - as variables - material and plant.
Everything else is set to generic.
My first query is driven by one date variable which I created which takes a default of January 2008 and pulls Feb - Dec (used offset +1, +2, etc).
The summary report comes up with correct data.
Material Plant UOM Yearly Budgeted Amt Jan/Yr Feb/Yr March/Yr etc
The user then wants to drilldown to detail behind a month. i.e. Jan/Yr
I created the detail query to ask for material and plant which then provides
Material Plant Purchase Order Main Vendor Freight Vendor UOM Qty Recvd Price and Freight Amoutn
There will be multiple Purchase Orders.
One thing I am not sure about transferring fields. Do I need to designate the month/year as a variable in my detail query along with material and plant? I am a bit fuzzy as to the whole process.
Someone I worked with before mentioned that the sending query will pass the fields on the line where you click "go to"????
Thanks for your patience and help...
Lynda
Similar Messages
-
RRI Problem in EP - An error occurred with the report to report interface
I have a problem with a template: In standalone the RRI call works, in EP the same template fails with "An error occurred with the report to report interface during the jump" and details "Notification Number BRAIN 192"
The JS-code is: SAPBWOpenURL(targetLink);
In both cases (standalone, and in EP ) the targetLink is
/sap/bw/BEx?SAP-LANGUAGE=EN&PAGENO=1&CMD=RRI&RRI=X&RRI_RECEIVER=QURY0001&REQUEST_NO=2
However, standalone it works, in Portal it fails with the above message.
Any idea?Hi Frank,
What was the solution?
Regards, -
Error while opening a report in report Builder
Hello experts,
My oracle apps version is R12.1.3
I am getting an error message when opening a report in report builder.
Warning : Opening a report saved with a newer version of Reports Builder.
Functionality may be lost. Continue??
What should i do now?? Please suggest.
Thanks,
AtulHello,
Sorry for late reply.
Report Builder 9.0.4.0.3
Oracle application Relese 12
and database versin: is Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
plesae update the thread as soon as possible.
After opening a report in Oracle Apps its open is different language. what could be the workaround for this..
Do i need to change any langauge setting?
Thanks
Atul -
Performance issue in Report (getting time out error)
Hi experts,
I am doing Performance for a Report (getting time out error)
Please see the code below and .
while looping internal table IVBAP after 25 minutes its showing time out error at this poit ->
SELECT MAX( ERDAT ) .
please send alternate code for this .
Advance thanks
from
Nagendra
Get Sales Order Details
CLEAR IVBAP.
REFRESH IVBAP.
SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
INTO CORRESPONDING FIELDS OF TABLE IVBAP
FOR ALL ENTRIES IN IVBAK
WHERE VBELN = IVBAK-VBELN
AND MATNR IN Z_MATNR
AND WERKS IN Z_WERKS
AND ABGRU = ' '.
Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
SORT IVBAP BY MATNR WERKS.
CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
WK_BLOCK, WK_MMSTA, WK_MSTAE.
LOOP AT IVBAP.
CLEAR WK_INVDATE. "I6677.sn
SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
AUBEL EQ IVBAP-VBELN AND
AUPOS EQ IVBAP-POSNR.
IF SY-SUBRC = 0.
MOVE WK_INVDATE TO IVBAP-INVDT.
MODIFY IVBAP.
ENDIF. "I6677.e n
SELECT SINGLE * FROM MBEW WHERE "I6759.sn
MATNR EQ IVBAP-MATNR AND
BWKEY EQ IVBAP-WERKS AND
BWTAR EQ SPACE.
IF SY-SUBRC = 0.
MOVE MBEW-STPRS TO IVBAP-STPRS.
IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
MODIFY IVBAP.
ENDIF. "I6759.en
IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
MOVE IVBAP-MATNR TO WK_MATNR.
MOVE IVBAP-WERKS TO WK_WERKS.
SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
WHERE MATNR = WK_MATNR
AND WERKS = WK_WERKS.
IF NOT MARC-MMSTA IS INITIAL.
MOVE '*' TO WK_MMSTA.
ENDIF.
SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
WHERE MATNR = WK_MATNR.
IF ( NOT MARA-MSTAE IS INITIAL ) OR
( NOT MARA-MSTAV IS INITIAL ) OR
( NOT MARA-LVORM IS INITIAL ).
MOVE '*' TO WK_MSTAE.
ENDIF.
MOVE MARA-PRDHA TO WK_PRDHA.
SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
WHERE MATNR = WK_MATNR
AND SPRAS = SY-LANGU.
ENDIF.
IF Z_BLOCK EQ 'B'.
IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSEIF Z_BLOCK EQ 'U'.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSE.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
MOVE '*' TO WK_BLOCK.
ENDIF.
ENDIF.
IF WK_PRDHA IN Z_PRDHA. "I4792
MOVE WK_BLOCK TO IVBAP-BLOCK.
MOVE WK_PRDHA TO IVBAP-PRDHA.
MOVE WK_MAKTX TO IVBAP-MAKTX.
MODIFY IVBAP.
ELSE. "I4792
DELETE IVBAP. "I4792
ENDIF. "I4792
IF NOT Z_ALNUM[] IS INITIAL. "I9076
SELECT SINGLE * FROM MAEX "I9076
WHERE MATNR = IVBAP-MATNR "I9076
AND ALNUM IN Z_ALNUM. "I9076
IF SY-SUBRC <> 0. "I9076
DELETE IVBAP. "I9076
ENDIF. "I9076
ENDIF. "I9076
ENDLOOP.Hi Nagendra!
Get Sales Order Details
CLEAR IVBAP.
REFRESH IVBAP.
check ivbak is not initial
SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
INTO CORRESPONDING FIELDS OF TABLE IVBAP
FOR ALL ENTRIES IN IVBAK
WHERE VBELN = IVBAK-VBELN
AND MATNR IN Z_MATNR
AND WERKS IN Z_WERKS
AND ABGRU = ' '.
Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
SORT IVBAP BY MATNR WERKS.
CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
WK_BLOCK, WK_MMSTA, WK_MSTAE.
avoid select widin loop. instead do selection outside loop.u can use read statement......and then loop if required.
LOOP AT IVBAP.
CLEAR WK_INVDATE. "I6677.sn
SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
AUBEL EQ IVBAP-VBELN AND
AUPOS EQ IVBAP-POSNR.
IF SY-SUBRC = 0.
MOVE WK_INVDATE TO IVBAP-INVDT.
MODIFY IVBAP.
ENDIF. "I6677.e n
SELECT SINGLE * FROM MBEW WHERE "I6759.sn
MATNR EQ IVBAP-MATNR AND
BWKEY EQ IVBAP-WERKS AND
BWTAR EQ SPACE.
IF SY-SUBRC = 0.
MOVE MBEW-STPRS TO IVBAP-STPRS.
IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
MODIFY IVBAP.
ENDIF. "I6759.en
IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
MOVE IVBAP-MATNR TO WK_MATNR.
MOVE IVBAP-WERKS TO WK_WERKS.
SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
WHERE MATNR = WK_MATNR
AND WERKS = WK_WERKS.
IF NOT MARC-MMSTA IS INITIAL.
MOVE '*' TO WK_MMSTA.
ENDIF.
SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
WHERE MATNR = WK_MATNR.
IF ( NOT MARA-MSTAE IS INITIAL ) OR
( NOT MARA-MSTAV IS INITIAL ) OR
( NOT MARA-LVORM IS INITIAL ).
MOVE '*' TO WK_MSTAE.
ENDIF.
MOVE MARA-PRDHA TO WK_PRDHA.
SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
WHERE MATNR = WK_MATNR
AND SPRAS = SY-LANGU.
ENDIF.
IF Z_BLOCK EQ 'B'.
IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSEIF Z_BLOCK EQ 'U'.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
DELETE IVBAP.
CONTINUE.
ENDIF.
ELSE.
IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
MOVE '*' TO WK_BLOCK.
ENDIF.
ENDIF.
IF WK_PRDHA IN Z_PRDHA. "I4792
MOVE WK_BLOCK TO IVBAP-BLOCK.
MOVE WK_PRDHA TO IVBAP-PRDHA.
MOVE WK_MAKTX TO IVBAP-MAKTX.
MODIFY IVBAP.
ELSE. "I4792
DELETE IVBAP. "I4792
ENDIF. "I4792
IF NOT Z_ALNUM[] IS INITIAL. "I9076
SELECT SINGLE * FROM MAEX "I9076
WHERE MATNR = IVBAP-MATNR "I9076
AND ALNUM IN Z_ALNUM. "I9076
IF SY-SUBRC 0. "I9076
DELETE IVBAP. "I9076
ENDIF. "I9076
ENDIF. "I9076
endloop.
U have used many select queries widin loop-endloop which is a big hindrance as far as performance is concerned.Avoid such practice.
Thanks
Deepika -
Error generating report in Report writer (GR214, short dump)
Hello
We are making a report in GGR2. When generating the report group, we have dump with error:
Short text of error message:
Internal error.: SAPMGRW2, Include: MGRW2F20, FORM: GEN_DATAFI
ELD.
Long text of error message:
Technical information about the message:
Message class....... "GR"
Number.............. 214
Variable 1.......... "SAPMGRW2"
Variable 2.......... "MGRW2F20"
Variable 3.......... "GEN_DATAFIELD"
Variable 4.......... " "
I have generated as well via GR52 with the same result.
The report i try to generate has about 500 lines, uses a number of existing sets and has simple formulas in it. When i restrict the number of rows to say 400 I donu2019t have the issue. Is there a restriction to rows in report writer?
Thanks for your help
KaiHi,
The error you are receiving could be caused by a large number of row blocks in your report definition, (you can check the report definition with report RGRRDC00). A report should not contain too many row and column blocks. It is not possible to give an upper bound for the number of row blocks (since the length of the coding depends on other parts of the report as well). However, even a complicated Report Writer or Report Painter report should not contain more than 50 row blocks, and reports with more than 100 row blocks should not be defined.
In this case the report(s) have to be redefined. Please also refer to the note 387916 for further information regarding this issue.
When there are more than 30 variables in a report, please have a look at the note 332091.
Please reduce the number of row blocks in the report by using the function 'Edit' -> 'Rows' -> 'Explode' in the Report Painter
definition. This function enables several rows to be created for one row block (in the Report Painter definition one row block is just one row). Report Painter (and Report Writer) are designed to display hierarchical reports where the rows in the few row blocks are built up using the 'Explode' function.
regards
Waman -
Crystal Report Windows Forms Viewer Error in 1 Workstation after upgrade of PL
Hi all,
We just upgraded SAP from 8.82 PL02 to 8.82 PL15.
Afterwards, in just 1 workstation, Crystal Reports layouts have Crystal Report Windows Forms Viewer error I attach.
Before the upgrade this error did not happen.
No permissions or authorizations were changed in the workstation.
The Crystal Reports layouts remain working fine in server and in the other workstations.
In the workstation following are installed:
- Operating System Windows 7;
- Microsoft .NET Framework 4.5;
- SAP Crystal Reports runtime engine for. NET Framework;
- Crystal Report 2008 Runtime SP6;
- Microsoft SQL Server 2008 R2 Native Client.
All, but the operating system, are equal to the other workstations.
User has edit access to SAP folders, temp and access to the attach path.
We already uninstalled SAP client and client agent and re-installed it but with no avail.
Can anyone help me?
Thanks in advance.
Best regards,
Pedro MarianoHi San Xu,
Thank you for your input.
However I'm facing problem with each software is suitable.
I installed SAP Crystal Reports for SAP Business One (CR 2011 V14.0.4.738), but with no avail.
Thanks in advance.
Best regards,
Pedro Mariano -
Hi all,
I am on a field campaign with my Labview-controlled instrument. I wanted to make a small change to the code and build it again for uploading to a cFP-2020 Fieldpoint but the application builder stopped with the following error message:
Error 7 occurred at ABAPI Dist Report Read Link Info Error.vi -> ABAPI Dist Cmp Settings to Disk Hier.vi -> ABAPI Get Settings From File2.vi -> ABAPI Get Settings From File.vi -> RTBEP_Invoke_Build_Engine.vi -> RTBUIP_Build_Invoke.vi -> RTBUIP_Build_Invoke.vi.ProxyCaller
This is another computer than the one I used in the lab previously so might have forgotten to install something. I just copied the whole application folder with project file and subfolders
to the Laptop I am using now. Labview version should be the same though (8.20).
Any suggestions?
OlafHello Olaf,
This error is usually found when a subVI or a support file (DLL, custom control, etc)
isn't able to be found by the application builder. Possible reasons
for this could include subVIs no longer located in their original
paths and in need to be relinked, a DLL that isn't included in the build,
and many other possibilities.
You wrote that you copied the project from another PC, so it is very possible that some file went missing. Are all VIs in your project executable?
You could try to mass compile all the VIs in your project and see if that helps.
Regards,
Johannes
AE, NI Germany -
Report Painter GR214 generation error - Short dump 4.6C
While generating a report with more than twenty sections, the system short dumps with the error message GR214 pointing to "MESSAGE_TYPE_X"
"%_T01JR0 " or "########################################"
"INSERT_ROW_FORMULA_NEW"
Any leads to fix this?
The generation error happens only when I include a last line formula in the last section, Till then it is working fine.Hi,
The error you are receiving could be caused by a large number of row blocks in your report definition, (you can check the report definition with report RGRRDC00). A report should not contain too many row and column blocks. It is not possible to give an upper bound for the number of row blocks (since the length of the coding depends on other parts of the report as well). However, even a complicated Report Writer or Report Painter report should not contain more than 50 row blocks, and reports with more than 100 row blocks should not be defined.
In this case the report(s) have to be redefined. Please also refer to the note 387916 for further information regarding this issue.
When there are more than 30 variables in a report, please have a look at the note 332091.
Please reduce the number of row blocks in the report by using the function 'Edit' -> 'Rows' -> 'Explode' in the Report Painter
definition. This function enables several rows to be created for one row block (in the Report Painter definition one row block is just one row). Report Painter (and Report Writer) are designed to display hierarchical reports where the rows in the few row blocks are built up using the 'Explode' function.
regards
Waman -
XML Report Publisher program is erroring out
Hi All,
I've customized the AR Customer Statements.
I've created a data definition as "ARXSGP" and uploded the sample_output.xml of Statement Generation Program to it. Also I've created a Data template as "ARXSGPO" and attached the data definition "ARXSGP" to it and uploaded the customized rtf file "XXHCC_CLE_F_ARCUSBALSL.rtf" and set the default output type to PDF.
As I donot wish to call the XML Report Publisher program manually every time when I Print the Statements through Print Documents-->Statements.
So I've done the below customization in ARXSGP.rdf file ie; Print Statements Report which is an Oracle Report.
I've added the below code in After Report trigger.
=======================================
FUNCTION AfterReport
RETURN BOOLEAN
IS
BEGIN
Below code added for Customer Statement Case Study
DECLARE
l_req_id NUMBER := 0;
L_XML_LAYOUT BOOLEAN := TRUE;
BEGIN
L_XML_LAYOUT := FND_REQUEST.ADD_LAYOUT (TEMPLATE_APPL_NAME => 'AR', TEMPLATE_CODE => 'ARXSGP', TEMPLATE_LANGUAGE => 'en', TEMPLATE_TERRITORY => 'US', OUTPUT_FORMAT => 'PDF');
IF L_XML_LAYOUT THEN
srw.message(20001, 'Template is picked ');
srw.message(20002,'Concurrent request Id : '||:p_conc_request_id);
l_req_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
'XDOREPPB',
NULL,
NULL,
FALSE,
:p_conc_request_id,
222, -- Receivables
'ARXSGPO', -- Statement Generate
'en-US', -- English
'N',
'RTF',
'PDF');
IF l_req_id > 0 THEN
COMMIT;
ELSE
srw.message(20004, 'Failed to submit request');
END IF;
ELSE -- Not L_XML_LAYOUT
srw.message(20005, 'Template is not picked ');
END IF;
END;
--------------------Code Ends----------------------------
SRW.USER_EXIT('FND SRWEXIT');
RETURN (TRUE);
END;
==============================================
After Printing the Statements through Print Documents-->Statements
Statement Generation Program is being called and later XML Report Publisher program is also being invoked.
But the XML Report Publisher Program is erroring out with below error.
XML Publisher: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XDOREPPB module: XML Report Publisher
Current system time is 03-SEP-2012 17:42:18
Oracle XML Publisher 5.6.3
java.lang.NumberFormatException: For input string: "ARXSGPO"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.parseInt(Integer.java:497)
at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:215)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Start of log messages from FND_FILE
End of log messages from FND_FILE
Executing request completion options...
Output file size:
0
------------- 1) PUBLISH -------------
Disabling requested Output Post Processing. Nothing to process. The output of the request is zero byte.
Finished executing request completion options.
Concurrent request completed
Current system time is 03-SEP-2012 17:42:22
Please help out with a solution.
Thanks,
Tech Dfor r12 add one row for parameter "Dummy for Data Security" from desc of XDOREPPB
follow works for me
SQL> set serveroutput on
SQL>
SQL> declare
2 v_request_id number;
3 begin
4
5 begin fnd_global.apps_initialize(0, 20419, 0); end;
6 v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
7 'XDOREPPB',
8 NULL,
9 NULL,
10 FALSE,
11 'N', -- Dummy for Data Security
12 9888637, -- Request
13 0, -- Template Application
14 'XXAND10_1', -- Template
15 'en-US', -- Template Locale
16 'N', -- Debug Flag
17 'RTF', -- Template Type
18 'RTF' -- Output Format
19 );
20
21 dbms_output.put_line(v_request_id);
22 if v_request_id > 0 then
23 dbms_output.put_line('successfully submitted.');
24 commit;
25 else
26 dbms_output.put_line('not submitted.');
27 rollback;
28 end if;
29
30 end;
31 /
9888651
successfully submitted.
PL/SQL procedure successfully completed
SQL> 'Y' for "Dummy for Data Security" also works for me
SQL> declare
2 v_request_id number;
3 begin
4
5 begin fnd_global.apps_initialize(0, 20419, 0); end;
6 v_request_id := FND_REQUEST.SUBMIT_REQUEST('XDO',
7 'XDOREPPB',
8 NULL,
9 NULL,
10 FALSE,
11 'Y', -- Dummy for Data Security
12 9888637, -- Request
13 0, -- Template Application
14 'XXAND10_1', -- Template
15 'en-US', -- Template Locale
16 'N', -- Debug Flag
17 'RTF', -- Template Type
18 'RTF' -- Output Format
19 );
20
21 dbms_output.put_line(v_request_id);
22 if v_request_id > 0 then
23 dbms_output.put_line('successfully submitted.');
24 commit;
25 else
26 dbms_output.put_line('not submitted.');
27 rollback;
28 end if;
29
30 end;
31 /
9888652
successfully submitted.
PL/SQL procedure successfully completed
SQL> -
Bex report to report interface dynamically based on Value in the query
Hi,
Is it possible to change the destination of the report to report interface dynamically based on the data of the bex query?
For example my query has the below data
Plant | KPI | Quantity
P1 | A | 20.00
P2 | B | 25.00
When the user selects KPI A I want to navigate to Query 1, and when KPI B is selected to Query 2. Query 1 and Query 2 have completely different layouts, Instead of create to two destinations is it possible to pick one based on the KPI selected.
Is this possible in Bex report to report interface or any other way.
Please suggest
Thanks in advance.Hi
we have RRI in sap bw. ( TCODE RSBBS.)
Below article will enlighten you about this topic .
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/607e63d5-b56f-2c10-718f-8e33a08baa89?quicklink=index&overridelayout=true
hope this helps -
Crystal Report Preview and Print error
Hi,
I am trying my first Crystal report in SAP; I have created one report using OITE table and run it in Crystal Designer without any problem; Then I added it to SAP / Manager Crystal Report / New Report, but I get the following error message when I click the Preview and Print button every time;
The file does exist and the location is setup correctly; I dont understand why SAP can not find the file; Any comments?
SAP Crystal AddOn
Could not load file or assembly 'CrystalDecisions.Windows.Forms, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
OKHi,
When you google on "[Could not load file or assembly CrystalDecisions|http://www.google.com/search?q=CouldnotloadfileorassemblyCrystalDecisions]" you will find quite some hits.
One that might be important for you could be http://social.msdn.microsoft.com/Forums/en-US/vscrystalreports/thread/b0fc930f-5fc8-4475-bfe7-ad56616e838d/
That is depending on how the report is made.
Another option might be
http://www.velocityreviews.com/forums/t382557-could-not-load-file-or-assembly-crystaldecisionsweb.html
Best regards,
Peter -
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 incorrectlyCan 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 -
Crystal reports 2008 sp3 : An error has occurred while attempting to load t
Hello,
Please forgive me for posting in the CR .NET forum because we are using the full Crystal Reports 2008 product and I did not see a category for it. If there is a better forum for this question, please let me know or feel free to move it.
We are having trouble deploying our crystal reports 2008 reports to a Windows Server 2008 R2 server in an aspx application...
I have been working on this issue for 4-days and cannot seem to make any progress, so I would really appreciate your help.
Our Environment:
Development Computer (32-bit, WinXP)
VS2008 (fully updated, was not installed with its Crystal Reports feature)
Crystal Reports 2008 SP3 (downloaded and installed "cr2008_sp3_fullbuild")
Database Server (64-bit)
"SERVER2" is a Microsoft SQL Server 2008 server, fully updated
Web Server (64-bit)
"SERVER3" is a Microsoft Server 2008 R2 Web server.
We have an application that is installed on the Web server and it pulls data from the database server.
The webpages are accessing the database properly. There is a ShowReport.aspx webpage that has the
CrystalReportsViewer on it. We send parameters and logon information to ShowReport.aspx. ShowReport
works properly on our development computer and the report looks good, but it fails on the web server.
We downloaded CRRuntime_12_3_mlb.msi (X86) from SAP/CR and installed it on the web server without any issues.
Our application pool on the web server for this application is set to 32-bit mode. When I launch the
application, it works properly with the database and displays data on web pages, but when I try to
view a report on ShowReport, I get the following error message:
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) that contains the version of the Crystal Reports runtime (x86, x64, or Itanium) that is required.
According to everything that I have read, I have properly matched the DLLs: On the development computer, "cr2008_sp3_fullbuild" was installed; On
the web server, "CRRuntime_12_3_mlb.msi (X86)" was installed. They are both Crystal Reports 2008 and not .NET. CR.NET was not installed on our development computer, so our application was built with full Crystal Reports 2008 SP3. On our development computer, .ENGINE is 12.0.2000.0 and
the same version is on the web server.
So, I am completely at a loss as to why we are encountering this error. Help, Please!!!
Thank you in advance,
MikeHi Mike,
Did you set your project for X86 mode only? If not do so and rebuild and deploy your app.
Thank you
Don -
Crystal report add on installation error
Hi ,
While starting the crystal report addon following the error is coming--> retrieving the COM class factory component with CLSID{3EBB7859-E4 E3-4D77-B ,our operting system -- windows 2003 server-- 64 bit ,
Regards
Naresh KHi Naresh,
You can find more information on the thread:
SAP Business One and Crystal Reports
There are quite few threads in 10 pages for Crystal Reports. You may post it there too.
Thanks,
Gordon -
I have taken on an existing vb.net project done in Visual Studio 2008 with crystal reports version Crystal Report XI.
The reports on their own work very well. Problem is I need to add information to my report which is a 'many-to-one' situation where for each Project Id that I am displaying I need to display several attached documents and the report I am working on is for several Project Id's.
I figured this would be a perfect situation for a SubReport. I created a separate report which calls a stored procedure to get all of the Attached Documents for a specific Project Id. I thought if I were to add this new SubReport to the Original Report and link the Project Id's, easy-peazy, I would be done.
This is not the case. I have vb code that loads the Original Report with a stored procedure and when this code runs with the setup I described above it fails when it is creating the final report with the following error:
Logon failed. Details: crdb_adoplus : Object reference not set to an instance of an object. Error in File C:\~\ProjectDescriptionReport {6BA19F79-2A12-4826-B1F6-456EF799963B}.rpt: Unable to connect: incorrect log on parameters.
I have no specific connections in my vb code for the reports. If I do not add the subreport to the main report, it loads correctly, so I know the error is caused by the subreport.
This is the code that creates the original report (sorry for dumping the code here, i just thought it would be easier to see all the code) :
Public Function LoadReport(ByVal inProjectNum As Integer, ByVal strProjectName As String) As DataTable ', ByVal inFiscalYear As Integer, ByVal inCompany As String) As DataTable
Dim cnn As SqlConnection = Nothing
Dim cmd As Data.SqlClient.SqlCommand
Dim obj As New clsDataClass
Dim dataAdapter As SqlClient.SqlDataAdapter
Try
LoadReport = New DataTable("DescriptionReport")
cmd = New SqlCommand()
cnn = obj.Create_Connection()
With cmd
.CommandType = Data.CommandType.StoredProcedure
.Connection = cnn
.CommandTimeout = "60"
.CommandText = "usp_GetProjectGroupSpecsCR"
.Parameters.AddWithValue("@ProjectNumber", inProjectNum)
.Parameters.AddWithValue("@ProjectName", strProjectName)
End With
dataAdapter = New System.Data.SqlClient.SqlDataAdapter
dataAdapter.SelectCommand = cmd
dataAdapter.Fill(LoadReport)
Dim oRpt As New ReportDocument()
oRpt.Load(Server.MapPath("ProjectDescriptionReport.rpt"))
oRpt.Refresh()
oRpt.SetDataSource(LoadReport)
'oRpt.OpenSubreport("AttachmentsReport").SetDataSource(LAR)
oRpt.SetParameterValue("inProjectNum", inProjectNum)
oRpt.SetParameterValue("strProjectName", strProjectName)
oRpt.ExportToHttpResponse(ExportFormatType.PortableDocFormat, Response, True, "Projects_DescriptionReport") 'inCompany & "ProjectsReport_Description" & inFiscalYear) <-- Line where the error occures.
What I need to know is what is the proper way to add a subreport to a vb.net application?
From the ways I have tried it is clearly not working and I am out of ideas. I am fairly new to Crystal Reports and this way of coding it.
Any help for this would be greatly appreciated, I've been stuck on this for a while and am finally reaching out to the Crystal Report Specialists.
Thank you in advance,
BryanHi Bryan,
You may want to check the Connection properties also. I think the MS Data.SqlClient.SqlCommand is using the MDAC driver, or could be modified.
If you are connecting to SQL Server 2008 or above you should be using the SQL Native 10 or 11 Client.
As Dell suggests have a look at the samples and if you can use a DSN ( 32 bit or 64 bit ODBC Admin )
Also search for "CRlogger", you'll find how to enable CR's database logging component and may help show you what part is failing.
Don
Maybe you are looking for
-
Report taking too long to generate
I am running a crystal report using the viewer from vbnet (framework 4.0) and reports without record selection run as expected. If I add a record selection such as JobNum > 4000 to the report the report generates and database error code 17 which I
-
Hi i have boot camp 4.0.4 on my mac, should i install the lastest 4.0.4 to install windows 7 or just use what i have on my mac already?
-
Char types size greater than 256 in DOE
What is the standard to use characters with types size greater than 256 characters in DOE (bapiwrapper)?
-
How to keep epub at original folder
Dear all If I want to user iBook on Mac to read EPUB, but I just want to use it as PDF Reader (read directly and keep the file at original folder, instead of copying them to a directory I do not know). Is there any way to do it on Mac OS 10.10? Thank
-
SD reader not reading my SD card
I have a Toshiba Satellite p875-s7200 running windows 7 home premium x64. It has a built in SD slot and when i put my SD card in nothing happens. I looked in my computer and nothing is there. I looked in device manager and nothing is there either.