cancel
Showing results for 
Search instead for 
Did you mean: 

Link in e-Mail to GP

Former Member
0 Kudos

Hello,

I have realized a GP approval workflow. Is it possible to send an e-mail to the user who is involved next containing a link which directly directs to the step the user has to perfom?

Best regards

Alexander

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Alexander,

you might perhaps use a callable object of type 'Send an E-Mail in Background with Attachment' for this, see also:

http://help.sap.com/saphelp_nwce10/helpdata/en/fb/5e6f4169e25858e10000000a1550b0/frameset.htm

You could use a HTML mail template with the replacement 'sy.workitemurl' in it, see also here:

http://help.sap.com/saphelp_nwce10/helpdata/en/5d/a71342cb385333e10000000a155106/frameset.htm

=> like this you should be able to send mails with a link to the current work item. However, I'm not sure if this will work when there is more than one active work item...

Cheers,

Matthias

Former Member
0 Kudos

Hello Matthias,

thanks for your advice. It works fine.

Best regards

Alexander

Former Member
0 Kudos

Hi,

I also want pass an url to the task in an e-mail notification. So I used an HTML-Template with the sy.workitemurl replacement.

But the url I get looks like this:

http://<hostname>:/webdynpro/dispatcher/sap.com/cafeugpuirt/Runtime?app.processId=84a180&app.taskId=

As you can see the port is missing. When I add the port manually, the link works.

Any idea why the port is not added?

Thanks in advance,

Aydin Seven

Former Member
0 Kudos

Hello Aydin,

which version of the CE do you use? Maybe you should update to the latest version.

Best regards

Alexander

Former Member
0 Kudos

Hi Alexander,

I'm running CE 7.1 SP3. Is this a known bug in SP3?

This is how I added the url to the HTML-Template:

`{

writeln(sy.workitemurl);

}`

Is there something wrong with it?

Regards,

Aydin

Edited by: Aydin Seven on Aug 19, 2008 9:41 AM

Former Member
0 Kudos

Hello Aydin,

I'm running CE 7.1 SP3. Is this a known bug in SP3?

Not that I'm aware of. However, I'm using SP5.

`{

writeln(sy.workitemurl);

}`

Is there something wrong with it?

Looks fine for me.

Best regards

Alexander

Former Member
0 Kudos

Hi Alexander,

thanks for your answers. Any other ideas?

How does your template look like?

Regards,

Aydin

Former Member
0 Kudos

Any other ideas?

Maybe your configuration is erroneous, so that the port should be added to the URL but is read from a place where it is not correctly defined.

How does your template look like?

Except for the { } the templates looks identical.

Best regards

Alexander

Former Member
0 Kudos

>

Any other ideas?

>

> Maybe your configuration is erroneous, so that the port should be added to the URL but is read from a place where it is not correctly defined.

Do you know where the port can be configured?

Thanks and best regards,

Aydin Seven

Former Member
0 Kudos

Do you know where the port can be configured?

Unfortunately, not. I just did the plain installation and performed the documented configuration steps.

Former Member
0 Kudos

So did I. Maybe it's really because I'm using SP3, which seems unlikely to me...

Amey-Mogare
Contributor
0 Kudos

Hi,

I am doing exactly the same thing but taskID in the URL is still absent !!!

Can you please explain how did you fixed this issue?

Please help.

Thanks and regards,

Amey Mogare

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello GP experts,

I would be interested in the same functionality. Is there any way to achieve this?

Any help is appreciated.

Regards,

Matthias