01-17-2018 3:12 PM
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.
01-17-2018 3:24 PM
Look at each statement online help documentation, or at Exception Classes for ABAP Statements.
01-17-2018 3:24 PM
Look at each statement online help documentation, or at Exception Classes for ABAP Statements.
01-17-2018 3:30 PM
Hi Balakrishna,
You can also go through Exception Class - SAP Help
Happy Learning!
Cheers,
Kripa Rangachari.
01-17-2018 3:40 PM