If you are checking the inbound delivery created via bapi (FM) in VL33N then it will not work.
i.e. you have just tested the function and a number range is consumed but not posted in system.
you can view this only after commit action by BAPI_TRANSACTION_COMMIT follwed by your original bapi.
REfer your ABAPer for more details