Output has to print from the executable program

Hi All,
I have 'zaap01' executable program. once provided the materil,plant, batch. the out put directly has to print(Via Printer) as well as when I'm getting alv grid.. can u help me how to proceed.
Thanks,
srii.

Hi Sridhar
Users can print the ALV output on a printer or they can view the printout on the screen. You are able to change the look of these printouts by making various settings in the list-type ALV outputs using the ALV object model.
You can make the following settings for the printout of the ALV output:
· Output additional information
· Output standard title of the program
· Determine that the ALV be called in print mode
· Take actual list size into consideration during printing
· Optimize Column Width in the Printout
· Reserve Rows for Event END_OF_PAGE
Methods
Function-Output of list information
Class-CL_SALV_PRINT
Method-SET_LISTINFO_ON
Function-Check whether list information are being output
Class-CL_SALV_PRINT
Method-IS_LISTINFO_ON
Function-Output selection information
Class-CL_SALV_PRINT
Method-SET_SELECTIONINFO_ON
Function-Check whether selection information is being output
Class-CL_SALV_PRINT
Method- IS_SELECTIONINFO_ON
Function-Output additional information on a separate page
Class-CL_SALV_PRINT
Method- SET_COVERPAGE_ON
Function-Check whether additional information is being printed on a separate page
Class-CL_SALV_PRINT
Method- IS_COVERPAGE_ON
Output Standard Title of the Program
The standard title of the program comprises the current date, the title of the ALV output and the page number. You are able to show the standard title.
Methods
Function-Output standard title of the program
Class- CL_SALV_PRINT
Method
SET_REPORT_
STANDARD_HEADER_ON
Determine that the ALV Be Called in Print Mode
You are able to print the ALV output directly without having to first display it on the screen.
Methods
Function-Print ALV output directly
Class- CL_SALV_PRINT
Method- SET_PRINT_ONLY
Function-Check whether ALV output is being printed directly
Class- CL_SALV_PRINT
Method- IS_PRINT_ONLY
Take Actual List Size into Consideration During Printing
You can use the application to determine how wide the list should be in the printout. If the width of the ALV output has changed (for example because the user is showing columns), it can be that the page is not big enough to show all the information. You are able to set that ALV determine the current size before printing and then changes the print parameters accordingly.
Methods
Function
-Take actual list size into consideration during printing
Function
Class- CL_SALV_PRINT
Method- SET_PRINT_PARAMETERS_ENABLED
Function
-Check whether the list size can be adapted
Class- CL_SALV_PRINT
maethod-
IS_PRINT_PARAMETERS_
ENABLED
Regards.
Eshwar.

Similar Messages

  • My computer has stopped printing from the internet, I used to be able to but not now?

    I can no longer print from the internet, I can print my own documents, but not from internet. This has only just started to happen what can be the problem?
    Your help would be appreciated.

    What mechanism are you using to access the printer remotely?  If it's supported directly by the printer, which printer?   (It's fairly uncommon to have an openly-accessible printer on the Internet, so there's usually some security involved here; a VPN or other mechanism to protect the traffic, and some authentication.  The ISP can also block some of this traffic, and your network firewall is also involved in permitting or denying access.)

  • My printer has stop printing from the photo tray. I need to place the photo stock in the main tray

    I've a HP PhotoSmart Plus printer B210a.  The printer will no longer print from the photo tray.  I'm still able to get prints; but I must place the photo stock in the main tray.  It becomes a problem, because I sometimes forget the photo stock is the main tray and I waste photo stock when I do my regular printing and only get part it because the photo was still in the tray.  Anyway to fix this?

    Hi there wmcook,
    Could you provide the community with a little more information to help narrow troubleshooting? What operating system are you using and are there any errors when attempting to print from the photo tray?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • While executing the query the output is completey different from the query

    Dear friends,
    We built a query and loaded the data for that infoprovider.
    While executing the query the output is completey different from the query what we have built.
    Output has no relevance to the query.
    Kindly help the same.
    Regards,
    Sathya

    HI Satya,
    In my opinion the issue is with your front end.
    Results should be identical in RSRT, BEx Analyzer (Workbooks) and the ABAP-Web since all three frontend tools use the "ABAP Runtime layer".
    It may differ In the Portal where the new "Java Runtime layer". (Java-Web.) is used.
    This is given in OSS Note 1296576 - Different Query Behaviour: ABAP - Java.
    So i think the problem lies in your analyser. If you are using Analyzer: BI Add on 7.X (Based on 7.10) try and get support package 8.
    Hope this helps.
    Thanks,
    Rahul

  • I can no longer directly print from the USPS print servelet. I now have to save the file and rename the extension to PDF load in another program to print. It used to be automatic. What happened?

    When trying to print from the USPS website (to print a label) when I click to pay and print instead of my print selection screen coming up I get the "Firefox doesn't know what to do with this" screen. THrough some web searching I found I can save the file, then change the extension to PDF and load it in another program and print but it adds two steps and is a real pain. Why would this have changed????

    It is possible that your anti-virus software is corrupting the downloaded files or otherwise interfering with downloading files by Firefox.<br />
    Try to disable the real-time (live) scanning of files in your anti-virus software temporarily to see if that makes downloading work.
    See also "Disable virus scanning in Firefox preferences - Windows"
    * http://kb.mozillazine.org/Unable_to_save_or_download_files

  • I have a C310A and it has started making a dinging noise! Ink is full it prints from the desktop !

    I have a C310A and it has started making a dinging noise! Ink is full it prints from the desktop, any ideas?

    Hello Lahaina,
    I will assume that you have power cycled the printer already, does that Correct the issue for a period of time? or does it continue as normal?
    I am an HP employee.
    __ if this Solution has helped Please Mark as Resolved and feel free to Provide a Kudos__

  • Help! I can't print from an executable.

    I've written a vi which prints a barcode to a small brother label printer and compiled it into an executable.  Both the exe and vi print when the printer is connected to my computer, but when I move it to the target machine it won't print.  The program seems to run fine, but nothing happens when I send the print command, nothing appears in the print manager.  There are three printers connected to this machine (2 local and one network), and I can't print to any of them using a labview executable, but can using other programs (microsoft word).  Using the "queary available printers" function, all three printers show up.  Any ideas why I can't get anything to actually print out?  Is there a source file I need to add when building an executable?
    Both computers are running windows XP service pack 2.  I am using Labview 8.5, third quarter 2007.
    Thanks,
    Philip.

    Sorry I wasn't very clear in my original question.  My goal is to print from an executable on a computer which does not have Labview 8.5 installed (It does have the runtime engine installed).  The printer is connected locally to this machine and I'm trying to print three lines of text by creating a new report, printing it, then closing it, all using the report generation tools.
    I'm desiginating the printer by just using a text control wired to the printer name input of the print report vi.  I havn't wired the output of the queary printers to the print report vi, but I have copied and pasted this text manually to make sure the name was right.
    How do I build a debuggable exe to check for errors?  This sounds useful!
    I have found a work around for this problem, which was to create an installer for the executable and include every single additional installer.  I'm not sure which one it needed, but my executable worked after this was installed.
    Do you have any idea which additional installer was needed as creating a 1 gig install file and installing this on multiple machines takes a lot of time!
    Thanks for your help,
    Philip.

  • Can't print from the internet but other stuff I can

    I have had my printer for about 4 months now and everything has been fine until the other day when it stopped printing from the internet.  Now that I think about it, it's about the same time I put new ink in.  But I can print from Word and other stuff.  I even pulled up the printer in Devices and Printers and did a test page and everything was fine.  I have an HP Envy 4501 (Print Scan Copy Photo).  I use Chrome for my internet and like I said, I've never had a problem in the past with it. 
    I downloaded the HP Print and Scan Doctor and it said everything was good.  When I select to have my email printed, it opens it in a new window and then it does the print display for me and I have to select 'Print using system dialog...(Ctrl+Shift+P)' and then it opens the print window.  It has my printer selected, I hit print and nothing happens.  My printer icon appears down by my clock in the lower right hand corner of my computer and when I hover over it, it says '(1) document pending for Missy' but then nothing happens and a few seconds later it changes to '(0) document pending for Missy'.  ???? 
    What am I doing wrong??  Help please!!! 

    Hi MissyDub,
    Welcome to the HP Forums!
    I understand that you are having a problem printing from Google Chrome, where the print job is shown, but then leaves the queue. I would be happy to assist you with this issue!
    It sounds as though the issue is isolated to Google Chrome. To restore the browser settings (and printing settings) for Chrome you can uninstall and reinstall the software. If you are using a Mac, you can follow this document. If you are using a Windows computer, you can follow this document.
    If that is still giving you trouble, you can also (contact Chrome Support) to find out if further assistance is necessary with their program.
    Thank you for visiting the HP Forums, and I will look forward to your reply!
    MechPilot
    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" on the right to say “Thanks” for helping!

  • Calling a report from a executable program

    Hi All,
    i want to call a report which is generated by tcode CO88 from a executable program. I want to pass the values of order from the exe program only. But my requirement is such that i want co88 to process only open orders, so please suggest how can i do that.
    thanks in advance.
    Pankaj Sharma

    hi,
    chk this sample.
    *Code used to populate 'select-options' & execute report 
    DATA: seltab type table of rsparams,
          seltab_wa like line of seltab.
      seltab_wa-selname = 'PNPPERNR'.
      seltab_wa-sign    = 'I'.
      seltab_wa-option  = 'EQ'.
    load each personnel number accessed from the structure into
    parameters to be used in the report
      loop at pnppernr.
        seltab_wa-low = pnppernr-low.
        append seltab_wa to seltab.
      endloop.
      SUBMIT zreport with selection-table seltab
                                    via selection-screen.
    *Code used to populate 'parameters' & execute report 
    SUBMIT zreport with p_param1 = 'value'
                    with p_param2 = 'value'.
    Other additions for SUBMIT
    *Submit report and return to current program afterwards
    SUBMIT zreport AND RETURN.
    *Submit report via its own selection screen
    SUBMIT zreport VIA SELECTION-SCREEN.
    *Submit report using selection screen variant
    SUBMIT zreport USING SELECTION-SET 'VARIANT1'.
    *Submit report but export resultant list to memory, rather than
    *it being displayed on screen
    SUBMIT zreport EXPORTING LIST TO MEMORY.
    Once report has finished and control has returned to calling
    program, use function modules LIST_FROM_MEMORY, WRITE_LIST and
    DISPLAY_LIST to retrieve and display report.
    rgds
    anver
    if hlped pls mark points

  • My MX922 now wants to print from the top cassette tray. How can I make it print from only bottom tra

    Today my MX 922 decided it needs to print from the top tray. There is no paper in the top tray and I don't want to use the top tray. I want it to use the bottom tray as it always has until today. Setup shows that it is set to use the bottom tray but whenever I actually try and print anything from any program the printer provides an error message indicating I need to add paper to the top tray. Help!!

    Hi PitkinGirl,
    If you remove the printer from your iPad and then reconnect it, do you still experience the same issue?
    If this is a time-sensitive matter, additional support options are available at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • This program has been blocked for your protection/ An Administrator has blocked you from running this program/ Return code: 1625

    This program has been blocked for your protection/ An Administrator has blocked you from running this program/ Return code: 1625
    If you get a message saying, “Publisher: Not trusted,” the printing functionality you are attempting to use may become blocked while downloading, installing or attempting to run.
    You may also see messages such as:
    MSIExec installation error (Return code:1625)
    The recommended software listed below could not be installed
    “Do you want to allow the following the program from an unknown publisher to make changes to this program”
    “This program has been blocked for your protection”
    “Blocked”
    “Not trusted”
    The Windows User Account Control message may look like this.
    You may get this message when installing, uninstalling, or updating HP software for Windows from the product CD, from software previously downloaded from www.hp.com, or from running HP Smart Install by connecting a printer via USB cable.
    The solution will vary depending on the products that you are using. Here is a helpful document for HP printers that will walk you through what you can do.
    John
    I work on behalf of HP.

    Hey @kat54 ,
    Welcome to the HP Forums!
    I understand you're receiving an error stating "This program has been blocked for your protection."
    You can read about this error here: "Blocked", "User Account Control", "Not trusted", or "Return code: 1625" message in Windows.
    You will find a link for Printers here which directs you to the HP Update Software Utility to resolve the problem. When you install this utility ensure you select version 5.005.002.002 or later.
    Make sure the utility you've downloaded is for your exact product and operating system.
    If this 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 following link to get the support number for your region: Phone Assist Worldwide.
    Thanks!
    Please click the "Kudos, Thumbs Up" at the bottom of this post if you want to say "Thanks" for helping!
    Please click "Accept as Solution" if you feel my post solved your issue, it will help others find the solution.
    The Great Deku Tree
    I work on behalf of HP.

  • How can I print from the icon in FF5?

    I have been unable to print from any of the icons in FF5. This has only occurred in the past few days. The only way I can print is to "Select" on the page, and then "Print Selection" on the print screen. I can print from IE by using the icons.
    This is also true with my Yahoo email.

    In Mac OS X, right-clicking the document's icon brings up a similar menu, but documents are printed from the application, not from the OS. The application is launched, the document opened,and the document sent to the printer, bypassing only the Print dialogue.
    The same route may be triggered by dragging and dropping the file's icon onto the printer's icon in the Dock.
    Regards,
    Barry

  • I have a e printer and thee printer is on the same wifi net work as the iPad, when I select print from the iPad the response is no printers. I can successfully email from my iPad to the printer. How can I make my iPad recognize the printer?

    I have an e printer and the printer is on the same network as the iPad. When I attempt to print from the iPad I get a message no printers available. How can I get my iPad to recognize the e printer?

    This printer has worked for me with out fail at my house.  I am traveling in an RV and am at the mercy of the RV Wifi.  I do not have access to the router.  The printer has been recycled a number of times as well as the Ipad.  The printer is set up and has access to the wifi.  It seems to me that the Ipad and Iphone are not recognizing the connection with the e printer.  I was hoping there was some adjustment that could be made to the Ipad and Iphone.  I can email to the printer from both gadgets.  I will try to recycle the devices again.

  • Locating source file NAME from the executable file?

    Hi all, 
    I wrote a vi a couple of year ago (call it file.vi), and created an executable out of it using the Application Builder (call it newfile.exe). I know I renamed the file
    when I created the executable and now I cannot remember what I called the source file (I have hundreds in my PC, and cannot go through them one by one).
    Is there anyway I can get the name of the original file from the executable? Notice that I am not asking to recreate the source file from the executable, which I understand is not possible. 

    murchak wrote:
    Dennis, 
    I must come clean and admit that I don't really know what source control is. Is it a back up of source codes in one place like a server? I am not a programmer but use some LabVIEW to 
    automate a few simple tasks (mostly related to test data). I work solo in this area and there's not a group of people working on different pieces of the same project. 
    I can Google and learn what source control is. I am assuming that the concept itself is not specific to LabVIEW, unless LabVIEW has build-in funtionality for source control
    It is more like a database of files.  It keeps versions on each file so that you can revert back to a previous version if needed.  If working in a team environment, it helps to merge code and keep everybody up to date with everybody else.  But the versioning is the most important part.  I then recommend keeping the repository on a server that is regularly backed up.
    For a simple SCC software, take a look at Tortoise SVN.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Logout has timed out because the app (program name) failed to quit

    Hi,
    I've been having an odd problem with my Mac since I did the last software upgrade.
    I upgraded to 10.5.8 and this problem has been occurring sporadically ever since.
    Basically, 7 times out of 10, when I try and shut the computer down, I get the following message: "Logout has timed out because the app (program name) failed to quit."
    The program apparently causing the problem varies - sometimes it's Photoshop, sometimes iTunes, OpenOffice, etc. Today it failed because Software Update (which I'd just run, in order to install the latest update) failed to quit!
    The only way I can get the computer to shut down in this case is to press and hold the power button.
    My Mac is a 20 inch 2.66 GHz with 2GB of RAM, and is about 18 months old. Up until the last upgrade I had no problems with it.
    Has anyone else had this problem and is there a way to fix it?

    HI,
    Open Activity Monitor (Applications/Utilites)
    Click the pop up menu and select: My Processes
    You can Force Quit any of the apps you mentioned from that window befoe you shut down.
    Carolyn

Maybe you are looking for