cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SRM 7.0 Shopping cart approval workflow - send email on rejection

Former Member
0 Likes
350

Hi experts,

We have implemented SAP SRM 7.0 and we are using for SC approval the standard workflow WS40000014 with N levels of approvers: this workflow generates an email for each approver notifying that you have to approve the SC.

But now we are facing the following requirement: if any approver rejects (or send back) the workitem the standard workflow doesn't automatically send an email notifying the decision to the requestor (and the previous approver).

Is there any way to implement this requirement?

Any sugestions?

Thanks in advance!

Regards,

AS

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi,

We had implemented a solution:

need to coding in the class /SAPSRM/CL_CH_WD_BOM_SC in the method: /SAPSRM/IF_CLL_BOM_SC~SUBMIT.

With in this method lo_pdo_adv->submit_decision method is called. Select the implementation as /SAPSRM/CL_PDO_BO_SC_ADV. Create an enhancement at the end of the method /SAPSRM/IF_PDO_ADV_BASE~SUBMIT_DECISION.

Commit work to be done in order to get the changes reflected In database. Use the table /SAPSRM/D_WF_006 to fetch the rejected items.

Please let me know if you need more information.

Regards

Kannaiah

masa_139
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I have implemented a solution. Please check old threads.

Regards,

Masa

Former Member
0 Likes

Hello Masa,

Thank you very much for the quick response.

I think this solution might work but when I configure the process levels - Acceptance by Contact Person, I'm getting a dump: TABLE_INVALID_INDEX...

I'm entering the following values:

Do you have any idea how to solve this?

Error analysis

When changing or deleting one or more lines of the internal table

"\FUNCTION-POOL=SVCM\DATA=VCL_EXTRACT_M_6" or when inserting in the tab

"\FUNCTION-POOL=SVCM\DATA=VCL_EXTRACT_M_6", 0 was used as

the line index. An index less than or equal to zero is not

allowed.

The error can occur when using the following options:

1. "INDEX idx" for specifying the line number in the table

"\FUNCTION-POOL=SVCM\DATA=VCL_EXTRACT_M_6"

where you want to change, insert or delete.

2. "FROM idx" for specifying the start index when deleting a line

area from or inserting a line area into the table

"\FUNCTION-POOL=SVCM\DATA=VCL_EXTRACT_M_6".

3. "TO idx" for specifying the end index when deleting a line

area from or inserting a line area into the table

"\FUNCTION-POOL=SVCM\DATA=VCL_EXTRACT_M_6".

At the time of the termination, the table contained 0 lines.

Thanks in advance.

BR,

Andre Sousa

masa_139
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi,

I have no idea about the dump. Please create a customer message in SAP Support Portal.

Regards,

Masa