Ansicht
Dokumentation

CL_ABAP_CONV_UC_NUMBER - Konvertierung in Unicode-Zeichennummerdarstellung

CL_ABAP_CONV_UC_NUMBER - Konvertierung in Unicode-Zeichennummerdarstellung

CL_GUI_FRONTEND_SERVICES - Frontend Services   Addresses (Business Address 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






ROGBILLS - Synchronize billing plans   BAL_S_LOG - Application Log: Log header data  
Diese Dokumentation steht unter dem Copyright der SAP AG.

Length: 1618 Date: 20240425 Time: 111354     sap01-206 ( 30 ms )