SAP Tutorials Blog


 


TYPES clen3 TYPE c LENGTH 3.

DATA(as1) = EXACT clen3( abap_true ).

DATA(as2) = EXACT clen3( 'XY' ).

"DATA(as3) = EXACT clen3( 'abcd' ).


"Catching exception

TRY.

    DATA(as4) = EXACT clen3( 'abcd' ).

    CATCH cx_sy_conversion_data_loss.

ENDTRY.


Serkan AKKAVAK

Computer Engineer BSc

SAP Department Manager

Contact : serkurumsal@yandex.com