How to: if email empty, print by paper?

Hello Gurus,
Using the forum posts, I have implemented sending dunning letters per email.
I want that if the debitor email address is empty then the dunning letter is printed by paper.
I tried modifiyng user exit EXIT_SAPF150D_001 so that if the email address is empty, the output device is set to '1', that is printer: FINAA-NACHA = '1'
So I create a dunning run (F150) as usual, selects the ouput device 'EMAIL' (created for email output)
For customers without email address, there is a spool request created but it does not come out of the printer, it still contains the original output device 'EMAIL'. I don't know if I need more coding in the user exit or...
Thank you for your help.
Alex-

Hello,
I solved my problem the following way:
- not use a specific EMAIL output device
- use the usual paper printer device but in the user exit, add such code:
IF T047E-LISTN = 'NET'.      "Internet für die Mahnstufe gewünscht
  IF SAVE_INTAD NE SPACE.    "Internetadresse gepflegt
    FINAA-NACHA = 'I'.       "Ausgabe über Internet
    FINAA-INTAD = SAVE_INTAD.
    FINAA-TEXTF = 'PDF'.
  ELSE.
    FINAA-NACHA = '1'.                 "Ausgabe auf Drucker
  ENDIF.
ELSE.
  IF T047E-LISTN = 'FAX'               "Fax für die Mahnstufe gewünscht
The first test (T047E-LISTN = 'NET') is an attribure of the dunning form: T.code FBMA --> dunning texts.

Similar Messages

  • How stop ePrint email after printing?

    Can't find how to STOP email to me every time I use wifi to print a document by sending to printer OFFICEJET PRO 8600 PLUS via printer email address.

    Hi,
    Please use the following information to turn it off:
        http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c03550160
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Anyone out there have an idea on how to solve an "Empty print file!" error?

    I am trying print to a Lexmark C543 network printer from a PowerPC G5 (running 10.5.7). Prior to receiving the error message (Empty print file!) the print queue displays the following messages: “Looking for Lexmark C543” and then “The printer is now on-line”.
    Now there is a twist, I can successfully print test pages, pdf files (only using Adobe Reader 9.1.2, not the Apple Preview application), and image files (only using Adobe Lightroom 2.4, not the Apple Preview application). If I try and print a webpage using Safari (4.0.1) or Word document using Word:MAC 2008 version 12.1.9 it will error out, unless I print it to a PDF and then reopen the file via Adobe Reader.
    Here are the actions I have already tried, and didn’t work?
    - Removed and installed printer (both via GUI and CUPS)
    - Reset printer system
    - Verify Disk (no problems found)
    - Repaired Disk Permissions
    - Removed/renamed all files I could find in Library and System relating to C543
    - Downloaded and installed new driver
    - Called Lexmark, “3rd Level support looked at the issue and the log and they concluded that it's a problem with the OS.”
    Below is an excerpt from the CUPS error log that might shed some further light on the subject.
    I [29/Jun/2009:10:59:44 -0400] [Job 6] Started filter /usr/libexec/cups/filter/cgpdftops (PID 205)
    I [29/Jun/2009:10:59:44 -0400] [Job 6] Started filter /usr/libexec/cups/filter/pstops (PID 206)
    I [29/Jun/2009:10:59:44 -0400] [Job 6] Started backend /usr/libexec/cups/backend/mdns (PID 207)
    E [29/Jun/2009:11:00:11 -0400] PID 206 (/usr/libexec/cups/filter/pstops) stopped with status 1!
    I [29/Jun/2009:11:00:11 -0400] Hint: Try setting the LogLevel to "debug" to find out more.
    E [29/Jun/2009:11:00:11 -0400] PID 205 (/usr/libexec/cups/filter/cgpdftops) crashed on signal 10!
    I [29/Jun/2009:11:00:11 -0400] Hint: Try setting the LogLevel to "debug" to find out more.
    E [29/Jun/2009:11:00:11 -0400] [Job 6] Empty print file!
    E [29/Jun/2009:11:00:14 -0400] PID 207 (/usr/libexec/cups/backend/mdns) stopped with status 1!
    I [29/Jun/2009:11:00:14 -0400] Hint: Try setting the LogLevel to "debug" to find out more.
    I [29/Jun/2009:11:00:14 -0400] [Job 6] Backend returned status 1 (failed)
    I [29/Jun/2009:11:00:14 -0400] Saving printers.conf...

    PaHu,
    Thank you for welcoming me to Apple Discussions as well as explaining what you saw in the log.
    I downloaded and ran the 10.5.7 Combo updater, but unfortunately it did not resolve my empty print file error.
    Print Therapy (version 6.0.5) you suggested (and I downloaded) looked very promising. Unfortunately it too did not resolve my empty print file error. I have included the Print Therapy log below in hopes it will shed more light on the problem. The Print Therapy log stated: "You may need to reinstall OS X to resolve your printing issues." I am assuming this is probably because of the three missing files/directories it found.
    Please let me know what my next steps should be, and if I should reinstall Leopard. If I have to reinstall Leopard is it possible to just install on top of the existing version without loosing or destroying the files (documents, images, etc.) we created?
    Thanks again for all your help!
    Brian
    ###Permission Repairs###
    Starting permission verification and repair, omitting localized files...
    The file /private/var/run/cups/certs/0 is missing!
    The owner setting for the file /Library/Printers/InstalledPrinters.plist is incorrect!
    It is 501, but should be 0
    Repaired.
    The directory /var/db/lockdown/Library is missing!
    The directory /var/db/lockdown/Library/Printers is missing!
    The directory /var/db/lockdown/Library/Preferences is missing!
    The permissions for the directory /Users/Beth/Library are incorrect!
    They are drwxr-xr-x, but should be drwx------
    Repaired.
    Recreating symbolic links...
    Done.
    Verification complete.
    1624 files examined. 2 permission problems were found and repaired. It is recommended that you verify the permissions again to make sure the values are correct.
    4 missing files/directories found during the verification process. They may be responsible for certain printing problems. Print Therapy cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
    *******************Restarted Computer and re-added printer (test print failed, same problem)*******
    ###Temp & Prefs###
    Starting /private/tmp directory and /tmp symbolic link permission verification...
    Verification complete.
    No problems found with the /private/tmp directory and /tmp symbolic link permissions.
    Begin deleting temporary files for all users...
    Temporary files for all users deleted successfully.
    ###CUPS Tools###
    Stopping the the cupsd process...
    The cupsd process has been successfully stopped. Please note that printing and/or adding printers with the Print & Fax System Preferences pane will not be possible until the cupsd process is running again.
    Deleting the contents of the /private/var/spool/cups directory...
    4 file(s) deleted from the /private/var/spool/cups/cache and /private/var/spool/cups/tmp directories.
    Creating a new cupsd.conf file...
    The cupsd process has been successfully started.
    The cupsd.conf file was successfully replaced.
    *******************Restarted Computer (test print failed, same problem)*******
    ###System Users###
    Verifying root user attributes...
    The information for the root user appears to be valid.
    Verifying Printing Services user attributes...
    The information for the Printing Services user appears to be valid.
    Verifying Print Operators group attributes...
    The information for the Print Operators group appears to be valid.
    ###Reset & Backup####
    Begin resetting the printing system...
    The printing system was reset successfully.
    *******************Restarted Computer and re-added printer (test print failed, same problem)*******
    ###Permission Repairs###
    Starting permission verification and repair...
    The permissions for the file /Library/Printers/PPDs/Contents/Resources/Lexmark C540.gz are incorrect!
    They are -rwxrwxr-x, but should be -rw-rw-r--
    Repaired.
    The permissions for the file /Library/Printers/PPDs/Contents/Resources/Lexmark C543.gz are incorrect!
    They are -rwxrwxr-x, but should be -rw-rw-r--
    Repaired.
    The permissions for the file /Library/Printers/PPDs/Contents/Resources/Lexmark C544.gz are incorrect!
    They are -rwxrwxr-x, but should be -rw-rw-r--
    Repaired.
    The directory /var/db/lockdown/Library is missing!
    The directory /var/db/lockdown/Library/Printers is missing!
    The directory /var/db/lockdown/Library/Preferences is missing!
    Recreating symbolic links...
    Done.
    Verification complete.
    4880 files examined. 3 permission problems were found and repaired. It is recommended that you verify the permissions again to make sure the values are correct.
    3 missing files/directories found during the verification process. They may be responsible for certain printing problems. Print Therapy cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
    ---Second run (verification run)---
    Saturday, July 18, 2009 10:38:13 PM
    Starting permission verification and repair...
    The directory /var/db/lockdown/Library is missing!
    The directory /var/db/lockdown/Library/Printers is missing!
    The directory /var/db/lockdown/Library/Preferences is missing!
    Recreating symbolic links...
    Done.
    Verification complete.
    4880 files examined. No permission problems were found.
    3 missing files/directories found during the verification process. They may be responsible for certain printing problems. Print Therapy cannot replace these items. Please refer to the log file for a list of the missing files/directories. You may need to reinstall OS X to resolve your printing issues. Certain files and directories are deleted when using the Reset Printing System option. These files and directories, if required, will be recreated during normal printing.
    *******************Restarted Computer (test print failed, same problem)*******

  • How do I set the print and paper size in iPhoto 5

    Can somebody please help. How do you set up iPhoto 5 so that you define both the the size of the print and the photo paper you use?
    For example, I wish to print a 4.5cm x 3.5 cm photo on 6x4 (or 15cm x 10cm to keep all the units the same) paper.
    I've seen a post saying how to do it in iPhoto 8, but the drop-downs are different.

    I do not remember the locations in iPhoto 5 but there are probably three places to mess with
    1 - set the paper size
    2 - set the print size
    3 - set the paper tray for the printer to use that has the paper size that you set in step 1
    these may be in the print sequence or under the file menu as page set up (or similar). If these are not obvious try the Help menu
    LN

  • F110 - program RFFOAVIS_FPAYM email and print at the same time

    Hello all,
    we are using program RFFOAVIS_FPAYM program for print and email paymnet advice. but the current scenario at a time only one process is woking email or print payment advice.  but the user want to get the print and email adivce at the same time, but current only one thing is working.
    kidly advice how to get email and print payment advice at the same time.
    Thanks in Advance.
    Abhilash

    I Have the same problem
    Any help is welcome

  • How do i reduce width of text in received emails to print within 8 1/2" paper

    The width of text in received emails is too wide to print within normal margins of 8 1/2 inch paper, so some of the text at the end off each line does not appear when the email is printed.

    Too wide at a 40% scale??
    File > Print Preview <br />
    Try changing those settings to '''100%''' and '''Shrink to Fit''' in the Print Preview window. '''''You need to print from that Preview window immediately, so the change in settings is "held" by Firefox.'''''
    If that doesn't fix your problem, try saving that "text" to a file and then viewing it in a Text program like Notepad or Wordpad that has ''' "wrap" ''' enabled. I would suspect that something with "wrap coding" in that file isn't completely with Firefox's ability to display text files and "wrap" when it needs to "wrap" to keep the text on the "page".

  • Email printed to PDF, PDF appears accurate in Acrobat XI Pro, when PDF printed to paper text missing

    HELP!!!
    I have text disappear from Outlook emails printed to PDF when I print the PDF files from Acrobat XI Pro to a printer.
    Here is a sample png from the PDF file printed out of Outlook - all the text is showing.
    However when I print the PDF from Acrobat to a printer, the document comes out of the printer with text missing as shown:
    The Acrobat print window shows all of the text that should be there as does Acrobat's view of the document.
    Also, if I save the file to an image, all of the text is there.
    I have tried different emails as well as different printers and the paper printed copies of the PDF emails are always missing text.
    Additionally I have tried coverting the PDF file to a PDF/A file and printing that and the same problems occur.
    Please send some tips as to how I can fix this!

    Hello Atul -
    i am having similar printing issues with Acrobat 10.1.4.
    in my case both PDFs made by me (from InDesign files) and other PDFs made elsewhere and sent to me are missing text when printed to paper -though they look fine both on-screen and in the preview pane, as Katy noted above.
    these PDFs print fine when i open and print from an older version of Acrobat (9.5.2).
    they will also print fine from 10.1.4 if i send them to another printer in the office, (a Dell Color Laser 3110cn), the printer i have a problem with is a Kyocera Mita KM-5053 - which leads me to believe that this is some kind of communication error between Adobe Acrobat Pro 10.1.4 and this printer, or perhaps a driver issue. ?
    I don't believe it's merely a preferences/print settings problem as i've gone pretty carefully through all the dialog boxes that seem relevant and have had no luck in solving the problem. Also, the text that's missing seems arbitraty - meaning, it's not merely hyperlinks or certain layers or text in specific type faces that won't print -it's content in the same text box, where other text does print, and it's blacks and colors and various point sizes - in short there are no easily discernable unifying circumstances among the text that does not print.
    obvioulsy an easy work around is to just print to the other printer or use the older version of Acrobat, but my concern is more that other people may be experiencing the same issues with PDFs i send them. so if it is a problem in the way i'm generating PDFs (although, as i said, text is also missing from PDFs i have received from other people and printed) i'd like to fix it quickly, so that people trying to print my PDFs don't end up with critical content missing.
    i'm on a 2008 MacBook Pro running Mac OS X Lion 10.7.5, and using the Acrobat (X Pro v 10.1.4) that came with the CS6 Design & Web Premium package - although i'm looking at it online now and it's listed as Acrobat XI Pro..
    any input you have would be much appreciated.
    thank you,
    bethany

  • How can i print an email without printing the attachment?

    I just got my new macbook pro retina display.  I am using Mac mail and want to know how I can print an email without printing the attachement.  Any suggestions and solutions would be appreciated.

    Thank you for your suggestion.  But when I receive an email that has an attachment (shown by paperclip symbol) The email opens and shows the attachment(jpg picture) at the end of the email so when I go to print - the email pops up with the picture already opened inside the body of the email.  Can not figure out why this happens in mac mail.  when i used outlook in windows only email would show.  in order to see attachment you had to click on paperclip and only then would the attachment (picture apprear).
    Any other suggestions that I may could try would be appreciated. Thank you!  Gabriela

  • How to print on paper napkins?

    I require to print images on paper napkins for my decoupage work. I have a HP CP1215 colour laser. Because the napkins are so thin, its ideal for my craft work. How can I get my printer to print on these 3ply paper napkins?

    I also once hoped for an easy way to modify a table's header and footer, but found no way.
    Yet it is possible.

  • How can I get my email to print 8"x11"? it now prints 4"x6". other documents print 8"x11"

    My documents and on-line documents print correctly at 8"x11". My email prints 4"x6". How do I get email to print to the correct size?

    See this: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page

  • I have OSX 10.6.8 and my new HP 6700 printer won't print until I "empty print file!" What does that command mean? How do I do it?

    I have OSX 10.6.8 and my new HP Officejet 6700 all-in-one printer won't print until I "empty print file!" What does "empty print file" mean. How do I do it?

    Go to System Preferences>Print & Fax>Open Print Queue, select(highlight) any jobs and delete them. Do this for all printers in the left side bar (select printer when you click  Open Print Queue)
    Hope this helps

  • Why do I sometimes receive email attachments in the body of the email and how can I download and print them from there?

    Why do I sometimes receive email attachments in the body of the email and how can I download and print from there?

    To save attachments, a couple of options include: (1) control-click on attachment, select "Save Attachment...", (2)  Click on "Show Details" in the upper right corner of the message, which then gives you some attachment functions including "Save".
    charlie

  • Emails I print are not legible. How can I fix this ?

    The text when I print emails come out with spaces between the letters of all words.
    How can I get my emails to print correctly?
    This does not happen if I print using word. This does not happen if I print the same email using explorer .

    If it was fixed in the nightly's on 2-28 then I would be able to print again. I hope there is a fix before long, this is a bad issue for alot of us.

  • I am trying to get my iPad to print from hp air printer and it only prints on photo paper. How do I fix it to print on paper. I already put setting to copy on printer but it prints blank.

    I am trying to get my iPad to print from hp air printer and it only prints on photo paper. How do I fix it to print on paper. I already put setting to copy on printer but it prints blank.

    Thank you everyone. I figured it out. I thought that you can use regular paper to print pictures from photos on Ipad. This is not possible. I was able to use regular print paper to print from my mail. My problem is solved!! 

  • How to install email email address into new printer

    Just bought an HP-4501 Envy printer....questions:
    1] How do i install a printer email address
    2] Will i be able to print documents from a remote location,e.g.work and have them waiting for me when i get home[ printer is at my home].....will be using a macbook pro laptop from remote location.
    Thanks for your help.
    This question was solved.
    View Solution.

    Hi Ajay60610,
    If your printer is ePrint enabled you can register it the cloud and get an email ID for your printer.
    Here are the steps to enable eprint on your printer.
    1. Connect the printer to the internet network.
    2. Let the printer fetch the valid IP address.
    3. Click on the ePrint Button on the printer. 
    4. Proceed by clicking Yes.
    5. The printer should get registered and display the email ID. 
    6. It will also print an instruction page which has the claim code with instructions.
    Note: For Connecting the printer to wifi you can click on the wireless button and then select wireless setup wizard and proceed with the instructions on the printers front panel.
    Kind Regards,
    Oliver
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"--Please mark the post that solves your problem as "Accepted Solution"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.

Maybe you are looking for