cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_WFL_APPROV_BADI error scenario

Former Member
0 Kudos

Hi,

SRM 5.0

I have activated N-Step BADI BBP_WFL_APPROV_BADI and it works well (good scenario cases) as per the customization.

In the customization, many tables are accessed. Due to some reasons if the record is not available, how do I error out ?

I want the user to see the error in the "approval preview" as well.

Is it possible ?

Pranav

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

You can't bring the error message of custom table in "Approval preview" but you can issue the errors in "Error message section" using BBP_DOC_CHECK_BADI. You can try that.

Hope this helps.

cheers, Renga

**Award points for helpfull answers**

Former Member
0 Kudos

Hi

Thanks

In my case, if there is an error (say no record), the work item has not been sent to the approver. When I check the SC (in approval preview), it shows "approver...." BLANK.

The reason is that the custom program can't get the record as it doesn't exist.

Do you mean in this scenario I can use BBP_DOC_CHECK_BADI ?

-Pranav

imthiaz_ahmed
Active Contributor
0 Kudos

One more way will be to send to populate that position with some common super user ( who can then forward it the required person) where approvers cannot be found.

Regards, IA