Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

issue with conversion errors in try catch block

bala_krishna007
Participant
0 Kudos

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.
1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

Look at each statement online help documentation, or at Exception Classes for ABAP Statements.

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

Look at each statement online help documentation, or at Exception Classes for ABAP Statements.

former_member182877
Participant
0 Kudos

Hi Balakrishna,

You can also go through Exception Class - SAP Help

Happy Learning!

Cheers,

Kripa Rangachari.