REPORT yhexa.

DATA : lv_xs TYPE xstring.
DATA : lv_st TYPE string.

lv_xs = '564F4C564F20203130323933'.


CALL FUNCTION 'NLS_STRING_CONVERT_TO_SYS'
  EXPORTING
    lang_used = 'E'
    source    = lv_xs
*   FROM_FE   = 'MS '
  IMPORTING
    result    = lv_st.
*   SUBSTED                     =
* EXCEPTIONS
*   ILLEGAL_SYST_CODEPAGE       = 1
*   NO_FE_CODEPAGE_FOUND        = 2
*   COULD_NOT_CONVERT           = 3
*   OTHERS                      = 4
.
IF sy-subrc <> 0.
* Implement suitable error handling here
ENDIF.

.

WRITE : lv_st.

사이트운영 : http://sapjoy.co.kr  

저         서 : Easy ABAP, Plus ABAP

경         험 : SAP ABAP Tuning, SAP SCM(SD/PP/QM/PM/WM/APO)

자         격 : SAP SD / PP  / SAP ABAP Certification 등

메         일 : sapjoy@naver.com