Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Config to email using output determination

Former Member
0 Kudos

Hi,

I'm trying to set up output determination that will email a PDF of the invoice at the time of invoice creation. I've created a communication strategy with a single entry for communication method "INT" for email. I added an entry for simple mail(7) in the processing routines config of the output type and pointed to my sapscript form and print program. I created the master data record using VV31 and added my own email in the communication section of the master data record. When I create my invoice, the correct output record is determined, but when it attempts to process at save, the system returns with errors in the processing log. The error message states "No communication type from strategy RD00 could be used". The diagnosis section of this error message says that the message type should be sent with a communication type, but I don't understand why this information is not pulling from the configuration that I set up. Any help would be greatly appreciated!

Jim Tollett

3 REPLIES 3

Former Member
0 Kudos

Hi James,

Every output type has a driver program (and subroutine combination) configured for each communication medium. Usually what you are looking for (email PDF) is not supported by most of the standard output types. You may need to write a driver program for this communication medium (7) or enhance the standard to support simple email.

Cheers,

Sanjeev

0 Kudos

Hi Sanjeev,

Would you happen to have an example program for this communication medium or could you tell me what changes need to be made to my print program to pass the necessary values?

Thanks again,

Jim

0 Kudos

Hi James,

You can have a look at standard PO print driver program SAPFM06P (Subroutine ENTRY_NEU), checkout subrouting "prepare_formular" in FM ME_PRINT_PO. See what it does for medium 5 (external send), yours should be similar.

Cheers,

Sanjeev