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

Dump - Message_type_x

Former Member
0 Likes
4,668

Hi ,

When executing my ALV Report, it is going to dump displaying Error Message : 'Message_type_x'.

I had gone throug many posts in SDN regarding this issue. But in every post , it's been discussed on GUI Patch level.

But I have the latest SAP GUI and with latest Patch level . But still i am getting the dump .

I am getting this dump only for specific Input values and that too some times only.

First time I am excuted the report with some inputs , Its workig fine. and again going back to the selection screen and trying to executing for the same input vaules it is going to dump.

Could any please help me in this issue.

Thanks in Advance,

cheers,

sravan.

17 REPLIES 17
Read only

Former Member
0 Likes
3,836

seems you got a problem at refreshing your data, but cant really tell you since we aint got much info to analyse.

Read only

Former Member
0 Likes
3,836

Are you getting this dump when you are doing a totalling of amounts or something like that? Or are you already doing the summing through your field catalog?

pk

Read only

Former Member
0 Likes
3,836

Check your field (if you are doing some calcuation), it should be of type P.

Read only

0 Likes
3,836

Thnx for responce.

I am refreshing the tables.

There is no totaling in my report.

cheers,

sravan.

Read only

Former Member
0 Likes
3,836

Dear Sravan,

This dumps generally arises in ALV report whenever, there is mismatch in internal table fields and ALV catalog field.

Sometime we made a spelling mistake in hurry for field writing. You can say stupid mistakes.

So please check throughly, whether all the field names in internal table and field catalog are same or is there any discripency.

for testing purpose you can comment all the fields and pass them one by one.

Regds,

Anil

Read only

0 Likes
3,836

Dear Anil,

Thanx for responce.

I've tried with all possibilities said by you , but still it's going to dump.

cheers,

sravan.

Read only

0 Likes
3,836

Hi Sarvan,

Debug the code and let us know at which part of the code it is going to the dump. Please paste that part of the code here.

Read only

0 Likes
3,836

It is going to dump at FM : REUSE_ALV_GRID_DISPLAY.

Read only

0 Likes
3,836

Hi Sarvan,

In the function module

TABLES
    t_outtab                          =
EXCEPTIONS
   PROGRAM_ERROR                     = 1
   OTHERS                            = 2
          .
IF sy-subrc <> 0.
 * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO "Comment this line
 * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.               "Comment this line
ENDIF.

If you are not commented those lines,Just comment above lines and try

Read only

0 Likes
3,836

Dear Vishnu,

Thanx for ur reply.

But still it is going to dump.

and in debugging it is calling FM : AC_SYSTEM_FLUSH

trigged at MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006

cheers,

sravan.

Read only

0 Likes
3,836

Hi Sarvan,

Could you please post your code here.

Read only

0 Likes
3,836

The code has 2000 llines and it's been dealth with MS Access data

I think if code is posted in SDN will not appear in proper format.

Any suggestions Please.

cheers,

sravan.

Read only

0 Likes
3,836

dude, People are trying to help you. I hope you notice that so far.

but without seeing you code or the dump it comes down to wild guessing.

you could spare youself and us time and nerves, when you give us enough information to help you.

Please post your code AND your dump here.

we dont need ALL of your code, maybe you start with just the call of your ALV.

on basis of this we might ask you to post one or another routine as well so we get an overview and reckon the error.

Read only

0 Likes
3,836

Sorry Guys, There is no problem for me to post the code. But i have seen in Forums that the code will appearing in improper formats.

here is the code :

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = gv_repid

is_layout = wa_layout

it_fieldcat = it_fldcat

  • i_default = 'X'

i_save = 'X'

it_events = it_event

TABLES

t_outtab = it_final

EXCEPTIONS

program_error = 1

OTHERS = 2.

dump:

-


Runtime Errors MESSAGE_TYPE_X

Date and Time 02.07.2009 19:49:44

-


-


Short text

The current application triggered a termination with a short dump.

-


-


What happened?

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).

-


-


Error analysis

Short text of error message:

Control Framework : Error processing control

Long text of error message:

Diagnosis

An error occurred when the system tried to process the commands

from the Automation Queue on the presentation server.

There are several possible reasons for this:

- The installation of the SAP GUI on the presentation server is

faulty or obsolete.

- There is an error in the application program

- There is an error in the SAPGUI or an integrated control

Procedure

1. Make sure that you have imported the appropriate Support

Package, the current kernel, and GUI patch for the release of your

system

2. Check whether the error occurs locally on one or a few PCs, or

generally on all PCs. Note whether the error only occurs for some

users, for example because of a specific Customizing setting.

If it only occurs locally, this suggests an installation problem

with the PC. Check the installation; if necessary, reinstall the

software. In the dump, search for the SY-MSGLI field, since it may

point to the cause of the error.

3. Activate the Automation Trace (in accordance with SAP Note

158985).

4.Start the transaction and continue until the screen immediately

before the dump.

5. From the System -> Utilities menu, choose Autom. Queue,

Synchronous Processing.

The status bar of the GUI displays the text:

"Automation synchron flush mode on"

6. If you now proceed with the application, the short dump will

display the ABAP call that caused the error; the Automation Trace

will contain the error on the presentation server.

7. If necessary, load the short dump and trace files on to

sapservX, so that SAP can analyze them.

Technical information about the message:

Message class....... "CNDP"

Number.............. 006

Variable 1.......... " "

Variable 2.......... " "

Variable 3.......... " "

Variable 4.......... " "

-


-


Trigger Location of Runtime Error

Program SAPLOLEA

Include LOLEAU02

Row 29

Module type (FUNCTION)

Module Name AC_SYSTEM_FLUSH

-


-


Source Code Extract

-


Line

SourceCde

-


1

FUNCTION AC_SYSTEM_FLUSH .

2

*"----


3

""Lokale Schnittstelle:

4

*" IMPORTING

5

*" VALUE(CALLED_BY_SYSTEM) TYPE C OPTIONAL

6

*" EXCEPTIONS

7

*" CNTL_SYSTEM_ERROR

8

*" CNTL_ERROR

9

*"----


10

data: sysubrc like sy-subrc.

11

12

CALL FUNCTION 'AC_FLUSH_CALL'

13

EXPORTING

14

SYSTEM_FLUSH = 'X'

15

CALLED_BY_SYSTEM = CALLED_BY_SYSTEM

16

IMPORTING

17

MESSAGE_NR = sysubrc

18

MESSAGE_TEXT = SY-MSGLI.

19

20

sy-subrc = sysubrc.

21

22

CASE SY-SUBRC.

23

WHEN 0.

24

WHEN 1.

25

  • system_error

26

MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.

27

WHEN 2.

28

  • method_call_error

>>>>>

MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.

30

WHEN 3.

31

  • property_set_error

32

MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.

33

WHEN 4.

34

  • property_get_error

35

MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.

36

WHEN OTHERS.

37

RAISE CNTL_ERROR.

38

ENDCASE.

39

40

ENDFUNCTION.

-


Read only

0 Likes
3,836

Hi,

After being analysing the dump , I found it's going in the form READ_SNAPT_EXT .

READ_SNAPT_EXT Form definition is in Module Pool Program SAPMS380.

I found that this Perform is in the Form itself.

But I couldn't find the First calling Perform for this Form definition.

I Checked with SE80 and whre used list, But I couldn't.

cheers,

sravan.

Read only

Former Member
0 Likes
3,836

this error is node_table and item_table node_key error.

maybe you don't match node_key in node_table and node_key in item_table.

check plz.

Read only

Former Member
0 Likes
3,836

Hello Sravan

Just put the below code before your call of function module REUSE_ALV_GRID_DISPLAY.

CALL METHOD cl_gui_cfw=>flush.

This should solve your problem.

Thanks and best regards

Anand.