I need to do an implicit enhancement in MB_CREATE_GOODS_MOVEMENT. The issue is that I need to do a commit work here for creating a batch classification value for a batch otherwise the goods movement fails.
My question is that since MB_CREATE_GOODS_MOVEMENT is called within BAPI_GOODSMVT_CREATE is it ok to issue a commit work within my implicit enhancement ? If it is not ok then how else can I commit the batch classification( can I use a FM or class method and commit within the FM/class method ) before the goods movement is done through MB_CREATE_GOODS_MOVEMENT.