2013 Nov 28 2:02 PM
Hi ,
I want to fetch ‘CKMLQS’ data through Z-program , but while fetching I Get a short dump .
“CALL METHOD lt_inputs-qsnode->expand_inputs.”
I am getting a runtime error : CONVT_OVERFLOW.
The error analysis shown is : “The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not caught in procedure "NEW_QUANTITY" "(METHOD)", nor was it propagated by a RAISING clause.”
Please help me in this issue.
Thanks,
Kunal
Hi ,
I want to fetch ‘CKMLQS’ data through Z-program , but while fetching I Get a short dump .
“CALL METHOD lt_inputs-qsnode->expand_inputs.”
I am getting a runtime error : CONVT_OVERFLOW.
The error analysis shown is : “The exception, which is assigned to class 'CX_SY_CONVERSION_OVERFLOW', was not caught in procedure "NEW_QUANTITY" "(METHOD)", nor was it propagated by a RAISING clause.”
Please help me in this issue.
Thanks,
Kunal
2013 Nov 28 2:12 PM
Hi Kunal,
This is the short dump due to overflow. Lets say your Quantity variables is of 13 decimals 3. Now at runtime if the value of quanitity is more than 13 places before decimals, then it would give a dump of overflow.
Whenever you are using the quantity calculation, use this :
TRY.
Place your code for Quanitty calculation.
CATCH.
CX_SY_ARITHMATIC_ERROR. "Outside Value Range
ENDTRY.
Thanks,
Sumit
2013 Nov 29 8:34 AM
Hi Sumit,
Thanks for your reply .
in my Z-program i am using
CALL METHOD lt_inputs-qsnode->expand_inputs.
so the error is occuring in standard Method and I am not able to change it or write any code into it.
Is there any note or any other way to fetch data same as CKMLQS transaction ?
Thanks,
Kunal
2013 Nov 29 9:46 AM
Hi Kunal,
its due to miss matching of data type also, can u pls check data type.?
Regards,
Hiriyappa
2013 Nov 29 9:53 AM
Hi
Probably your report is managing amount or total having a value too large
Max
2013 Nov 29 1:42 PM
Hi Max,
Yes i know that value is too large .... but how to handle it as the code is writeen in standard method.
Thanks,
Kunal
2013 Nov 29 3:25 PM
2013 Nov 29 4:44 PM
CALL METHOD cl_qstree_ckml=>create_docking_tree
EXPORTING
is_mlkey = ls_mlkey
IMPORTING
er_qstree = qstree
EXCEPTIONS
container_already_exists = 1
treecontrol_already_exists = 2
object_create_error = 3
container_create_error = 4
kalnr_notfound = 5
treecontrol_create_error = 6
OTHERS = 7.
CHECK sy-subrc EQ 0.
lcl_node = qstree->mr_rootnode.
READ TABLE lcl_node->t_inputs INTO lcl_node1 INDEX 1.
ADD 1 TO lv_seqnr.
lt_inputs-seqnr = lv_seqnr.
lt_inputs-qsnode = lcl_node.
APPEND lt_inputs.
LOOP AT lt_inputs.
CALL METHOD lt_inputs-qsnode->expand_inputs.
lcl_node1 = lt_inputs-qsnode.
LOOP AT lcl_node1->t_inputs INTO lcl_node2.
IF sy-tabix = 1.
ADD 1 TO lv_seqnr.
lt_inputs-seqnr = lv_seqnr.
ENDIF.
lt_inputs-qsnode = lcl_node2.
APPEND lt_inputs.
ENDLOOP.
ENDLOOP.
CLEAR lv_seqnr.