2012 Jul 23 8:32 AM
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
2012 Jul 23 8:42 AM
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.
2012 Jul 23 8:43 AM
Hi how did you got this DUMP?
During which program or TCODE? or using any FM?
Please specify clearly.
2012 Jul 23 8:49 AM
2012 Jul 23 10:12 AM
2014 Apr 23 10:03 AM
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.
2014 Apr 23 10:17 AM
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