‎2009 Aug 24 2:50 AM
Dear all,
Is there any available BAPI that performs similarly to BAPI_MATERIAL_SAVEDATA, but without actually committing/creating the material? In short, am looking for a test BAPI.
Would actually like to incorporate a test BAPI into the program for data checking/verification first. So its important that it doesn't commit. Apart from that, its mainly to highlight any issues on the data upfront, before actually loading the data.
Kindly advise, thanks in advance.
‎2009 Aug 24 3:57 AM
Hi,
You can call the BAPI BAPI_TRANSACTION_ROLLBACK to roll back the created material for simulation mode. You donu2019t need to commit here.
Regards,
Shamma
‎2009 Aug 24 4:43 AM
hai
if u dont use commit the material is not saved
if u use this bapi the material will be created in simulation and if u use bapi_transaction_commit then only it will save else it will not
m.a
‎2009 Aug 24 8:44 AM
Dear both,
the BAPI_MATERIAL_SAVEDATA actually commits the transaction internally. At the moment, manage to create the material master without calling for BAPI_TRANSACTION_COMMIT.
Had called BAPI_TRANSACTION_ROLLBACK, nope it doesn't seem to react to it. Material still gets created.
Any suggestions that i could try on?
Many thanks in advance.
Edited by: Carmen on Aug 24, 2009 9:58 AM