Hello guys,
I need to generate unique IDs for my application
This will keep track of records in db tables and log tables as well as other places.
there is two ways i thought:
- SNRO a number range
- GUID
We dont want to keep track of SNRO and GUID is not understandable by users
is there another way?
What about using code like this, timestamp becomes my unique ID
But there will be issues like same ID
what do you suggest??
method GENERATE_BATCH_ID.
CONCATENATE sy-datum sy-uzeit INTO rv_batch_id.
endmethod.