cancel
Showing results for 
Search instead for 
Did you mean: 

When trying to approve own shopping cart raise an error message

Former Member
0 Kudos

Hi,

I had a requirement to raise an error message when the requester is trying to approve his own shopping cart.

I had written the error message in DOC_CHECK_BADI, but when I cliked the approve button system is giving the message shopping cart contains error-> approval not possibel instead of actual custom message.

Can anybody through some Ideas on this.

Regards,

Veera.

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

The requester has never received the approval workitem. The requester is excluded in workflow side.

Which workflow template do you use?

Regards,

Masa

Former Member
0 Kudos

Hi Masa,

But when manager is used for substition and the subtitute is requester then the requester can approve all the shopping carts in managers inbox including his shopping carts.

Regards,

Veera

SE12
Active Participant
0 Kudos

Hi Veera,

The exclusion that Masa mentioned does not apply when using substitution or forwarding. The reason behind this is that the manager has the authority to select the person he wants to substitute him.

Kind regards,

Siobhan