cancel
Showing results for 
Search instead for 
Did you mean: 

SRM 7.0 shopping cart product category approval

Former Member
0 Kudos

Hi Experts,

We have implemented SC approval workflow using BRF in SRM 7.0.

The first level approval is based on Product Category (UNSPSC) and the Decision type is 4 (Item-Based Decision for Partial Document). The responsiblity area is created for each UNSPSC in BAdi method GET_AREA_TO_ITEM_MAP.The responsible manager is selected for each UNSPSC from a custom table using method GET_RESPONSIBLE_APPROVERS.

Client's requirement is: If a line item's UNSPSC is not maintained in the custom table, then that line item should not have any approval. Rather it should wait for other line items to be approved by their responsible UNSPSC manager. Please advise how we can get this.

Thanks,

Sangeeta

Accepted Solutions (0)

Answers (1)

Answers (1)

robin_janke
Contributor
0 Kudos

Hi,

build a check in the GET_ITEM_TO_AREA_MAP to find if the UNSPSC category is maintained in the custom table - if yes, go ahead and add it to the map. If it doesn't exist, don't add the item to the map. This will make sure it is approved automatically.

Standard behaviour of the workflow is that it will wait in this approval step till the process level is approved completely.

Regards,

Robin

Former Member
0 Kudos

Hi Robin,

Thanks a ton for the reply.

Please let me know Which BADI implementation to be used? This  /SAPSRM/BD_WF_SC_RR_SL or some other BADI implementation?

Can you please provide me sample code?

Thanks,

Sangeeta