Skip to content

Commit ce0be3c

Browse files
authored
Update zcl_tbox_csvfield.clas.abap
1 parent 243ce7b commit ce0be3c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/zcl_tbox_csvfield.clas.abap

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,13 @@ CLASS zcl_tbox_csvfield IMPLEMENTATION.
721721
* +--------------------------------------------------------------------------------------</SIGNATURE>
722722
METHOD _overflow.
723723

724+
r_fail = abap_true.
725+
726+
SPLIT i_value AT '.' INTO DATA(int) DATA(dec).
727+
int = replace( val = int occ = 0 sub = `-` with = ` ` ).
728+
CONDENSE int.
729+
730+
CHECK strlen( int ) LE m_element->length * 2 - 1 - m_element->decimals.
724731

725732
r_fail = abap_false.
726733

0 commit comments

Comments
 (0)