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,
jyotsna
Hi 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
Similar Messages
-
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 issueAs 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 -
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. -
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 -
Help me, I have a problem with font when export report to PDF?
Hi everyone! Help me
I have a problem with font when export report to PDF
My report uses template .rtf with font Times New Roman (Unicode), language is VietNamese.
when desige template no problem, error only happen when view report by PDF.
Edited by: user10236405 on Oct 15, 2008 11:23 PMgive it time to boot. the time depends on yr memory size n data. soon a process bar will appear indicating the boot process. if still this doesnt work. try formating the phone. but this ways u lose all data on the phone (unless u backed it). relax! the data on the memory card is safe.
-
Change in Normal list when i execute Report in Background.
Hi all ,
When we execute the Report in background a normal list will be displayed in the spool. In that Normal
list is it possible to shift the columns that are displayed at the last to be displayed at the beginning.
Regards ,
MurthyHi,
Yes you can do that.
You can determine the program is runing in background mode by using system variable SY-BATCH = 'X'.
If SY-BATCH = 'X'.
Then you can shift the column of internal table.
Endif. -
Menu bar problem when executing reports
We have a problem when executing the reports either from se38 or through transaction.
The standard menu bar is not appearing and in its place we are getting ????????????? ?????????????????
also the icons that are appearing in app tool bar are not showing anything.
Whats the reason for this?hi,
It is not for one single report iam talking about,any report that is executed from se38 or transaction .
In selection screen of report we are getting ???????????????
?????????????? in menu bar instead of normal options like program edit goto utilities.................
does any one know the reason for this?
This issue we are facing today only.
Edited by: Gautham chakraverthi on Oct 31, 2008 3:06 PM -
Creating spool for ALV report in background
Hi,
Can we create a spool request if we run in background/forgorund? please help me..
I am very much thankful for your quick responses.Yes we can create it. Execute the report in background using SM36 and then u can view the output using SM35 or the spool request number and tcode SP01.
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers -
Report Painter: Error RG102 when executing report
Hi All!
I need help with an error I'm facing with Report Painter...
When executing a report with a large amount of variables and columns I'm receiving the error:
Message no. RG102: Syntax error in GP3NDZHLG3MURI7VJEVF29KI876800, row 0
If in the General Data Selection instead of using a Variable for the Version I use a fix value, it works OK. However, other reports are working properly with the same Gen. Data Selection.
Does anyone has an idea of the cause of this report?
Thanks!Hi All,
I will try to clarify a little bit on my Issue.
First of all, it's not a BW issue, but a Reporting Problem with the Report Painter for the Consolidation (EC-CS).
The row is configured with a Set of Data regarding a Consolidation Item that includes all the P&L Accounts. It is configured to 'Expand'.
Regarding the columns, I have a large number, between 40 and 50 mixing Ratio with Characteristics and Formulas. Within them, I'm using as well variables for Period, Consolidation Unit and so on.
In the Selection Screen I have configured the following paramters
Version - 100
Dimension - T1
Cons chart/acct - C1
Ledger - US
Cons group (Set and Variable) ZSETUNV
Year for CG breakdwn (Variable) ZEJERAM
Period for CG breajdw (Variable) ZPERAM
With all the above-mentioned configurations the report works great. However, if in the Selecion Parameteres I try to replace the Version (Instead of having fix value 100, to have a variable ZVER) in order to deal with several versions in the same report when I save and execute I receive the posted error:
Message no. RG102: Syntax error in GP3NDZHLG3MURI7VJEVF29KI876800, row 0
Does anyone has an idea if there is a Maxium of Variables for Report Painter or any idea which may be the origin of this error?
Thanks again! -
Executing Report in Background
Dear All,
I have a report with more than 400 characters in width. If it is executed in foreground the report is properly displayed but if the report is executed in background, the generated spool only displays upto 255 characters.
Is there a way to execute the report in background and make sure that the spool is generated with required width?
Regards,
AnoshHi Sharabh,
I have tried printing it after unchecking the "spool request max 255 characters width" option. Still the generated report does not show the report upto 400 characters.
Can you please suggest some other solution or maybe provide a way to define our own printing format?
Regards,
Anosh -
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 -
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 -
EXCEL attachment as EMAIL to USER - When USER executes REPORT in BACKGROUND
Hi Friends,
I have 10 records in Internal Table. In BACK GROUND execution, I have to send this 10 records as EXCEL attachment through EMAIL to the USER who executed in background.
How to do this? Thanks in advance.
Regards,
Viji.hi,
the following excerpt converts to excel:
REPORT ZEX_DATATOEXCEL .
Parameters: P_file like RLGRAP-FILENAME.
data : begin of int_head occurs 0,
Filed1(20) type c, " Header Data
end of int_head.
data : begin of int_data occurs 0,
Field1(20) type c, " Data
Field2(20) type c,
Field3(20) type c,
Field4(20) type c,
end of int_data.
int_head-Filed1 = 'Sales Ord'.
APPEND int_head.
CLEAR int_head.
int_head-Filed1 = 'Sold-to-Party'.
APPEND int_head.
CLEAR int_head.
int_head-Filed1 = 'Purchase Ord'.
APPEND int_head.
CLEAR int_head.
int_head-Filed1 = 'Ship-to-Party'.
APPEND int_head.
CLEAR int_head.
int_data-field1 = '1JOHN'.
int_data-field2 = '2TOM'.
int_data-field3 = '3BRAD'.
int_data-field4 = '4PETER'.
Append int_data.
Clear int_data.
CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'
EXPORTING
file_name = p_file " path offile where u need to download
* CREATE_PIVOT = 0
* DATA_SHEET_NAME = ' '
* PIVOT_SHEET_NAME = ' '
* PASSWORD = ' '
* PASSWORD_OPTION = 0
TABLES
* PIVOT_FIELD_TAB =
data_tab = int_data "internal table with data
fieldnames = int_head "internal table with header
EXCEPTIONS
file_not_exist = 1
filename_expected = 2
communication_error = 3
ole_object_method_error = 4
ole_object_property_error = 5
invalid_filename = 6
invalid_pivot_fields = 7
download_problem = 8
OTHERS = 9
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
got it from
http://abaplovers.blogspot.com/2008/05/abap-internal-table-to-excel-sheet.html.
then you can export to spool and mail it.
ags. -
Problem when execute report Conversion Tool XI 3.0 on a client
Hi everyone,
When I use Report Conversion Tool on a client (not on Webi Server Windows 2003) I have an error (a red cross appears) before the conversion.
I believe that RCT can not open the document to migrate.
All it's OK when I use RCT since the Webi Server.
Any help will be appreciated.
ThanksHi,
Thank you for your prompt response.
I have install all the client tool (even SDK, Query Web Service) except Assitant migration source de données, Gestionnaires Vues d'entreprise et Gestionnaire de traduction.
I think I have a problem of rights on my Windows 2003 Server because in the log of conversion (C:Documents and SettingsUtilisateurLocal SettingsTempconversionUSER146731693logsD30860242.xml)
the following lines are written :
Note that I do the conversion with the Administrator login.
Maybe you are looking for
-
SQL Report Builder 3.0 Automatic Scheduling feature ?
Hello All, We have installed and commissioned a HMI SCADA solution for Shell Petroleum South Africa, We are using Copa Data Zenon for our HMI solution, Zenon's historian are writing variable values into a SQL database from where we are reading these
-
Cant close Firefox and have tabs restored on restart using XP. I have tried the solution suggested in the Firefox support menu without success. Is it possible or do I need to find another browser?
-
Extended table printing issues over page break
I have an extended table on a form that may have many rows - multi pages generated from a database. when printing or print pdf - safari and firefox will split a row at bottom of a page and start of next page... page break problem... if i control data
-
Composition of business team in GRC Access control project
Hi Can I get any information about the composition of business team in a GRC access control project? What type of people form this team? Please provide some clarity on the role of business people in this type of projects. Regards Abhijeet
-
Error message with XL reporter
When running the installer, these 2 error messages appear. Has anyone come across this, and can shed some light on it? 1st: "needs SAP Business One DI SDK" - (SDK and DI API are installed) 2nd: "Add-on executable file not found" - (Add on registered