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: 

ABAP_DUMP error CONVERT-NO-NUMBER

Former Member
0 Kudos

Hi Abapers,

I am running one customized report in DEV and QAS ( Same Report amd Same Version). In Dev there is no error working fine , but in QAS I got Abap dump error.

This one is ASSET LISTING REPORT.

ERROR :

Unable to interpret 'MV' as number.

I got the error in IF condition as follows:

******************************

GET ANLAV.

CLEAR: IT_ASSET.

  • Check acquisition date

CHECK ANLAV-ZUGDT LE P_DATE.

    • If it_asset_temp-asset no is not empty means it has not updated so

*append to display low value asset.

IF IT_ASSET_TEMP-ANLN1 NE 0. ( GOT ERROR HERE)

APPEND IT_ASSET_TEMP. CLEAR IT_ASSET_TEMP.

ENDIF.

  • Check deactivation date.

IF ANLAV-DEAKT NE '00000000' OR

ANLAV-GPLAB NE '00000000'.

CHECK ANLAV-DEAKT GT P_DATE.

CHECK ANLAV-GPLAB GT P_DATE.

ENDIF.

GET ANLZ.

MOVE-CORRESPONDING ANLAV TO IT_ASSET_TEMP.

MOVE-CORRESPONDING ANLZ TO IT_ASSET_TEMP.

GET ANLCV.

PERFORM GETDEPRECIATION.

IT_ASSET_TEMP-ACQ_VALUE = X-GJE_KANSW.

IT_ASSET_TEMP-KNAFA = X-NAFAP + X-NABWB + X-KNAFA.

IT_ASSET_TEMP-BK_VALUE = X-GJE_BCHWRT.

APPEND IT_ASSET_TEMP. CLEAR IT_ASSET_TEMP.

END-OF-SELECTION.

  • If it_asset_temp-asset no is not empty means it has not updated so

*append to display low value asset.

IF IT_ASSET_TEMP-ANLN1 NE 0.

APPEND IT_ASSET_TEMP. CLEAR IT_ASSET_TEMP.

ENDIF.

*************************

Anyone help me ?

Thanks

Nathan

5 REPLIES 5

Former Member
0 Kudos

Hi,

may be the some data present in quality is type character and you are trying to pass it to a field which is of type I.MV is being passed into field whose type is I.You cant pass char fields.

Message was edited by:

Raghu Reddy

Former Member
0 Kudos

GET ANLAV.

CLEAR: IT_ASSET.

  • Check acquisition date

CHECK ANLAV-ZUGDT LE P_DATE.

    • If it_asset_temp-asset no is not empty means it has not updated so

*append to display low value asset.

IF IT_ASSET_TEMP-ANLN1 NE 0. ( GOT ERROR HERE)

APPEND IT_ASSET_TEMP. CLEAR IT_ASSET_TEMP.

ENDIF.

  • Check deactivation date.

IF ANLAV-DEAKT NE '00000000' OR

ANLAV-GPLAB NE '00000000'.

CHECK ANLAV-DEAKT GT P_DATE.

CHECK ANLAV-GPLAB GT P_DATE.

ENDIF.

GET ANLZ.

MOVE-CORRESPONDING ANLAV TO IT_ASSET_TEMP.

MOVE-CORRESPONDING ANLZ TO IT_ASSET_TEMP.

GET ANLCV.

PERFORM GETDEPRECIATION.

IT_ASSET_TEMP-ACQ_VALUE = X-GJE_KANSW.

IT_ASSET_TEMP-KNAFA = X-NAFAP + X-NABWB + X-KNAFA.

IT_ASSET_TEMP-BK_VALUE = X-GJE_BCHWRT.

APPEND IT_ASSET_TEMP. CLEAR IT_ASSET_TEMP.

END-OF-SELECTION.

  • If it_asset_temp-asset no is not empty means it has not updated so

*append to display low value asset.

<b>IF IT_ASSET_TEMP-ANLN1 <i>NOT INITIAL</i>.</b>

APPEND IT_ASSET_TEMP. CLEAR IT_ASSET_TEMP.

ENDIF.

No Rewards Plz...

0 Kudos

Hi ,

My question is in Dev there is no error , Why the error in QAS ?

Same code.

Thanks

Nathan

0 Kudos

Hi,

As I told you , in quality

instead of maintaining anln1 as type i , they might be maintaining type c values.What is the type of IT_ASSET_TEMP-ANLN1.

0 Kudos

Hi All,

Thanks for your inputs .

The problem solved . I found that error is due to some incorrect input parameters.

Thanks

Nathan