Problem with 'PRINT' button in OOPs ALV

Hi All,
I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
How do I do this ?  Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
Thanks in advance.

Hi Ravindar,
  This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
Regards,
Deepthi.

Similar Messages

  • Problem with 'Print' button in ALV

    Hi All,
    I have developed a OOPs based ALV report. When ever we create an ALV we also have to create Menu bar I did that providing fuctionality for 'BACK' and 'CANCEL' buttons in main toolbar. But user wants funtionality for 'SAVE' and 'PRINT'.
    How do I do this ? Is there any stadard code which I can paste in PAI and use it. Classic ALVs handle this by default and OOPs doesn't do this it handles only a table level. But in my report I have a header information also. If user uses the standard 'PRINT' button at table level, only table contents are printed not the header information.
    Please let me know how to handle 'PRINT' & 'SAVE' button in OOPs ALV.
    Thanks in advance.

    Cancelled

  • Problem with Print button in service confirmation

    Hi Experts,
    I am facing a problem in service confirmation in pcui.When the system status is completed i am unable to select the print option, as the print button is disabled.
    I have assigned action for smartform print in confirmation.I am able to view the print button before changing the status to complete.
    The same is working fine in UI.
    Can anyone suggest some solution to the problem?
    Regards,
    PePe

    Hi Ravindar,
      This programe BCALV_TEST_GRID_PRINT has used the normal class cl_gui_alv_grid where as I have used CL_GUI_ALV_TREE class.
    Regards,
    Deepthi.

  • Problem with Print button in the BI reports integrated in portal

    Hi,
    We have some BI reports integrated into portal.and we have a Print button,which is a standard SAP functionality,doesnot work.When we click that print button it takes forever to load the page and print it.
    Please help me in resolving this issue and points will be rewarded for sure
    Bala

    Solved myself.
    The answer lies in this link:
    http://help.sap.com/saphelp_nw70/helpdata/en/76/489d39d342de00e10000000a11402f/frameset.htm
    See the following two properties under Paging:
    Columns Scrolled for Each Step (BLOCK_COLUMNS_STEP_SIZE)
    Rows Scrolled for Each Step (BLOCK_ROWS_STEP_SIZE)
    The values of these two properties have to be changed in the Web Template you are using for your BI Reports.
    Regards,
    Ankur

  • Problem with printing ALV lists

    Hey Guys,
    I have a problem with printing ALV lists ,
    I created a report with several ALV lists (not grids) on the same screen but when i attempt to print the report
    it prints each alv list on a different page..so if i have 3 alv lists in the same report it will print the report on 3 pages
    How can i print  them all in one page?
    Thanks in advance
    Noha Salah.

    Hey Max,
    I tried setting the Layout-list_append  before my block_list_append function call
    And setting the is_print-NO_NEW_PAGE , it printed the 3 lists on one page the only problem i have
    is that the lists are truncated and the list formats has totally been messed up..how can i restore them back
    to their original format?

  • Problem with printing pdf file

    hello,
    lately i have problem with printing pdf file:
    i click on the print button and the respod is very slow
    it takes more than a minute till the print window apears.
    i tryied to install version X but it's the same, the problem exist only when printing via adobe reader,
    other programs i'd working much faster.
    please advice,
    thank you

    No, it is not set to overprint. Also, I have to add that the printing results were not consistent. Sometimes it covered and sometimes it did not.

  • Problem with Printing from Spool

    Dear Experts,
                  I am facing the problem with Printing, Once i press the Print button, the spool is generated. But Instead of giving one page, It is generating the more than one page. Some times, the last page its getting is blank. I am confused how this happens.
    Kindly solve my issue, this happen frequently.
    Thanks & Regards,
    Srinivas

    Dear Siva,
                   Everything is ok in SPAD. This happen for few process order for COPI transaction.
    Regards,
    Srini

  • "Problem with printer or ink system"

    Hello, so this morning I printed out a paper and I saw I was almost out of black ink. I replaced the cartridge and everything was okay. When I went to print out another paper I received the error message "Problem with printer or ink system... 0x6100004e" I went to HP support and found a whole bunch of solutions. I went through the first few, there is no paper jams, but then I realized my carriage was either not leaving the dock or it would come all the way left just to go right back. When I open the door, its like the printer thinks the carriage is moving because it keeps turning the way it normally would. I tried resetting it, and looking up other solutions but nothing. My warranty was up in May. It had never had this problem when I changed the cartridges before, so I really need all the help I can get.

    Hi andre2015,
    Please perform the steps from the link below and this will resolve the issue.
    http://support.hp.com/us-en/document/c03253201
    ---- If my answer was helpful please click the Kudos star.
    If your problem is solved please click the Accept as Solution button so other forum users can use the solution.
    Regards
    Aneesh

  • Problems with home button on iPhone 4

    problems with home button on iphone 4

    If its due to sensitivity issues, these self help guides might help.
    http://www.youtube.com/watch?v=zNwr_mxgs9Q
    http://www.youtube.com/watch?v=lSqPC1V0PPg&feature=related
    By the way, alcohol based hand sanitisers work too.
    Don't overapply it in one go though. You'll have to allow the alcohol to evaporate.
    One final tip, after its dried, I'd recommend you to leave your iPhone's home button facing a laptop's vent just to bake it a little drier.

  • HP Officejet Pro 8600 "Problem with Printer or Ink System'

    A gander at this forum suggests I am one ofa multitude of people perplexed by this issue. There is a notation beside one enquiry which says 'Problem Solved'.... well it isn't for me. My printer (typical!) is one month out of warranty. I had to replace the black cartridge and, when I did, it came up with this error prompt. I then replaced all the other cartridges. HP suggests removing the printhead and following that they say place it 'upside down on a clean sheet of paper'... NO instructions for cleaning it!! When it is replaced in the printer they suggest you 'rock the printhead left and right to make sure that the printhead fully seats in the carriage' and if THIS doesn't fix things 'try reseating the printhead up to 3 times'... This in itself is an admission of an 'issue' with this product. It doesn't sound like a very scientific engineering 'fix' to me!
    A new printhead costs almost what we paid for the printer a year ago. I hate consigning anything to landfill that I can avoid... unfortunately it looks like that is where this unit belongs...

    Hi @Robin_Perth,
    Welcome to the HP Forums!
    I am sorry to hear about you getting the problem with printer or ink system error, with your HP Officejet 8600, but I am happy to look into this for you!
    I am assuming you have already been through this guide, A 'Problem with Ink System' Error Message Displays on the Control Panel or Computer During Setup.
    If this guide does not resolve the issue, please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. Country-language selector.
    This guide, Limited Warranty for HP Ink Cartridges and Customer-Replaceable Printheads for HP Inkjet Supplies, will help you to determine if your printhead is still in warranty or not.
    Hope this helps!
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • HP 4622 All in One Printer: Problem with Printer or Ink System

    Problem with Printer or Ink System Error OXC19a0027.

    charleshia wrote:
    Thanks so much for replying to my post. I tried the fist suggestions and they did not work. So, I attempted to move on Dow to the cleaning of my printer. I am the the first to admit that I'm not the genius when it come to electronics buys, my printer do not seem to have what is described in the photos. I'd like to upload a photo of my ink cartage but do not know how.
    Charleshia, you can upload a photo here to reply. Click Reply, then on the window you'll see the image below..
    click the one which has the red box, it's where you insert the photo
    Going back on your issue.. the basic step would be.. take out the inks then close the door... what error message you  got? If it's saying "Missing Ink Cartridge" just hit OK. Unplug the power cable at back of the printer, plug it back in.. Clean the copper contacts on the ink cartridges using a lint free cloth then reinstall them. Let me know if it resolved it or not.. I can only give basic troubleshooting here

  • Problem with printing a PDF

    Hi All,
    I'm developing a web application written in J2EE that uses Java Reporting Component (JRC) to display crystal reports from some filters recovered from a jsp and passed to a report .rpt previously designed and invoked just at runtime.
    I have a problem with printing a PDF:
    I want, after entering the filters in a jsp, to print a report in PDF format (WORD) without opening it
    with Adobe Reader (Microsoft Word). The class of API JRC used for export is ReportExportControl.
    Can anyone help me?
    I wish a great day to You all.

    Hi Ted Ueda,
    sorry for the delay of my answer.
    I understand very well the problems related to security.
    With the following code that I used to produce a report (PDF) at runtime,
    is the PDF created on the server and then sent to the client, or is it directly created on the client as PDF
    from RTF previously realized?
    ReportExportControl exportControl = new ReportExportControl();
    String report = report path;
    ReportClientDocument reportClientDoc = new ReportClientDocument();
    reportClientDoc.open(report, OpenReportOptions._openAsReadOnly);
    Object reportSource = null;
    reportSource = reportClientDoc.getReportSource();
    //The method setConnectionProperties() stores all the connection parameters in the collection
    //ConnectioInfos
    ConnectionInfos connInfos = setConnectionProperties(request, reportClientDoc);
    exportControl.setEnableLogonPrompt(false);
    exportControl.setEnableParameterPrompt(false);
    exportControl.setReportSource(reportSource);
    exportControl.setDatabaseLogonInfos(connInfos);
    //Single method to pass parameters to Crystal Reports. Using classes ParameterFieldController and
    //ParameterFieldDiscreteValue
    setReportParametersValue(reportClientDoc, reportParameters, subReportParameters);
    ExportOptions exportOptions = new ExportOptions();
    //Set the export format (PDF)
    exportOptions.setExportFormatType(ReportExportFormat.PDF);
    PDFExportFormatOptions PDFExpOpts = new PDFExportFormatOptions();
    exportOptions.setFormatOptions(PDFExpOpts);
    exportControl.setExportOptions(exportOptions);
    exportControl.setExportAsAttachment(true);
    try {
          exportControl.getHtmlContent(request, response, getServletConfig().getServletContext());
    } catch (ReportSDKExceptionBase e) {
    throw new ApplicationException("error code", ": error message"); }               
    As, however, I predicted in my previous message about the direct printing on the client,
    I read about ActiveX, but I don't know how to use them.
    I read this information in the 'Crystal Reports for Eclipse Developer Guide' about "printMode" attribute:
    "In ActiveX print mode, an ActiveX control is downloaded to the client machine and the report is send directly to the printer...."
    The ActiveX alternative is a java applet that runs on the client and takes the pdf from the server and prints directly onto the clients through the commands that I used in the DOS command line:
    1)     AcroRd32.exe /p /h FILENAME
    where
    /p = print
    /h = hide window
    to print the report and
    2)     tkill AcroRd32
    to close Adobe Reader, because it doesn't end automatically after printing and the command  /h  is used just to minimize the process.
    I hope you can give me advice because I need to print directly on the client. Thank you

  • Problem with printing files created by tcpdf class

    Hello,
    I have problem with printing pdf files created with tcpdf php class which contain embedded fonts
    http://www.tecnick.com/pagefiles/tcpdf/example_008.pdf
    Could someone try to print that example file at his Reader (printing to file .ps will be fine).
    I'm trying to determinate if problem is in my system (Ubuntu 8,04) in Reader or in class.
    Thanks in advance

    No problem with Adobe Reader 8 or 9 .

  • Problems with printer and network connectivity

    So I've been using an HP B110a photosmart wireless e-all-in-one printer that I got with my macbook pro and at the start, everything worked perfectly in terms of wireless printing, ePrint, and AirPrint. But recently, when I try to print wirelessly, it says the printer is not connected and I also can't find it on the list of nearby printers on the 'add printer' window. I also had problems with printing via ePrint but those have cleared up (I don't know what was wrong but it's fine now). Printing with AirPrint on my iPod touch has stopped working as well because the printer doesn't show up when I search for nearby printers.
    Here's what I've checked/tried so far:
    All the wireless services are enabled on my printer and my mac
    I've reset the printing system on my mac, printer settings to factory defaults
    Restarted mac/printer/iPod
    Restarted router
    Reinstalled HP printing software that came with the printer
    All software is up to date
    Wireless printing on another windows computer does work
    Setting up wireless printing using the HP install disc doesn't work
    Trying to add a new printer using the HP software disc that came with the printer is unsuccessful in locating the printer as well.
    Printing over USB is problem-free
    When I tried restarting the printer/router, I could see the printer for just a few minutes in the 'add printer' list but then it would disappear from the list and the printer would be 'not connected' so I can't print wirelessly.
    More info
    MacBook Pro (13 inch, early 2011)
    Mac OS X Lion (10.7.2)
    HP Photosmart e-All-in-One B110a
    Router is a Huawei HG556a that I got from Vodafone NZ
    Thanks in advance!

    http://support.apple.com/kb/DL907

  • I had a problem with print preview of billing document.

    HI all,
    I had a problem with print preview of billing document which contains two output types ZR1 ZR2..
    For the footer text of billing document I maintained the font size as 7,5 pts, But when i go for print preview from output type ZR1 the font size of footer text is very small and looks good for output type ZR2.
    If i change the print options-->logical destination of output type ZR1 same as Output type ZR2, the footer text looks good.
    I think there is some issue with logical destination in print options for the output type ZR1, how can i resolve  it.

    hi,
    for both the output types , r u using same sapscript or smartform?
    if yes then, u can control it in output options of smartform and also in sapscript , you can control through if condition.
    and if differect sapscript or smartform then you should not get such problem.
    you can check the sapscript or smartfrom in TNAPR table.

Maybe you are looking for

  • HP photosmart C309a: Wireless radio is not functioning

    I completed the wireless network test report and the diagnostics summary states that the wireless is not working and there were no wireless networks detected. This printer had been originally connected directly to the internet port and had been able

  • Can I use my IPad as a backup for my IMac instead of an external hard drive?

    I'm wondering if I can use my iPad as a backup for my iPad instead of an external hard drive?

  • Premiere Pro Refuses to Load the Correct Clip.

    Oh man, Premiere has been hosing my projects with extreme prejudice and causing me to seriously question my sanity. Here's what's going on. I open an existing project and scrub through a sequence only to find that certain clips in the sequence seem t

  • Share email address

    Hi is there a way to "share" an email address with my wife. We have individual app ID's. But in some cases we want to use a common Alias to send and receive , family emails.

  • SMB sharing broken in 10.4.5?

    Experienced technology user, but new Mac switcher trying to get my WinXP SP2 laptop to connect to a share on my new Mac Mini Core Duo (Tiger 10.4.5). I can see the Mac in the Windows workgroup from the laptop. When I double click on Mac, I am prompte