on 2007 Aug 30 9:07 AM
Hello Experts,
We are working on CRM 5.0 SP 7, IC WebClient and have implemented the BAdi "CRM_SERVICEPROD_BADI" to assign a service product ''INVESTIGATION' whenever user selects service ticket in WebClient.
However, when confirming a Business Partner and accessing the service ticket, an error is getting displayed stating "Enter the unit of measure".
We have already mentioned the unit of measure in Product but it seems it is not picking from there.
Please help me to remove this error.
Reward points assured for useful answers.
Regards,
Amit
Dear Amit,
Missing sales area related data causes a lot for problems and messages.
the message you received ( enter unit of measure ) is related to that.
Please enter the sales area data properly in order to avoid the
problems of these kind.
If you are not using the sales area then you have to do a
workaround using a corresponding redefined controller class and directly
set the unit of measure or you have to use a custom implementation of
the BADI CRM_PRODUCT_I_BADI.There is no other option for this.
Regards, Gerhard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Amit
Gerhard is 100% correct. Please make sure that your unit of measures are maintained on the product master(trans COMMPR01).
Use the code below in CRM_PRODUCT_I_BADI to set uom.
if cs_product_i_badi-process_qty_unit is initial.
cs_product_i_badi-process_qty_unit = 'EA'.
cs_product_i_badi-process_qty_num = 1.
cs_product_i_badi-process_qty_den = 1.
endif.
Also, you will find you get error to specify product quantity. This can be done in badi CRM_SCHEDLIN_BADI with code below.
if is_schedlin_wrk-quantity is initial.
cs_schedlin_badi-quantity = 1.
endif.
Regards
johan.
Hi amit
Please mainatin the unit of measure as said in yuor deafult service product by maintaining it as a base unit first (service Tab) and then in the S&D tab assign the unit in sales unit and put in the min order quantity as 0 or 1..this you will need to do for all assigned sales areas.
Make sure the item cat grp is correct in service and s&D tab of the default product (commpr01)
I m sure your issue will be resolved .I had the same error.
Cheers!
regards
Shankar Raj
User | Count |
---|---|
10 | |
1 | |
1 | |
1 | |
1 | |
1 | |
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.