cancel
Showing results for 
Search instead for 
Did you mean: 

Reject SC with reason for rejection.

Former Member
0 Kudos

Hi experts,

Some details:

We are on an SRM 5.0 implementation, in classic scenario.

When we reject a shopping cart using BBPBWSP_SIMPLE we want to make sure that a 'reason for rejection' is filled in. Therefore, the field 'notes for approval' should become mandatory. A simple check on this field would be enough. However, no BADI seems to stop on the action 'REJECT'.

Has anybody faced this problem before and foud a solution?

Best Regards,

Tom

Accepted Solutions (1)

Accepted Solutions (1)

laurent_touillaud
Contributor
0 Kudos

Hi Tom,

You can do this easily in the BBP_DOC_CHECK_BADI.

Best regards,

Laurent.

Remind points if helpfull.

Former Member
0 Kudos

Hi Laurant,

Doc_check BADI or Doc_change BADI only seem to be called when approving a shopping cart, not when rejecting a SC.

Tom

laurent_touillaud
Contributor
0 Kudos

We are on SRM 3.0 and when rejecting the shopping cart this badi is called.

Please double check if it's not the case on your release.

Regards,

Laurent.

Former Member
0 Kudos

Hi. Just check the SY-UCOMM value in BBP_DOC_CHECK_BADI. "Reject" will carry it's own value, and you can easily trap on that.

Regards,

Dave.

Former Member
0 Kudos

Hi,

We succeeded in using the doc check badi but still we have one problem. How can we fetch the value of the radio buttons 'approve' - 'reject' on item level? Does not seem to work with SY-UCOMM.

Regards,

Tom

pvanhoove
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello,

You can know if an item is rejected: in that case, the field reject_wi is filled.

Rgds,

Pierre

Former Member
0 Kudos

Hi Pierre,

As we want to show an error message before the actual rejection of the shopping cart, this field is not filled in.

We should be able to fetch whether the radio box 'approved' or 'rejected' is switched on (on item level) at the moment that we are saving - rejecting the shopping cart.

Any idea?

Regards,

Tom

former_member745780
Active Participant
0 Kudos

Hi Tom,

I'm facing the same problem .

vuyolwethu_kopo
Discoverer
0 Kudos

Hi,

Check field deduct_ind on item level. It should be populated with an X when it's marked for rejection.

Regards,

Vuyo

Answers (1)

Answers (1)

vinita_kasliwal
Active Contributor
0 Kudos

This message was moderated.