on 08-24-2008 10:57 PM
Hi,
We have a Punchout Vendor, where the shopping cart is eligible for free shipping if it is 10$, less than 10$, no free shipping, Our requirement is if the user submits a shopping cart less than 10$, it should not submit and instead it should show up a message saying that the Order did not meet the minimum requirements for free shipping.
Please advice what is the best way we can achieve this requirement.
Regards
Hi. Dinesh is correct, but to make it vendor specific you could define a custom attribute in table T77OMATTR called "minumum spend".
Then in PPOMA_BBP (before SRM 5) or in PPOMV_BBP (SRM 5) you can find the org unit for the vendor and assign the minimum spend value.
Then you can use function BBP_READ_ATTRIBUTES in the BBP_DOC_CHECK_BADI to read the minimum spend for that vendor and issue an error accordingly.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can check yr SC with BADI BBP_DOC_CHECK_BADI
and use filter criteria BUS2121
and build up the required logic for check the total value of SC for the required condition.
BR
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.