‎2007 Nov 16 11:20 AM
Hi Experts,
How to set the warning message and error messages in include programs.
Pls guide me..
Regards,
K.Sudhakaran.
‎2007 Nov 16 11:21 AM
inside the incude program u can pass error message.no problem it will show report screen
‎2007 Nov 16 11:28 AM
Hi..
You can use the Message Statement as usual..
Eg
<b>Message 'No data' Type 'W'.</b>
reward if Helpful.
‎2007 Nov 16 11:33 AM
Hi,
if your include will be used in diferent main programs, it will be good idea to specify message class explicitly, eg.:
message W001(zz).Regards,
Pavel
‎2007 Nov 16 11:50 AM
Hi thank you,
But as per standards i should not mention the message in program like 'no data'.
then i am including this include program in a transaction.Help me how can i declare.
Regards,
K.Sudhakaran.
‎2007 Nov 16 11:54 AM
HI,
show the message like this.
message W010(zmsg_class).
message E010(zmsg_class).
rgds,
bharat.
‎2007 Nov 16 11:33 AM
Hi,
u can write as u write in main program.
like
MESSAGE W(Z00) with 'warning message'.
MESSAGE E(Z00) with 'error message'.