Application Development 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: 

Include Program

Former Member
0 Kudos

Hi Experts,

How to set the warning message and error messages in include programs.

Pls guide me..

Regards,

K.Sudhakaran.

6 REPLIES 6

Former Member
0 Kudos

inside the incude program u can pass error message.no problem it will show report screen

varma_narayana
Active Contributor
0 Kudos

Hi..

You can use the Message Statement as usual..

Eg

<b>Message 'No data' Type 'W'.</b>

reward if Helpful.

0 Kudos

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

0 Kudos

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.

0 Kudos

HI,

show the message like this.

message W010(zmsg_class).

message E010(zmsg_class).

rgds,

bharat.

mahaboob_pathan
Contributor
0 Kudos

Hi,

u can write as u write in main program.

like

MESSAGE W(Z00) with 'warning message'.

MESSAGE E(Z00) with 'error message'.