05-08-2009 8:27 AM
Hi Experts,
Can some one explain the functionality of GUID_CREATE function module.Thanks in advance.
With regards,
Srini...
05-08-2009 8:35 AM
Hello,
Guid for unique identification assigned list
It think it will generate the one unique key in the program.
DATA: con_log_guid TYPE guid_16.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = con_log_guid.
WRITE con_log_guid .
Try this example it is generating a 16number id.
05-08-2009 8:32 AM
This function returns the system id in 3 forms one in X(Hex form), one in Char (length 22) and the other in Char(length 32).
05-08-2009 8:33 AM
Hi!
This function module is used to generate a so-called Global Unique Identifier.
You can use it to get a worldwide unique key for arbitrary purposes like e.g. internal key of a table entry/business object or internal key of shared memory objects (EXPORT/IMPORT MEMORY) or unique key for Server-Side Cookies and so on.
This function is also very useful when exchanging data with other SAP systems, ensuring that you use a unique and distiinct key (avoiding key conflicts with other SAP systems).
Hope this helps!
Regards,
Volker
05-08-2009 8:35 AM
Hello,
Guid for unique identification assigned list
It think it will generate the one unique key in the program.
DATA: con_log_guid TYPE guid_16.
CALL FUNCTION 'GUID_CREATE'
IMPORTING
ev_guid_16 = con_log_guid.
WRITE con_log_guid .
Try this example it is generating a 16number id.