DATA lv_string TYPE string.
DATA lv_xstring TYPE xstring.
" gzip
cl_abap_gzip=>compress_text(
EXPORTING text_in = lv_string
IMPORTING gzip_out = lv_xstring
).
" unzip
cl_abap_gzip=>decompress_text(
EXPORTING gzip_in = lv_xstring
IMPORTING text_out = lv_string
).
See also methods COMPRESS_BINARY and DECOMPRESS_BINARY of cl_abap_gzip.
Subscribe to:
Post Comments (Atom)
SAP ABAP: Determine Timezone for Plant
DATA: lt_tzone TYPE STANDARD TABLE OF tznzone WITH DEFAULT KEY, l_tzone TYPE tznzone. " get time zone for plant ...
-
Sometimes the backend doesn't return the selected rows of an SALV. For my case get_metadata( ) was the solution: go_salv-> get_met...
-
GUIDs or UUIDs can be created with the class cl_system_uuid . try . data (lv_uuid) = cl_system_uuid => if_system_uuid_static...
-
AA PR-AUF(E) Prozessauftrag (eröffnet) AB PR-AUF(F) Prozessauftrag (freigegeben) AC FE...
No comments:
Post a Comment