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

Re: getting the below time out , after reaching the specified time in http or SMTP.

$
0
0

Hi Sekhar,

 

Hope you want to avoid the abort message from class and have an error message in WD without any technical details in it.

 

  • Create a parameter EV_ERROR_MESSAGE of type STRING in the class method where the error is occurring
  • Modify the code in as below

 

                 IF cl_mdg_util=>check_langu( ) = space.  

                    """MESSAGE a017(fnd) WITH sy-langu."#EC *

                   MESSAGE id 'FND' type 'E' NUMBER '017' into EV_ERROR_MESSAGEwith sy-langu.

                    return. "Return the control back to caller

                  ENDIF.

  • Now, use the error text EV_ERROR_MESSAGE in WD and report an error message using if_wd_message_manager

 

Hope this helps you.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 8944

Trending Articles



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