Skip to Content
0
Former Member
Nov 11, 2012 at 01:32 PM

Sending PO to multiple mail address through ME9F

657 Views

Our office sends the PO via mail with the Transaction ME9F. However this program sends only one mail. The requirement is that if multiple mail address are maintained in the vendor master then it should go to all the mail addresses and not just the primary one. To achieve this I have copied the standard program SAPFM06P and its include FM06PE02 to z programs. In the routine ENTRY_NEU I have added the lines

L_NAST-NACHA = 1 and Clear L_NAST-DIMME between the CALL FUNCTION ME_READ_PO_FOR_PRINTING and CALL FUNCTION ME_PRINT_PO.

However I am getting ENT_RETCO parameter of ME_PRINT_PO as 1 ever single time! The SY-MSG1 variable doesnt have any spool number.When I use the standard configuration the mail is getting sent properly to one mail id so it shouldnt be an issue with the Spool request number even then I have personally cleared the old spool requests through SP01. Now I dont know what to do. Please help