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: 

Email finctionality

Former Member
0 Kudos

Hi Experts,

We need to send the report outputs via email regularly . For this I searched in the some other forums long back and created once custom function module based on forum steps.

It is working fine with our company outlook mails without any problems.

But when I used external mail ids (like... yahoo/ gmail), I am getting mails. but attachment was not comming. attachment content was showing in the email body with not readable format. like below.

begin 660 Report_By_Receiving_081009154658.xls

M5V%R96AO=7-E"2!,;V-A=&EO;@D@4&%L;&5T($YU;6)E<@D@36%T97)I86P)

M(%%T>0D@27-S=65D(&1A=&4)('=O<FL)(%EE87()($U/"2!$= D@4F5C96EV

5:6YG(&1T"2!03PD@5')A:6QE<@D*

some other company people are not at all receiving any mail. I checked the function module, no restiction anywhere.

normall we receive mails from *Standard SAP R/3". I checked in the function module thouroghly each and every step. no where this address was mentioned. I checked the variable d_uuencode also.

  • Call the following RFC function to call the required

  • unix command.

CALL FUNCTION 'RFC_REMOTE_PIPE'

DESTINATION 'SERVER_EXEC'

EXPORTING COMMAND = d_uuencode

READ = 'X'

EXCEPTIONS

SYSTEM_FAILURE = 1

COMMUNICATION_FAILURE = 2

OTHERS = 3.

===

Question1: Now I want to send the mails from my userid instead of Standard SAP R/3. How We can send.

Question2: why attachment is displaying not readble format(mentioned above), when I used external mail ids.

Please help me

Thanks in advance

Edited by: r badveli on Aug 11, 2009 4:10 PM

3 REPLIES 3

former_member194669
Active Contributor
0 Kudos

1. Testing this first send a mail from your SAP inbox to your external email id with same attachment and check whether could you able to open. if possible then something wrong with your custom function module otherwise some setting in SCOT

2. Test the same with example programs

BCS_EXAMPLE_5 & BCS_EXAMPLE_6.

(Copy this into z and make change accordingly )

Former Member
0 Kudos

Hi Friend,

Refer To my post -


>>>

I hope this will resove ur issue.

Regards,

Akash Rana

Former Member
0 Kudos

Solved by own