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

n-step BADI WS14000133 - Invoke Error message when approver cannot be found

Former Member
0 Likes
155

We set up the error message "098 - No approval information exists for

this item" in the the application area BBP_PU table BBPV_PDMSG and

under the SRM > Cross Application Basic Settings > Influencing Message

Control > Message Control against the business object BUS2121 but the

system does not invoke this error message when the n-step BADI does not

return an approver.

Is there a way for the system to return this error message whenever an

approver is not returned by the n-step BADI to prevent the shopping

cart from being created?

Accepted Solutions (1)

Accepted Solutions (1)

ricardo_cavedini
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

Message should be raised within BBP_DOC_CHECK_BADI.

This badi would check if there is any approver available (you can use a FM BBP_WFL_DIN_APPR_CONTAINER_GET and take the return parameter ET_APPROVAL_AGENTS).

If it is empty, you could raise a message informing that no approver exists.

I hope this helps.

Kind regards,

Ricardo

Former Member
0 Likes

Thank you for your feedback which pointed our Developer in the right direction and solved the problem.

Answers (0)