‎2009 Dec 10 9:26 PM
Under Function Module
Exporting parameter
*" EXPORTING
*" VALUE(Y_HIGHEST_MSGTYPE) LIKE TE950-DISPLAY_MOVEIN
Here I want to do Error out one Message based on condition.
I Written condition, but how should I incorporate error as output in exporting parameter .
This T9950-DISPlay_movein having following parameters
fields
MSGNR(3)
BPWMODE(1)
DISPLAY_BPE(1)
DISPLAY_BPA(1)
DISPLAY_BPI(1)
Thanks,
Sonar
‎2009 Dec 10 11:22 PM
Hi Sonar,
I hope you are referring to a custom FM. If it is standard, please mention the name and people would be able to provide the details.
To get the error messages, you can create and Error Internal Table and pass it to your Tables parameter. Later on read this table and show your messages.
If you have issues, please elaborate a little more, cut paste some code and it will easier to analyze.
‎2009 Dec 11 2:37 PM
It is an enhancement
i want show one error message no. as outout
Here my requirement is how to incorpaorate under exporting parameter?
‎2009 Dec 11 2:47 PM
‎2009 Dec 11 3:05 PM
‎2009 Dec 11 2:56 AM
Hi Sonar,
You can use following statement in FM.
MESSAGE <>TYPE 'E'' RAISING <Exception>.
Hope this helps.
Nag