Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9008

Re: Error message in WDA?

$
0
0

Hi Narasimha,

 

Is your requirement is to display an error message for an attribute

 

Please use the method REPORT_ATTRIBUTE_ERROR_MESSAGE

 

Sample code:

  1.         CALL METHOD lo_message_manager->report_attribute_error_message 
  2.           EXPORTING 
  3.             message_text   = 'This field cannot be empty !!!' 
  4.             element        = lo_el 
  5.             attribute_name = 'CARRID'.  " Attribute Name 

 

Note: here lo_el - the context element of your attribute

 

Hope this helps you.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 9008

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>