The material number should be automatically generated so i am using BAPI_MATERIAL_GETINTNUMBER
to generate the material number and then pass the material number to the BAPI_MATERIAL_SAVEDATA.
The program needs to be run in test mode so the number has to be passed but not commiting so that
the material is not created.
My question is the next time we run the program in the run mode then it will be be skipping the
test mode generated material numbers and creates new numbers. How do i deal with this?