Application Development and Automation 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: 
Read only

Include Program

Former Member
0 Likes
664

Hi Experts,

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

Pls guide me..

Regards,

K.Sudhakaran.

6 REPLIES 6
Read only

Former Member
0 Likes
641

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

Read only

varma_narayana
Active Contributor
0 Likes
641

Hi..

You can use the Message Statement as usual..

Eg

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

reward if Helpful.

Read only

0 Likes
641

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

Read only

0 Likes
641

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.

Read only

0 Likes
641

HI,

show the message like this.

message W010(zmsg_class).

message E010(zmsg_class).

rgds,

bharat.

Read only

mahaboob_pathan
Contributor
0 Likes
641

Hi,

u can write as u write in main program.

like

MESSAGE W(Z00) with 'warning message'.

MESSAGE E(Z00) with 'error message'.