2008 Nov 19 3:48 PM
Hello all,
Do we have any inbuilt function in SAP to generate a random alphanumeric ID?
The requirement is such that there is an import parameter "Sales Rep ID" which is optional. So if the user is not providing the ID, then we have to randomly generate it ourselves. Hence I am looking for a FM which does that job.
Regards,
Abhishek
2008 Nov 19 3:55 PM
look at the function modules in F052, rthere yiou can generate random value for any data type.
RANDOM_AMOUNT
RANDOM_C
RANDOM_C_BY_SET
RANDOM_F8
RANDOM_I2
RANDOM_I4
RANDOM_INITIALIZE
RANDOM_P
RANDOM_TABLE_ENTRY
2008 Nov 19 4:14 PM
Thanks a Lot!!1
I will check out these FM's. Right now only issue will be to match the global data types (in case of enterprise service) to the data types of FM's
2008 Nov 19 4:23 PM