on 2022 Jan 06 3:21 AM
Hi Experts,
We have to update the existing record in Vk32.If we update in VK32 we can directly update the existing record.We want to do this programmatically.We have tried BAPI BAPI_PRICES_CONDITIONS,it is always creating the new record instead of updating.Please assist to advice on this issue.
Thanks & Regards,
Anusha
SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; }Request clarification before answering.
Hi Anusha,
Agree with other experts, we should not delete condition records in VK12. What we have done in the past is end-dated existing records (let's say with today's date) and then create new records starting tomorrow. So that way any sales orders using old data won't get impacted and new sales orders created after the creation of new condition records will follow the new design.
Thank you.
Kartik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BAPI_PRICES_CONDITIONS is always creating the new record.
For change, you delete the old record first, after that creating the new record.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SAP's recommended approach is to create a new record instead of changing the existing record as for as pricing is concerned. Even if you do manually, it is always better to update via vk11 or vk31 and not vk12 or vk32. Also, it is not clear on your statement
it is always creating the new record
What do you mean by this? Is it not overwriting the existing condition record ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
115 | |
10 | |
7 | |
5 | |
4 | |
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.