2013 Jan 29 10:02 AM
Hello,
I have a problem when I try to use the implentation of the BBP_DOC_CHECK_BADI. I need to do some validations when the user make the shopping cart. So I have decided to use this BADI. But my problem is this:
When the user click on the "SAVE" buttom, I check that the IV_PARK is not initial. If IV_PARK is not initial I do the validations. If one validation isn't wright, I add a new entry in the ET_MESSAGES export table. But instead of stopping the save process, the shopping cart is saved and the message that I have put on the table is showed too.
My iplementation should stop when I put a message in the ET_MESSAGES table.
Could somebody help me?
Thanks for all your time.
ADRIÁN MEJIDO.
2013 Jan 29 12:23 PM
I have already solved my problem.
The problem was that I only did the validations when the user click on the save buttom ( IV_PARK = 'X'). I have delete this condition and now all work rightly, because the validations are always done.
Best regards,
ADRIÁN MEJIDO.
Hello,
I have a problem when I try to use the implentation of the BBP_DOC_CHECK_BADI. I need to do some validations when the user make the shopping cart. So I have decided to use this BADI. But my problem is this:
When the user click on the "SAVE" buttom, I check that the IV_PARK is not initial. If IV_PARK is not initial I do the validations. If one validation isn't wright, I add a new entry in the ET_MESSAGES export table. But instead of stopping the save process, the shopping cart is saved and the message that I have put on the table is showed too.
My iplementation should stop when I put a message in the ET_MESSAGES table.
Could somebody help me?
Thanks for all your time.
ADRIÁN MEJIDO.
2013 Jan 29 10:19 AM
Hi,
At first check SAP help program for this (with shopping cart)
http://wiki.sdn.sap.com/wiki/display/SRM/Documentation+BBP_DOC_CHECK_BADI
If not solved,revert back.
Hope it helps.
Thanks
Gourav.
2013 Jan 29 10:21 AM
2013 Jan 29 12:23 PM
I have already solved my problem.
The problem was that I only did the validations when the user click on the save buttom ( IV_PARK = 'X'). I have delete this condition and now all work rightly, because the validations are always done.
Best regards,
ADRIÁN MEJIDO.