cancel
Showing results for 
Search instead for 
Did you mean: 

Approval notes/text mandatory when a shopping cart is rejected

Former Member
0 Kudos

Hello,

I'd like to make the approval notes/text mandatory when a shopping cart is rejected. I've implemented the checks in my CHECK BADi and output a message if the field "approval notes/text" is blank. My message is not comming up - when debugging i can see the export message table is populated.

Kindly assist.

Rgds

Chris.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

How are you checking the field "approval notes/text"?you should try with the CHANGE badi.

BR,

Disha.

Former Member
0 Kudos

Hi Disha,

In the CHECK BADi i used the function BBP_PD_SC_GETDETAIL to detemine if the "approval notes/text"? in Table(export) e_longtext has been populated. If the condition isn't met i then populate table ET_MESSAGES which is my export table in the CHECK badi.

The CHANGE badi doesn't have an export structure for uotputting messages. How would you recommend i use the CHANGE badi?

Rgds,

Chris.

Message was edited by: Chris

Former Member
0 Kudos

Hi,

What you are checking is the "INTERNAL NOTE" when creating the SC.

You can use the CHANGE badi to check whether the table is getting populated and then set an indicator.Export this to the CHECK badi and their for this indicator ,you can display the corresponding message.

So you can use IMPORT/EXPORT for the 2 BADI's for your reqt.

BR,

Disha.

Pls reward points for helpful answers.

Answers (0)