on 2010 Mar 12 5:22 PM
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?
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.