Error when executing report in background
Hi experts,
I developed a new report. In that report I am getting data from KRMI transaction. For getting data from KRMI I have all the program and transaction and function modules under KRMI transaction to Z program, transcation and function modules and by using Call Transaction on ZKRMI and using Import and export parameters I am fetching data from KRMI transaction.
By doing this I dont have any problem while executing report online and when I am executing this report in back ground I am not getting in the above mentioned case.
Can anyone advise me in solving the issue
As already said....the import and export wont work in background...however what you can do is import and export in shared buffer
Please refer this below thread for how to proceed on this...
Re: Problem with export/import in back ground
Check the below link for information on shared buffers
http://help.sap.com/saphelp_webas630/helpdata/en/c4/3a6dbb505211d189550000e829fbbd/frameset.htm
Similar Messages
-
Error when executing report with large data selection in Infoview
Hello,
This is regarding Error we are facing in BO system.
We have installed:
Business Object Enterprise XI 3.1
Crystal report 2008
When we are trying to execute report in BO INFOVIEW on production system, we are facing following error (After 10 mins of execution).
========================================================================================
Windows Internet Explorer
Stop running this script?
As script on this page is causing Internet Explorere to tun slowly.
If it continues to run, your computer might become
unresponsive.
========================================================================================
Please note: We are getting data via Crytal report. Only, execution in infoview is giving error.
If we are executing same report with less data(E.g a days data) then we are getting output in Infoview.
However, when we execute report with more data (6 months data) then we are getting attached error after 10 min of execution time.
Helpfull reply will be awarded.
Regards.
Edited by: Nirav Shah on Dec 14, 2010 6:19 AMIf it is indeed a server timeout issue, the following document might be usefull: http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/606e9338-bf3e-2b10-b7ab-ce76a7e34432
It's about Troubleshooting Time-outs in BusinessObjects Enterprise XI, but a lot is still applicable.
Hope this helps...
Martijn van Foeken
Focuzz BI Services
http://www.focuzz.nl
http://nl.linkedin.com/in/martijnvanfoeken
http://twitter.com/mfoeken -
Problem to spool when Executing reports in background
Hi experts,
I executed reports in backgroud , but when i checked in SM37 the generated spool not given proper layout format.
This problem occurs when report having more columns.
plz help me earliest.
Regards,
jyotsnaHi jyotsna,
this happens with ALV output because the output format is determined at runtime.
You can control the print format used: Just fromyour reports list in online mode, choose PRINT. A Popup should come up letting you specify the printer, number of copies, pages to be printed and so on.
At the bottom of the popup you have the Properties button. This button opens the overview sceen for all the available print parameters. Double-Click the Format section, choose a format you want to use.The the Specifications button takes you to another screen. Here you can choose 'Valid for this report only' and Check the Background checkbox.The push the 'Copy settings' button. Then Enter to close all the popups. This should help. Additionally you can set a default layout variant for your list to be used.
For this, in the ALV list, use Menu Settings-Layout-Layout Management. Here yu can set a default variant.
Regards,
Clemens -
Error when executing report due to 0FISCPER
Hi All,
I am using a customer exit in my query to calculate the year to date numbers for current Fiscal Period and prior fiscal year (via offset -12). When I execute the query it works fine but when I save it to my portal favorite and re-execute from the favorite, it throws an error:
Termination message sent
ERROR BRAIN (648): Variable value must be numeric
ERROR BRAIN (599): For characteristic 0FISCPER, enter value in a permitted format
MSGV1: 0FISCPER
MSGV2: 200/001/
ERROR BRAIN (599): For characteristic 0FISCPER, enter value in a permitted format
MSGV1: 0FISCPER
MSGV2: 200/005/
ERROR BRAIN (648): Variable value must be numeric
ABEND RSBOLAP (000): Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
MSGV1: SAPMSSY1
MSGV3: UNCAUGHT_EXCEPTION
Here is my customer exit code. Do you see any issues with the exit that is causing the above error?
DATA: lv_cur_period(3) TYPE n,
lv_cur_year(4) TYPE n.
WHEN 'ZCC_FPER_YTD_INTERVAL'.
IF i_step = '1'.
Determine current fiscal period
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = SY-DATUM
i_periv = 'MR'
IMPORTING
E_BUPER = lv_cur_period
E_GJAHR = lv_cur_year
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4
IF sy-subrc <> 0.
ENDIF.
Enter interval into variable
CONCATENATE lv_cur_year '001' INTO l_s_range-low.
CONCATENATE lv_cur_year lv_cur_period INTO l_s_range-high.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
ENDIF.
Thanks a bunch.Hi Venkat and Gaurav,
Thanks for your replies. The format of Fiscal Period in the first variable screen is correct with the Concatenate statements that I originally had in the customer exit. It displays an interval of 001/2010 - 005/2010 which is what I want.
CONCATENATE lv_cur_year '001' INTO l_s_range-low.
CONCATENATE lv_cur_year lv_cur_period INTO l_s_range-high.
I created another i_step = 2 variable with 'ready for input' unchecked and added it to the original i_step = 1 variable within the RKF. As I have limited knowledge of coding customer exists, I added the following code for the 2nd variable that I found on SDN as seen below. After applying this code and executing the "saved report on portal favorite", the original error message went away and I get to the variable screen but the format that displays now is 201/001/ - 201/005/. Why does it work the first time it is executed and why does it mess up the format when executed from portal favorite, really confused.
WHEN 'ZCC_FPER_YTD_INTERVAL_2'.
IF i_step = '2'.
READ TABLE i_t_var_range WITH KEY vnam = 'ZCC_FPER_YTD_INTERVAL' ASSIGNING
<input>.
Determine current fiscal period
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = SY-DATUM
I_MONMIT = 00
i_periv = 'MR'
IMPORTING
E_BUPER = lv_cur_period
E_GJAHR = lv_cur_year
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Enter interval into variable
CONCATENATE lv_cur_year lv_cur_period INTO lv_cur_fiscper.
l_s_range-low = lv_cur_fiscper.
l_s_range-high = <input>-low.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
ENDIF. -
Hello,
When trying to run a report on the web, at the execution, when the report should show data, the page appears blank.
When debugging the following error appears:
An exception with the type CX_SY_PROGRAM_NOT_FOUND occurred, but was neither handled locally, nor declared in a RAISING clause
Program SAPLRSDRC does not exist
Please can you help me with this?
Thank you,
RamonaHi,
Please reactivate the 'Personalization' and 'History' in SPRO:
-> Business Information Warehouse
-> Reporting-relevant Settings
-> General Reporting Settings
-> Activate Personalization in BEX
or call tcode RS_PERS_ACTIVATE.
Rgds
Manoj Kumar -
Webi report throwing error when executed
HI Experts,
While executing a Webi Report we are gettign following error when executing with more than one characteristics -
A Database error occured. The database eror text is : The MDX Query select { [Measures].[4225B1TBMEMOYKZGDKLVINMAW] } ON COLUMNS FROM [ZMEPSC01/ZMEPSC01_QRY_0001]
failed to execute with the error Unknown error.(WIS 10901).
We tried changing the Universe -> Parameter -> Control -> Limit size of result set to -> unchecked it.
But still the error remains. Can u put some light over it.
Thanks.Hello ,
Just Check with the BI the people they might change the the column name or some thing else in the bex Query that s way It is showing error.
Refresh the universe and generate the report then check it.
Thanks
Santhosh V -
Error when executing function in MSS launchpad report ???
In MSS lanchpad report, we have the following problem:
Error in Manager Sef-Service
When calling the report, the following error occurred:
System: HRP
Error when executing function
Basically in MSS report, I select employees in the first iView which calls another ABAP query in back-end to display back-end t-code inside iView of portal through ITS service. What could be the reason for it? please advice.
Thanks,
AnthonyPlease try converting the standadrd-delivered scenario RPT0, then check
out the things.
Also problem may be that your function code names contain
the character '&'. This causes a problem when the selected function
code is passed to the ITS-WebGUI as a URL parameter. Please use only
standard characters (A..Z and _) when you define a function code.
Then it should work.
Please go through the following link also
http://help.sap.com/saphelp_erp2005vp/helpdata/en/3a/
3198408d953154e10000000a1550b0/frameset.htm
Please test in backend using Se38 > PWPC_RPT_START_REPORT_TEST
The Reporting Iview in the portal has the Report category type, by
the report category type is set to "RPT0". Therefore, when the
application is launched, the reporting category type is also sent as URL
parameter to the backend system. As of ECC 6.0 only the reporting
category type "RPT0" is supported. ensure this is set for your custom reports if you are using own scenarion
then set in the Iview property of reports as well
ie example
1)Change the Iview property "Scenario" of the Reporting iview from
"RPT0" to your own "ZRPT", than this set of reports will work. however,
the standard reports will not work.
pwpc_convert_mdt_to_lpa >>
The following list of reports have been converted. -
Unknown error when executing MDX when refreshing Crystal Report with BEx
Hello Experts,
I have created a Crystal Report (Crystal 2008 SP1) with BEx Query (7.10) and have been able to refresh successfully when the SAP_ALL authorization is included in my user role. I don't want my end users to have SAP_ALL so I created a role and assigned the authorizations recommended in the SAP Integration Kit for BusinessObjects 3.1 Install Guide.
When I run the report as one of the users assigned to my new role I get the following error in the trace file.
ERROR: .\crdb_bwmdx_execution.cpp [200]: l_bapiGetStreamInfo failed with return code RFC_RC = 0 Exception: BAPI Error: BAPI Error #:0
Unknown error when executing MDX
2188 6556 Caught DbError #1 with Message 'BAPI Error #:0
Unknown error when executing MDX'
2188 6556 Caught DbError #1 with Message 'BAPI Error #:0
Unknown error when executing MDX'
2188 6556 Caught DbError #1 with Message 'BAPI Error #:0
Unknown error when executing MDX'
I tried all the Fix Packs (ie 1.1., 1.2 and 1.3) for XI 3.1 Integration Kit to try resolving the error but it didn't work.
The same query works fine in BEx Web when running as one of the users in the new role I created for Crystal Report users.
Are there any other Authorizations that I need to include in the role?
Cheers.
Paul.We have been able to identify what causes the MDX driver to error and I will explain what we are trying to implement with the hierarchies.
Firstly, we are creating reports of the HR cube Mutliprovider using the SAP MDX Driver which works well when there are no authorization analysis set on the cube. But with the authorization analysis set for on 0ORGUNIT for BEx Explorer Crystal returns the MDX error.
Each of the Business Unit managers are assigned to an Organization Unit that will be used to restrict the employees that will be reported. To restrict the Managers to only see their Org Unit we have set the 0ORGUNIT object to use authorization ananlysis and a custom authorization variable to return only data for the Org Unit they belong too.
In Crystal this works well when a manager has an Org Unit that is a head department of other Org Units. This scenario will give Crystal the NodeID and Parent NodeID to create the hierarchies in the report. But when a manager does not have any other Org Units beneath there own department then Crystal doesn't have a Parent NodeID to create the Hierarchies with the NodeID. In the RFC trace I can see an error when Crystal is trying to get the Parent NodeID but the user is not authorized to that Org Unit then it throws the error.
We have got a temporary workaround which is to create the managers a dummy Org Unit below their own department. The workaround will do for now but shouldn't the MDX driver be able to recognise that it has returned the last level in the Org Unit Hierarchy and not return an error?
The customer is looking for a product fix as they believe this should be handled by the driver. Is this a bug or a limitation of the product?
Paul. -
Restrict 'Executing report in background' from selection screen
I want user to not to select option for executing report in background from Selection Screen of the program.
i.e. 'Execute Program in Background' option in 1st menu bar tab should either be disabled OR if user clicks on it then he should get error message on selection screen itself.
Thanks,
FalguniHi Falguni,
Write the code based on function code SJOB in the event AT SELECTION-SCREEN. Write the following code :
AT SELECTION-SCREEN
CASE SY-UCOMM.
WHEN 'SJOB'.
MESSAGE E000 WITH 'You cannot schedule background job'.
ENDCASE.
Thanks & Regards,
Faheem. -
Error when executing query without passing variable selection
Hi Gurus
I am getting an error while executing a query with out passing values for variables
When executing the query by passing the filter values report returns the data
When executing the query with out passing variable selections the error message is
Unknown error in SQL interface
Error reading the data of Info Provider ZCRM_O08
Error while reading data; navigation possible
System error in program SSAPLRS_EXCEPTION and form
RS_EXCEPTION_TO_MESSAGE
No Data Available
can any one please help me in resolving this
Thank youHi Srini
Thanks for your quick response
When i am executing the query with selection it is returning the data
giving error when executing with out passing the selection
is there any other cause for this problem
like any particular info object causes this sort of problem
Thank you -
hi
we have one requirement for execute report in background
we want to run the report ME5A for a large date range and at plant level.
Due to this, transaction data selected is large and so reportis taking very long time when executed in foreground.
so requirement is
execute report in background (i know possible in SAP)
download the report output on desktop automatically
can you pl suggest how to do this without customisation
regards
saraHi Sara,
Go to ME5A then enter the required field then go to Programme and then select the option execute in background -
Report Designer - Error when Loading Report
Hi,
We have created a report in Report Designer (7.0) and saved it. When we execute it runs fine. After closing the report and trying to reopen it, the report does not open. It gives an error "Error when Loading Report". Our BI frontend patch is 14.
Did anyone encounter this issue and is there a solution to this.
Thanks
HemantHello,
Please go to SE38 -> RS_REPORT_MAINTAIN,
Type your report name, and DT als "Report Type".
Goto edit mode, copy&paste this XML into txt file and send it to me ([email protected]). I will check whats going on with this report. Loading should be always possible.
Regards, Karol Kalisz, BI Development -
Error when sending report output to printer from Forms 10g
Hi,
I have a simple report that I am running from a form using run_report_object built-in. I can successfully send the report output to a file but when I send the report output to a printer my report is
terminated with report status of 'TERMINATED_WITH_ERROR'. I am using the default forms service and reports server that comes with the forms builder. How do I specify the reports server to user my default network printer ?Following is the code that runs my report.
Thanks,
Anna
PROCEDURE SEND_TO_PRINTER IS
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
rep_server system_variables.reports_server%type;
alldone exception;
BEGIN
select reports_server
into rep_server
from system_variables;
if rep_server is null then
msg_alert('Error getting the reports server name', 'I', FALSE);
raise alldone;
end if;
:ctrl.run_report_errors := 'N';
repid := find_report_object('REP_OBJ1');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,rep_server);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
IF :ctrl.rg_print = 'P' THEN
--Send the output to printer.
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'dflt');
ELSIF :ctrl.rg_print = 'R' THEN
--Rich Text Format
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,FILE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'rtf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,:ctrl.filename);
END IF;
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
null;
ELSE
:ctrl.run_report_errors := 'Y';
msg_alert('Error when running report.' || rep_status, 'I', FALSE);
END IF;
EXCEPTION
when no_data_found then
msg_alert('Error getting the reports server name', 'I', FALSE);
when alldone then
null;
END;If you use Windows the user that runs the reports server is usually LocalSystem. Check this in the Windows Services panel.
LocalSystem has no printer access. To be able to print, you have to use a real domain user that has access to the printer. So, change the Log on properties in the Services panel. -
Error while executing report in query designer
Dear Folks,
I am geting following error while executing report in query designer.
Error:500 E
an exception raised because of 0analysis pattern.
Hence,i am unable to execute any report.
Need help.
ThanksHi Kitu G,
I think this is something to do with the bex web 0ANALYSIS* objects not being installed in your BW system.
I would try and do the following:
- Goto RSA1 > BI Content > BEx Web Template (BTMP)
- Then double-click on Select Object.
- Highlight all objects that start with 0ANALYSIS_PATTERN
- Click on Transfer Selections, and then Install.
If you can't do the above in prd, do it in DEV, then transport the objects to prd.
After all this, try re-running your queries.
Any questions/clarification just let me know
Cheers.
Darwin -
Error when executing a .irpt page
Hi,
I am getting the below error when executing a .irpt from the workbench. I am on MII 12.2.2 Build (235).
404 Not Found
SAP NetWeaver Application Server 7.20 / AS Java 7.30
Error: S:usrsapALXJ10j2eeclusterappssap.comxappsxmiiearservlet_jspXMII
oot/XMII/CM/<Project>/<File.irpt>
Troubleshooting Guide https://sdn.sap.com/irj/sdn/wiki?path=/display/jstsg/home
Details: No details available.
Please share your thoughts on this.
Regards,
Chanti.Hi Chanti,
This sounds obvious, but check to make sure your irpt page has the extension .irpt in the workbench. Depending on how you saved it, it might have been dropped.
Also make sure the page is published by either saving it to web:// (not db://) or by right clicking and selecting Publish.
Regards,
Mike
Maybe you are looking for
-
Can't find a version of iMovie that will open
I created an iMovie, didn't pay any attention to the iMovie version, tried upgrading to iMovie 6 but my computer's processor wasn't fast enough for iLife 6. So I went back and tried to open the old file in iMovie 3, but now it says my monitor doesn't
-
Hi Gurus Can anyone help me in sending the changes for the IDOC for transactional data. For Sales Order IDOC -- ORDRSP. When newly sales order is created, all the sales order information should be sent. --This is not a problem. When changes are don
-
In the options menu, I remove the toolbars that I don't want to see. i.e. Conduit Engine and Add-on Bar. They only remain removed for that session. When I re-load FF, they are back. I want the ability to remove toolbars I don't want and have them STA
-
Scroll Bar/visibility in Tab canvas/with child blocks property false
Hi Every one: I am working on a Tab Canvas which has a parent block with 2 child Blocks, I am able to hide all items in a child block depend on the value of Parent block but not been able to hide Scroll Bar. If any one can give me some ideas. would b
-
How do I set Preview to open pdf files
when I try to open a pdf file in safari 6, I get an error telling me to accept the end user license for adobe acrobat. Why?