04-08-2013 6:32 AM
Hi experts,
I am getting one dump in a z-program like MESSAGE_TYPE_X when sy-subrc check with statement COMMIT WORK AND WAIT.
COMMIT WORK AND WAIT.
IF sy-subrc NE 0.
MESSAGE x009(z13m) WITH 'some text'. ----- Dump is here
ENDIF.
Please provide the solution to this issue.
Regards,
MKP
04-08-2013 6:44 AM
Hi,
please read the help for message type. Type x will raise a dump.
Regards
Dirk
04-08-2013 7:06 AM
Hi,
Yes. I just checked message type X allows you to force a program termination.
In the above case, what you can suggest to solve the issue.
Regards,
Mkp
04-09-2013 6:30 AM
If you do not want a dump, but a program determination use message type "A". If you do not want to leave the program use message type "E". For more details or the other message types like I, W and S see the documentation.
04-08-2013 6:55 AM
Hi,
Please go through this link.
Message type 'X' go for dump based on usage.
http://help.sap.com/abapdocu_702/en/abapmessage_options.htm
http://help.sap.com/abapdocu_702/en/abenabap_messages_types.htm
Thanks & Regards,
Swarna
04-08-2013 7:22 AM
Please read sap help
You have specified the AND WAIT addition, and the updating of the update function modules was
not successful.The COMMIT WORK statement always sets sy-subrc to 0 if the AND WAIT addition is not specified.
Please try to trouble shoot it yourself.