Printing using FM REUSE_ALV_GRID_DISPLAY
Hi experts,
how to set the printing option using funtion module 'REUSE_ALV_GRID_DISPLAY'. i know we need to pass information to the structure ls_print.i am passing html_top_of_page,field catalog and sort table.
1. i don't want to print the grid information saying sort criteria and data statistics in one more page along with the data populated in the grid. i need to avoid printing page of grid information saying sort criteria and data statistics. how can i do this?.
2. how to add the contents of the html_top_of_page in the 'Title' of the page while printing the ALV Grid.?
regards,
suresh
Hi,
Please check following threads -
ALV printing problems. The favourite is: The first page shows the number of records selected but I don't need this.
http://www.sapfans.com/forums/viewtopic.php?t=64320
http://www.sapfans.com/forums/viewtopic.php?t=44477
How to add list heading like top-of-page in ABAP lists?
http://www.sapfans.com/forums/viewtopic.php?t=58775
http://www.sapfans.com/forums/viewtopic.php?t=60550
http://www.sapfans.com/forums/viewtopic.php?t=16629
Hope this helps.
ashish
Similar Messages
-
ABAP Dump with using FM 'REUSE_ALV_GRID_DISPLAY'
Hi,
I copied a Standard report program(RCOPCA02) to Z-Program for adding two new fields in the report output. I added those two new fields in the field catalog also. Actually the program is using
FM 'REUSE_ALV_GRID_DISPLAY' , when i execute the program it is dumping.
when i use the same program with FM 'REUSE_ALV_LIST_DISPLAY' with same field catalog the fields are displaying in the layout and report but the values are not populating in the report.
Where is the problem i am not understanding.
Thanks,
fractalI checked in Debug mode, the values are coming in Internal Table correctly...
Here is the Dump.
Runtime Errors MESSAGE_TYPE_X
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Error analysis
Short text of error message:
Technical information about the message:
Message classe...... "0K"
Number.............. 000
Variable 1.......... " "
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
Variable 3.......... " "
Variable 4.......... " "
"MESSAGE_TYPE_X" C
"SAPLSLVC " or "LSLVCF01 "
"LINE_OUT_NEW_2"
If you cannot solve the problem yourself, please send the
following documents to SAP:
1. A hard copy print describing the problem.
To obtain this, select the "Print" function on the current screen.
2. A suitable hardcopy prinout of the system log.
To obtain this, call the system log with Transaction SM21
and select the "Print" function to print out the relevant
part.
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, you can either use the "PRINT" command in the editor or
print the programs using the report RSINCL00.
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
Information on where termination occurred
The termination occurred in the ABAP program "SAPLSLVC " in "LINE_OUT_NEW_2".
The main program was "ZRCOPCA02 ".
The termination occurred in line 924 of the source code of the (Include)
program "LSLVCF01 "
of the source code of program "LSLVCF01 " (when calling the editor 9240).
Source code extract
008940 gs_roid-row_id = rs_row-index * -1.
008950 endif.
008960 gs_roid-sub_row_id = rs_row-rowtype+7(10).
008970 gs_poid-row_id = gs_roid-row_id.
008980 gs_poid-sub_row_id = gs_roid-sub_row_id.
008990 gs_poid-rowtype = rs_row-rowtype.
009000 gs_poid-index = rs_row-index.
009010 insert gs_poid into table rt_poid.
009020 endif.
009030 append gs_roid to rt_roid.
009040
009050 loop at rt_fieldcat assigning <ls_fieldcat> where tech ne 'X' and
009060 no_out ne 'X'.
009070
009080 if gflg_invisible = 'X'.
009090 if <ls_fieldcat>-do_sum is initial.
009100 clear gflg_invisible.
009110 continue.
009120 else.
009130 clear g_col_counter.
009140 clear gflg_invisible.
009150 endif.
009160 endif.
009170
009180 clear gs_lvc_data.
009190 clear g_style.
009200
009210 assign component
009220 <ls_fieldcat>-fieldname of structure rt_data to <g_field>.
009230 if sy-subrc ne 0.
> message x000(0k).
009250 endif.
009260
009270 g_col_counter = g_col_counter + 1.
009280
009290 gs_lvc_data-row_pos = r_row_counter.
009300 gs_lvc_data-col_pos = g_col_counter.
009310 gs_lvc_data-row_id = gs_roid-row_id.
009320 gs_lvc_data-sub_row_id = gs_roid-sub_row_id.
009330
009340 * Endtotal and average
009350 if rs_row-rowtype(1) ca 'T' and <ls_fieldcat>-do_sum = 'C'.
009360 * save the actual grouplevel information
009370 gs_grouplevels = rs_grouplevels.
009380 clear g_lines.
009390
009400 * get number of lines of the collect table
009410 describe table rt_data lines g_lines.
009420 * if there is only one line or the field has no references so
009430 * that only the first line has to be considered
SY field contents..................... SY field contents........
SY-SUBRC 4 SY-INDEX 1
SY-TABIX 95 SY-DBCNT 0
SY-FDPOS 0 SY-LSIND 0
SY-PAGNO 0 SY-LINNO 1
SY-COLNO 1 SY-PFKEY STANDARD_GRID
SY-UCOMM DTC_CONT
SY-TITLE Profit Center: Actual Line Items
SY-MSGTY X SY-MSGID 0K
SY-MSGNO 000 SY-MSGV1
SY-MSGV2 SY-MSGV3
SY-MSGV4
No.... Type........ Name..........................
Program
Include Line
Class
14 FORM LINE_OUT_NEW_2
SAPLSLVC
LSLVCF01 924
13 FORM TOTAL_OUT_NEW
SAPLSLVC
LSLVCF01 1297
12 FORM DATA_TABLE_PREPARE
SAPLSLVC
LSLVCF36 833
11 FORM LVC_TABLE_FOR_DISPLAY_PREPARE
SAPLSLVC
LSLVCF36 259
10 FUNCTION LVC_TABLE_FOR_DISPLAY_PREPARE
SAPLSLVC
LSLVCU35 106
9 METHOD SOFT_REFRESH_TABLE_DISPLAY
CL_GUI_ALV_GRID===============CP
CL_GUI_ALV_GRID===============CM01P 240
CL_GUI_ALV_GRID
8 METHOD REFRESH_TABLE_DISPLAY
CL_GUI_ALV_GRID===============CP
CL_GUI_ALV_GRID===============CM00T 125
CL_GUI_ALV_GRID
7 METHOD MAINTAIN_VARIANT
CL_GUI_ALV_GRID===============CP
CL_GUI_ALV_GRID===============CP
CL_GUI_ALV_GRID===============CM00P 313
CL_GUI_ALV_GRID
6 METHOD EXECUTE_FCODE
CL_GUI_ALV_GRID===============CP
CL_GUI_ALV_GRID===============CM007 582
CL_GUI_ALV_GRID
5 METHOD SET_FUNCTION_CODE
CL_GUI_ALV_GRID===============CP
CL_GUI_ALV_GRID===============CM01E 53
CL_GUI_ALV_GRID
4 FORM PAI
SAPLSLVC_FULLSCREEN
LSLVC_FULLSCREENF01 1776
3 MODULE (PAI) PAI
SAPLSLVC_FULLSCREEN
LSLVC_FULLSCREENI01 4
2 FUNCTION REUSE_ALV_GRID_DISPLAY
SAPLSLVC_FULLSCREEN
LSLVC_FULLSCREENU01 91
1 EVENT START-OF-SELECTION
ZRCOPCA02
ZRCOPCA02 928 -
How to suppress extra form feed for character report printing using ORARRP?
Dear All,
We are using Oracle Application Server 10g (10.1.2.0.2) on Windows 2003 Server and most of our client PC's are Windows XP Professional machines. We are migrating our existing oracle application from 2-tier architecture to 3-tier architecture (6i to 10g). We have installed ORARRP utility for remote direct printing and to a limited extent we are successfull in getting the things work out for our system users, However, we are facing a problem using the ORARRP utility for which we are not able to find a solution till date.
We have configured ORARRP utility on every user's PC and the printing of bitmap reports is working well. However, while printing CHARACTER reports using ORARRP utility, after the report gets printed, an EXTRA FORM FEED is issued by ORARRP to the printer and because of this the printer stationary skips one extra page and advances to the next page. Please note that this EXTRA FORM FEED happens only while printing a CHARACTER REPORT.
Has anyone come across such a problem using ORARRP ? How can we avoid this extra FORM FEED from CHARACTER REPORT printing using ORARRP ? Is there any other tool which supports remote direct printing just like ORARRP?
I shall be highly obliged if anyone could reply to my queries ASAP.
Regards,
KrishnaKumar SPlease help ! I tried the "send_form_feed" and "postscript_dos_print" parameters without success. The extra form feed is always there. Thanks.
-
HP Deskjet 3550 cannot print using Airport Extreme via USB connection on Windows 7 64 bits
Product Name and Number: HP Deskjet 3550 Inkjet Printer
Operating System installed: Windows 7 Home Premium 64 bits
Error message: None
Any changes made to your system before the issue occurred: Setting up HP printer using Airport Utility to add a new printer and installed Bonjour Print Wizard.
Problem: My printer is already set up using Airport Utility. When I print something, the printer doesn't do anything. Is there something I haven't done lately in order to get this printer working using my wifi router?
Suggestion #1: Are the print jobs getting stuck in the print queue? You can check this by clicking on the printer icon in your task tray by the clock.
Error Message #1: Yes, the print job got stuck in the print queue, but the moment, it disappeared from the print queue and the printer doesn't print at all. This is frustrating.
Suggestion #2: Does the printer work as expected if you connect it directly to the PC via USB?
Error Message #2: Yes, the printer works if I connect it directly to my PC via USB, but I don't understand why it wouldn't work with the wifi router, though.
Suggestion #3: This has to do with the way the router handles the connection to the printer. I found another thread, regarding this issue, and it has some information that may help resolve it.
http://h30434.www3.hp.com/t5/Printer-Networking-and-Wireless/Print-Problem-Using -USB-Printer-on-Airp...
If that does not help, I would recommend posting on the Apple forums, as they may have more expertise with the router's abilities:
https://discussions.apple.com/community/wireless/airport
Error Message #3: After clicking on the first link that you posted, it was very helpful, but the printer couldn't print completely and somehow it would stop at the quarter of a paper. It looks incomplete when I took it out from my printer. It does that every time.UPDATE!
Problem solved! So this is just a followup in case someone else ever stumbles into these boards with the same or similar problems as mine, that is, trying to run an HP Deskjet D1500 series printer [mine's a D1520] on an Airport Extreme wifi router's USB port as a network printer [with the Airport Extreme controlled by an ancient G4 PowerMac Quicksilver currently running OS X 10.4.11).
Although it probably SHOULDN'T matter, since this type of printer works fine with just the Tricolor cartridge as shipped when hooked up directly to a computer's USB port, on a hunch I got a black HP cartridge (that's a type 21, not type 22 as I had earlier said), slapped it in, tried a test page, and all's well. So, we can call off the technoid hounds. Everything running perfectly.
I hope this message in a bottle may help someone else out there some day soon who may be scratching his or her head with a similar stumper. And just to recap those important Windows printer settings, they are:
* [Printer Properties--> Ports--> Add New Port...] "Standard TCP/IP Port"
* [Configure Port] IP Address "10.0.1.1" and Port "9100"
Best of luck!
Bilgey -
PhotoSmart 310a doesn't print using wireless connection
First... I have to say that if I had known what a HUGE pain in the butt this printer was I would never have bought it. On top of that, the thing apparently doesn't have an option to "hard wire" connect it to my computer... which the guy at the store didn't bother to point out. On top of that HP's customer service is, apparently, non-existent, as attempts to reach by phone are useless.
They can't even seem to get the model number on the machine where you can find it... so the instructions on "how to find your model number" are useless.
That said... here is my problem... which if I can't fix, I'm simply returning this and getting something else.
I have my printer all set up. Wireless is set up. ePrint is set up. Test pages print fine.
I have actually been successful printing with it ONE time.... so I know that it can do it.
It does give me a "low signal" message - however it seems to have no problem printing using the email option, or downloading from the web for the "reports." It scans and my laptop "sees" the scanned image, which is transmitted over the wireless network. If it is truly a low signal problem it seems like it would have issues with other functions regarding the internet.
BUT... when I send something from my laptop (MacBook OSX 10.5.8) to the printer it says...
.. connecting
.. idle
.. priinting (%)
.. then the print job disappears from the queue in the dialog box ... yet nothing actually prints out.
.. it then say's "Printer Ready" - I guess ready for another print job that it won't perform.
.. It does NOT give any kind of error code... say it's "paused" or anything like that. It's as if it THINKS it is printing... but it does not. It makes no sound like it's trying to print either. Paper is loaded in fine and it will print test pages with no problem and doesn't indicate any problems on those other than "low signal"
... When I use the "printer utility" to print a test page - also goes wireless - it prints just fine.
I've tried to use this printer only 4 times now for various jobs... and each time has been an ordeal lasting from 30 minutes to several hours. I've managed to get it to print on one occasion... though I can not remember how I did it.
It has NO problem printing from an email... so I guess I could just always do it that way... but it involves several extra steps to do so and I'm not even sure it would work for every type of print job I need.
It works fine scanning
It works fine photocoping
It works fine printing from ePrint (email)
It just DOES not print via the wireless connection
I don't understand how a company can make something this sophisticated and not have it give you an ERROR CODE when it fails to complete a function... and frankly, I'm fed up with this thing. It's a big, oversized, shiny paperweight and I've wasted way too much of my time trying to figure it out. This is one last ditch effort.
Can anyone help? THANKS so much if you can!
SueIt is more likely a network problem, so please tell me about your network - router brand/model, encryption type (WEP, WPA, etc) and ISP type (DSL, Cable, etc).
In the mean time, you could try this quick trick; resetting the printing system:
- Sys Prefs, Print & Fax
- Right (control) click in the rectangle listing your printers and select Reset Printing System.
WARNING - this will delete ALL of your printers!
- Select the plus sign to re-add it. Look for the printer, select it and wait until the "Add" button becomes available. Click it.
Oh, and indeed this printer does have a USB port for connection directly to your computer. It does NOT have an Ethernet port for connection directly to your router.
Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
I am employed by HP -
Unable print scheduled report on network printer using BOEXI 3.0
Hi,
I'm unable to print a scheduled report on network printer using BOE XI 3.0. I get the following error
Error Message: Error in File ~ce6a054be1a25b52.rpt: Request cancelled by the user. ]
Has anyone encountered this kind of problem and know what the solution is?
Thanks,Hey Falk,
Thanks for the response.
I can print on a network printer after I changed 'Crystal Reports Job Server' to run under a user account that has privileges to access the printer.
To answer your questions regarding the problem:
>Can you schedule the report successfully ?
>>Yes I was able to schedule the report successfully
>Can you print the report successfully?
>>NO the scheduled task would fail with the error message as posted above.
Thanks, -
Crystal report printing using epson dot matrix printer (continouos paper)
Hi there, im tiff from the philippines.
i have a question on printing using a crystal report. How do i print using epson continuous printer(dot matrix)? im having a problem printing to that type of printer specially using continuous paper. the first page is correct but unfortunately the succeeding pages are not. its automatically adjusted upon reaching the second page. hope you can help me.
thanks a lot and looking forward to hear from you soon.
tiffCheck with the printer manufacturer that the matrix printer is Unicode compliant. If it is not, it will not work with Crystal Reports. If it is, make sure you have the latest printer driver updates.
Download SP 1 for CR 102 from here;
https://smpdl.sap-ag.de/~sapidp/012002523100006007872008E/crvs05sp1.exe
See the following resources re. printers;
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09051e9-721e-2b10-11b6-f9c65c64ef29
[Note #1314394|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
Ludek -
How many lines we can print using Non-alv report list ?
Hi Experts,
How many lines we can print using Non-alv report list ?
regards
vishnuHi,
It depends on the page size according to the page size we can set the no. of lines as follows,
REPORT program_name NO STANDARD PAGE HEADING
LINE-SIZE 290
LINE-COUNT 65.
Hope it helps you,
Regards,
Abhijit G. Borkar -
On MacBook Pro unable to print webpage; I get a single blank page. But I can print using Safari. Started last week while using Firefox 3.6. I downloaded Firefox 5.0--same problem.
I am now able to do live broadcasts with my i-sight, but my original problem still exisits....
Unsolved Problem:I need to be able to broadcast from CamTwist as CamTwist is the only program that will allow me to do what I need to do. Justin.tv and Ustream.tv do not recognize CamTwist for reasons I can not explain. -
Label Printing Using Address Book - How can I Print multiple labels of the same name?
Label Printing Using Address Book - How can I Print multiple labels of the same name?
I used to be able to print multiple copies of the same picture on one page using iphoto. There was a customise button when you went through to print and it was there somewhere. I can't see it anymore - maybe since an upgrade.
It's gone. But as a work-around, duplicate your photo (⌘D) to create as many versions as you want copies and select all at once. Then use the "Custom" print layout and set the photo size you want.
After printing, trash the added versions. -
I want to set up my Epson printer using an Airport and RR router. The same Mac Book and printer was formerly set up using a HTC router. How do I reset computer so it communicates with printer?
http://support.apple.com/kb/HT3771
Mac 101: Printing (Mac OS X v10.6) -
How can I print using only black with the Lexmark Z810?
Mac OS X 10.6.8
Print Using 810 Series driver
Printer Driver Version: 10.6.4
I want to print using only the black cartridge. I'm out of color ink. However, I see no option to print using black only. Consequently, when I print a document, only the parts of it that are black with show up on the paper. Anything that has another color will not appear on the page. Is there a solution to this problem?Print Options can be hard to find and sometimes seem to change locations depending on OSX version or printer model. Here is where it is on the print dialog on my mini with HP printer.
-
Can't print wirelessly with HP 7410 printer using Airport Extreme
I've got 3 Macs (2 laptops, one desktop) that I was using successfully with my wireless HP 7410 all in one printer using my old Airport Base (snow) Station (822 b & g). Just upgraded for a variety of reasons to the new Airport Extreme Base station and I have NOT been able to get the printer to print wirelessly.
I have tried all available normal methods, including, but not limited to:
1) resetting and restarting the printer and computer
2) installing new printer software, including driver
3) deleting and reinstalling printers using the "print and fax" system preference
4) using the printer on a non-secure network
5) setting up the printer to connect via IPP and LPP
The end result of all of this is that the printer is attached to the network, but the computer (any of the 3) cannot connect to the printer. When I run the HP setup assistant, it cannot "find" the printer.
Everything was working perfectly before I "upgraded." Why am I not able to print with the new base station?
Your help would be greatly appreciated.I have the same proble trying to print. I have a Mac and 2 PC laptops. I tried to print to three different printers and it will not work. I called Apple support and I was told that it was set up and configured correctly, that it ust be my firewall blocking the printer. I'm at a loss after $179.00 and three hours of trying to get it to work.
-
How to print from linux to Mac printer using cups - password?
I think that I have done the correct things to share my printer from my OS X 10.4 Mac mini (my MacBook is happy to print on the Mac mini printer), and my Ubuntu Linux computer seems to be ready to print using cups. Linux can see the printer on Mac mini, but when I try to send a print job the Mac refuses access. I assume the problem is that the Linux computer needs to send the Mac a password, but I don't know how to do that -- where in the sequence of information coming from the Linux computer the password should be, what format, how to get the Linux computer to send the info through lpadmin or the GUI. All that.
Can anyone help? Preferably with step-by-step instructions for the complete idiot. I have seen FAQs on printing, but there is no information about passwords. And most are focussed on smb rather than cups.I use linux and print through the Mac - but I don't have the trouble you are describing.
There are 2 places to enable print sharing on Mac - have you done both of those?
What protocol are you using - the easiest for CUPS is IPP (port 631). I have an Ubuntu computer at home - describe exactly how you add the printer and I'll be able to follow through. -
How to print from iPad on hp photosmart c7250 all in one printer using wi fi?
I want to print from my iPad mini to a HP photosmartC7250 all in one printer using wi fi, please.
You need a third party printing app or an app that lets your computer act as the print server. Your printer is not an AirPrint printer from what I can see. You can double check here.
http://support.apple.com/kb/ht4356
Printopia for the Mac or Fingerprint for Windows will let you use the computer as the print server.
http://www.ecamm.com/mac/printopia/
https://www.collobos.com/
Printing apps for iPad
http://appadvice.com/appguides/show/printing
Maybe you are looking for
-
I need to write a formula If condition A then FieldA FieldB Field a and Field B need to be on seperate lines, such as an address. How do you insert a hard return into a formula? In Visual Basic, it's vbNewLine, but I haven't found anythin
-
How to set multiple operating units in before report trigger
hi all can any one help me out in getting clear in how to set multiple operating units in before report trigger in oracle report. as we set single operating unit (mo_global.set_policy.context('S',81); as 81 is my operating unit).then who to set for m
-
Problem Right now it is difficult to align 4:3 and 16:9 artboards to the grid since today, only square grid units are possible. This is annoying because when the grid and artboard don't align, laying things out by the grid becomes pretty useless. S
-
Confirmation IDOCS are stuck with BBP_CO_WE
Hi experts, We are building SRM 7 with ECS. We are connected to ECC 6 EHP4. When we create CF, IDOC is not transmitted to backend. In RZ20 we have those logs : Backend goods receipt errors | Status attribute | BBP_CO_WE In ECC inbound IDOCS are not t
-
Exporting index with partition export using expdp
Hi, I am using EXPDP export In 11.1.0.7, is there a way i can export indexes along with the partition export of a table. With full table export, indexes are exported, but i don't see this with only a single partition export because i don't see indexe