2008 May 29 12:22 PM
Hello,
I have the following problem.
I am calling a SAP function module which is duing some arithmetic operations. Sometimes the function module dumps with COMPUTE_BCD_OVERFLOW.
The problem is that this error is not catched in the function module.
So my idea was to catch it in my program.
I tried the following code:
CATCH SYSTEM-EXCEPTIONS COMPUTE_BCD_OVERFLOW = 1.
CALL FUNCTION 'SAPTUNE_GET_SUMMARY_STATISTIC'
EXPORTING
DESTINATION = 'NONE'
TABLES
BUFFER_STATISTIC = LT_BUFF_STATS
EXCEPTIONS
NO_AUTHORIZATION = 01
OTHERS = 99.
ENDCATCH.
IF SY-SUBRC <> 0.
........
.......
ENDIF.
But it doesn't work.
So is there a way how I can catch an exception which is thrown in a SAP function module ?
Thanks
2008 May 29 12:31 PM
Hi Buddy,
See this sap note.
1139208--->COMPUTE_BCD_OVERFLOW in program REUKEWU3A.
Try this and get back to me incase of any queries.
Dont forget to reward points if found useful.
Thanks,
Satyesh
Hi,
this doesn't work because the field overflow occures in a original SAP function module. I can not change SAP code.
TRY / CATCH / ENDTRY does also not work.
The exception isn't caught.
Thanks
Arnfried
2008 May 29 12:31 PM
Hi Buddy,
See this sap note.
1139208--->COMPUTE_BCD_OVERFLOW in program REUKEWU3A.
Try this and get back to me incase of any queries.
Dont forget to reward points if found useful.
Thanks,
Satyesh
2008 May 29 1:00 PM
Hi,
this doesn't work because the field overflow occures in a original SAP function module. I can not change SAP code.
TRY / CATCH / ENDTRY does also not work.
The exception isn't caught.
Thanks
Arnfried
2008 May 29 12:32 PM
Maybe you can use the TRY / CATCH / ENDTRY statements here.
Also, since it is an SAP function that dumps, did you check for SAP notes on the topic?
Cheers
Thomas
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |