‎2007 Jan 29 5:15 AM
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
‎2007 Jan 29 5:18 AM
hi,
use this.
message 'Error in list memory' type 'E' .regards
Anver
‎2007 Jan 29 5:22 AM
anversa,
This is happening before going to call list_from_memory...
is it the problem with submit, iam in EC 6.2 version.
Praneet
‎2007 Jan 29 5:22 AM
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,
‎2007 Jan 29 5:23 AM
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
‎2007 Jan 29 5:27 AM
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).
‎2007 Jan 29 5:25 AM
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
‎2007 Jan 29 5:31 AM