Skip to Content
-2
Jan 17, 2018 at 03:12 PM

issue with conversion errors in try catch block

146 Views

Hi,

I am downloading the data from excel file , Just for learning I want to know here for rate KBETR they are using try catch block so that any errors will be catched here , similarly for example if there is currency, quantity , sales order no and similar to this many fields how can we know what catch block is to be used. and where can we get these details .

  TRY.

            wa_item-kbetr = st_input-value.

          CATCH cx_sy_conversion_no_number INTO oref .

        ENDTRY.