on 11-29-2006 7:30 AM
Hi all
We are using SRM5.0 with CCM 2.0 and want to set the default quantity (always 1 ) of items to the value of /CCM/MINIMUM_QUANTITY. After activating BADI /CCM/CSE_ENRICHMENT and the the implement the minimum quantity check in VALIDATE_DATA, we try to set the quantity in ENRICH_DATA (ct_item_and_quan-quantity), but it doesn't work.
- How can we set the default to /CCM/MINIMUM_QUANTITY
- How can we debug the BADI ?
Thanks
Sven
Done with modification.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In Standard, by default the quantity is taken as 1 if you dont enter it.
BR,
Disha.
Pls reward points for useful answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Disha
Yes, it's looks like that is always 1, and this is the problem.
Does it make sense, if the /CCM/MINIMUM_QUANTITY, which represents the min. order qty., e.g. 100 PCE, the default quantity is always 1 PCE and, after the User select the item, the BADI checks and say "Warning: quantity is below minimum order qty." ?
BR
Sven
Hi Chris
Maybe there is an other solution for the problem. The SRM Users want to get the min. order qty. as default value for quantity in the item list.
(Logon SRM ->choose Shop->choose catalog XXX -> (CCM catalog) Search for items. At this point there is a result list with items for shopping.
Field "Quantity" (default 1) is ready for user input. We want is to set default (1) to the value of /CCM/MINIMUM_QUANTITY from the item.
Are we wrong with BADI /CCM/CSE_ENRICHMENT at ENRICH_DATA? Is there an other BADI?
Is there an problem with item basic data?
Regards
Sven
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.