This website is not affiliated with, sponsored by, or approved by SAP AG.

Authorisation issue in sending mail

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: thx4allthefish, Snowy, Gothmog, YuriT

Authorisation issue in sending mail

Postby roortman » Fri May 21, 2010 3:13 am

Dear all,

I've created a program that will send a local file as attachment to a specific receiver.
Due to the nature of this receiver only 1 specific sending address is allowed.

The problem that now occurs is that I either have to give every user that uses this transaction the same email-adress OR I make a specific user and use that userID to send the mail from.

I tried the 2nd option, and created that user. Modified my program to use that fixed user instead of sy-uname.
But, when I run the program with my own userID i receive a error message stating that I have no authorisation for that folder, which is not so weird, since it is the outbox folder of the fixed user I am trying to use.

Is there a way to work around this?

roortman
 
Posts: 205
Joined: Wed Sep 13, 2006 4:14 am

Re: Authorisation issue in sending mail

Postby thx4allthefish » Mon May 24, 2010 11:00 pm

Since you developed this program yourself, I think you might need the advise of an abapper ...

I'll be shadowing your post in Abap.
curiousorange wrote:I give up. Humanity isn't worth saving. Why is there never a Vogon Constructor Fleet around when you really need one?
thx4allthefish
 
Posts: 6371
Joined: Sat Oct 26, 2002 6:18 pm
Location: barolo barrel

Re: Authorisation issue in sending mail

Postby YuriT » Mon May 24, 2010 11:34 pm

What function are you using to send mail?
YuriT
 
Posts: 888
Joined: Fri Feb 03, 2006 6:40 am
Location: Basel/Riga


Return to ABAP

Who is online

Users browsing this forum: No registered users and 11 guests




This website is not affiliated with, sponsored by, or approved by SAP AG.