Use FM : GENERAL_GET_RANDOM_STRING.
Example :
DATA : lw_guid TYPE string.
CALL FUNCTION 'GENERAL_GET_RANDOM_STRING'
EXPORTING
number_chars = 32
IMPORTING
random_string = lw_guid.
Use FM : GENERAL_GET_RANDOM_STRING.
Example :
DATA : lw_guid TYPE string.
CALL FUNCTION 'GENERAL_GET_RANDOM_STRING'
EXPORTING
number_chars = 32
IMPORTING
random_string = lw_guid.
About the author