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: 

Dump in SAP query report

Former Member
0 Kudos
226

Dear All,

I have written some development in SAP Query report.

The main aim is to assign to own defined parameter par1 combination of version and object-partner (internal order with defined order type).

The text is following:

DATA: it_aufk like aufk

occurs 10 with header line.

DATA: p-auart like aufk-auart.

select * from AUFK into table it_aufk

where AUFNR = coep-parob1+2(12).

if sy-subrc = 0.

if coep-versn = '000'.

par1 = 1.

elseif coep-versn = 'GR0'.

par1 = 2.

endif.

endif.

if coep-versn = 0 and ( p-auart = 'V112' or p-auart = 'V114' ) .

par1 = 1.

endif.

I have performed check and generated this info-set successfully.

Than I have generated program in queries - other function- generate program.

I execute report and get dump.

What did I miss?

With best regards,

Kamila.

1 ACCEPTED SOLUTION

nabheetscn
Active Contributor
0 Kudos
94

Please paste the dump.

Thanks

Nabheet

4 REPLIES 4

nabheetscn
Active Contributor
0 Kudos
95

Please paste the dump.

Thanks

Nabheet

0 Kudos
94

Category ABAP Programming Error

Runtime Errors CONVT_NO_NUMBER

ABAP Program AQICZCO=========QUE_KZHAKEN_01

Application Component Not Assigned

Date and Time 15.12.2011 16:18:35

Short text

Unable to interpret "GR0" as a number.

What happened?

Error in the ABAP Application Program

The current ABAP program "AQICZCO=========QUE_KZHAKEN_01" had to be termi

because it has

come across a statement that unfortunately cannot be executed.

What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

Error analysis

An exception occurred that is explained in detail below.

This exception cannot be caught in the context of the current statement.

The reason for the exception is:

The program attempted to interpret the value "GR0" as a number, but

since the value contravenes the rules for correct number formats,

this was not possible.

How to correct the error

Whole numbers are represented in ABAP as a sequence of numbers, possibl

with an algebraic sign.

The following are the possibilities for the representation of floating

point numbers:

[algebraic sign][mantissa]E[algebraic sign][exponent]

[algebraic sign][whole number part].[fraction part]

For example, -12E+34, +12E-34, 12E34, 12.34

If the error occurred in your own ABAP program or in an SAP

program you modified, try to remove the error.

If the error occures in a non-modified SAP program, you may be able to

find an interim solution in an SAP Note.

If you have access to SAP Notes, carry out a search with the following

keywords:

"CONVT_NO_NUMBER" " "

"AQICZCO=========QUE_KZHAKEN_01" or "AQICZCO=========QUE_KZHAKEN_01"

"START-OF-SELECTION"

If you cannot solve the problem yourself and want to send an error

notification to SAP, include the following information:

1. The description of the current problem (short dump)

To save the description, choose "System->List->Save->Local File

(Unconverted)".

2. Corresponding system log

Display the system log by calling transaction SM21.

Restrict the time interval to 10 minutes before and five minutes

after the short dump. Then choose "System->List->Save->Local File

(Unconverted)".

3. If the problem occurs in a problem of your own or a modified SAP

program: The source code of the program

In the editor, choose "Utilities->More

Utilities->Upload/Download->Download".

4. Details about the conditions under which the error occurred or which

actions and input led to the error.

0 Kudos
94

seems strange, but it could be this

coep-versn = 0

since it is a 3 character field, not a number, you should be checking for '000'. It is possible that the runtime is attempting to turn the value into a number so it can be compared with a number.

based on the limited information, that woul dbe my only guess.

0 Kudos
94

Hi,

Thanks. That was the issue.

I have defined than coep-versn = '000',

And dump was gone.

Thank you,

With best regards,

Kamila.