cancel
Showing results for 
Search instead for 
Did you mean: 

ECP Characteristics value table

vinoth_g
Explorer
0 Kudos

HI All,

In which table the characteristics value in ECP costinm model get stored?

Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Vinoth,

the costing model valuation (i.e. the values assigned to a costing model in ECP) is stored in classification. You have to read CKHS entry of the cost estimate first. Field CKHS-CKCMV contains the valuation key of ECP. Then use following methods to read the valuation:

DATA:

ls_ckhs TYPE ckhs,

lr_cmv TYPE REF TO cl_costing_model_valuation,

lt_chara_values TYPE cki_t_model_chara_values.

CALL METHOD cl_costing_model_valuation=>read_for_display

EXPORTING

i_costing_model_valuation = ls_ckhs-ckcmv

RECEIVING

rr_costing_model_valuation = lr_cmv

EXCEPTIONS

OTHERS = 1.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

CALL METHOD lr_cmv->get_all_characteristic_values

EXPORTING

id_external_format = 'X'

RECEIVING

rt_model_chara_values = lt_chara_values.

Best regards,

Johannes

Former Member
0 Kudos

Please check CKCM