ABAP OO Class Methods

ENDIAN_TO_NUMBER_FORMAT SAP Method - Number Format Determined for Byte Sequence







Below is documentation, parameters and attributes of ABAP Method ENDIAN_TO_NUMBER_FORMAT within SAP class CL_ABAP_CHAR_UTILITIES. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name CL_ABAP_CHAR_UTILITIES into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

CL_ABAP_CHAR_UTILITIES

Method Name

ENDIAN_TO_NUMBER_FORMAT

Method Type

Static Method:  This is a Static Method so you can call it directly






Importing Parameters:

Below is a list of importing parameters associated with this method, including its name, description and data type


ENDIAN " Byte Sequence TYPE ABAP_ENDIAN

Returning Parameters:


NUMBER_FORMAT " "ENDIAN" Number format TYPE CPCODEPAGE

Exceptions:



Example ABAP coding


DATA:
ld_ENDIAN TYPE ABAP_ENDIAN ,
ld_NUMBER_FORMAT TYPE CPCODEPAGE.

" ld_ENDIAN = "

CALL METHOD CL_ABAP_CHAR_UTILITIES=>ENDIAN_TO_NUMBER_FORMAT(
EXPORTING
ENDIAN = ld_ENDIAN
RECEIVING
NUMBER_FORMAT = ld_NUMBER_FORMAT ).

"Alternate coding for Method Call with returning parameter



ld_NUMBER_FORMAT = CL_ABAP_CHAR_UTILITIES=>ENDIAN_TO_NUMBER_FORMAT(
EXPORTING
ENDIAN = ld_ENDIAN ).


ld_NUMBER_FORMAT = CL_ABAP_CHAR_UTILITIES=>ENDIAN_TO_NUMBER_FORMAT(
EXPORTING
ENDIAN = ld_ENDIAN ).