Problem Running BEX report from SAP.
Hi All,
We are getting the below error message when we are executing BEX report from SAP.
"Analyzer requires version 140. The currently installed version is 066
Message no. RSR_LAUNCH_EXCEL107."
when i run the report for first time it is displaying correctly but, when i run it for second time (first one is already opened) then i get the above message.
Please let me know is there any setting or oss note related to this issue.
Thanks,
Shiva.
Hi,
Where is it happened? in Tx RRMXP, RRMX or when you execute Bex Analyzer?
Probe with this notes: 1086904, 1152929.
Regards.
Edited by: Conrado Linquet on May 11, 2009 9:55 PM
Similar Messages
-
Issue running a report from SAP Business One
I have an issue running a particular report from SAP Business One. I am using Crystal Reports Add-On, all of the reports are working fine except one. When accessing the last page of the report or any page from inside the report the followiong error appears in the dialog box:
Error in the File CollectionDate_Branch_wise {609BA059-89AF-41E9-9AEB-28CB16D13852}.rpt:
The request could not be submitted for background processing.
Edited by: Iqbal Faisal on Feb 22, 2010 6:03 AMHi,
Do you mean you have a Main report that is written based on SQL Command and there are 8 subreports linked to the main report?
If that is the case, I assume when user select 'Document Type" eg invoice, it will pass that to the subreport and retrieve information?
This is how I will approach it.
1. Make sure the connection is consistent, if you are using ODBC(RDO) then make sure that is the same for main and subreport. You can check that in Set database connection. Right click on the connection, look at the Properties. Don't assume that the name is the same, eg: SBO_DemoUS, they are all ODBC(RDO) for instannce.
In Crystal, when you are using different connection, it will just prompts you a warning message and it will still run.
2. Delete all and only keep one subreport, example AR invoice and see it will still give a problem.
Replace the parameter with a set value in Record selection in subreport and see what happen. -
Problem opening Crystal Report from SAP GUI through VPN
Hi Everyone,
I am facing an issue with opening the crystal report from SAP BW Role menu(SAP GUI). The issue is only with the BW Users who are connecting to the Client systems through VPN. All the settings are done perfectly in the Transaction /CRYSTAL/RPTADMIN and SICF for the CE_URL.
For those who are in the client network it works fine. Please see the URLs generated in both the cases,below.
From Client N/W
[http://sapbobj:8080/SAP/jsp/Action_Dispatch/dispatch.jsp?sap_client=100&cmsname=sapbobj:6400&language=EN&sap_sysid=D40&bw_id=4HUFYJ3XBZ7QLP5HIDYPR7PR6&sap-client=100&actionName=SAP_CrystalReport_View&appKind=InfoView&service=%2FInfoViewApp%2Fcommon%2FappService.do&loc=&initialFolderId=null]
Through VPN
[http://sapbwd.abc.com:8100/sap/bw/ce_url?(ce_protcl):(DS)(ce_server)/(ce_path_pr)/viewreport.csp(Q)bw_id=4HUPI3I78CG4S4EDH7XSDP736&sap_sysid=(sysid)&sap_client=100&language=EN&sap-client=100]
where "sapbobj" is the BOBJ system and "sapbwd" is the SAP BW Dev box.
For me it seems to be something related to the N/W. Please provide me your valuable inputs to solve this issue.
Thanks in Advance,
Koka M
Edited by: Madan Koka on May 19, 2010 5:18 PMHi,
I'm also facing the same issue. when try to open my report the URL doesn;t taking "bw_id".
It is blank for all transported reports.
Any advice..
Thanks,
Jothi -
S_ALR_87011990 - Problem in downloading report from SAP to Excel.
Hi All,
I am facing an issue in report S_ALR_87011990, while downloading a report from SAP to excel. In SAP, report is comming out to be in different format than what it is getting generated in excel.
I am attaching screen shots for your reference.
Request you all to kindly help me in this regard, As this report is required urgently.
Thanks in advance....
Regards
Rajat KumarHi Priya,
Sorry for the delay.. here
Simple explanation...
ABAP - OLE Automation using MS-Excel - Code Gallery - SCN Wiki
You can find a detail doc here
http://www.heyiamonline.com/abap/pdf/ABAPOLEAUTOMATION.pdf
Regards -
Unable to Open Bex report from SAP APO User Menu
Hi All,
I am an SAP APO consultant, and have not miuch expereice in BEx reporting. As APO uses Build in BI for reporting and pulling history from either external BW or R/3.
Now my issue all BEx reports we use are assigned ot my user menu and when I select a report, I would expect report to open but an excel sheet opens and closes and nothing happens. However I am able to open this reports from my desktop menu selecting Business explorer and Analyzer and linking my SAP system. I use Excel 2007 , Is this some compactibilty issue or is there anything I need to do?Hi KV,
There's a couple of possible root cause why you dont see properly the Bex Report.
Can you share to me the APO version and the BW software component being used?
In case this is still in the 3.x, 4.x APO, I think, a separate BW add on is needed for you to run your BEx report properly. You can ask your basis team for this separate installation.
Btw, is this report working before, meaning was it pulled successfully already in the past?
Can you try doing this again in a separate workstation, as the BW add on is installed separately per workstation.
Its possible that this is also an auth issue that the user you are using is not capable enough to run BEx.
As of now, I have not encountered any Bex issue that is related with the Excel version, I have tried running Bex in Excel 2007 no issue also. I think it maybe more related with the OS you are using, if its in Vista already what I know is you need to add your excel as a trusted document before you can run bex fro Vista.
Let me think of other possibilities.
Hope this helps.
- Jeff -
Data missing while running a crystal report from SAP B1 2007A
Dear All,
I am facing an issue that is if i run a report from SAP B1 using Crystal reports AddOn, it misses out some data.
Few Initial pages and a last page appears in the report. But when i run the same report using Crystal reports Designer it shows the actual number of pages. I have tested the above discussed issue on the server & workstation machines.Dear All,
I would like to explain the above posted problem in detail. I need your generous help, I am facing an issue that is for Crystal Reports which are based on 'Financial Templates' data is missing out. For Example, If i run the report using 'Crystal Reports Designer' it is showing the whole Financial Template based on 5 pages, but if I try to run it from 'SAP Business One'
using 'Crystal Reports AddOn' it is missing out the data e.g. it is showing Page 1 and then Page 4 & 5.
Page No. 2 & 3 is missed out. For your information it was running fine from the past two months now I am
facing issues in running it. Rest of the reports are running fine.
I have tried reinstalling the Crystal Reports Runtime and Crystal Reports AddOn for SAP B1 on
Client machines, but the problem is not resolved yet.
Server Machine Details
Version : SAP B1 2007A Server SP01 PL08
OS: Windows Server 2008 R2 (64-bit)
Crystal Reports AddOn for SAP B1 (64-bit)
Crystal Reports Runtime
Crystal Reports Runtime for Visual Studio
Client Machine Details
Workstation 1
Version : SAP B1 2007A Client SP01 PL08
OS: Windows Vista Enterprise (32-bit)
Crystal Reports AddOn for SAP B1 (64-bit)
Crystal Reports Runtime
Crystal Reports Runtime for Visual Studio
Workstation 2
Version : SAP B1 2007A Client SP01 PL08
OS: Windows XP
Crystal Reports AddOn for SAP B1 (64-bit)
Crystal Reports Runtime
Crystal Reports Runtime for Visual Studio -
Error running 9i reports from forms.
Hi folks,
i am having problems running 9i reports from a form.
i have installed Oracle 9iDS on a Win XP machine with 256 MB RAM and a Pentium 1.4Ghz processor.
i also have a local Oracle 9i database. i have created several reports that i am trying to run from some forms but all efforts to date have failed.
below is some sample code.
declare
v_rid report_object;
v_rjob varchar2(100);
v_rptstatus varchar2(100);
v_jobid varchar2(100);
BEGIN
/*get handle to report object itself*/
v_rid := find_report_object('pbranchlist');
set_report_object_property(v_rid,REPORT_EXECUTION_MODE,BATCH);
set_report_object_property(v_rid,REPORT_DESFORMAT,'htmlcss');
set_report_object_property(v_rid,REPORT_DESTYPE,'CACHE');
set_report_object_property(v_rid,REPORT_SERVER,'repsrv');
set_report_object_property(v_rid,REPORT_COMM_MODE,synchronous);
v_rjob := run_report_object(v_rid);
v_rptstatus := report_object_status(v_rjob);
while v_rptstatus in ('RUNNING','OPENING_REPORT','ENQUEUED') loop
v_rptstatus := report_object_status(v_rjob);
message(v_rptstatus);
end loop;
if v_rptstatus = 'FINISHED' then
/*display report in browser*/
-- web.show_document('http://steve:8888/reports/rwservlet/getjobid'||
-- substr(v_rptsvrjob,instr(v_rptsvrjob,'_',-1)+1)||'?'||'server=repsrv','_blank');
web.show_document('/reports/rwservlet/getjobid'||substr(v_rjob,instr(v_rjob,'_',-1)+1)||'?'||'server=repsrv','_blank');
else
message('error running Report');
end if;
end;
pbranchlist is defined in the form,
repsrv is a report server i installed and explicitly started.
on clicking the button to run the above code, i get a message on the browser status bar as follows
opening http://steve:8888/reports/rwservlet/getjobid11?server=repsrv...
that's it. it stays like that forever and a progress bar showing the status of the operation gets to the halfway mark and stays there for up to 15 minutes.
I eventually halted the operation by clicking the stop button of the browser. The form then becomes totally non-responsive with the mouse indicator changing to the hour-glass shape and a small vertical bar moving rapidly back and forth at the bottom of the form window.
My only recourse then is to explicitly close the browser window.
I have already configured Reports to run in non single sign-on mode by setting SINGLESIGNON=NO in the rwservlet.properties file.
Is there anything i have not done properly?
Thanks in advance.Steve,
can you check the Reports cache directory if the Reports file got created? I would assume yes, but better check.
Frank -
Error when trying to run web report from BEx analyzer
Hi Gurus,
I am getting this error "STOP: System error in program SAPLRRS2 and form SELOPT_ASSIGN-01", when I am trying to run the report from the 4th button "Display report on Web" on BEx Analyzer. Can anybody tell me what this and how we can resolve it.
Thanks and I will assign points.I coudn't properly understand solution provided herein:
"Solution
Note that you must generate the query again after you have implemented the correction (Transaction RSRT1 > Generate report).
SAP NetWeaver 2004s BI
Import Support Package 07 for SAP NetWeaver 2004s BI (BI Patch 07 or SAPKW70007) into your BI system. The Support Package is available when Note 0872279 "SAPBINews BI 7.0 Support Package 07", which describes this Support Package in more detail, is released for customers.
In urgent cases, you can use the correction instructions.
To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version"." -
Developing Crystal Report from SAP BEx query
Hi,
I am trying to create an crystal report from SAP BEx query( using MDX driver). I can able to connected to BEx query and got key figures and characterstics, but not able to get calculated key figures into crystal reports.
Would likes to know how to use the calculated key figures used at BEx query level in Crystal Reports? and
Creation of complex parametes in Crystal reports on SAP data.
I really appreciate your quick reply.
Thanks in advance.
VRHi,
calculated keyfigures are shown like any other keyfigure in Crystal Reports.
ingo -
Problem in running oracle report from form 10g Version 10.1.2.0.2
Hi All,
I am facing problem while running the report from forms 10g getting FRM-41219
For this i am using the following procedure :
PROCEDURE RUN_REPORT IS
L_RUN_TEXT VARCHAR2 (2000);
L_USRID VARCHAR2 (100);
L_PASSWD VARCHAR2 (100);
L_DESNAME VARCHAR2 (100);
FILE_OUT_PUT VARCHAR2(200);
REP_STATUS VARCHAR2(20);
REP_NAME VARCHAR2(50);
PL_ID PARAMLIST;
REP_URL VARCHAR2(2000);
V_REP VARCHAR2(200);
BEGIN
display_me('RUN_REPORT');
-- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
-- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
-- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
-- PROCEDURE.
IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
RETURN;
END IF;
COMMIT_FORM;
IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
L_DESNAME := 'LP';
ELSE
L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
display_me(L_DESNAME);
END IF ;
/* SETTING THE REPORT OBJECT PROPERTIES */
/* G_PRAM1 IS THE NAME OF REPORT ****/
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
PL_ID := GET_PARAMETER_LIST ('REP_PARA');
IF NOT ID_NULL (PL_ID) THEN
DESTROY_PARAMETER_LIST ('REP_PARA');
END IF;
PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
REP_NAME := :GLOBAL.G_PARAM1||'.REP';
display_me('REP_NAME'||REP_NAME);
V_REP := RUN_REPORT_OBJECT('REPOBJ');
display_me('V_REP '||V_REP);
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
display_me('REP_STATUS'||REP_STATUS);
WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
END LOOP;
IF REP_STATUS = 'FINISHED' THEN
REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
display_me('REP_URL '||REP_URL);
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
ELSE
MESSAGE('ERROR WHEN RUNNING REPORT');
END IF;
END;
Which is called on a button , can any body share there idea to help out
Warm Regards
AshutoshYes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
declare
REP_URL varchar2(2000);
begin
REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache¶mform=no';
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
end;
I had the 2nd code also but both r not working on my machine ......... !!
I have made the following setting on my machine:
1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
Values is : D:\vision_soft\VSS\exe
2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
Values is : D:\vision_soft\VSS\exe
3. Entry made in the DevSuiteHome_1\forms\server ->default.env
FORMS_PATH=D:\vision_soft\VSS\exe
4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
#SERVER= rep10
As my forms is working well & but the report are not able to call.
Could you please let me know is there is any other mandatory setting required for the report 10g.
Regards,
Ashutosh -
How to Run a Report from Desktop in Oracle 10g without using Web
Hi Friends,
I want to run a report from desktop (report which is developed in oracle report developer 10g), for that i have created shortcut. But when i double click on that shortcut it gives me followig error
"Report name, database connection, and reports server name (unless using local runtime, i.e. reports server call is local) properties must be specified for successful report run"
the path which is defined in the shortcut of report is as follow
D:\DevSuiteHome_1\BIN\rwsxu.exe rcptreg_dt userid/password@ORC
pls help me to sort out the problem.
Thanks & Regards.Hello,
You can use rwrun. Since 9.0.2 , it is no more possible to DISPLAY the output on the screen , but you can generate a file (HTML , PDF , RTF , ..) and then open the file generated.
EX: rwrun report=c:\temp\myrep.rdf destype=file desname=c:\temp\myrep.pdf desformat=pdf userid=scott/tiger@mydb P_1=param1_value ...
Regards -
Problem calling a report from a form
Hello,
i thought about 5 hours what causes this. but i didn't found a solution..
[http://img188.imageshack.us/i/67205607.jpg/]
in when-button-pressed i have:
DECLARE
report_id REPORT_OBJECT;
report_job_id VARCHAR2(200);
rep_status VARCHAR2(200);
JOB_NUMBER number;
server_name VARCHAR2(200) := 'roger';
BEGIN
/* Check to see if forms application is WEB deployed */
IF get_application_property(user_interface) = 'WEB' THEN
report_id:= FIND_REPORT_OBJECT('report104');
/* Set Report parameters given WEB deployment */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER , server_name);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
/* DESFORMAT could be HTML, HTMLCSS or PDF here*/
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'PDF');
/* Run the report */
report_job_id := RUN_REPORT_OBJECT(report_id);
/* Check the report status */
rep_status:=REPORT_OBJECT_STATUS(report_job_id);
WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(report_job_id);
END LOOP;
IF rep_status='FINISHED' THEN
message('REPORT WAS CORRECTLY RUN');
/* Display the report output in the client browser */
JOB_NUMBER := length(server_name) + 2;
WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'||substr(report_job_id,JOB_NUMBER)||'?server=' || server_name ||'¶m_cls='||to_number(:control.lst_clase));
/* If report has failed display message to user */
ELSE
message('REPORT FAILED WITH STATUS: '||rep_status, no_acknowledge);
END IF;
ELSE
/* Else if forms application is Client-Server deployed */
/* Set Report parameters given Client-Server deployment */
report_id:= FIND_REPORT_OBJECT('report104');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER ,'');
/* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
/* Destype SCREEN or PREVIEW can be used here */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,SCREEN);
/* Run the report */
report_job_id := RUN_REPORT_OBJECT(report_id);
END IF;
END;report104 is the name of the repord added in the Reports node (in Forms).
in the left window from the image, i checked for the value of parameter param_cls, and it's ok (16).
when i run the report from the Reports, i see all the repors (that table), but when i run from forms, i got just the headers of the table, the rest is invisible. i don't know why happens this..
:control.lst_clase returns a char, so i convert that char to a number, and that's the parameter passed from Forms.
Please help me..
edit: i saw in Reports that there are two buttons: Run Web Layout and Run Paper Layout. from the Forms, i wanna run the web layout
Thanks
Edited by: Roger22 on 22.06.2009 18:24finally solved. there was a problem at passing parameters
this is the code
DECLARE
report_id REPORT_OBJECT;
report_job_id VARCHAR2(200);
rep_status VARCHAR2(200);
JOB_NUMBER number;
server_name VARCHAR2(200) := 'roger';
rep_url varchar2(500);
BEGIN
/* Check to see if forms application is WEB deployed */
IF get_application_property(user_interface) = 'WEB' THEN
report_id:= FIND_REPORT_OBJECT('report107');
/* Set Report parameters given WEB deployment */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER , server_name);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
/* DESFORMAT could be HTML, HTMLCSS or PDF here*/
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'HTML');
/* Run the report */
report_job_id := RUN_REPORT_OBJECT(report_id);
/* Check the report status */
rep_status:=REPORT_OBJECT_STATUS(report_job_id);
WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(report_job_id);
END LOOP;
IF rep_status='FINISHED' THEN
message('REPORT WAS CORRECTLY RUN');
/* Display the report output in the client browser */
JOB_NUMBER := length(server_name) + 2;
rep_url:='/reports/rwservlet?report=D:\Oracle\product\10.2.0\DevSuiteHome_1\reports\ORAR.jsp'
||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string)
||'&desformat=htmlcss'
||'&destype=cache'
||'¶mform=yes'
||'&getjobid'||substr(report_job_id,JOB_NUMBER)
||'¶m_cls='||to_char(:control.lst_clase)
||'¶m_ansc='||to_char(:control.lst_an)
||'¶m_sem='||to_char(:control.text_item26);
WEB.SHOW_DOCUMENT (rep_url,'_blank');
/* If report has failed display message to user */
ELSE
message('REPORT FAILED WITH STATUS: '||rep_status, no_acknowledge);
END IF;
ELSE
/* Else if forms application is Client-Server deployed */
/* Set Report parameters given Client-Server deployment */
report_id:= FIND_REPORT_OBJECT('report107');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER ,'');
/* Report to be executed via Reports Background Engine, not the 'new' Reports Multi-Tier Server */
/* Destype SCREEN or PREVIEW can be used here */
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,SCREEN);
/* Run the report */
report_job_id := RUN_REPORT_OBJECT(report_id);
END IF;
END;but the report is running in Paper Layout. i wanna run in Web Layout (in Reports Builder there are two buttons, Paper Layout and Web Layout). from forms how can i run the report in Web Layout?
Regards, -
How to delete a report from SAP BO?
is there a way to delete a report from SAP BO that won't be right clicking on it, organize, then delete. Something from the database because I have a report that for some reason has more than 2 million iterations trying to run and is making my server to crash and preventing that other scheduled reports to run.
Following is an excerpt from the above KBA Janos mentioned.
Important Note: It is strongly recommended to take backup of your CMS database and Filestore before performing the steps mentioned below.
1.Navigate to http://<appservername>:8080/AdminTools
2.Login with administrator account.
3.Use this query to find number of pending instances (Name and ID of instance) in your environment:
4.SELECT SI_NAME, SI_ID FROM CI_INFOOBJECTS WHERE SI_SCHEDULE_STATUS=9
5.Connect to the CMS System Database with the proprietary database client (e.g., SQL Plus for Oracle).
6.Execute the SQL statement to delete all pending instances in your environment.
For SAP BusinessObjects Enterprise XI 3.1
DELETE FROM CMS_INFOOBJECTS6 WHERE SCHEDULESTATUS=9
For SAP BusinessObjects BI Platform 4.0
DELETE FROM CMS_INFOOBJECTS7 WHERE SCHEDULESTATUS=9
Regards,
Onkar -
Extracting a Report from SAP Spool into a Useful Excel 2010 Format
Hi All,
Extracting a Report from SAP Spool into a Useful Excel 2010 Format. I'm currently running the following report in SAP and would like the
ability to set this report up as a recurring report running weekly and
subsequently access this report in a useable Excel 2010 format without
much data manipulation. Can you please assist me. Below, I've tried to
provide an example of what I'm encountering. Thanks, beforehand for
your assistance.
Here goes:
Step one: Run 62 Report in SAP S_P99_41000062- Material List Price and
Inventory
Step 2. Select stored Variant "Weekly KPI", ok. Enter the enter the
desired company code and period I want thre report to run for and update
the currency, if necessary. Having input my desired criteria, I believe
I can either execute immediately, run in the background, preset to run
at date in the future. For this example let's just execute, immediately.
This is where the difference originates. Given, I run this report
immediately, I'm able to simply extract the result to Excel via the list
selection noted in the tool bar below. The result is a data friendly
excel 2007 report is automatically generated.
Export to Excel via list:
Select save and Excel 2007 opens automatically:
That said, the method outlined above works perfectly fine if you want
the report immediately. Now let go back and run the exact same report
with exceptoin of running it in the background and having to retrieve it
from the Spool (SP01) uisng my user ID. Given the report generated in
the background, I would now access the report via the spool and make
the following selections:
SP01 + execute to see my report
I would hit the sunglasses to see the actual report, then want to
extract this report to Excel by selecting the export option.
I would at this point select spreadsheet and be given an option to save
the spreadsheet to local file. However, upon trying to open the
spreadsheet I will receive an error messageindicating that the format is
different than that which the file I am currently trying to open it
with. I'm currently running Excel 2010 on my computer. The currency
format and other issues arrise with this extract. Please help.
Thanks,
Chowadary.Update to Latest GUI.
Use List -> Export -> Spreadsheet to get the output to excel.
I remember in ALV max length allowed is 1023 characters and the max no of columns supported is 90. Issue occurs when row size of exported data gets more than 1023 character. (This includes if Long/Medium Header Text used ) If it exceed 1023 character the columns splits and moves to next row.
Check your fieldcatog for header lengths.
-Satya -
Application hangs while running a report from Forms
Hi all,
I am getting a problem regarding running reports from Oracle forms application for printing in a shared printer at client system. There is no problem when I set the DESTYPE to HTMLCSS or FILE. But when I set it to PRINTER then the application hangs and report server gets busy. Once this problem occurs other reports from other client systems are not generating even if this is a HTMLCSS or FILE type.
The thing is the application has ran successfully for two months. Suddenly from last few days the problem is arising.
Few things that I have noticed:
1) When the application hangs I cheked the Task manager, where the process rwlpr.exe is running. If I manually ends the process there the application comes back with a message 'unable to run report'.
2) I have checked few log files, where I have found few log files whose names end with a job number. The file generates from a succesfully running report shows few steps tht end s with closing the printer. But the file that is generated from an unsuccessfull job stops at the step 'Opening Printer //<machine name>/<printer share name>'.
3) Then finally I have changed the DESTYPE to file and using the HOST command printing the text file to shared printer in dos mode. Its working fine. But often the first problem arises again.
What are the possible resons that may cause this problem.
Looking for your positive response.
Thanks and regards
SandyFrom dos prompt I have used the type commad.
From server machine in dos prompt I have used,
type d:\rep.txt > \\<client machine name>\<printer shared name that is connected to client printer>
from Server machine I have opened a Notepad doc, File >Print >Selected the printer that is in client machine.
This works fine.
Now my code to print a report directly to printer,
V_PRINTERNAME := '\\mmondal\mmondalprn'; -- shared Printer name at Client machine
repid := find_report_object('REP_BANK_MST');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,V_PRINTERNAME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'kt30');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no P_ISPOSTED='||:CHK_ISPOSTED);
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||
substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=kt30','_blank');
ELSE
message('Error when running report');
END IF;
exception when others then
message(to_char(sqlcode));
This hngs the application. And other requests enqued in job queue does not process. If I cancel the stucked job then other reports complete sucessfully.
Log - rwserver.trc shows the following:
[2011/6/14 4:48:28:437] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 1051
[2011/6/14 4:48:28:484] Debug 50103 (RWCacheItem:addFile): add file 'mmondalprn65558177.txt' for job 1051
[2011/6/14 4:48:28:484] Debug 50103 (RWCache:updateCurrentCapacity): Current cache capacity is 32948731
[2011/6/14 4:48:30:671] Exception 50157 (): Error while sending file to printer \\mmondal\mmondalprn. Exit with error code 1848
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.utility.Utility.newRWException(Utility.java:756)
at oracle.reports.utility.SOSD.sendPrinter(SOSD.java:128)
at oracle.reports.server.DesPrint.sendFile(DesPrint.java:102)
at oracle.reports.server.Destination.send(Destination.java:484)
at oracle.reports.server.JobObject.distribute(JobObject.java:1582)
at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2231)
at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:134)
at oracle.reports.server._EngineCommImplBase._invoke(_EngineCommImplBase.java:94)
at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
[2011/6/14 4:48:30:671] State 56016 (JobManager:updateJobStatus): Job 1051 status is: Executed successfully but there were some errors when distribute the output
REP-50159: Executed successfully but there were some errors when distribute the output
[2011/6/14 4:48:30:671] Debug 50103 (JobManager:notifyWaitingJobs): Master job 1051 notify its duplicated jobs.
[2011/6/14 4:48:30:671] Debug 50103 (JobManager:updateJobStatus): Finished updating job: 1051
[2011/6/14 4:48:30:671] Debug 50103 (EngineManager:updateEngineState): Engine rwEng-0 status is 1
[2011/6/14 4:48:30:671] State 56004 (EngineInfo:setState): Engine rwEng-0 state is: Ready
[2011/6/14 4:48:30:671] Exception 50159 (): Executed successfully but there were some errors when distribute the output
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1009)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1779)
at oracle.reports.server.JobManager.dispatch(JobManager.java:1045)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1280)
at oracle.reports.server._ConnectionImplBase._invoke(_ConnectionImplBase.java:401)
at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
[2011/6/14 4:48:30:671] Debug 50103 (JobManager:runJobInEngine): Encounted exception in job 1051
[2011/6/14 4:48:30:671] Debug 50103 (ConnectionImpl:runJob): jobid = 1051 Failed with exceptionoracle.reports.RWException: IDL:oracle/reports/RWException:1.0
[2011/6/14 4:48:30:671] Exception 50159 (): Executed successfully but there were some errors when distribute the output
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:1009)
at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1779)
at oracle.reports.server.JobManager.dispatch(JobManager.java:1045)
at oracle.reports.server.ConnectionImpl.runJob(ConnectionImpl.java:1280)
at oracle.reports.server._ConnectionImplBase._invoke(_ConnectionImplBase.java:401)
at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
[2011/6/14 4:48:30:703] Info 56013 (ConnectionManager:release): Connection 196 is released
[2011/6/14 4:48:30:703] Info 56013 (ConnectionManager:release): Connection 197 is released
[2011/6/14 4:48:31:31] Debug 50103 (JobManager:removeJob): will remove job 51
[2011/6/14 4:48:31:31] Debug 50103 (RWCache:deleteItem): delete item for job 51
[2011/6/14 4:48:31:31] Debug 50103 (RWCacheItem:clear): job 51 become invalid
[2011/6/14 4:48:31:31] Debug 50103 (RWCache:updateCurrentCapacity): Current cache capacity is 32942484
[2011/6/14 4:48:31:46] Debug 50103 (JobManager:removeJob): removed job 51
[2011/6/14 4:48:47:906] Info 56013 (ConnectionManager:release): Connection 198 is released
[2011/6/14 4:48:51:890] Info 56013 (ConnectionManager:release): Connection 199 is released
[2011/6/14 4:50:48:437] Info 56013 (ConnectionManager:release): Connection 200 is released
Most of the time when all the instances are restarted then for the first time it runs successfully.
The above code worked fine for Last two months.
Maybe you are looking for
-
I am using the BAPI CRM_BUPA_READ_ORDER_OBJECTS to display the sales orders against a business partner in CRM. My requirement is to only get the sales orders for the business partner that I input, but in the table ET_SEARCH_RESULT along with the sale
-
Simple: Can it be done? Is there any way I can stream over port 80 or do anything to allow the iPhone to connect to a QuickTime Streaming Server? I am starting a web-casting business and it would REALLY show us off if I could could stream to the iPho
-
What is the best preset for Panasonic Ag-AC8P?
I teach digital video and use Panasonic AG-AC8P. What is the best preset to use for this camera? Thanks
-
We are on 11.5.10.2 RUP7 with non-RAC, it took about 30 minutes to failover, but the failback only need 5 minutees. It is noticed that some TCP parameters have to be set to improve the performance. such as: net.ipv4.tcp_keepalive_time net.ipv4.tcp_k
-
IPod wont synk properly - nessesary desk is not available
My ipod nano from 2006, wont synk properly. It returns the error message "ipod xxx cant syncronize, because the nessary desk is not found" (Translated from my language). I have tried to restore ipod, but it return med errormessage" Unexpected error n