Printing two prgs together

Hello All,
I have two individual programs(two individual transaction code) prg1 and prg2.Both these programs have a logic to print the program data at  the end,for doing so the function "open_form" and "print_form" is being called.
The inputs parameters are the same for the two programs.
Now my requirement is to print the prg1 and prg2 together.I do not want the open_form function to be called twice.I should be able to enter the input parameters and the open_form screen should only appear once ,this should print both the prg1 and prg2 data sequencially with out further user intervention.
How can i acheive this.Can a function "open_form" take two programs as input?
Please let me know.
Thanks in advance.
Swati

Hi swati,
In the report program.
SELECTION-SCREEN BEGIN OF BLOCK block  WITH FRAME.
PARAMETERS:
p_prg1  RADIOBUTTON GROUP rad1,
p_prg2  RADIOBUTTON GROUP rad1,
SELECTION-SCREEN END OF BLOCK block.
IF p_prg1 EQ 'X'.
  w_form  = 'Y_SCRIPT1'.
  ELSEIF p_prg2 EQ 'X'.
   w_form = 'Y_SCRIPT2'.
Call 'OPEN_FORM'.
Based on conditions you  can print the data.
Regards,
Sravanthi

Similar Messages

  • How do I print two DIFFERENT A5 pages onto one A4 piece of paper in Preview?

    Hi, I know that within the Preview printing set up you can print two copies of one document on an A4 page.
    However, I want to print one copy each instead. I want to put about 8 photographs and documents onto 4 A4 pages all in A5 size to save on paper.
    Any help with this would be much appreciated as I know in Windows folders this is really easy to do but it seems impossible on the Mac.
    Thank you.

    In Print dialog box, you should be able to choose Layout and set pages per sheet to 2 (or 4 ...).
    Then the print stream (from whatever source) will pour into the "mini-pages" and fill them up in order.
    To do this using Preview, select all the documents you want in order, then open them "all-at-once" with Preview, and they will be temporarily collected into a larger "super-document" for viewing and printing together.
    If you are printing photos from iPhoto, it has its own even better controls.

  • Printing two lines of text in Print Module

    Is it possible to print two, or more lines of text, say on a contact sheet, such as filename and caption. If so, how?

    Lightroom automatically wraps text under the thumbnail in contact sheets. The Text Template Editor does not allow you to enter line breaks. So, if your Filename is long enough to fill the first line, the caption will start with the second. If not, you can tweak the template somehow so that it looks the way you want.

  • OfficeJet 4500 will not print two sided over network

    I'm running on Windows 7 with an OfficeJet 4500 G510n-z over WiFi.  Printer works great except that it will not print two sided.  We've used a non-WiFi 4500 to print two sided before.  With the new printer the first pages print and the pop-up shows on the laptop (prompt to flip paper over) but nothing happens.  The second pages never print.
    I've run all of the HP print and network diagnostics.  Everything appears to be OK.

    The solution below was found on the sticky post at the top of this board "Fixes and Workarounds from HP"
    I think the patch below only applies if you have the original printer software installed, I assume this issue was fixed in later versions of the printer software, Read the patch information carefully.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-69847-2&lc=en&dlc=en&cc=us&...
    This Print Driver Update contains improvements for issues related to the following applications and/or print functionality:
         Microsoft Office 2007
         Duplex printing via network
         Printing from Intuit applications
         Print margin accuracy
         Thai language font

  • How to print two sides with one page?

    I have a PDF that is one page long and I'd like to print the same thing twice (front and back) on one page. Can I do that?
    I've tried printing two copies with the printer set to double-sided, but it just printed two sheets with one side on each sheet.

    Well sure; Go back to the authoring application that created the documents and do a 2-UP page. Make the existingg page large enough to accomodate the extra content. Is that what you're asking or do you really mean print to a printer with a back up ? In that case just flip the page over and print page 2 on the other side.
    Or are we missing something ?

  • How to print two voucher in one page?

    HI,
    we want to print two voucher in one paper. what are the steps to be taken in sapscript? is it purely relted to SPAD?
    Regards,
    lijo Joseph

    hi joseph,
    i'm not sure how related this would be to your concern, but in my place, we've implemented that by sizing a voucher as half a page, so that when we print vouchers, the printer would know that one page is half of a regular page. SPAD is one place to fix, but the actual printing program and SAPScript was also customized so that it would send two vouchers for printing consecutively, and would fit in one page.
    ryan.

  • HP Laserjet CP1025nw Color Printer - printer prints two copies when only one is requested.

    pcwizard (HP) requested that I try Foxit Reader 5.1 to see if the printer will print properly.  I used the same previous document and printed it with Foxit Reader 5.1.  The printer printed two copies when only one was requested as it had done in the past.  We still have a problem.
    I am using Windows 7 (64 bit) for OS.  I have experience the issue on two different computers.
    dslledyrt
    This question was solved.
    View Solution.

    Hi dslledyrt,
    Can you install the Basic Driver for the printer on one of the computers, and let me know if you still have this issue?
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=lj-90357-1&cc=us&dlc=en&lc=en&...=
    I am an HP employee.
    Say Thanks by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • HP Laserjet P3015 double sided - the last odd page prints on the same page when printing two copies

    HP Laserjet P3015 double sided printing is set up on Windows 7.  When printing two copies of a document, if it has odd number of pages, the last page is printed on both sides of the page. There is no page feed for the last page.
    Suppose say there are 3 pages in a document and you want to print two copies. It prints like 1/2, 1/2 and 3/3.  The third page (odd number) print on the same page. The last page page does not print on two pages.
    It works alright on Windows XP.

    Hope that you have configured the correct paper type and size in the printer hardware and also selecting the same paper tray, size, type from the printer driver while printing.
    It may be caused due to the job formatting done by the application software or some jobs settings done from the job/application or printer driver.  Check by toggling the 'collate' option and also try to print from a different application software.
    Please mark the post that solves your problem as Accepted Solution
    Click the 'Kudos Thumbs Up' if this was helpful. Thank You!
    (Although I am an HP employee, I am speaking for myself and not for HP)

  • How do you get Workforce 840 to print two-sided

    I can't figure out how to get my new Epson Workforce 840 to print two-sided (iMac running Mac OS 10.7.2).  From MS Word the two-sided option (in Layout) is grayed out.  In Mail and other Apple applications the Preset for two-sided printing is off and I can't figure out how to turn it on.  The two-sided print function works as expected when I print from Windows 7 software (Bootcamp) or if I use the LCD controls on the printer to have copies printed two-sided.  Probably something obvious, but I'm a newbie to the Mac world, would appreciate some help.  Thanks.

    I am not sure if it is still valid for OS X 10.7, but check the User Guide.  Go to Output Settings
    Then make your choces:
    All instructions and images are from the online Users Guide on the Epson US website.
    Message was edited by: Matt Broughton

  • How to print two-sided automatically in Adobe Reader 10.1.2?

    Hello, when I want to print two-sided with my printer I select this option:
    And my printer does it automatically, I do not have to reload the paper.
    However, in the new version of Adobe Reader, after selecting that option this one is automatically checked:
    And I have to reload the paper manually:
    Can the problem be solved? This did not happen in previous versions.
    The printer is an HP P1606dn and I am using Adobe Reader 10.1.2. Sorry about the screen captures in spanish.
    Regards

    Hi, Shatik
    Thanks for replying.
    The DFS shares are mapped as a network drive. This is done just once using a batch file that uses the persistent switch. No roaming profiles, no username\application data path.
    Since posting this I can now access PDF's, but many of our staff are now unable to scroll through an entire pdf without Adobe Reader hanging. Again, removing the checkmark in the protected mode option allows full scrolling of a pdf.
    Disabling/enabling antivirus real-time scanning makes no difference.

  • Officejet 7310xi does not print two-sided automatically after installing Windows 8.1

    When I first purchased my Officejet 7310xi and installed it on my Windows XP desktop PC it worked fine printing two-sided documents automatically. I recently purchased a new desktop PC with Windows 8 and upgraded it to Windows 8.1 and downloaded and installed the Officejet software drivers from the HP download site. But now the printer will not print two-sided documents AUTOMATICALLY -- when this option is selected, I get a pop-up screen telling me to remove the documents from the out tray, turn them around, and reinsert them in the feed bin, i.e., it acts as if I requested two-sided MANUAL printing.
    This question was solved.
    View Solution.

    Hi,
    Make sure the Automatic Duplexing option is enabled:
    Enter Control Panel > Devices and Printers.
    Right click the printer icon, then click Printer Properties.
    Click the Device Settings tab.
    Set the Automatic Two-Sided Duplex Accessory as installed and click OK to save the change.
    Now Automatic Duplexing should become available.
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project in iphoto. Is there any way to see my print order history and reorder the same book for print ?

    I had ordered a photo book print two years back. I want to reorder the same book again now. However, I have lost the album project/photos from iphoto.
    Is there any way to see my print order history and reorder the same book for print ?

    No.  Apple only keeps the pdf file for a book for 30 days.  Without the library and book project you won't be able to reorder the same book.
    Even though the horse is out of the barn the following tutorial might be of help for future books, i.e. create a new library for each book): iP08 - Archiving an iPhoto Book for Editing and/or Ordering at a Later Date
    OT

  • Mac printing two pages on the same sheet of paper double-sided

    I have a large PDF file that I'm trying to save paper by printing two pages of the file on the same sheet of paper and then printing double-sided, e.g. pages 1-2 would be on the front and 3-4 on the back. I can accomplish the first part by changing the page layout, but then can't figure out how (or if) I can duplex print. Can anyone help? I'm using Adobe Reader 8.1.2 on a Mac running OS 10.4.11.

    Yes I do. Normally, I just have the printer print even pages on one side and odd on the other side. But, putting two pages on the same side fouls up that process. If I try printing odd pages, I get 1 and 3 on the front and 5 and 7 on the back, instead of what I want. Maybe I'm wanting to do something that can't be done. After I changed to the two-page layout, I thought maybe I could do a Save As PDF in the Print dialog box, but that was not allowed by Reader.

  • Why can I not print two sided

    I just downloaded Acrobat reader Dc for windows and cannot print two sided.

    Hi Michael,
    I can understand your concern & will guide you in the right direction.
    To print both sides your printer should support duplex printing, please refer to this KB doc. Print double-sided | Acrobat, Reader
    In case if you still experience any issue please let us know, we will be happy to help you.
    Regards,
    Aadesh

  • Canon MX310 Printing two copies when I only want one

    Hello-
    Whenever I print a document to the Canon printer, via printer sharing on my network, it prints two copies. Number of copies is always set to 1, but it prints two.
    It's crazy! Any ideas?
    Thank you

    I would suspect that it is something in the printer sharing, like two computers set to share it, and so the print job is sent to both of them. But you should try the usual suspects: Turn off printer sharing, reset the printing system on all computers, then add the printer on the sharing computer, turn on printer sharing on it, and then see if it still happens.

Maybe you are looking for

  • Preview of imported clips takes forever, if at all

    I record to SDHC cards and previously when I would import them I could do a quick preview while still within the finder window. Now when I select a clip all I get is the little spinning icon waiting for the preview to show up. I know this isn't speci

  • How to disable Java Plug-In authentication dialog ?

    Hi, I'm using SSL connection with client authentication. Certificate is on hardware device. I'm providing keystore with cert for SSLContext in my app programmatically. When I run it from console (java -jar) it works ok. *When I use it as an applet i

  • How to play RAM on a Mac

    Does anyone know how to play ram files on a Mac? Any help appreciated. Thanks in advance!

  • Highlighter problem

    I'm using Acrobat 9 pro. Sudddenly, when I highlight text in a pdf file, the text disappears and is replaced by a solid yellow bar (the highlight). Deleting the highlight returns the text. Adjusting the opacity of the highlight in "properties" doesn'

  • WinVista: QuickTime won't run, steps on Java JRE, destroys Java

    Noticed my Java desktop apps no longer load after installing QuickTime. Also cannot get the QT player to load. It loads, and then immediately exits. Any suggestions?