Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 087ff09

Browse files
authoredMay 27, 2025··
bugfix cl_abap_conv_in_ce (#960)
1 parent 717ce00 commit 087ff09

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed
 

‎package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
},
1616
"license": "MIT",
1717
"dependencies": {
18-
"@abaplint/cli": "^2.113.119",
18+
"@abaplint/cli": "^2.113.123",
1919
"@abaplint/database-pg": "^2.10.24",
2020
"@abaplint/database-sqlite": "^2.10.24",
21-
"@abaplint/runtime": "^2.10.55",
22-
"@abaplint/transpiler-cli": "^2.10.55",
21+
"@abaplint/runtime": "^2.10.57",
22+
"@abaplint/transpiler-cli": "^2.10.57",
2323
"0x": "^5.8.0"
2424
}
2525
}

‎src/conv/cl_abap_conv_in_ce.clas.abap

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ CLASS cl_abap_conv_in_ce DEFINITION PUBLIC.
1111
RETURNING
1212
VALUE(ret) TYPE REF TO cl_abap_conv_in_ce.
1313

14-
CLASS-METHODS
15-
uccpi
16-
IMPORTING
17-
value TYPE i
18-
RETURNING
19-
VALUE(ret) TYPE string.
20-
2114
TYPES ty_char2 TYPE c LENGTH 2.
15+
16+
CLASS-METHODS uccpi
17+
IMPORTING
18+
uccp TYPE i
19+
RETURNING
20+
VALUE(char) TYPE ty_char2.
21+
2222
CLASS-METHODS uccp
2323
IMPORTING
2424
uccp TYPE simple
@@ -81,7 +81,7 @@ CLASS cl_abap_conv_in_ce IMPLEMENTATION.
8181
DATA lv_hex TYPE x LENGTH 2.
8282
DATA lo_in TYPE REF TO cl_abap_conv_in_ce.
8383

84-
lv_hex = value.
84+
lv_hex = uccp.
8585
" switch to little endian
8686
CONCATENATE lv_hex+1(1) lv_hex(1) INTO lv_hex IN BYTE MODE.
8787

@@ -91,7 +91,7 @@ CLASS cl_abap_conv_in_ce IMPLEMENTATION.
9191
EXPORTING
9292
input = lv_hex
9393
IMPORTING
94-
data = ret ).
94+
data = char ).
9595
ENDMETHOD.
9696

9797
METHOD convert.

0 commit comments

Comments
 (0)
Please sign in to comment.