Hi friends,
I need to update contract (providing new price by creating new condition validity periods) and then I need to display the details of the Purchase Order of that contract.
For this I am using BAPI_CONTRACT_CHANGE first and then BAPI_PO_GETDETAIL1. But I am getting a dump saying "Access via NULL object reference not possible" in the method if_purchase_out_header~is_contract.
When I use these Bapis (I am calling it in a function module) separately, both works fine.
Note: While updating the contract, I am getting a warning saying "Error transferring ExtensionIn data for enhancement CI_EKKODB" but the contract is updated as required. Is the dump related to this..? please help...