Updation of table after Print and Print-Preview in smartform

Hi,
I am having a requirement where i need to print multiple deliveries with the sales order data each delivery on a new page using smartform.
Now , i am using SSF_OPEN, SSF_CLOSE Fm's for the same. I need to update a Z table after the user clicks on PRINT from the pop-up or print from the print preview screen.
I tried using the output_info parameter in the smartform where i read from a post that the OUTPUTDONE parameter becomes "X" in the job_output_info when the user clicks print wither in the two ways said before.
This does not work out in case if the FM'S SSF_OPEN and SSF_CLOSE are used.
Kindly help me on the same.
Thanks in advance

yes i tried that..using the AT new event for a Delivery and then a command to go to the NEW PAGE, but somehow when i execuet the form, i could not see the layout..so in the debug i saw the subrc after the FM is run..it says SUBRC = 2 i.e. internal error. I am not able to figure that out.
So i had to use these open and close, nowi just want to update a z table if the user clicks on the print button (print preview screen) after using the print preview .
Kindly suggest.
Thanks.

Similar Messages

  • When I try to print a photo from iphoto, I select the photo, click print and the preview shows there is a lot of the photo cut off.  It also prints this way.  How can I print the whole picture?

    When I try to print a photo from iphoto, I click print and the preview shows a lot of the photo cut off.  It also prints this way.  How can I print the whole photo?

    After selecting File > Print, a pop-up window should appear. Select "Customize" and this should take you back into a panel within iPhoto. Towards the bottom, you should see an option for "Layout". Select this option and choose the correct photo orientation.
    Hope this helps!

  • How to fetch print and print preview variables

    hi everyone,
                          my requirement is as soon as sales order created. printout of that sales order will be taken at the same time email should be send to that particular customer.
    the problem is the email is sent as soon as we check the print preview itself.
    but the mail should be sent afte the pressing print button only.
    how to fetch print or print preview by program
    regards
    karthe

    Hi everyone,
    I have tried open form and close form
    The itcpp-tdspoolid eq '0' for both print and print preview.
    I have set the open form
    dialog = 'X'.
    have i got to set anything in open form.
    this is my open form and close form.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    DIALOG = 'X'
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = itcpp
    IF SY-SUBRC ne 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    else.
    if itcpp-tdimmed eq 'X' and itcpp-TDSPOOLID ne ''.
    endif.
    regards
    karthe

  • How do i set up the eprint from my blackberry so i can send emails to my printer and print them off

    how do i set up eprint on my blackberry so i can send emails from my phone to the printer and print off

     Hi Tanya_Carroll,
    You can follow this link to set up ePrint. 
    http://h71028.www7.hp.com/hho/us/en/ep/articles/setting-up-mobile-printing.html
    Once ePrint is setup, you can send an email to the printer's email address.
    Be sure to use one of these email clients when sending to the printer.  If the Blackberry will not send using your original email address, setup a new email account on the Blackberry and try again.
    Hotmail, Yahoo! Mail, Gmail
    BlackBerry mail clien
    Although I am an HP employee, I am speaking for myself and not for HP.
    If I have resolved your issue, feel free to provide Kudos and make sure you mark this thread as solution provided.

  • AirPlay won't recognize printer and print although HPprint app does

    My iPad will not print from AirPlay and shows no printer on my wifi network from AirPlay. However,  I can print from my HPprint app and the app recognizes my printer on my wifi network. Any suggestions to get AirPlay to recognize the printer and print?

    HP Photosmart C4795.
    Maybe not on the approved list even though the app recognizes it?

  • Slow Print and Print Setup command in Reader Ver. 8.1.2

    Print and print setup command take over 30 seconds to load on Reader ver. 8.1.2. I tried ver 6 and same thing happens. Using the print shortcut and same thing happens.
    System: New Dell computer (Windows XP Pro, SP2). Any advice would greatly be appreciated.

    You are not alone. Same problem here on a brand new computer with 2GB of RAM. Three minutes total to print a small, black and white 1 bit, 15 page pdf file. Previous to 8.1.2 (8.1.1) the same version printer drivers (Xerox Phaser 8860 Series) worked fine (both PS and PCL versions). I've been trolling for a fix this morning - so far nothing.

  • HT4356 I GOT AN EPSON WP-4533 WHICH HAS AIR PRINT AND PRINTS FROM MY MAC AND MAC BOOK W/O PROBLEMS, BUT WON'T PRINT FROM MY IPHONE.  IT IS NOT ON THE ABOVE LIST OF PRINTERS, BUT BOTH EPSON AND APPLE SAID IT WILL WORK.

    I GOT AN EPSON WP-4533 WHICH HAS AIR PRINT AND PRINTS FROM MY MAC AND MAC BOOK W/O PROBLEMS, BUT WON'T PRINT FROM MY IPHONE.  PROBABLY BECAUSE IT'S NEW IT'S NOT ON THE APPLE LIST OF PRINTERS, BUT BOTH EPSON AND APPLE SAID IT WILL WORK. ANY THOUGHTS

    Some things you can try.
    Startup Issues - Resolve
    Startup Issues - Resolve (2)

  • Can I hook up my ipad to a printer and print with it?

    I work in a rural area where we can only get satelite internet. We want to start printing orders here and I know there is an app for printing, however we do not have a wireless printer, Do we need to buy one or can I use the charging cord my Ipad came with and hook it up with the USB to my existing printer and print that way? Any help would be greatly appreciated!
    Tiffany

    You'll need a printer that is compatible to AirPrint, see this article:
    http://support.apple.com/kb/HT4356
    You can't use the cord to connect.
    There are apps inn the app store that let you print over the Internet, without having an AirPrint compatible printer.

  • I can print from every app on my MacBook except with Firefox. Printing and print preview only produces blank pages???

    I have a MacBook Pro with Mac OS 10.6.4. Within Firefox, if I select File -> Print and then select preview a get a blank page. The same thing occurs if I sent the print request to my printer. I can print and preview from Safari and from any other application. Firefox is the only app that I can't print from.

    Is there anyone who can assist????

  • Differentiate between print and print preview event trigger for sapscript

    Hi guys,
    For sapscript, is there a way to know if the user presses the print or the print preview button? I need a way to determine if it is a print or print preview event triggering.
    I've checked the OPEN_FORM fm but found nothing useful.
    Please help. Thanks in advance.

    This is not supported by SAP, but well this is a possibility:
    FIELD-SYMBOLS <ls_itcpp> TYPE itcpp.
    ASSIGN ('(SAPLSTXC)ITCPP') TO <ls_itcpp>.
    IF sy-subrc = 0.
    * here you may use <ls_itcpp>-tdpreview
    ENDIF.
    Another way maybe is to declare the interface work area ITCPP (shared data in the same internal session):
    TABLES ITCPP.
    * here you may use itcpp-tdpreview

  • Print Checks, select "Not Printed", and print again... without trace!?

    Hello all:
    I have already sent this to Product Support, but they requested me to open a thread in this forum. So here's the issue:
    In SAP Business One it is possible to print a cheque, in the confirmation window select "Not printed", and then print the cheque again with another number (on unnumbered check stock paper). This creates a hole in the cheque numbering series, that is not explainable to auditors, and creates the possibility of fraud (hey, print two checks instead of one, but have one outgoing payment only). Of course in one way or another it has to be possible to print a cheque again, but my problem is that SAP B1 creates no trace of it whatsoever. The ACHO (cheque history) table is completely empty, the CHO2 table also doesn't have the "Not printed" cheques, and in OCHO only the last cheque number is stored.
    I also can't block the "Not printed" option, because the SBO_SP_TransactionNotification is not executed when you print cheques or confirm cheque numbers.
    As a workaround for audit requirements I have thought of setting up a trigger to log all updates to OCHO so I could create reports from this, but creating Triggers is not allowed either, so I'm kind of stuck.
    Am I the only consultant being confronted with this situation, or how are your clients dealing with this issue? I definitely need a solution for this...
    Thanks and best regards,
    Joerg.
    PS: Using the following query I am identifying the skipped numbers:
    SELECT
         T0.AcctNum,
         'Missing from' = (SELECT MAX(CheckNum) FROM OCHO WHERE CheckNum < T0.CheckNum AND AcctNum = T0.AcctNum) + 1,
         'Missing to' = CASE WHEN (SELECT MAX(CheckNum) FROM OCHO WHERE CheckNum < T0.CheckNum AND AcctNum = T0.AcctNum) + 1 <> T0.CheckNum - 1 THEN T0.CheckNum - 1 ELSE 0 END,
         'Qty. missing' = T0.CheckNum - (SELECT MAX(CheckNum) FROM OCHO WHERE CheckNum < T0.CheckNum AND AcctNum = T0.AcctNum) - 1
    FROM
         OCHO T0
    WHERE
         (T0.CheckNum - (SELECT MAX(CheckNum) FROM OCHO WHERE CheckNum < T0.CheckNum AND AcctNum = T0.AcctNum) <> 1
         AND (SELECT MAX(CheckNum) FROM OCHO WHERE CheckNum < T0.CheckNum AND AcctNum = T0.AcctNum) <> 0
         OR (SELECT MAX(CheckNum) FROM OCHO WHERE CheckNum < T0.CheckNum AND AcctNum = T0.AcctNum) IS NULL)
         AND T0.PmntDate > '20090901'
         AND T0.Canceled = 'N'
         AND T0.Printed = 'Y'
    ORDER BY
         T0.AcctNum,
         T0.CheckNum

    1) I tried Print Therapy and after I had repaired Permissions the problem was solved (some permission problems were found) until the next restart.
    2) Then I tried to stop and start again the cupsd process and again the problem was solved until the next restart of the computer.
    3) Then I replaced the cupsd.conf file with a new one but the app asked to restart the computer and after this the problem was back.
    4) Print Therapy does not find any problems neither in the properties of the root user nor in the current user or any other group.
    5) Also the verification of the temporary files find no problems.
    In conclusion I think that the problem lies in the cupsd process because when stopped and restarted (we can forget that by Repairing Permissions actually we restart cupsd) I have no problem until the next restart of the computer.

  • All of a sudden Very Slow Printing and Print to PDF

    I am running OSX 10.4.11 on A G4. I was having no trouble printing to a HP2500. The time to print or print to a PDF was fast from all my applications. I am focusing on InDesign CS for this discussion. I changed recently to a HP 3600N and also to 10.4.11. Now it takes 1 hour to prepare a 28 page color document for printing. Once job is sent to the printer it takes about 3 minutes to actually print it. The slow rendering of the document also occurs when creating a PDF using the Print dialog. I tried the 2500 as a test and found the same problem. It appears that 10.4.11 is the culprit. I tried the same document on my iMac running an older OSX and I had no problem. I wish I had my back up drive still on 10.4.9 so I could check that out but alas I backed up and now have the 10.4.11 OS mirrored on that drive.
    I am out of business until I can resolve this problem.
    Eagerly awaiting advice!
    Dan

    Drive A is 60 GB with 3.66GB free.
    Running OSX from that drive should really slow it to a Crawl, and is getting to the dangerous point... you need at least 12GB fre, 30 GB would be better.
    Nt certain why the other is so slow... did you open Activity Monitor & observe CPU, Memory & such while it is slow?
    If you can free some space on the Internal, Might give a try with Applejack...
    http://www.versiontracker.com/dyn/moreinfo/macosx/19596
    After installing, reboot holding down CMD+s, then when the prompt shows, type in...
    applejack AUTO
    Then let it do all 5 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 5 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.

  • MacBook Pro not recognising printer and printer list empty

    my MacBook Pro isn't recognising my printer. This happened before Yosemite update. I looked in the printer list and my printer was the only one there. On advice I deleted it and tried to re add it. There are no printers in the list to click on. I have a canon MP280. I upgraded to Yosemite and still no luck.
    i Also wanted to ask if my printer can be attached to a BT home hub.
    Thanks in advance

    Howdy Indanthrone,
    Welcome to Apple Support Communities. 
    The article linked below provides troubleshooting suggestions that’ll resolve most printer setup issues, like the one you’re seeing with your MacBook Pro and Cannon MP280.
    OS X: Printer and scanner software available for download - Apple Support
    Take care,
    -Jason

  • Error in updating OBNK Table ( Bank Statements and Reconciliations,Manual)

    PLease advise ,
    Bank Statements and Reconciliations,Manual Reconciliation
    Client is receiving the following message:
    Error in updating OBNK Table
    Edited by: Philip Eller on May 20, 2008 9:03 AM

    Hi Darpal Thiarha,
    Please kindly refer to note 1132591 and note 1128677 to see if these are relevant to this issue. Upgrading to  2007A PL15 or above may avoid such issues relevant with the error 'Error in updating OBNK Table'.
    Regards,
    Candice Ren
    SAP Business One Forums Team

  • HP 6500 Printer and prints very faintly.

    I changed my ink cartridges in my HP 6500 printer and it now prints very faintly or when I send a test print to the printer from my computer it will only feed the paper thru the printer.

    The document here may help resolve black not printing on your Officejet 6500.  Be sure to check the vents as shown in solution three.  If this does not resolve the issue the post here may help.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for