‎2011 Mar 04 10:09 AM
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.
‎2011 Mar 05 11:18 PM
Hello Srinivas,
Use BAPI_QUOTATION_CREATEFROMDATA in the create scenario. Before calling the BAPI check if the quotation exists. If yes, use BAPI_CUSTOMERQUOTATION_CHANGE.
Regards,
Ajith
‎2011 Jun 07 1:25 PM
I have solved myself, it was basically functional consultant doing wrong testing.
‎2025 Feb 05 4:26 PM
Hello Engineer.
I have been carrying out the process of creating a price condition on the quote items using the BAPI_CUSTOMERQUOTATION_CHANGE bapi, just as was your case. Can you please tell me how you mapped the BAPI to solve it.
Thank you very much.