‎2009 Aug 25 10:45 AM
Hi,
I am trying to change Net Price, Target Quantity, Validity End and Start Date using BAPI_CONTRACT_CHANGE.
(In the Test Function Module SE37).
I am passing the new validity end and start date through the "importing" parameters. and the new target quantity and net price through "Tables".
After executing,I get the Success message.
But,
I find only the "Exporting" table contain the new validity end and start date. But the database table is not updated.
The net price and target quantity remains the same..
Whether the BAPI is correct for my requirement and why the database table reflects the changes...?
‎2009 Aug 25 10:47 AM
If the database table is not updated, try using BAPI_TRANSACTION_COMMIT after the FM.
‎2009 Aug 25 11:56 AM
hi,
While testing the function module in SE37, the output ITEM TABLE also shows the old target qty and the net price.. How shoud update these values in the data base table using this BAPI...?
‎2009 Aug 25 12:23 PM
‎2009 Aug 25 12:35 PM
Hi Sachin,
I have to change the net price, target quantity, validity start date and validity end date. (Contract Revision)..
So the already existing values should be replaced by new values.
Regards,
Surya.
‎2009 Aug 25 4:36 PM
Thers is also a strucutre ITEM_X. In that, pass the value X for the parameters that you want to update and then do a commit.
‎2009 Aug 27 6:36 AM
hi,
I passed the headerx and itemx to the BAPI. Also I have used BAPI_TRANSACTION_COMMIT after this BAPI.
But the value is not updated both in EKKO (contract header) and EKPO (contract iem details) tables.
Can anyone help me in this for updating the database.
Regards,
Surya
‎2009 Sep 16 5:57 AM
There was a problem in XML.. I found that.. Thank you for the replies..