‎2006 Dec 30 1:57 PM
hi all,
this method BAPI_MATERIAL_SAVEDATA auto commits in database.
is there anyway to avoid this automatic commit.
please help...........its urgent.
points are guarenteed...........
‎2006 Dec 30 3:11 PM
Hi Manisha,
Can u explain the scenario in which this method is used so that v can make out the solution for it.......
‎2007 Jan 01 2:36 PM
ya sure, actually i want to update MRP parameters in material master. i m using this method to update plant dependent data in the MRP views...........and after this i m calling another function module to update MRP area dependent data in MRP views...........but if second function module for MRP area dependent data fails in updating the material master.......then i want to rollback whatever has been updated using the method BAPI_MATERIAL_SAVEDATA.................
i hope scenarioo is clear now...........
‎2007 Jan 01 5:16 PM
Hi,
Here are the steps..
Call the BAPI BAPI_MATERIAL_SAVEDATA..
Then call the second function module IN UPDATE TASK to group the updates..
Then give COMMIT WORK AND WAIT..
If it fails then everything will be rolled back..
Thanks,
Naren
‎2007 Jan 02 6:46 AM
i m not able to find out the FM IN UPDATE TASK.............
In se37 it says doesnt exist........