on 2010 Jul 01 5:16 AM
Hi Expert,
I know this question has been questioned before in the forum but that is quite different from what i want. After researching in this forum i found out that forwarding was the way to move the inbox into the external mail (using scheduled job) but what i want is to include send mail activity within the workflow that directly send email into the external email ( so no scheduled job). The logic is perhaps:
1. get the email address
2. use send mail activity
3. Assign the element defined to E-Mail Address.
4. send the email.
But I'm unable to retrieve the email address, store it and pass it into the email (as element). Can somebody help me with this?
Many Thanks.
Request clarification before answering.
Hi
Thanks but it doesn't really work, the mail only showed in my sap inbox and not in my external mail. i can send email to external email trough my sap workplace so i dont think the SCOT is the problem (that is if you are gonna suggest me as the next move).
Thank You
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
To get SAP to forward mails from the SAP inbox to external emails you have to:
1) add the email address in SU01
2) set "Comm. Method" to "E-mail" in SU01
3) in SO16, tab Mail sy.grp, radio button "Send to Home Addresses of Users"
4) in SO16, tab Addressing, Reset buffer
Hopefully they should then appear in SOST or in the actual email inbox.
regards
Rick Bakker
Hanabi Technology
Hello!
I tried this solution for an external mailing:
To get SAP to forward mails from the SAP inbox to external emails you have to:
1) add the email address in SU01
2) set "Comm. Method" to "E-mail" in SU01
3) in SO16, tab Mail sy.grp, radio button "Send to Home Addresses of Users"
4) in SO16, tab Addressing, Reset buffer
I've got this problem:
Workflow is started, but a status is "Error",
My Task's parametres are BOR Object Type, SELFITEM, SENDTASKDESCRIPTION. Also I've got binding data...
Background task doesn't need an agent.
Maybe I should add smth special in my task?
Thanks beforehand,
Malika
Hi,
Thanks now the email is being sent to my external, it seem that i have to reset buffer first. Thanks all Points are given to each contributor.
Best Regads
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello!
I tried this solution for an external mailing:
To get SAP to forward mails from the SAP inbox to external emails you have to:
1) add the email address in SU01
2) set "Comm. Method" to "E-mail" in SU01
3) in SO16, tab Mail sy.grp, radio button "Send to Home Addresses of Users"
4) in SO16, tab Addressing, Reset buffer
I've got this problem:
Workflow is started, but a status is "Error",
My Task's parametres are BOR Object Type, SELFITEM, SENDTASKDESCRIPTION. Also I've got binding data...
Background task doesn't need an agent.
Maybe I should add smth special in my task?
Thanks beforehand,
Malika
Edited by: malika paris on Aug 10, 2010 5:05 PM
Hi,
Can you specified more about the setting i have to made in SO16?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can use a SendMail step to send a mail to a SAP user and let the SAP system forward it to his external email via SO16 settings. That's the easiest way.
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the below code(rule(fm)), hope it works for you.
I have placed the SAP user id's in custom table & inserted e-mailid's to them in su01.
FUNCTION ZMANI_GET_PLANNER.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" TABLES
*" AC_CONTAINER STRUCTURE SWCONT OPTIONAL
*" ACTOR_TAB STRUCTURE SWHACTOR
*" EXCEPTIONS
*" NOBODY_FOUND
*"----------------------------------------------------------------------
INCLUDE <cntn01>.
TYPES : BEGIN OF ty_users.
INCLUDE STRUCTURE ZMANI_AGENT_MAST.
TYPES : END OF ty_users.
DATA: org_agent LIKE wfsyst-agent,
lt_holders TYPE STANDARD TABLE OF swhactor,
lwa_holders TYPE swhactor,
* lt_users TYPE STANDARD TABLE OF ty_users,
lwa_users TYPE ty_users,
v_len TYPE i,
* v_bname LIKE ztest_users-bname,
num_lines TYPE i.
** Read values assigned to the rule criteria
swc_get_element ac_container 'org_agent' org_agent.
* Get the superior
SELECT SINGLE *
FROM ZMANI_AGENT_MAST
INTO CORRESPONDING FIELDS OF lwa_users
WHERE MMC = 'Y'.
IF NOT lwa_users IS INITIAL.
REFRESH lt_holders[].
lwa_holders-otype = 'US'.
lwa_holders-objid = lwa_users-BNAME.
APPEND lwa_holders TO lt_holders.
APPEND LINES OF lt_holders TO actor_tab.
ENDIF.
DESCRIBE TABLE actor_tab LINES num_lines.
IF num_lines IS INITIAL.
RAISE nobody_found.
ENDIF.
ENDFUNCTION.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @everyone ,
I have done the required things,
created a workflow start with user decision.
where i have given user as my user name in se01 and tried creating new user with different mail id also.
assign that created two decision as approve reject and then add send mail mapping for respective users also.
but when i run the workflow no email is going in sost or to the user.
i have the required things in se01 where choose the method email , and done so16 config.
where choose
in SO16, tab Mail sy.grp, radio button "Send to Home Addresses of Users"
in SO16, tab Addressing, Reset buffer.
but mail is not trigger ?
anyone can help ?
User | Count |
---|---|
70 | |
16 | |
10 | |
7 | |
7 | |
4 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.