Hi ,
I have a requirement to update quotation pricing data is condition exists i.e if pricing is already exists , if pricing is not exists it has to create a new pricing condition with the given information .
I am able to update the information using BAPI_CUSTOMERQUOTATION_CHANGE if pricing condition exists ,if pricing condition not existing its not working as expected.
Please guide me..
code i have written
*Conditions
lt_conditions_in-itm_number = it_quot-posnr.
lt_conditions_in-cond_type = c_zill.
lt_conditions_in-cond_value = it_quot-kbetr.
lt_conditions_inx-cond_count = 1.
APPEND lt_conditions_in.
lt_conditions_inx-itm_number = it_quot-posnr.
lt_conditions_inx-cond_type = c_zill.
lt_conditions_inx-updateflag = c_u.
lt_conditions_inx-cond_value = c_x.
APPEND lt_conditions_inx.
Thanks in advance,
Srinivas.