Printing issue of report output
Hi Friends,
I am trying to print a report having one record but getting printed two pages instead of one.
The first page contains the output data and second page contains 'Data statistics and number of records' which can be accomodated in same page but it takes another new page.
Do you have any idea how to print it in a single page ?
Thanks and regards,
BABA
Thanks every one for quick response!
I developped a report to display output in ALV GRID screen.
Select the 'LIST' from menu and then choose 'Print' option, it creates a spool after providing 'output device'.
Then goto transaction 'SP02' select the spool and choose the icon for 'Print directly'.
Then it print the list(Though it has one record) in first page and 'data statistics and Number of records' in second screen.
My requirement is to print the data of second page in first page though it has sufficient space instead of second page.
Thanks and regards,
BABA
Similar Messages
-
Printing issue of report output list display
Dear All,
I need to print the report output display list. So, for this I have used the following code. But it's not printing.
Will you please check the below code and kindly let me where should I change/modify in the code.
START-OF-SELECTION.
SET PF-STATUS 'ZGUI_STATUS1'.
END-OF-SELECTION.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'PRNT'.
DATA: l_params TYPE pri_params,
l_valid TYPE c,
l_arc_params TYPE arc_params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = l_v_usr01-spld
copies = 1
list_name = 'TEST'
list_text = 'Test NEW-PAGE PRINT ON'
immediately = 'X'
line_size = 220
release = 'X'
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_archive_parameters = l_arc_params
out_parameters = l_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
NEW-PAGE PRINT ON PARAMETERS l_params ARCHIVE PARAMETERS
l_arc_params NO DIALOG.
PERFORM display_data.
NEW-PAGE PRINT OFF.
ENDCASE.
Many Thanks,
RanjanDear Amit,
The font size is not increasing, in-fact, if I use the code like the below, it's not even printing, I am checking different ways,
DATA: lay TYPE pri_params-paart,
lines TYPE pri_params-linct,
rows TYPE pri_params-linsz.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'PRNT'.
lay = 'X_60_85'.
lines = 60.
rows = 85.
DATA: l_params TYPE pri_params,
l_valid TYPE c,
l_arc_params TYPE arc_params.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
destination = l_v_usr01-spld
destination = 'LPIN'
copies = 1
list_name = 'TEST'
list_text = 'Test NEW-PAGE PRINT ON'
immediately = 'X'
layout = lay
line_count = lines
line_size = rows
line_size = 220
release = 'X'
mode = 'CURRENT'
no_dialog = 'X'
IMPORTING
out_archive_parameters = l_arc_params
out_parameters = l_params
valid = l_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
NEW-PAGE PRINT ON PARAMETERS l_params NO DIALOG.
PERFORM display_data.
NEW-PAGE PRINT OFF.
ENDCASE.
Kindly let me know if you have some new answer?
Kind Regards,
Ranjan -
Issue in Report output
I am facing strange issue. I have created a BEx query and Executed in Bex analyser. In this output I can able to see * mark as values instead of KF.
Anyone can help me in this.hi,
can you use NODIM functionality and see .
Ravi -
0calweek issue for report output
0calweek issue for report output
I have loaded 0calweek in my infosource.0calweek format is displaying differently
in the report
File : 12005
PSA :12005
ODS : 012005
Cube : 012005
Report: 05/0120
I am loading first to PSA -> Process Manually to ODS -> Cube
I am using 0calweek is SAP Provided object.I am not doing anything in the 0calweek
Please advise on this.
Advance ThanksI solved this issue. I changed the layout everything seems to working now.
-
PDF Print issue in Report designer
Hi All,
I am using Report Designer for formatting group of reports. The issue I face in all is the that when I open the print version of the output in PDF, the words break, for eg: "Department of Biochemistry" will be displayed as "Department of bioc
hemistry". I want to set up in such a way that if the whole word can't fit in one line, then the whole word should go to the next line and not break itself. I see that issue only in Print version whereas when I display the output, that issue doesnot come.
Can anyone let me know what setting I need to do to fix this?
Thanks a lot!!Pls refer to this link for help
http://www.dynalivery.com/customersupport/faq/pdfprinting.html
Please assign points if this was useful -
Printing ABAP List(Report output - SE38) in A3 format
I have a requirement to print the ABAP report in A3 page format. I am using LP01 printer and in in SPAD transcation I Changed the Tab "Output Attributes"
Paper tray = "Paper tray 3" and Tab "Tray Info" Tray 3 = "DINA3" still the report gets print in A4 page format.
Even i tried by changing the lize size and line count...still .... it prints in A4 format only.
Could you let me know what exactly I need to in order to print my report output in A3 Page format.
Waiting for your reply.
Thanks in Advance,
SteevanHi,
Check this below link
http://www.sap-img.com/basis/how-can-i-print-a3-format-in-sap.htm
Cheers!!
VEnk@ -
PDF Printing Issue - Customised Report Layout Error
Hi,
I am trying to get a PDF file output based on the customised RTF file created. I follow the following steps but I am facing an issue with that.
(i) Go to Shared Components > Report Queries.
(ii) Create a new Report query with more than one query.
(iii) Using the XML Data in the Report queries, create a Report Layout (RTF) file.
(iv) Navigate to shared components Report Layout and upload the RTF file.
(v) Once this is done, use the Report Layout created in the Report Queries. Select the Layout name from the Drop Down.
(vi) Click on TEST REPORT, this produces an error: Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded )
Additional Info
The apex instance configured with Embbedded plsql, rdbms version is 11.1.0.7.0 and the BI publisher version 10.1.3.3.
ISSUE DESC
When I use mulitple Queries even after using Generic Report Layout I get the output for the first query alone in the PDF and the remaining Queries are ignored.
And when i use a user defined template, then even If i have a single report query I get the error.
To summarise, I am not able to use the customised Layouts.
I have reproduced the issue in apex.oracle.com
Please log in using,
WORKSPACE: demo_test
USER NAME: [email protected]
pwd: vidhya
After logging in please select the Application Builder.
In that select the Application named PDF.
Select the Shared components > Report Queries
Select the Report Query named test.
Click on the TEST REPORT button in the Source Queries Section.
You will get the error.
Now in the same page in the Report Query Attributes Section change the Report Layout to Use Generic Report Layout and then click on 'TEST REPORT', this will give the PDF file without errors.
The same report has been called from the PRINT REPORT button provided in the page 1 of the application.
This issue is really urgent and critical. Require your inputs/help.
Thanks,
RamyaI' an APEX newbie and believe I am having the same or a similar problem. I am (for now) developing a system using the hosted Apex development system online. I have created a Report Query which works fine with the default layout. I downloaded the XML (tried both sample data and schema) into Word 2007 with the BI Publisher Template Builder. I used the table wizard to create a simple layout containing all columns with no customization at all. Saved as an RTF, uploaded to Apex as a Report Layout, associated it with the Report Query, clicked Test Report -- and I got nothing.
When the is a PDF, I get the same error you mention ( Adobe Reader could not open the <file name> because it is either not a supported file type or because the file has been damaged (for example it was sent as an email attachment and wasn't correctly decoded ). If I switch to an HTML file the out is just a blank screen.
If I switch back to generic report layout, it works fine. This suggests there is something wrong with the template, though it looks fine in Word with the sample data.
I've searched the forums and Google for the better part of a day. What am I missing? -
Print spool during report output
Hi guys,
How can you code submit a spool request for the current abap list output?(as if you click System>List>Print).Just refer:
HOw to generate spool request for alv report -
How to Print Selection-Screen along with ALV Report output
Hi,
I have a requirement wherein i need to also print the Selection Screen of a report when I print the ALV report output.
Basically i need to print the ALV output along with selection screen.
Could you plz suggest me the way.
Regards,
NitinHi,
My selection Screen is a very big one. It contains around 30 select-options.
So is their any standard method in which you can choose whether you want to take the output printout with or without Selection screen.
Regards,
Nitin -
Send a report output directly to client printer in 10G
I want to send my report output to client printer instead of report server printer without view report on screen.
I am using RUN_REPORT_OBJECT built-in, but when I set REPORT_DESTYPE = PRINTER, it send report output to report server printer, I want it on local printer.
regards
Rehan MirzaHello,
<p>Here is a solution by Casey Bowden.</p>
Francois -
Selection Variables display in report output using BEX ANALYSER 7.0
HI All,
I am using BEX Analyzer 7.0 , I want to display the Variables selected in the selection screen, to be printed in the
Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report output.
But in 7.0 analyzer i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
Thanks and Regards,
JosephHi Joseph,
I feel there might be personalization of variables.
After executing the query click on "Change Variable Values" which is on Bex Tool Bar and there click on personaliztion icon and check if any personalizations are there.
Regards
Ravi -
Variables display in report output in BEX Analyser 7.0
HI All,
I am using BEX Analyzer 7.0 , I want to display the Variables selected in the selection screen, to be printed in the
Report Output.when i execute the same query in 3.5 , i am getting all hard coded and selected variable values in report output.
But in 7.0 analyzer i am not getting any filter values.can i know the reason for this ? do i need to do any settings ? how to display all filter values in report output.
Thanks and Regards,
JosephHello Joseph,
Please check where did you kept the restriction in the filter is it in the defalut values or it is in the characteristic restrictions. If the values are in the characteristic restricion it won't display . The values need to restricted in the default option.
Thanks,
Geeta -
ALV Report Output Print issue with more Columns
Hi Experts ,
I'm facing an issue while printing an ALV report which has around 22 columns .If i reduce the column display in the code . I'm able to print but not with 22 columns.. I have used Line-size = 1023 and line-count = 60 , but still the problem persists .
I also searched in SDN with similar issue but managed to get only the above solution which is not working .
Any other ways of doing it , kindly suggest .
Many Thanks,
Kumaran175 characters is the maximum number of characters that can be generated in a line of a spool (next characters are stored on the next line of the spool). When the spool is printed, these line feeds are respected.
What is possible (I don't know) is that ALV chooses its own format type instead of the format type you have chosen when you run your program in background. To check that, just look at spool attributes (SP01). -
Converting simple report output to PDF print layout issue
Hi all,
I am converted one report output to PDF format, it is working fine in one DEV sever, but when we moved it to other server the layout of output preview & font size is not coming properly (as same in DEV server) in the new server. I am using the below code, please check & correct me if anything is wrong.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
copies = '1'
cover_page = space
destination = 'LOCL'
expiration = '1'
immediately = space
mode = space
new_list_id = 'X'
no_dialog = 'X'
user = sy-uname
line_size = 200
line_count = 65
* layout = 'Z_65_230'
layout = 'X_58_170'
sap_cover_page = 'X'
IMPORTING
out_parameters = mstr_print_parms
valid = mc_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
IF sy-subrc EQ 0.
**--Creating Spool Request.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = lv_job_name
IMPORTING
jobcount = lv_job_count
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 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.
ELSE.
**--Submitting the Report & Get the Output.
SUBMIT zpsr_submit_prcng WITH SELECTION-TABLE t_ebeln TO SAP-SPOOL WITHOUT SPOOL DYNPRO
SPOOL PARAMETERS mstr_print_parms
USER sy-uname " User for runtime authorizations
VIA JOB lv_job_name
NUMBER lv_job_count
AND RETURN.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ELSE.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = lv_job_count
jobname = lv_job_name
strtimmed = 'X'
IMPORTING
job_was_released = lv_job_released.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks & Regards
Avish
Moderator Message: Please use code tags when pasting code snippets. Also paste relevant portions of the code
Edited by: Suhas Saha on Jul 13, 2011 3:05 PMDear Alexander,
Thanks for the reply.
In this I am using the FM 'CONVERT_ABAPSPOOLJOB_2_PDF'. I have checked the settings from SPAD that is also same in both servers for particular output device. But the patches are diffrennt in both the servers, the server from which layout is not coming properly having the high level patches in compare to the other server(which is working fine). -
Report output different when sent directly to printer
I have a report that if formated for 8.5 x 11 paper and has an address at the bottom of the page. When the report is generated as a pdf the address is in the corrent postion. When the report is sent directly to a printer from the report server the bottom 2 inches of the report are not printed. If i send the pdf version to the same printer it prints correctly.
Any help with this issue would be greatly appreciated.Thanks for your answer, Ramachandra!
However I need some more specific information to solve this.
Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?
Maybe you are looking for
-
Cisco Transport Manager 8.0 to 9.2 (oracle license)
Dear all, I have to upgrade CTM8 to CTM9.0 and I would like to know if I need Oracle 10 license too. Any helps, would be appreciate Thanks and best regards. Leonardo
-
Error while using BAPI_SHIPMENT_CHANGE?
Hi all, I am using BAPI_SHIPMENT_CHANGE to change shipment details like FwdAgent , GC / Way Bill N and Dead Line Tab from Planning to Shiment end. I am getting following error... in BAPI Return .. Action table and data table have different numbers of
-
Photo count on itunes library won't go down HELP?!
Whenever I sync my phone, the photo count won't change. It's keeps showing I have 764 when I only have 615 in my camera roll and I don't have any photos synced from my iPhoto onto my phone either. I have no idea how to fix it or what is going on.
-
Bruning CDs where the files are in specific places and there are images
I have bought a few CDs for OS x from the store and I notice that some of them having images in the background and the files are in a certain location within the window and there is even text. I am sure this is not possible with Tiger alone though I
-
Leaving BT, but what about my hub?
What happens to my Hub & hub phones. Do I have to send them back or do I keep hold of them? Not much point in me hanging onto them, but BT have said nothing about me handing them back. Can anyone give me the official line please. Cheers JR