Ansicht
Dokumentation

CL_ABAP_CONV_UC_NUMBER - Konvertierung in Unicode-Zeichennummerdarstellung

CL_ABAP_CONV_UC_NUMBER - Konvertierung in Unicode-Zeichennummerdarstellung

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   CL_GUI_FRONTEND_SERVICES - Frontend Services  
Diese Dokumentation steht unter dem Copyright der SAP AG.
SAP E-Book

Funktionalität

Ein Eingabezeichenstrom wird in Ihre Unicodezeichennummer-Repräsentation gewandelt. Beispiel: Der Datenstrom 'abc' wird gewandelt nach 'abc', wobei 'x0061' die Zeichennummer von 'a' in Hexadezimalnotation ist und a ein nationales Sonderzeichen ist. Vor einer Wandlung muss stets die Codepage des Eingabedatenstroms bekannt gemacht werden. Das Bekanntmachen wird beim Anlegen einer Instanz gefordert. ASCII-Zeichen werden nicht konvertiert.

Beziehungen

Beispiel

data: conv type ref to cl_xms_xml_conv_util,

stream_in type xstring,

stream_out type xstring.

create object conv

exporting

im_source_codepage = '4110'. " UTF-8

stream_in = '616263'. "abc

call method conv->convert_raw_stream

exporting

im_stream = stream_in

importing

ex_stream = stream_out.

data: conv type ref to cl_xms_xml_conv_util,

stream_in type string,

stream_out type xstring.

create object conv

exporting

im_source_codepage = '4110'. " UTF-8

stream_in = 'abc'.

call method conv->convert_char_stream

exporting

im_stream = stream_in

importing

ex_stream = stream_out.

Hinweise

Weiterführende Informationen






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 1618 Date: 20240329 Time: 110748     sap01-206 ( 31 ms )