cancel
Showing results for 
Search instead for 
Did you mean: 

CCM: Field QUANTITY and /CCM/MINIMUM_QUANTITY

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Done with modification.

Former Member
0 Kudos

hi,

In Standard, by default the quantity is taken as 1 if you dont enter it.

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

If you want to change the quantity,you can always do it at the SC level using the BADI BBP_DOC_CHANGE_BADI.

BR,

Disha.

Pls reward points for useful answers.

Former Member
0 Kudos

You could set the default value using the catalog transfer value to be equal to the value in the minimum qty field however you would then need to set the Min Qty check to not be on.

Regards

Chris

Former Member
0 Kudos

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