on 06-15-2007 12:49 PM
Hi,
Could anybody of you tell me about how to activate an Error message in case the User has created a Shopping basket by selecting Search by Description(means Text Order) and by mistake he has not provided the price of the Item which he has selected.
In case of above,the system should throw an Error message indicating that the Shopping Cart is having a Zero Value item and you must review it before saving the Shopping Cart.
Awaiting for your response in this regard asap.
Regards.
Pranab
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Implement the BBP_DOC_CHECK_BADI for type BUS2121, method BBP_DOC_CHECK.
2. With the IV_DOC_GUID you can retrieve your shopping cartdetails using a function module, probably BBP_PD_SC_GETDETAIL.
3. Import the table it_item into an internal table.
4. Loop over that table and check the price.
5. When it's zero write an error mesage in exporting structure ET_MESSAGES.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.