[ABAP] Verwendete Codepage des Systems anzeigen

DATA: lv_cp TYPE tcp00-cpcodepage.
DATA: lv_dyn_cp TYPE tcp00-cpcodepage.

CALL FUNCTION 'SYSTEM_CODEPAGE'
  IMPORTING
    codepage                 = lv_cp
    current_dynamic_codepage = lv_dyn_cp.

WRITE: / lv_cp.
WRITE: / lv_dyn_cp.