on 05-05-2011 7:25 PM
HI All,
In which table the characteristics value in ECP costinm model get stored?
Thanks
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check CKCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.