‎2014 Apr 08 11:46 AM
Hi,
I have created the logical destination "ZMAIL" to send a mail for vendor address.
It's working fine in ME21N/ME22N. if we go to ME9F then it's goes to print it's not sending a mail.
I'm using the FM "WFMC_PREPARE_SMART_FORM".
In ME21N/ME22N, pe_device value is 'MAIL'
In ME9F, pe_device valie is 'PRINTER.' (It's wrong)
On what basis, This function module select the device type. how to change it.
Thanks with Regards,
Vallamuthu M
‎2014 Apr 08 12:23 PM
Hi,
Try to check the FM logic for ME9F execution, i can see that there is a call to one FM ADDR_GET_NEXT_COMM_TYPE to get the communication type based on the TCODE (different Communication Strategy's can be defined in SAP). And then based on the communication type your Communiation device can be determined in another FM - CONVERT_COMM_TYPE_DATA.
Hope it can help you to understand the problem.
Br..
Dwaraka
‎2014 Apr 08 12:30 PM
A simple debug in this FM will tell you the reason. Please switch on the debugger and check and learn for yourself:)