‎2012 Aug 11 8:28 AM
Hi,
When I'm updating the contract using BAPI_CUSTOMERCONTRACT_CHANGE the freight rate value is getting reset.
I have done some analysis and following are my findings:
We are using a BAPI 'BAPI_CONTRACT_CREATEFROMDATA' to create a contract from Portal.
There is a freight rate condition in the contract created. When contract is created from portal if we see the condition details the condition origin for freight rate is 'Maually Entered' while when the same contract is created in ECC using VA41 the condition origin is 'Automatic Pricing'.
I don't know why this difference between contract created using BAPI and one created using standard transaction.
Also, I have debugged the standard code and found that code is behaving different for the contract created through BAPI and through ECC i.e., to say when I update the contract created through ECC using BAPI particular check fails while the same check is successful for the contract created through portal.
Thanks in advance for your help!!!
Thanks and Regards,
Nilesh
‎2012 Aug 13 2:37 PM
Hi,
I checked the conract created from portal and the one created from ECC the Incoterm2 was missing in the contract created from Portal. Hence, during update it was redetermining the freight rate.
Thanks and Regards,
Nilesh
‎2012 Aug 13 2:37 PM
Hi,
I checked the conract created from portal and the one created from ECC the Incoterm2 was missing in the contract created from Portal. Hence, during update it was redetermining the freight rate.
Thanks and Regards,
Nilesh