Classical report printout problem
Hi
Classical report printout is coming landscap while i want it to come in portrait.
Any idea ???
Mani
Change Print Format through Properties Button on the Print Popup which comes when you press the Print Button..
Thanks
Amol Lohade
Similar Messages
-
Hi,
I created a classical report in that the output which display i want to take a printout.here i my case if i give print it is not taking.even i tryed in the SP01 it created a spool request only i cannot take the printout.so hoe to solve this issue
Thanks,
Rajendra.Hi,
Some one help me to get the printout of my report.i tryed above all methods like when i give a print it asking the output device i given lp01afthe that i got the message Spool request (number 0000017933) created without immediate output.then open the transaction SP02 and tick that spool no and again i given the print here.then i got the message output request created.but i cant get the printout in my printer.But other files in PC i can take printout wityhout any problem.pls help me to solve the issue.
Thanks,
Rajendra. -
I have a classic report that retrieves data based on the value in an item. When the page first opens the report retrieves properly. However, the strange thing is when I try to sort the rows by pressing the column header, I receive "No Data Found".
The report is just very basic. Selecting a few columns from a table where ID = :P3_ID.
If I change the where clause to be WHERE ID like '%' || :P3_ID, when it initially retrieves, I receive the data for the value in P3_ID. However, when I sort the report by a column header, it retrieves everything. It is as if P3_ID has been set to NULL or a blank eventhough it displays the proper ID.
Any ideas?
Thanks,Hi Brian,
see the following thread Interactive Reports: problem with textfield as parameter for an explanation
Patrick
*** New *** Oracle APEX Essentials *** http://essentials.oracleapex.info/
My Blog, APEX Builder Plugin, ApexLib Framework: http://www.oracleapex.info/ -
Print LOGO in classical report printout
Hi GURUS,
Is it possible to take print of logo in classical report.refer this link:[click|http://tinyurl.com/5s22vp]
the code is copied from that link.
Make the changes in the code as given below.
REPORT zgb_prog06.
* START OF DO NOT CHANGE***********************************
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c .
DATA: query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i.
* END OF DO NOT CHANGE*************************************
DATA : sum(4) , num1(4) , num2(4).
PARAMETERS: p_dummy(4) DEFAULT '4' .
PARAMETERS: p_dummy1(4) DEFAULT '5' .
AT SELECTION-SCREEN OUTPUT. "Remove this event
START-OF-SELECTION.
write 'Testing picture printing in classic report'.
PERFORM show_pic. "Add it here
end-of-selection.
*& Form show_pic
FORM show_pic.
DATA: repid LIKE sy-repid.
repid = sy-repid.
CREATE OBJECT picture_control_1 EXPORTING parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>DISPLAY_MODE_FIT.
CALL METHOD picture_control_1->set_position "change positions
EXPORTING
height = 70
left = 800
top = 20
width = 190.
*CHANGE POSITION AND SIZE ABOVE***************************
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
*CHANGE IMAGE NAME BELOW UPLOADED IN SWO0******************
query_table-value = 'ZLOGO'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
*Syntax for URL
*url = 'file://D:\corp-gbanerji\pickut\cartoon_184.gif'.
*url = 'http://l.yimg.com/a/i/ww/beta/y3.gif'.
ENDFORM. "show_pic -
I am facing the problem when we are taking printout of multiple invoices ( each record in one page ) using telnet.
Main problem is that it is skipping to next page after printing the each invoice.
That too it is not skipping entire page, but it is printing at the end of the next page.
Page break ( Printer Control Character is coming into the next page).
But it is coming page by page properly in the ORACLE 6i Reports viewer.Hi Suri
The problem is not with the Report i believe its with the Printdef file in solaris
Go to the printer directory and look for printdef file and u got to modify certain parameters
i think the Administrator should help u out in this regard
Sri
I am facing the problem when we are taking printout of multiple invoices ( each record in one page ) using telnet.
Main problem is that it is skipping to next page after printing the each invoice.
That too it is not skipping entire page, but it is printing at the end of the next page.
Page break ( Printer Control Character is coming into the next page).
But it is coming page by page properly in the ORACLE 6i Reports viewer. -
Classical Report Display Problem
Dear Experts,
I hv created a report for service order detail which contains lot of columns. To display i hv written following code:
format color 3 intensified off.
WRITE: /1(880) sy-uline.
WRITE: /1 sy-vline,2 'Sl.No.' color 3,8 sy-vline,
9 'Maintenance Plan' color 3,25 sy-vline,
26 'Notification No.' color 3, 42 sy-vline,
43 'Order No.' color 3, 54 sy-vline.
*bold* SET LEFT SCROLL-BOUNDARY.
WRITE: 55 'Order Description' color 3, 96 sy-vline,
But when i run the report and scroll horizontally, it scroll to left but also display the first character of column of order description like 'O' and and all rows of the same column.
Can anyone help me in this.
Regards,
MaverickHi
Try
SET LEFT SCROLL-BOUNDARY COLUMN 54.
Pushpraj -
Interactive report search features in Classic Report
Hi,
We have generate a report based on a dynamic query (columns,tables and where condition everything will be dynamic at runtime). As we can use only sql queries to create Interactive report, we are populating collections with our dynamic query and using that collection to create Interactive report. But there are lot of limitation with this approach (only 50 columns we can display, number and date columns are stored in character columns of collection as we don't have control on populating collection's number columns using api apex_collection.create_collection_from_query and clob columns are truncated to first 4000 character).
If we can paint the features like search,filters,select columns of Interactive report in classic report, our problem will be solved.
Is there anyway we can get these Interactive report feature in classic report.? or any other work around is available to overcome the apex collection limitation? Any idea on this will be very helpful.
Thanks in advance.
Nithyarajan MHi User,
ya, Jitu is right.
Create a region "Search'
and Create a text field page item like P1_REPORT_SEARCH and also create two buttons like
P1_GO and P1_RESET and after that
Create two process for it
<li> one is of Reset pagination process with condition type: request is contained within the expression1, and in expression1 give this: GO,P1_REPORT_SEARCH,RESET(process point- on submit after computation)
<li> second process is of type clear cache for items(ITEM,ITEM,ITEM)
Source : P1_REPORT_SEARCH
condition type: Request = Expression 1
Expression 1 = RESET
May be this will help you out.
Regards,
Mini
If this answered your question, mark appropriately. -
How to print logo in printout using classical report.
Hello Friends,
By using below code i am displaying logo in output using Classical report.
What my problem is it is not displaying in print out.
Please help. or else tell me how to print logo in classical report as well as output print out.
DATA: docking TYPE REF TO cl_gui_docking_container,
picture_control_1 TYPE REF TO cl_gui_picture,
url(256) TYPE c ,
query_table LIKE w3query OCCURS 1 WITH HEADER LINE,
html_table LIKE w3html OCCURS 1,
return_code LIKE w3param-ret_code,
content_type LIKE w3param-cont_type,
content_length LIKE w3param-cont_len,
pic_data LIKE w3mime OCCURS 0,
pic_size TYPE i,
repid LIKE sy-repid.
repid = sy-repid.
START-OF-SELECTION.
CREATE OBJECT picture_control_1
EXPORTING
parent = docking.
CHECK sy-subrc = 0.
CALL METHOD picture_control_1->set_3d_border
EXPORTING
border = 5.
CALL METHOD picture_control_1->set_display_mode
EXPORTING
display_mode = cl_gui_picture=>display_mode_stretch.
CALL METHOD picture_control_1->set_position
EXPORTING
height = 100
left = 700
top = 1
width = 200.
"Position
IF url IS INITIAL.
REFRESH query_table.
query_table-name = '_OBJECT_ID'.
" Logo Name
query_table-value = 'ENJOYSAP_LOGO'.
APPEND query_table.
CALL FUNCTION 'WWW_GET_MIME_OBJECT'
TABLES
query_string = query_table
html = html_table
mime = pic_data
CHANGING
return_code = return_code
content_type = content_type
content_length = content_length
EXCEPTIONS
object_not_found = 1
parameter_not_found = 2
OTHERS = 3.
CALL FUNCTION 'DP_CREATE_URL'
EXPORTING
type = 'image'
subtype = cndp_sap_tab_unknown
size = pic_size
lifetime = cndp_lifetime_transaction
TABLES
data = pic_data
CHANGING
url = url
EXCEPTIONS
OTHERS = 1.
ENDIF.
CALL METHOD picture_control_1->load_picture_from_url
EXPORTING
url = url.
WRITE : /'Classical Report Logo'.
Regards,
Phaneendra
Edited by: phaneendra punukollu on Dec 31, 2009 11:38 AM
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 4:52 PMHello Nidhi,
Thanks for your sugessition.
Actual we have data from IDOCS and it is maintained in Ztables
and need to dispaly in report ( Service centre - Warranty data ).
The report is completed. So again going to Script means waste of time for us.
So Plz help me if possible in Classical report.
Regards,
Phaneendra -
Problem with download link for a BLOB Column in a "Classic report"
I am having a problem where I cannot make a download link for a blob column function in a "classic" (non-interactive) report. I went through the tutorial on this topic and it was great help it working out the minor bugs, but I get a 404 error (apex_util.get_BLOB not found). For testing purposes I went ahead and created a an identical report on the same page that is an "Interactive report" and it works like a charm. Same query, same BLOB formatting Mask, pulling data from the same table. So, it really doesn't seem like an issue with the grants, since both reports should be executing as the same user.
I know it sounds like the obvious answer is to just go with the interactive report and my problem is solved, but the rest of this site uses classic reports, and I don't need the sort features of an interactive report, and the slightly different style of the the report really stands out even if I turn off all the bells and whistles. I don't want to change the css to make them look identical, I just want a regular report to work.I eventually found another post: APEX_UTIL.GET_BLOB was not found on this server
In this post there is the suggestion of putting "dbms_lob.getlength("var")" after the date field in your select. So I changed my query to have it at the end, and now my format mask (DOWNLOAD:table_name:ATTACHED_FILE:FILE_ID::FILE_MIME_TYPE:FILE_NAME:::attachment:Download) works like a charm, in a classic report. -
Problem in getting previous screen in Classic report.
Hello everyone,
I am facing a serious problem in getting the previous screen in classical report.
let me tell you in detail.
When i run the report, i will have a selection screen with some checkboxes and select-options. Now in the report i have functionality to get some more select-options from user selection. Here i am calling the pop-up screen, wherein if user selects checkboxes, then those fields will be visible on the default selection screen.
To display them i am using Modif-id concept. Depending on the checkbox values, i am setting up the variables. Using those variables i am modifying screen.
Now suppose user has got some extra fields and run the report. It will get the output in the desired format.
Now the problem is when i am pressing 'BACK' button on the report output. The fields which are appended using modif-id are getting cleared. After that what i have is only the default selection-screen.
I want those fields to be restored. How do i go for it. Please help me out.
thanks in advance.Hi thanks for reply.
Actually code is too big to post. But have you understood my problem. Some part of code ia am sending.
AT SELECTION-SCREEN OUTPUT.
IF SY-UCOMM <> 'ONLI' AND SY-UCOMM <> 'FLDS' AND SY-UCOMM <> 'OK' AND
SY-DYNNR <> '0100' AND SY-UCOMM = ' '.
LEAVE TO SCREEN 1000.
ENDIF.
Now i want to know, whether i could get bcak those fields which which are appended using Modif-id,
how do i get the information about screen fiedls which was there after leaving the screen.
Thanks. -
Problem in classical report.
Dear all,
I am facing a problem with alignment in one classical report.
Requirement is debit ,credit amount's sum will at end of every g/l as new line.
Text will be closing balance - then amount.
My amount & text is coming ,but not properly.
All document will come & then closing balance will come as new line with ULINE.
Code part is: -
SORT it_bsas by hkont.
LOOP AT it_bsas INTO wa_bsas.
if wa_bsas-shkzg = 'H'.
WA_OUT-DMBTR = WA_BSaS-DMBTR.
WRITE : wa_out-dmbtr UNDER f LEFT-JUSTIFIED.
lv_sum1 = lv_sum1 + wa_out-dmbtr.
ELSEIF wa_bsas-shkzg = 'S'.
WA_OUT-DMBTR1 = WA_BSaS-DMBTR.
WRITE : wa_out-dmbtr1 UNDER g LEFT-JUSTIFIED.
lv_sum2 = lv_sum2 + wa_out-dmbtr1.
endif.
at END OF hkont.
ULINE at /93(50).
WRITE : /93 'Closing balance' ,
109 lv_sum1,
127 lv_sum2.
ULINE at /93(50).
CLEAR lv_sum1.
CLEAR lv_sum2.
endat.
Any help in this?Then use the same code as you are using to output dmbtr
WRITE : lv_sum1 UNDER f LEFT-JUSTIFIED.
WRITE : lv_sum2 UNDER g LEFT-JUSTIFIED.
Would recommend using pre-sorted ALV with sub-total on these amount fields
Regards -
Downloading problem in classical report
Hello Experts,
I had made one Z classical report. The output of the report is absolutely perfect.
The problem is when I am downloading this file as spreadsheet or HTML formatt, then the Item level data is coming one column forward.
Like, suppose these are four columns of my report,then in excel sheet data is appearing as:
S.no Ref no. date name
1 900556 22/11/2011 ABC
2 900567 22/11/2011 XYZ
But the data in output of the report is showing correctly.
How should I correct this.
Please help.
Edited by: shubh_ag on Nov 22, 2011 1:18 PMHi shubh,
Use concatenate and pass all the header data into one string. Use cl_abap_char_utilities=>horizontal_tab
In your case
Concatenate
u2018S.Nou2019 cl_abap_char_utilities=>horizontal_tab
u2018Ref NOu2019 cl_abap_char_utilities=>horizontal_tab
Into w_string
cl_abap_char_utilities=>newline
into text.
For item data also use same procedure.
Structure-s.no cl_abap_char_utilities=>horizontal_tab
Into text.
And use the below function
call function 'SCMS_STRING_TO_XSTRING'
exporting
text = text
importing
buffer = xtext. wdr_task=>client_window->client->attach_file_to_response(
**path to the word file
i_filename = 'WDP.xls'
String Variable
i_content = xtext
File Type
i_mime_type = 'EXCEL' ).
Thanks are Regards.
sivaram Patruni. -
Formatting problem when downloading classical report output to excel sheet.
Dear Experts,
My classical report o/p looks like:
SI Name ID
1 xyz 11
2 abc 22
3 eet 33
4 jnc 44
When I download the same to a excel sheet from List->Save->file->Spreadsheet and save it.
The formatting looks like this:
SI Name ID
1 xyz 11
2 abc 22
3 eet 33
4 inc 44
That is the heading and column entries are in different columns.
There is no GUI_Download used.
Kindly help what may be the issue.Hi,
In the report output the formatting looks fine. It is exactly below the heading. But only when I save it to excel, this alignment issue is coming. Even the columns after this column are are properly aligned and there is no issue at all. Only this column in the middle has issue. -
Footer problem in classical report
Hi experts,
I devloped a classical report but i want to display a footer deatail in all of my page.
But in my last page it doesn't come......
NOTE : i have reservered 12(2) line for each page. but total record is 100.
Regards
skmohantyHi,
I am hope this answer is very helpfull to u..
Declare one variable like
DATA: V.
V = sy-linct - sy-linno - 2.
skip V.
plz this code write after the endloop and before the end-of-selection
Thanks&Regards
Hari.. -
Dear abapers,
I hav one classical report(basic report).
In that i need FGDM as print in background shade in cross in A4 size paper
in big letters, will it possible.
can any body tell in clasical report can we increase font size.
thanks in advance.
Regards,
Simha.Dear abapers,
I hav one classical report(basic report).
In that i need FGDM as print in background shade in cross in A4 size paper
in big letters, will it possible.
can any body tell in clasical report can we increase font size.
thanks in advance.
Regards,
Simha.
Maybe you are looking for
-
How do I listen to mp3 audio files on my iPhone 4s?
I have recently purchased and downloaded some mp3 audio files onto my personal computer. I was able to transfer them to my itunes library. I now want to listen to them on my iPhone 4s. How do i do this? If I go to the itunes store application, i
-
StarOffice for work management
I just started to use StarOfficeDrawing7.0 to make a schedule. My effort failed and I abandoned the effort because I could not establish the drawing size, reading the book, using the help or surfing the commands atop the drawing screen. So here is my
-
Which printer brands work best with Mac?
Well, it sounds like my HP LaserJet 3015 will not duplex with my new Mac (only with PCs, I guess), so I am going to need a new printer. Does anyone have suggestions on which brands of printers work well with the Mac? Thanks in advance...
-
Seeking a way to export animation data as Mocha tracking data.
Hello, I am using an online program for customized video which accepts MochaAE corner pin data to track the custom elements. The catch is that the source video is a motion graphic animation which I created in After Effects, so tracking elements that
-
Is the pixel dead or stuck?
i read on one link that only stuck pixels can be fixed and not dead ones. how does one know if the pixel is dead or stuck? on my screen, its black, is show up on mac as well as xp. Neerav