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: 

Message Class

Former Member
0 Kudos

Hi Experts

I have created a new Message Class, namely ZMSG in Dev Sys.

I used the message 000 of ZMSG in my Program ZPRG as:

message i000(ZMSG).

Do I need to add MESSAGE Tag in the Report Header of program ZPRG?

If not, after transporting the Program and the Message Class Package to Qual Sys, will it be displayed properly?

If I must add the MESSAGE Tag in Report Header, how to add that?

Thx..

Santo

12 REPLIES 12

GauthamV
Active Contributor
0 Kudos

hi,

check this.

REPORT ZPRG MESSAGE-ID ZMSG.

Former Member
0 Kudos

Gautham...

Am asking.. if this Message-ID tag in Report Header is mandatory from view of Transportation?

Former Member
0 Kudos

Hi,

No its not mandatory.

Thanks & Regards,

Navneeth K.

Former Member
0 Kudos

Thx Naveen

GauthamV
Active Contributor
0 Kudos

hi,

if you are declaring your message your statement like this.

message i000(ZMSG).

then it is manditory.

Former Member
0 Kudos

Hi,

Its not mandatory i hope.

If you mention in the report header then no need to mention it again when you are writing the message statement in the program.

If not mentioned in the Header.

then-message i001(zmsg).

if mentioned you can simply write- message i001.

Former Member
0 Kudos

Gautham..

I checked.. for that stmt (ie., message i000(ZMSG)., Message ID not mandatory in Report Header.

Former Member
0 Kudos

Hi Santo,

Suppose you are using-

Report zprogram MESSAGE-ID zmsg.

Here zmasg is the message class.

When you are displaying the message you can write.-

Message i001.

No need of

Message i001(zmsg)

In this case again and again you need nto to mention message class.

GauthamV
Active Contributor
0 Kudos

hi,

if you are declaring your message statement like this.

message i000.

then it is manditory to give MESSAGE-ID ZMSG.

Former Member
0 Kudos

oh.. ok....

Thx Sujit n Gautham

Former Member
0 Kudos

Hi,

It is not necessary.

Regards,

Abhijit

Former Member
0 Kudos

if its a new message class then include it in the transport request.

if it is already present in the quality then no need to transport or include it in the header .

When u mention message class in the message statement no need to include it in header.