cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow for Extended Notification

0 Kudos

Hi All,

Requirement:

We need to send a workitem to external mail id, using Extended Notification to get the approval or rejection.

Process we followed:

To check whether Extended Notification is working or not, we are using a standard workflow WS77300061, and executing the report SWN_TEST_VERI01. This report is sending a workitem to the external mail id.

Link: http://help.sap.com/saphelp_nw70ehp2/helpdata/en/8e/bb9f4099852e54e10000000a1550b0/frameset.htm

Instead of executing the report every time, is there any standard workflow for sending a workitem.

Else can we replicate the functionality of the standard report to a workflow that sends a workitem.

Help us.

Regards

Ravindrakvs

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member185167
Active Contributor
0 Kudos

Hello,

You can't sent a workitem to an external mail id. But you can send an email with a link to a workitem, which is what Extended Notifications does. I don't know SWN_TEST_VERI01 but I assume it does the same thing once.

Set up Extended Notifications and it will happen automatically, as Pavan said. You don't need an additional workflow to send anything.

regards

Rick Bakker

hanabi technology

bpawanchand
Active Contributor
0 Kudos

Hi,

You have to schedule the report to execute in frequent intervals in background, there wont be any manual intervention for sending mails to external mail address.

You have to schedule the report SWN_SELSEN

Regards

Pavan

Edited by: Pavan Bhamidipati on Oct 5, 2011 5:01 PM

0 Kudos

Hi Pavan,

Thanks for your reply.

Actually we used the report SWN_TEST_VERI01, for testing purpose to send a workitem to external mail id. So we are not going to use this program.

My requirement is to send a workitem using workflow.can you please guide us.

Regards

Ravindrakvs

Edited by: ravindrakvs on Oct 5, 2011 5:13 PM

bpawanchand
Active Contributor
0 Kudos

Hi,

I think what you are looking for is the there should be a workflow and that should send the workitem to external mails address,

Right? Both are one and the same.. Infact you can reduce the overhead when ever any task got instantiated and a workitem is generated with respect to that specific task you want to send that respective work item to external address directly by configuring that task in swnconfig transaction instead of

First developing a separate workflow to send that workitem..

[SWNCONFIG|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5314] [original link is broken] [original link is broken] [original link is broken] [original link is broken];

Regards

Pavan

0 Kudos

Hi,

>

> I think what you are looking for is the there should be a workflow and that should send the workitem to external mails address,

> Right

> First developing a separate workflow to send that workitem..

>

> [SWNCONFIG|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/5314] [original link is broken] [original link is broken] [original link is broken] [original link is broken];

Yes i configured the SWNCONFIG. But still when i execute the workflow, workitem come to SAP Inbox not to my external id.

I have given the task and workflow in the config.

Please check the link: http://sapsamplepro.blogspot.com/2011/09/problem-not-sending-mails.html

for screen shoots what i did.

former_member185167
Active Contributor
0 Kudos

Hello,

You are getting a few things confused here. The main problem is that you are mixing up workitems and emails.

A workflow can send an email in a SendMail step to a user, which is what you are doing (thanks for the screenshots). This has nothing to do with Extended Notifications. Your mail ended up with the user. If you want it instead to go to the user's external email then there are a number of settings you have to do for the user and the system whch have little to do with workflow.

Extended Notifications is used to send emails to users informing them that they have workitems in their inbox. This email can include a link to that workitem. It has nothing to do with emails sent from workflow.

Maybe time to invest in a workflow course or a workflow book.

regards

Rick Bakker

hanabi technology

0 Kudos

Hi,

Finally sending mails external, i will post the complete scenario(screen shots).

For now i have a small problem,mails are going to only one recipient.Even if i changed in the SU01. Where can we change the recipient ids or give recipient id.

Please help me

Edited by: ravindrakvs on Oct 11, 2011 5:51 PM

Former Member
0 Kudos

Hi Ravi,

Firstly, configuration for extended notification in SWNCONFIG is required and schedule the std program SWN_SELSEN in background for an interval of 5 minutes(as per requirement) which you have already done.

Second, maintain the email ids in SO13 which is personal settings, means each user has to maintain his email id in SO13 so that whenever he gets a workitem to his inbox a notification his sent to his email address which is maintained in SO13.

When the user gets an email which is a notification of workitem, there will be 2 links Workflow inbox and Execute workitem.

Let me know if you are still facing issues on this.

Regards,

Karthik

former_member185167
Active Contributor
0 Kudos

Hello,

Just to be clear - this question has nothing to do with Extended Notifications.

"For now i have a small problem,mails are going to only one recipient.Even if i changed in the SU01. Where can we change the recipient ids or give recipient id."

You set the recipients in the workflow, in the SendMail step. Nothing to do with SU01.

regards

Rick Bakker

hanabi technology

0 Kudos

Hi All,

Thanks for all your replies.

Finally i am able to send a external mail to outlook for approval or reject.

As per WHAT WE DID:

CHECK:

1. Check mails are sending to external address from SBWP transaction(SAP Inbox).

Click on New Message and give recipient address. SEND

2. Goto SOST and check Send Status.

3. Then you can conform that SCOT settings are configured good.

PROCESS:

1. Configure SWNADMIN( this Baisc settings) you can also do it in SWNCONFIG(advanced settings).

2. Schedule the report SWN_SELSEN as background job.

3. Create a workflow for decision.

4. Copy the decision in SWNCONFIG under what you have configured. Under filter settings give the task(Delta).

5. Now execute the workflow and you will get external mail for user decision.

DOUBT:

For recipient address

ANSWER

In workflow AGENTS give user, it will take recipient form SU01 according to user name(what we are thinking).

This is what we are getting output after doing all the above steps. If we are going some where wrong please let us know.

For now its working good!. We can approve/reject from outlook.

Thank you all,

Ravindra.

0 Kudos

Hi,

Task:

User can click his decision directly from MS Outlook WITHOUT having to login details.

Problem:

Every time when i get Decision to MS OUTLOOK,i need to login all the time.

Doubt

1. Is there any chance without giving the login details user can take a decision(approve or reject) directly.

2. We are not using portal, is this possible .

former_member185167
Active Contributor
0 Kudos

Hello,

That's the annoying thing about SAP, you have to log on before you can do anything. Something about "security".

regards

Rick Bakker

hanabi technology

0 Kudos

Hi Rick,

We tried alot, some of them are saying that it can be done using portal(single sing on). But still for that scenario also user as to logon for once. I think you may be right. thanks for the answer.

Note: If you can do the scenario some where in the future, please post in the same link. It would be really helpful.

Thank you,

ravindrakvs.