sapdev logo background
sapdev logo sapdev logo
Comments

Static method call




When calling a static method of a class you do not need to create an instace of that class before calling it, i.e. by the use of the 'REF TO' statement. The below example demonstrate how to call the static method cl_convert_guid_32_16 of class cl_ibase_service. Also see calling an instance method.

Call static method

data: ld_GUID32 type GUID_32,
      ld_guid16 type GUID_16.


ld_guid16 = cl_ibase_service=>cl_convert_guid_32_16( ld_GUID32 ).





comments powered by Disqus