Application Development 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: 

Reason for Message type " " ABAP Dump

Former Member
0 Kudos
341

Hi All,

You all might have come across the ABAP Dump for Message type " " i.e., space, I have come across two scenarios

1. when I enter value directly the message type is set to 'I'.

2. When I enter value from f4 help message type value is set to " " i.e., space and leading to ABAP Dump

I can handle the above ABAP dump by giving custom message when sy-subrc <> 0, but I wan to know wha t exactlu led the message type to set as " " i.e., space.

Regards,

Dep

3 REPLIES 3

0 Kudos
125

Is it your custom program?

and after what statement is sy-subrc become ne 0.

Is it some function module call and you are uncommenting the commented patters? If yes then many-a-times FM raise the exception with sending any message and type( simply using RAISE exception). In such cases the sy-msgtyp won't be set and you will get dump.

0 Kudos
125

Hi Kumar,

I am in a custom program, after populating screen value from f4 help and after call function rsts_read sy-subrc <> o and message ID is space and leading to dump.

for f4 help I am using I am using f4if_int_table_value_request.

If I am directly filling screen field with using the f4 help the message ID is set to I.

0 Kudos
125

My Assumption was correct.

Check this FM raises exception without sending any message. So your sy-msgtyp is blank