Printing an ALV Report: Header to be printed on first page only
Hi All,
I was just wondering if there's a way such that the header of an ALV report appears on the first page only when the report is printed out?
Thanks for your replies.
Edited by: Chris Estanislao on Sep 21, 2010 4:22 AM
Hi Chris,
Which ALV technique will you use to print out?? (LIST, GRID or something else...).
Please give us more information.
Thanks,
Similar Messages
-
ADOBE Form printing terms and conditions back side of first page only.
Hi ,
Please let me know how to print only on first page back side in the adobe. I have multiple pages data flow. But i have to print Conditions on the back side of first page only.
Thnaks in advance.
Hema.Hello Hema,
Create a master page set. One for front page and other for back page.
Make your hierarchy as Front Page - Oddpages
Back page - Even Pages
in placement options use, for first page only.
Thanks,
Rakesh -
Uncheck the Headers (and Footers) settings in the Document Inspector.
Enter the 'header information' directly on the first page, or put it into a text box. There's no need to use Headers if you want the information on only one page.
Regards,
Barry -
Logo is not printing in ALV report
Hi all,
I have to print logo in the O/P list of an ALV report. for this i have written the code like......
FORM TOP-OF-PAGE.
wa_listheader-typ = 'H'.
wa_listheader-info = 'This is an ALV report'.
append wa_listheader to it_listheader.
CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
EXPORTING
it_list_commentary = it_listheader
I_LOGO = 'ENJOY'.
endform.
and i have passed this TOP-OF-PAGE to I_CALLBACK_TOP_OF_PAGE .Here my problem is the logo and list heading also not getting printed in the o/p, but list is coming...pls help me out...
Thanks & Regards.
Laxman.P
B'lore.
ENDFORM.Hi,
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = i_repid
i_callback_user_command = 'USER_COMMAND_PERNR'
it_fieldcat = header
is_layout = gt_layout
i_callback_top_of_page = 'TOP-OF-PAGE1'
i_grid_title = xyz
it_sort = gt_sort[]
i_default = 'X'
i_save = 'U'
is_variant = gt_variant
it_events = gt_events
tables
t_outtab = t_output.
clear t_output.
Form TOP-OF-PAGE1
form top-of-page1.
data: header type slis_t_listheader,
wa type slis_listheader. "infield like wa-info, nline type n.
TITLE AREA
wa-typ = 'S'.
wa-info = text-h04.
append wa to header.
wa-typ = 'S'.
write sy-datum to wa-info mm/dd/yyyy.
concatenate text-h03 wa-info into wa-info separated by space.
append wa to header.
wa-typ = 'S'.
concatenate text-h02 sy-uname into wa-info separated by space.
append wa to header.
wa-typ = 'S'.
concatenate text-h01 sy-repid into wa-info separated by space.
append wa to header.
********" LOGO
call function 'REUSE_ALV_COMMENTARY_WRITE'
exporting
it_list_commentary = header
i_logo = 'ENJOYSAP_LOGO'.
*********" LOGO
endform.
refer this report
<b>
BALVST03_GRID</b>
<b>Reward points</b>
Regards -
Print an ALV report in A3/A4
How to print the output of an ALV report in A3 and A4 size. The number of columns in the report are 49. Also the headings of the columns is too long, is there any way to word wrap these headings in to multiple lines?
You can customize printer with this formats but you can't establish more than one header in ALV
-
When 'PRINT' in ALV report using FM
Hi
I am getting an error when trying to execute and print option in the selection screen. my client system version is 4.6C
in the dump the error at :
I am using FM at my report.
set_auto_redraw(cl_gui_alf_grid_base)
can you provide code for when 'PRINT' rs_selfild (dynamic form) for resue*grid_display
ThanksHi Dana,
This thread answers ur question..
alv REPORT PRINTING
cheers,
Prashanth
P.S Please mark helpful answers -
Unable to print Complete ALV report
Hi All,
I have made an Object Oriented ALV report .
When I try to print the ALV output I get a warning message "Unable to print last 25 records ."
Any suggestions to remove that message !
Regards,
Mukul Sharma.This could be an Formscentral issue, the expected behavior is when you click "generate summary report" button, if the form has no responses, it will show "your form has no responses." UI with Test Form button. if the form has at least one response, the report should be generated for you.
One of such templates is "Training Feedback", "generate summary report" button is on Summary Report tab since this template only have plain text field and an data field.
Would you mind share your form with me([email protected]) if you don't see upon "expected" behavior.
Thanks,
Pengpeng Sun -
Hi ..
Is there anybody knows alv report can be printed on microline printer (continuous form) . I tried but all column lines are displayed as # .Hi,
Howabout other type of reports?. Are they printing correctly in this printer?.
If not, I guess the problem is with driver. Check with your basis people to create a new SAP custom printer for micorline printer. It would resolve your problem.
Thanks
Viswa -
Print ALV report Directly - without the Print Parameter POPUP
Hai All,
I want to print a ALV directly to the printer without the Print Paramter POPUP.
I passed on IS_PRINT parameters in the FM 'REUSE_ALV_LIST_DISPLAY'.
But still i am getting the popup.
How to do this.
It is urgent .
Kindly help me solving this.
Vikki.Hi,
i have passed IS_Print-Print = 'X'.
But even after that i am getting the print parameter popup.
IS there any other way to handle this. TO SUPPRESS THE PRINT PARAMETER POPUP.
Please guide me.
Waiting for ur replies.
Vikki. -
ALV report - fields do not print on same line
I am working on an ALV report now. And I was trying to download the report using the buttons.
When I download the file (Local File Button) and then try to view it, all the fields are not on the same line.
Say for example, if i have 75 fields, half appear on the first line and the other half appear on the second line.
But when I try to view the file in excel format using ctrlshiftF7, it looks perfectly fine (All the 75 fields lie on the same line).
And also when I right click on the report and save as .mhtml, it looks good (All the 75 fields lie on the same line).
How can this issue be fixed? Is it something to do with the code?
Please let me know, if anybody else had a similar issue and as to how it was resolved.
I would greatly appreciate your help. Thank You.I am not very clear about your problem.
What i understood is that you are downloading the file (I beleive as unconverted) and than opening it in NOTEPAD and you are getting one record in 2 lines. If yes than try to uncheck the Format-> word wrap in the menu in Notepad. -
How to print formated data/report on client's printer (Web Application)
Hi All
I want to print some formatted data/report ( it might be 1000 pages) on user's printer.
Application is web based
Technology used are Java - jsp - servlets
i want functionality like...
when user click on print button/link, data is fetched from server and all pages (it is formated data so i want alignment on page while printing) should be printed one after another.
Also printer selection dialog should displayed one time when user click on print button/link.
Questions:
1. How i will transfer all data to client (web browser) from the server ??
2. And how i can print that data on user's printer ??
There is requirement (or limitation) that I can not use applet for this purpose.
And also it is not fix that we must use java tech., we can use any othere tech. but condition is that it must support multiple platform (in short platform indipendant)
There is solution like ...
I can use window.print() function of DOM/JavaScript,
but it prints only one page which is displayed on browser.
I don't want to display any page. and want to print all pages.
if any one done or have idea then let me know.
Thanks in Adv.
Shailesh Koradiyathanks linxpda for reply,
we can use ActiveX component for windows platform for printing purpose, same way we can use platform specific component for printing... (for linux, unix, sun solaris etc...)
if it is possible then let me inform.
Thanks,
Shailesh Koradiya -
Hi to all
I am preparing a ALV report.
In which I want to display the values which are entered on selection screen.
On the selection screen these are the fields :
s_werks for pa0001-werks
s_orgeh for pa0001-orgeh
I am successful to capture one value (s_orgeh-low) but if multiple values are selected then how to display.
Plz guide me...Hi,
try like this..in the belwo code first FM captures the selection screen fields and the second function mdoule dispalys them in the output.
DATA :
Internal table for Selection screen parameters
i_seltable TYPE STANDARD TABLE OF rsparams.
*& Form get_selection_screen
Subroutine to get the user selection on selection screen
FORM get_selection_screen .
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-repid
TABLES
selection_table = i_seltable
EXCEPTIONS
not_found = 01
no_report = 02.
IF sy-subrc NE 0.
REFRESH i_seltable.
ENDIF.
ENDFORM. " get_selection_screen
*& Form display_selection_criteria
Subroutine to display the selction criteria in the output
FORM display_selection_criteria .
CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
EXPORTING
report = sy-repid
seltext = c_x
newpage = space
TABLES
sel_tab = i_seltable
EXCEPTIONS
sel_tab_empty = 1
OTHERS = 2.
IF sy-subrc <> 0.
REFRESH i_seltable.
ENDIF.
ENDFORM. " display_selection_criteria
Regards,
Nagaraj -
Printing of Crystal Report in LX300 Epson Printer
Anyone tried printing using LX300 printer? did anyone encounter problems in printing?
Edited by: Michael Litiatco on Jan 30, 2009 6:27 AMPlease check this thread to find different opinion regarding it:
Re: best printer for SAP B1 PLDs
Thanks,
Gordon -
Invoice Footer printing on every page of invoice instead of first page only
Hi,
I am working on an AR invoice report. I have a RTF template (template is 1 page only) and the output is PDF. The invoice has invoice header ( bill to , pay to ) and invoice line details. On the bottom of the first page of every invoice , I need to show the "customer address" and other details such as "total amt , customer no etc".. If the invoice line details overflow , only that information should be printed on the next page..
Right now , I have put the portion which needs to be displayed only on the first page in the "footer" section of the RTF. Due to footer , it gets repeated on every page of invoice..
I tried to get the current page number(<fo:page-number>) and compare it to 1 , but somehow its giving me syntax eorror...
Can someone please provide me directions on how to do this.. I can send the template and XML data if needed...
ThanksDo you have any solution for this problem? I am facing the same for A/C Statement.
thanks -
ALV report that changes depending on Top-of-page info.
Hi,
The requirement is to create an ALV Grid Report that has a one of its field (say company code) in top-of-page. The values in ALV grid should be grouped for the company code. When the values for one company code end, the report should go to next page and have a next company code in top-of-page with its corresponding data.
While I know this can be done in classical report, I have not seen any example of ALV report for it. The solution to this could be just to have company code as one of the fields in ALV Grid and sort. But the client is unrelenting.
Please suggest.
Edited by: siddhesh kandalgaonkar on Jun 23, 2010 2:00 PMSiddhesh,
You could define buttons / controls ... called 'next comp code' and 'prev comp code', and then in the events for these controls you could re-populate the alv data table with the data for each company code each time a button is pressed.
Hope this helps ...
Duane
Maybe you are looking for
-
Disc burner and software not found
i have this problem after updating itunes. i had demon tools, but i uninstalled it. i also turn on my cd/dvd burner on from power save mode. it still says the same error. how do i fix it?
-
Hello; We are trying to gather "best practice" information to convince the business to STOP putting the invoice in the carton (along with the packing list and goods shipped). I would greatly appreciate feedback if your place does or does not do this
-
Is there a Ripple-"cut" function in FCE?
Hi- This is something I have been battling for a while. I am pretty sure no such thing exists, but here goes: In the past, when I have simply wanted to move one clip to another place in the timeline, I have had to +1. copy it+ +2. Ripple delete it+ +
-
RAW files showing up grainy in Photoshop
Just recently when I open RAW files in Photoshop they've been appearing with a LOT of noise, but in Camera RAW, or windows photo viewer they look fine. I think I messed up a setting somewhere in Photoshop. Any ideas?
-
Want to email and fax Remittance Advice
I want to email or fax Remittance advice after payment run. Does anyone know how to configured this ?