Application Development and Automation 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: 
Read only

Sap Coding Message

ponrajasekharan
Participant
0 Likes
766

Hi All ,

Warning Message in abap code stops the counter .

Abap code as follows
MESSAGE 'Warning test ' type 'W'.
write 'test' .

When i execute the program i get stopped by the Warning message in red icon .

Please any one have any idea on this .

Thank you ,Ponrajasekharan .

3 REPLIES 3
Read only

kaus19d
Active Contributor
0 Likes
674

Hi Ponrajasekharan ThankaSwamy,

You would require to consult with your organisation ABAPers for this. A ABAPer could easily set break-point in the related ABAP program & debug to get the root cause

What does the Log says at that time regarding this issue, I am also pretty sure that you would also be getting a corresponding dump at that same time for this matter

Thanks,

Kaushik

Read only

loyd_enochs3
Participant
674

LMGTFY: First item returned in in a Google search for "SAP ABAP MESSAGE"

https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abapmessage.htm

Read only

Sandra_Rossi
Active Contributor
674

Statements outside any event and any procedure are assigned to the START-OF-SELECTION event (dixit https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abapstart-of-selection.htm).

Consequently, if you follow the doc provided by Loyd, you'll reach this sub-chapter which applies to your context https://help.sap.com/doc/abapdocu_752_index_htm/7.52/en-US/abenabap_message_list_processing.htm, it clearly states that an error message is produced.