Skip to Content
0
Former Member
Apr 11, 2007 at 08:46 PM

Catalog error : Index of values is missing for characteristic PLANTu0092

11 Views

Error" Index of values is missing for characteristic " in mapping

Hi

We are in SRM

I was trying to transfer Master records to catalog using

BAdi : BBP_CCM_CHAR_MAINT but I’m getting an error’ Index of values is missing for characteristic PLANT’.

Plant has multiple value.

I’ve following code in the method ENHANCE_CTY_DEF

ls_char_definition-char_name = 'PLANT'.

ls_char_definition-char_datatype = 'CHAR'.

ls_char_definition-MULTIVAL_INDICATOR = 'X'.

APPEND ls_char_definition TO et_char_definition.

Following code in the method VALUATE_PRODUCT

**"plant data

v_index = 1.

ls_char_valuation-char_name = 'PLANT'.

LOOP at t_plant into WA_plant.

ls_char_valuation-char_value = WA_PLANT-PLANT_1.

IF WA_plant-PLANT_1 is not initial.

ls_char_valuation-MULTIVAL_INDEX = v_index.

APPEND ls_char_valuation TO et_char_valuation.

v_index = v_index + 1.

ENDIF.

ENDLOOP.

Can anyone tell me how to resolve it. I’ll definitely reward points to any useful answer.

-Joe