2012 Apr 23 1:18 PM
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
2012 Apr 23 1:26 PM
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.
2012 Apr 23 1:43 PM
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.
2012 Apr 23 2:04 PM
My Assumption was correct.
Check this FM raises exception without sending any message. So your sy-msgtyp is blank