abap2xlsx/src/zcl_excel_obsolete_func_wrap.clas.abap
Ivan Femia f8b0e354db Moving to abapGit
First commit to abapGit
2017-05-16 22:22:30 +02:00

39 lines
894 B
ABAP

class ZCL_EXCEL_OBSOLETE_FUNC_WRAP definition
public
create public .
public section.
class-methods GUID_CREATE
returning
value(RV_GUID_16) type GUID_16 .
protected section.
private section.
ENDCLASS.
CLASS ZCL_EXCEL_OBSOLETE_FUNC_WRAP IMPLEMENTATION.
METHOD guid_create.
TRY.
rv_guid_16 = cl_system_uuid=>if_system_uuid_static~create_uuid_x16( ).
CATCH cx_uuid_error.
ENDTRY.
*--------------------------------------------------------------------*
* If you are on a release that does not yet have the class cl_system_uuid
* please use the following coding instead which is using the function
* call that was used before but which has been flagged as obsolete
* in newer SAP releases
*--------------------------------------------------------------------*
*
* CALL FUNCTION 'GUID_CREATE'
* IMPORTING
* ev_guid_16 = rv_guid_16.
ENDMETHOD.
ENDCLASS.