Problem on "Report to a Moderator"
Hi,
I just noticed a problem when using "Report to a moderator" option for a forum post:
After sending the notification to the moderator the website should reload the thread with the notified message entry.
But:
Instead of showing the notified message my FireFox27.0.1 loaded the last opened thread. As I had several tabs opened in FF it loaded the thread that I opened in the latest tab.
Moreover it showed that "Moderator notified" announcement on top of that wrong thread…
Just to demonstrate/verify that effect I notified the moderator again:
Thread title is marked with red line.
After pressing "Notify the moderator" the website reloaded and I landed here:
Yes, I did notify the moderator.
NO, I didn't notify the moderator on the "Feedback on NI Discussion Forum"!
Yes, the latest opened tab is of course the "Feedback…" forum as I wanted to write this feedback on NI discussion forum!
The tab opened before is marked too…
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
I have also seen this issue for a very long time. Same thing happens when I start to reply to a post and then cancel (goes to the last thread I opened).
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Similar Messages
-
Problem refreshing reports with params in the Interactive viewer from ASP
I have a problem getting reports to refresh by clicking the Interactive Viewer's refresh button and reusing the supplied parameters. I am seeing this exact same problem on both V9.2 and 11.5 unmanaged RAS servers.
I am using the following function code to set the reports parameters:
Public Sub PassParameter(param_index, param_value, param_is_multi,param_range_kind)
Dim param_old ' parameter field in the report
Dim param_new ' parameter field that will replace old parameter
Dim paramValue ' discrete parameter value
Dim aValues
Dim rValues
Dim iLoop
Set param_old = clientDoc.DataDefinition.ParameterFields.Item(param_index)
Set param_new = objFactory.CreateObject("CrystalReports.ParameterField";)
If param_range_kind = 1 then
Set paramValue = objFactory.CreateObject("CrystalReports.ParameterFieldDiscreteValue";)
paramValue.Value = param_value
else
Set paramValue = objFactory.CreateObject("CrystalReports.ParameterFieldRangeValue";)
rValues = split(param_value, "|")
paramValue.BeginValue = rValues(0)
paramValue.EndValue = rValues(1)
paramValue.LowerBoundType = 2
paramValue.UpperBoundType = 2
end if
param_old.CopyTo param_new
if param_is_multi = 0 then
param_new.CurrentValues.Add paramValue
else
aValues = split(param_value, ",")
For iLoop = LBound(aValues) to UBound(aValues)
param_new.CurrentValues.Add Trim(aValues(iLoop))
Next
end if
clientDoc.DataDefController.ParameterFieldController.Modify param_old, param_new
' Clean up
Set paramValue = Nothing
Set param_new = Nothing
End Sub
and then redirecting to another ASP page to invoke the viewer (the report "clientDoc" object is passed to the viewer asp page a s a session variable). The code of the viewer page is:
<%
Response.ExpiresAbsolute = Now() - 1
Response.Charset=";UTF-8"
Dim clientDoc
Set clientDoc = session("clientDoc")
Dim ObjFactory, RptAppSession
Set ObjFactory = CreateObject("CrystalReports.ObjectFactory";)
Dim viewer
Set viewer = ObjFactory.CreateObject("CrystalReports.CrystalReportInteractiveViewer";)
viewer.PageTitle = "Interactive Report - " & Request("rptnam")
viewer.IsOwnForm = true
viewer.IsOwnPage = true
viewer.HasRefreshButton = true
viewer.EnableParameterPrompt = false
viewer.ReuseParameterValuesOnRefresh ; = true
viewer.HasExportButton = false
' viewer.HasPrintButton = false
viewer.ReportSource = clientDoc.ReportSource
Dim BooleanSearchControl
Set BooleanSearchControl = ObjFactory.CreateObject("CrystalReports.BooleanSearchControl";)
BooleanSearchControl.ReportDocument = clientDoc
viewer.BooleanSearchControl = BooleanSearchControl
viewer.ProcessHttpRequest Request, Response, Session
%>
If I set viewer.EnableParameterPrompt = false then I get an erro upon clicking the viewer's refresh button (error is: Missing parameter values. webReporting.dll error '8004100e' ), but if I set viewer.EnableParameterPrompt = true, then I get the automatically generated prompts appear but they are all empty. Either way, RAS doesn't remember the supplied parameters. I know the parameters are being read by RAS as the report's contents prove this fact, but they are not remembered after refreshing. If the automatically generated prompts are filled in and submitted, subsequent refreshes work correctly.
How do I get the report viewer to reuse the parameters that have been set programmatically after a refresh? BTW, changing my implementation to anything other than using ASP against an unmanaged RAS server is not an option at this time.
Thanks in advance!
Dave.Hi Dave,
I don't have a "nice" set of code lines but below hard codes one parameter name and value:
ISCRParameterField newParameterField = new ParameterFieldClass();
newParameterField.ParameterType = crParameterFieldTypeEnum.crParameterFieldTypeReportParameter;
newParameterField.Name = "YourParamName"; // you can make a collection here
newParameterField.ReportName = "";
newParameterField.Type = CrFieldValueTypeEnum.crFieldValueTypeStringField;
newParameterField.AllowMultiValue = true;
newParameterField.AllowCustomCurrentValues = true;
Fields parameterFields = reportClientDocument.DataDefinition.ParameterFields;
ISCRField existingParameterField;
RowsetMetaData rowsetMetaData = new RowsetMetaDataClass();
Fields fields = new FieldsClass();
ArrayList defaultValues = new ArrayList();
reportClientDocument.DataDefController.ParameterFieldController.SetCurrentValue("", @"YourParamName", @"YourParamValue");
Thanks again
Don -
Mailing Problem in Reports Writer 3.0 (URGENT)
Hello,
I 'm facing mailing problem in Reports Writer 3.0.
All Reports files (.rep) are stored on NT Server(in a particular
dir) and I have full permission (on that dir).
After running the report, when I try to send mail then it gives
the following error
REP-4203: Error occurred while sending a mail message.
REP-4221: Cannot access attachment file.
So pls. suggest me.
Thanks
PSR
nullThis is the wrong forum for reports issues - particularly for such an old version :-) However, you'll have to write a user exit to do that kind of stuff. And no don't ask me how, it was all too long ago, but there should be a section on that in your manual.
-
Problem in reports 6i while using delimiter option.
Hi,
I am facing problem in report writer while using delimiter option.
Report summary
==============
In my report I am having two queries in data model and two different repeating frame for each in layout.
These quires are called based on the user parameter. That means if user parameter is 1 then query 1 is called and the report is kick off and same for query 2 when user parameter is 2).
Problem Encountered
=================
Both these reports are running fine while using pdf option to generate report .
While using delimiter option only one of the query is able to generate report (based on which ever is created first and rest will give 0 byte file).
I have also trapped it while using messages and it is logically flowing fine.
I think report writer does not support such scenario.
please expedite on this.
thankx
peyushHi,
There are no such limitations with Reports. If I understand properly, you run the Report twice, in each run, you are trying to execute different query, and you generate two dilimited Reports output files? This should work fine. Try out the latest Reports 6i patch-10 for this. You can even approach Oracle Support with your testcase. FYI, with Reports 6i patch-11, a new feature "dlimited data" is introduced which will give delimited output with a data dump i.e it would not be dependent upon the Reports layout. You can probably try out this new feature also.
Thanks,
Rohit Hi Rohit,
Thanks for the information.
well I am generating single output file on each run .
the problem is somewhat funny.
I have build query2 in data model after query1.
query 1 is giving me correct output both in .PDF and delimiter version.
But query2 is giving me 0 byte file for delimiter version although in .PDF it is running fine.
When I took out query2 to another module it is running fine for both.
I hope this make sense.
Moreover if u still not clear about the problem and thinks that u can help me out please send me ur mail id so that I can send you the RDF copy.
Thanks
Mohit... -
RAXINV - Strange problem in Report Builder
I'm having a very wierd problem in Report builder 6.0.8.27.0. I'm simply trying to add two additional columns to the AR Invoice report (RAXINV) so that they get included in the XML output. This report has a main query called Q_INVOICE which is basically a dummy query to set the column aliases and at the end of the query it does a UNION with the user parameter &common_query.
So, what I have done is gone into the common_query parameter and added the two extra dummy columns before the FROM statement (I've tried adding at different places but always the same result). Once that is done I've then gone into the Q_INVOICE query and added the same two columns. When I hit the OK button to update the query is when my problems start.
There is a group in the report called G_ORDER_BY that has the field ORDER_BY in it. After clicking ok to update the query the G_ORDER_BY now has a field called BILL_CUST_NAME1, but the XML tag is still saying ORDER_BY. This happens to many fields in the report (the names are changed/corrupted) and as such the report is now useless as it won't compile.
I have no idea why this would happen and I've never seen anything like this before.
Can anyone provide any help on this ? I've logged an SR on this too but wanted to try here also incase someone had already crossed this problem.Dave,
Not sure if its relevant or not, but I just fixed this issue, you need to change your query in three places, common_query parameter, build_query program unit and the main query itself in report editor.
Cheers,
Zeeshan -
Hi Folks,
I have a problem in reporting.
We are getting a data from flat file and loaded in to ICELIM cube and later that will pull into Managerial Consolidation Cube.
P99T is account member and its ACCTYPE is EXP and its a parent member.
We created a one report based on ICELIM cube its showing negative values for the member P99T. Created another report based on Managerial Consolidation Cube, Here the same member showing Positive values.
Can any one please let me know what is the problem is?
I need Positive values in Both reports.
Regards,
G. Saida ReddyHi vadim,
Thank you for you response,
Recently I take over this project, Previously one guy is handled all those things.
But if "Descendants of P99T is Applicant count=EXP(ACCTYPE), FT=EXP(ACCTYPE), Applicant Rate= EXP(ACCTYPE)" then P99T is meaningless - how can you aggregate count, FT and rate????
Can you please let me know the what is the exact point your are saying from above.
we have positive signs for base members of ICELIM and Managerial Consolidation.
Now it is not possible to change moving data from ICELIM to Managerial Consolidation.
can you please let me now the issue for sign in the report?
Regards,
G. Saida Reddy -
I have a small problem printing reports which exist of 1 page.
1st report is printed OK
2nd one is bad
3rd one is bad
4rd one is bad
5th is OK again... and so further.
When I choose a different printer, all prints are OK. When I print from another PC on the same printer, all prints are OK.
I assume some settings are disturbing the prints; can anyone suggest where I should take a look?are you using a dot matrix printer or a laser printer?
-
I finally configured and was able to start the reports server on my Solaris box. The listener is running. When I run a report, either by command line using rwrun60 or from a form using RUN_REPORT_PRODUCT, the report kicks off without error but will not finish. I have to kill the process, and no output results. I had no problems when running from NT, so I'd bet the problem is in the configuration not the report itself. Any ideas?
I'm still working this problem.
I have a printer configured, and have no problem generating report in character mode and send directly to printer.
I did have to add localhost access to Xwindows with
$ xhost +localhost
Now I have valid display value.
Unfortunately, still having the same problem. rwrun60 kicks off, but gets hung. I have no problems running forms on the this server. Any other ideas? -
Hi all
I have a problem in report runtime decision.
I have created a report say report1....and on runtime i decide its runtime sorting order by passing a column value
through my USER PARAMETER to the ORDER BY clause.
But the problem is that the data model has its own BREAK ORDER as well for each column.
How can i change that property at runtime.
Kindl guide me if any one knows the solution.
Thanx,
Qaiser Qayum Malik.Hi,
Pl see this thread:
Order By within repeating frame
By the way, break order decides the sorting order ONLY if the report has break-groups. If your report has a single group, the order by clause should work.
navneet. -
Problem with reports printing (some regional settings?)
Hi there. I've got a problem. The law of our country requires printing details on each sheet of report. That is: date, name of program in which we do accountancy, page number and so on. Could You tell me where can I set such details in SAP?
I'd be very thankful for helping me . Greetings .Hi Piotr Wojciechowski,
There are system field for that
your can use sy-datum for date,
sy-repid for program name
sy-pagno for page number.
<REMOVED BY MODERATOR>
Mahi.
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 1:57 PM -
Problem for Report Generation Toolkit for excel 2000
Hi all,
Now I am Developing my program with Report Generation Toolkit 1.1.0 and Labview 7.1.
In my computer I am using Excel XP, and there is not any problem. But when I build to
a exe file, and use in a computer with Excel 2000, it didn't work.
And I try to check the source file in this computer, I found that there any some connection
error. And this is caused by the active X class. As I know Excel 2000 is using Microsoft Excel
Object Library 9.0, but i cannot find it in the list of active x. So it is using Microsoft Excel Object
Library with a very old verison. So in the property node there are missing functions, such as the
UsedRange in _Worksheet in the Excel_Get_Range.vi. However, In VBA, I can find the 9.0 Library.
Is it the problem of 9.0 library? How can I solve the problem? How can I upgrade the library to 10.0?
Thanks.
Regard,
RyanHi Mike,
Since my program is for all the staff in office, everyone may use it.
I cannot call the whole office to upgrade the excel to XP.
And I think Report Generation Toolkit is alway support Excel 2000,
since the old version of it is not support for Excel XP.
Regard,
Ryan -
Date range query problem in report
Hi all,
I have created a report based on query and i want to put date range selection but query giving problem.
If i am creating select list selection then it is working fine means it will display all records on the particular date.
But what i need is that user will enter date range as creation_date1,creation_date2 and query should return all the records between these date range. i want to pass it by creating items, i created two items and passing creation_date range to display all records but not displaying and if not passing date then should take null as default and display all records
Here is the query:
/* Formatted on 2006/12/10 20:01 (Formatter Plus v4.8.0) */
SELECT tsh."SR_HEADER_ID", tsh."SALES_DEPT_NUMBER", tsh."COUNTRY",
tsh."LOCAL_REPORT_NUMBER", tsh."ISSUE_DATE", tsh."SUBJECT",
tsh."MACHINE_SERIAL_NUMBER", tsh."MACHINE_TYPE", tsh."MACHINE_HOURS",
tsh."STATUS"
FROM "TRX_SR_HEADERS" tsh, "TRX_SR_PARTS" tsp
WHERE (tsh.status LIKE :p23_status_sp OR tsh.status IS NULL)
AND (tsh.machine_type LIKE :p23_machine_type_sp)
AND ( tsh.machine_serial_number LIKE
TO_CHAR (:p23_machine_serial_number_sp)
OR tsh.machine_serial_number IS NULL
AND ( TO_CHAR (tsh.failure_date, 'DD-MON-YY') LIKE
TO_CHAR (:p23_failure_date_sp)
OR TO_CHAR (tsh.failure_date, 'DD-MON-YY') IS NULL
AND ( TO_CHAR (tsh.creation_date, 'DD-MON-YY')
BETWEEN TO_CHAR (:p23_creation_date_sp)
AND TO_CHAR (:p23_creation_date_sp1)
OR TO_CHAR (tsh.creation_date, 'DD-MON-YY') IS NULL
AND (tsh.issue_date LIKE :p23_date_of_issue_sp OR tsh.issue_date IS NULL)
AND (tsh.country LIKE :p23_country_sp OR tsh.country IS NULL)
AND ( tsh.local_report_number LIKE TO_CHAR (:p23_local_rep_num_sp)
OR tsh.local_report_number IS NULL
AND ( tsp.part_number LIKE TO_CHAR (:p23_part_number_sp)
OR tsp.part_number IS NULL
AND tsh.machine_type IN (
SELECT DISTINCT machine_type
FROM trx_sales_dept_machine_list
WHERE sales_department_id IN (
SELECT DISTINCT sales_department_id
FROM trx_user_sales_department
WHERE UPPER (user_name) =
UPPER ('&APP_USER.'))
AND SYSDATE >= valid_from)
AND tsh.sr_header_id = tsp.sr_header_id
can any one tell me wat is wroung in this query.
Any other way to write this?
Thank You,
AmitHi User....
Here is some date range SQL that my teams uses with some success:
For date columns that do not contain NULL values, try this (note the TRUNC, it might help with your "today" problem).
The hard coded dates allow users to leave the FROM and TO dates blank and still get sensible results (ie a blank TO date field asks for all dates in the future.
AND TRUNC(DATE_IN_DATABASE)
BETWEEN
decode( :P1_DATE_FROM,
TO_DATE('01-JAN-1900'),
:P1_DATE_FROM)
AND
decode( :P1_DATE_TO,
TO_DATE('31-DEC-3000'),:
:P1_DATE_TO)
For date columns that contain NULL values, try this (a little bit trickier):
AND nvl(TRUNC(DATE_IN_DATABASE),
decode( :P1_DATE_FROM,
decode( :P1_DATE_TO,
TO_DATE('30-DEC-3000'),
NULL),
NULL)
BETWEEN
decode( :P1_DATE_FROM,
TO_DATE('01-JAN-1900'),
:P1_DATE_FROM)
AND
decode( :P1_DATE_TO,
TO_DATE('31-DEC-3000'),
:P1_DATE_TO)
Note the 30-DEC-3000 versus 31-DEC-3000. This trick returns the NULL dates when the FROM and TO date range items are both blank.
I hope this helps.
By the way, does anyone have a better way of doing this? The requirement is given a date column in a database and a FROM and a TO date item on a page,
find all of the dates in the database between the FROM and TO dates. If the FROM date is blank, assume the user want all dates in the past (excluding NULL dates). If the TO date is blank, assume that the user wants all of the dates in the future (excluding NULL dates). If both FROM and TO dates are blank, return all of the dates in the databse (including NULL dates).
Cheers,
Patrick -
Problem with Report on Multiprovider
Hi All,
I am getting key fig value more than the expected value in the report output, Report is on Multiprovider, I have checked in to cubes, values in the cubes and reports are same,
I have checked in TR and UR there is no routines, But Data source is enhanced in the R/3 and extracting the data to BW.
How to find why we are getting more values in the report :?:
Plz give some inputs to solve this problem.
Thanks
SreeuHi
I have checked data in the Multiprovider, In the MP contain KF (No of days) values high (more then 365 days), thats the reason am getting KF values high in the report,
Actually report is used for analyzing the Premise (Char) values w, r to Number of days for one fiscal year, but report is showing Number of days more than the 365 days on one fiscal year .
Can any one plz advice why we are getting No .of days more then 365 days?
Thanks
Sreenu -
Problem with Report and distribution file
Hi.
I have a report that create the paycheck for my customer's employe.
My first group on the report is the email adresse of the employe, so i can cut the report end send it by mail to the said employe.
95% of the time it's working perfectly. But when i encouter a blank adresse or simply no result (no line return by the query)
then the report execute, and crash giving me this error.
access control disabled, clients can connect from any host
REP-0177: Erreur au cours de l'exécution sur serveur éloigné
Paramètre de référence 'REFADRCOU' non valide dans la liste de diffusion
Sorry i did not find the equivalent in english. It say that the email field (REFADRCOU) that i am using for the TO is invalid and make the whole report crash.
I'm not sure how i could deal with this.
I had a idea of executing the query before report, in the afterpform, and if i have no result, add a blank line with select XXX from dual for exemple so it would have at least 1 row and won't crash. but it's not very elegant.
Any idea or suggestion on how i could handle this problem.Hi.
Thanks for answering.
I solved the problem.
First I stored the file into a string variable.
And on that variable I do
some processes. (Analyze the read
bytes and add more text to the original file)
Before I did that processes on
.Text property on the object. -
Problem with reports in excel (using text_io)
we are using Report Builder 6.0.5.28.0 with Oracle9i Enterprise Edition Release 9.2.0.1.0. in a client/server evironment. I'm using 'TEXT_IO' to write the report output to a csv file.
The process runs ok but the only problem is that the first line of every page (other than the first) gets repeated.
can anyone out there tell me how to get over this problem.
Thanx in advance
Adolph1. You first need to create a package in your report
PACKAGE conv_text IS
procedure fopen(fname varchar2);
procedure fclose(fname varchar2);
procedure fwrite_c(fname varchar2,
var_c varchar2);
procedure fline;
END;
PACKAGE BODY conv_text IS
o_file TEXT_IO.FILE_TYPE;
filename VARCHAR2(50);
procedure fopen (fname varchar2) is
begin
filename := fname;
o_file := TEXT_IO.FOPEN(filename,'W');
end;
procedure fclose (fname varchar2) is
begin
Text_IO.Fclose(o_file);
end;
procedure fwrite_c (fname varchar2, var_c varchar2) is
begin
Text_IO.Put(o_file,var_c);
end;
procedure fline is
begin
Text_IO.New_Line(o_file);
end;
2. In the "before report trigger" open the csv file (make sure the folder exists on the client m/c)
conv_text.fopen(:filename);
3. In the innermost frame(use the following,for all the fields u want in ur csv file) :
filename VARCHAR2(50);
begin
filename := :filename;
conv_text.fwrite_c(filename,:agency_name);
conv_text.fwrite_c(filename,',');
conv_text.fwrite_c(filename,:invoice_no);
conv_text.fwrite_c(filename,',');
conv_text.fline;
4. In the after report, close the file
conv_text.fclose(:filename);
good luck and let me know if get thru with the problem of the repeating record.
Adolph
[email protected]
Maybe you are looking for
-
Service cannot be reached while sending a smart form in html format
Hello, I'm trying to send a smart form as email in html format and I'm getting the following error message at the beginning of the message: Service cannot be reached What has happened? URL http://localhost/SAP/BC/BSP/SAP/SMART_FORMS/DEFAULT.CSS call
-
How to keep transform constant ratio selected and show instantly properties
When pasting an object as layer to base image, I keep select tool Show transform Controls selected. Pasted object has rectangles as expected but select tool doesn't display it's properties ribbon next to it, until I select object corner. Only then
-
Hi We are deploying Windows Mobile Professional devices on our environments. All the devices connects only to internal network through Wi-fi. Our security policy do not allow these devices to be connected to any other network (Other Wi-fi, Cellular
-
Error while slecting member from dimension
Hi All, When I open the dimension list in BPC for Excel, I am getting the following error: "A member could not be found in this search criteria."
-
How to test Adobe Document Service credentials
Hi, I have installed a sneak preview version of Java stack 7.0. With that I have downloaded the latest credentials from the sdn and followed these steps. Copied the .pfx file to <INST_DRIVE>:\usr\sap\J2E\SYS\global\AdobeDocumentServices\TrustManagerS