‎2011 Dec 19 5:38 AM
Hi,
I have one requirement,
I will create one sales order using one condition record then I will create Invoice. Once the invoice is created there is a chance to change the condition record. if that is the case then when am changing invoice(VF02) those new pricing details should be redetermined from condition record and has to change the sales order pricing details from BAdI. Am using BAPI_SALESORDER_CHANGE to change the SO pricing details inside BAdI(SD_CIN_LV60AU02).
Am passing sales order no, updation flags, and item number , but it is not changing the required changes in Order data tab. Please let meknow if am missing something in BAPI parameters.
I tried to pass condition type also, but no use. and have reffered old threads.
Please help me.
Dileep
‎2011 Dec 19 6:59 AM
Hi,
In Bapi u mentioned the below parameters or not.Once check it.Because in standard Badi same parameters are maintained.
xvbrk
xvbrp
xkomv (For pricing )
xvbpa
‎2011 Dec 19 7:50 AM
Thanks for ur reply.
The problem is , I have all the above tables, in that xkomv table is useful for me but in BADI this table is having old data.I have to get new condition record details inside BADI. so that i can do some processing in order to populate 'order data' tab.
Issue is how to check new condition record details?
There is one field called 'Your reference' under Order data tab both in sales order and in invoice pricing details. I have to update this field based on the new condition records details.
Regards,
Dileep
‎2012 Jan 05 5:24 PM
Hi,
This BAPI is working fine aspermy requirement now.
Regards,
Dileep.