‎2008 Jun 06 5:58 AM
Hi All..
I am facing a problem with this following lines of code. Different time its showing different behavior .
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE 'W' NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
EXIT.
ENDIF.
In the first case, for normal saving procedure its working fine. But if there is a confirmation Pop-up for saving, then
the application terminated with abort Message A. its does not show the warning message also. even in debugger mode,
pressing F5, itu2019s not going insure, directly aborted showing abort message.
I have check all those system variables in both the cases, they are same. But I am not able to understand, why its showing different behavior in different cases
Could anyone help me out in this problemu2026
Regards
Satrajit
‎2008 Jun 06 6:06 AM
HI THERE...
chk ur code.... it says sy-subrc 0....
it should be sy-subrc ne '0'.
i hope this helps.
do reward if it does.
‎2008 Jun 06 6:16 AM
Here sy-subrc = 1 but its not reach at EXIT statement.
Itu2019s aborting from the message statement itself, and itu2019s showing abort thpe message u201CAu201D, but it should be warning type as its hard coded.