When I run, the details are being changed without using 'COMMIT WORK'. However, if I use ROLLBACK WORK before the end of the program, the database table does not get updated. Is there any other way I can run BAPI_MATERIAL_SAVEDATA in test mode without updating the Database table?
TESTRUN = ' ' INPFLDCHECK = ' ' IMPORTING RETURN = BAPI_RETURN TABLES headdata = BAPI_HEAD storagelocationdata = BAPI_MARD storagelocationdatax = BAPI_MARDX. IF BAPI_RETURN-TYPE = 'E'. WRITE:/ 'Error', BAPI_RETURN-MESSAGE. ENDIF Reply Former Member In response to Former Member ...
I'm using the fm BAPI_MATERIAL_SAVEDATA to create a material in our R/3 (4.7) test system. That works fine, but now I have an additional field to fill with data. This field is an customer field in an mara-append (MARA-ZFORST). I fill this field in the extentionin structure of ...