Application Development and Automation 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: 
Read only

problem with short dump

Former Member
0 Likes
718

hi

can any body tell me what could be the reason for short dump for the following piece of code.

REPORT ZRRBILL message-id zmsg.

Tables: vbak.

DATA: itab type table of abaplist.

selection-screen begin of block b1 with frame title text-001.

select-options: s_vbeln for vbak-vbeln.

selection-screen end of block b1.

SUBMIT RVPKMASS96

EXPORTING LIST TO MEMORY

WITH dd_vbeln IN s_vbeln

*WITH dd_vkorg = '0001'

*WITH dd_ernam = 'USRBAO'

*WITH dd_erdat = '20070201'

WITH p_test = 'X'

AND RETURN.

CALL FUNCTION 'LIST_FROM_MEMORY'

TABLES

LISTOBJECT = itab

EXCEPTIONS

NOT_FOUND = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

message e000 with 'error in list memory'.

ENDIF.

It is giving error in long text like problem with messge X

please let me know what modifications i need to be done

Praneet

7 REPLIES 7
Read only

anversha_s
Active Contributor
0 Likes
671

hi,

use this.

message  'Error in list memory'  type 'E' .

regards

Anver

Read only

0 Likes
671

anversa,

This is happening before going to call list_from_memory...

is it the problem with submit, iam in EC 6.2 version.

Praneet

Read only

Former Member
0 Likes
671

Hi Praneet,

Please check if you have a message no 000 in message class ZMSG using TC SE91. If not, create it as '&' and execute the report again.

Susanth,

Read only

Former Member
0 Likes
671

Hi Praneet,

what is this abaplist that u've used in internal table declaration?

if it is a structure then u haven't defined it before using it.

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

0 Likes
671

Hi,

i've declared it like this.

DATA: itab type table of abaplist.

The short dump description is like this.

Runtime Errors MESSAGE_TYPE_X

The current application program detected a situation which really

should not occur. Therefore, a termination with a short dump was

triggered on purpose by the key word MESSAGE (type X).

Read only

Former Member
0 Likes
671

Hi,

Looks like you are trying to execute a standard SAP program with selection screen.

But there cannot be a parameter field p_test in that program. Please check the code in the program and note down the field names and pass the values accordingly.

Regards

Subramanian

Read only

0 Likes
671

hi

p_test is exist there at standard program.