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

ABAP Dump message_type_x

Former Member
0 Likes
2,626

Hi,

I have got the dump for the message_type_x.

following are my code

 

assign component

<ls_fieldcat>-fieldname of structure rt_data to <g_field>.

if sy-subrc ne 0.

message x000(0k).

endif.

how can i resolve error.

Regards,

Udupi

6 REPLIES 6
Read only

laurent_fournier2
Contributor
0 Likes
1,326

It's very clear, You do an assignment that fails. Check your code in order to see why the assignment fails and try to figure out how you can avoid this situation.

Read only

Former Member
0 Likes
1,326

Hi how did you got this DUMP?

During which program or TCODE? or using any FM?

Please specify clearly.

Read only

0 Likes
1,326

I got the dump while executing the transaction

Read only

0 Likes
1,326

What transaction? customized or standard?

Read only

Former Member
0 Likes
1,326

Hi,

Kindly check whether the message class and msg no exist in Abap repository or not.

To check this either you double click on the message class / Number or use t-code SE91.

Read only

ramakrishnappa
Active Contributor
0 Likes
1,326

Hi Udupi,


message x000(0k).

Here: X - message type abort

          000 - message number

          ok - message class

When control reaches the above statement, you get short dump because its of type ABORT.

You can also check if <g_field> is not assigned.

assign component

<ls_fieldcat>-fieldname of structure rt_data to <g_field>.


if <g_field> is not assigned.

message x000(0k).

endif.

Also, you can change the message type to I, S..... to avoid this dump

          message s000(0k).

Hope this helps you.

Regards,

Rama