cancel
Showing results for 
Search instead for 
Did you mean: 

Mail notification and deadline monitoring

Former Member
0 Kudos

Hi Experts,

I am working in SRM 7.0 process controlled workflows.

I want to activate deadline monitoring for shopping cart workflow.

Please help me with the standard steps to configure the deadline montoring. Also my requirement is to sent notification to the manager of the approver after 2 working days. If the manager does not found then I need to send mail to the approver & the workflow creator.

Currently mail notification is bieng sent after rejection to the workflow creator but my requirement is to sent the rejection or approval notification to the Goods receipient of the shopping cart which is different from standard funtionality. Please suggest how this can be accomplished.

Thanks in advance,

Sangeeta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Saravanan,

Thanks for the help.

But I am getting following issues while developing this report, please help me urgently on this:

1. FM ADDR_ADD_TO_TIMESTAMP does not returning any value in changing parameter, please elaborate on this FM. Do we have any alternative to this FM?

2. Method you mention GET_CURRENT_PROCESS_LEVEL is returning process level but not the approver id. how to get the approver id?

Thanks in advance

Sangeeta

Former Member
0 Kudos

Hi,

Did you maintain the parameters in the report as shown below.

Field name Selection Text Type Size Default Value Obligatory ( Y / N )

P_STATUS Status J_STATUS I1015 Y

P_TIMESTAMP Time Period(hours) I 48 Y

Saravanan

Former Member
0 Kudos

Yes.

Your help would be highly appreciated.

Thanks,

Sangeeta

Former Member
0 Kudos

Hi,

Could you please share your code?

Saravanan

Former Member
0 Kudos

I have written same code given by you but the timestamp FM is not returning any value.

Thanks,

Sangeeta

Former Member
0 Kudos

Hi,

Below is the sample code for you

PARAMETERS : p_st TYPE j_status DEFAULT 'I1015',

p_ti TYPE i DEFAULT '48'.

DATA : lv_second TYPE i,

lv_crea TYPE string,

lv_creation TYPE comt_created_at_usr,

lv_timestamp TYPE ad_tstamp.

SELECT SINGLE created_at INTO lv_creation FROM crmd_orderadm_h WHERE object_id = '9000000123'.

lv_crea = lv_creation.

lv_timestamp = lv_crea.

lv_second = 60 * 60 * p_ti.

CALL FUNCTION 'ADDR_ADD_TO_TIMESTAMP'

EXPORTING

iv_seconds = lv_second

CHANGING

cv_timestamp = lv_timestamp.

Now v_timestamp will have two days added with the SC creation date.

Saravanan

Former Member
0 Kudos

Hi Saravanan

Thanks alot for the help.

Just one question, this report would be exceuted once in a day - so deadline notification mail will be sent repeatedly daily after 2 days from the creation. How can this be stopped?

I want to send notification only once.

Appreciate you help.

Thanks,

Sangeeta

Former Member
0 Kudos

Hi,

Then create a Z table and update the SC entry in it. before you send the email make sure the SC is there in the table and content of the Email and the same approver. if so dont send.

Saravanan

Former Member
0 Kudos

Thanks Sarvanan for your quick help!!

Former Member
0 Kudos

Hi Experts

As you are the SRM expert, need a small favor from you.
I am working on SRM 7.0 Process-controlled SC workflow. Just need a clarity on SRM workflow escalation.
As per my knowledge & past experience, with standard deadline monitoring functionality only reminder main will be sent to the approver itself but if we need to send the escalation mail to the approver's manager then we need to write the custom report.

Please confirm if I can achieve (escalation mail to the approver's manager) this or any other using standard functionality.

Thanks in Advance!

Regards,
Sangeeta

Former Member
0 Kudos

Hi Sangeeta,

You Can use the BBP_Alerting Badi to send the alert to more than one recipient.

E.g. to the approver and manager when the deadline is already passed out.

Further details about deadline monitoring: http://wiki.sdn.sap.com/wiki/x/CgaYDw

Cheers,

Melina

PS.: If this helps you, please assign the concerning SDN points

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

please refer the below thread..

Below thread is my workaround for your requirement.

Saravanan