Dear Experts , I have a requirement to insert the condition records in contract which got created from SRM , I am using bapi_contract_change . but not able to insert condition records like basic price , discount , fright .
we have two basic price for the contract one for normal goods and other for free goods , is this the resion of not able to update condition records because if I have only one basic price then bapi is working fine ? basic price is not coming into contract even when contract got created from SRM
and also I am getting message in return code that contract change successfully message type S , and Not a price condition message type W
Please help
I am passing below data to bapi
ls_icond-item_no = ls_icond-item_no * 10.
ls_icond-cond_count = lv_cond_count.
ls_icond-serial_id = lv_serial_id.
ls_icond-cond_value = zcond_wa-cond_rate.
ls_icond-currency = zcond_wa-cond_curr.
ls_icond-cond_unit = zcond_wa-cond_unit.
ls_icond-change_id = 'I'.
APPEND ls_icond TO it_item_condition.
ls_icondx-cond_count = lv_cond_count.
ls_icondx-item_nox = 'X'.
ls_icondx-serial_idx = 'X'.
ls_icondx-cond_countx = 'X'.
ls_icondx-cond_type = 'X'.
ls_icondx-cond_value = 'X'.
ls_icondx-currency = 'X'.
ls_icondx-serial_id = lv_serial_id.