Hi Ravi,
Suggested by Naveen, that FM should be useful for generating the ID's (only Numeric) but in case if needed as Alphanumberic, try to concatenate the generated number with some string (mostly name of the bo/process/some user defined).
This is should work if alphanumeric value needed.
Regards
Hanu K