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

Message class

kiran_k8
Active Contributor
0 Likes
1,065

Hi Folks,

Can we use the same message class in two programs.Will it get transported correctly.Two programs are going to have a transport request each.

Thanks,

K.Kiran.

1 ACCEPTED SOLUTION
Read only

gopi_narendra
Active Contributor
0 Likes
1,038

If the message class is saved in one of the requests, make sure to transport the request that holds the message class first.

And then you can release the second program.

But if the program is just using the same message class no need to worry, just transport both the programs.

Regards

Gopi

10 REPLIES 10
Read only

abdulazeez12
Active Contributor
0 Likes
1,038

Obviously YES

Read only

Former Member
0 Likes
1,038

Transport your message class independently of programs.

You can use it in any number of programs

Read only

gopi_narendra
Active Contributor
0 Likes
1,039

If the message class is saved in one of the requests, make sure to transport the request that holds the message class first.

And then you can release the second program.

But if the program is just using the same message class no need to worry, just transport both the programs.

Regards

Gopi

Read only

0 Likes
1,038

Gopi,

In REPORT A's transport request itself I had added the message class with the same transport request number.

Report B is also using the same message class.Both the reports have their own transport requests.Do I need to add this message class again under the transport request of Report B.

As per the above replies all I have to take care is that REPORT A gets transported first and then Report B and there is no need to add the message class again in Report B.Did I get you right?

Thanks,

K.Kiran.

Message was edited by:

Kiran K

Read only

0 Likes
1,038

Hi Kiran,

You Have to add the message class in Program B also.

Then only you can use the messages to your second program.

Thanks.

Read only

0 Likes
1,038

> Report B is also using the same message class.Both

> the reports have their own transport requests.Do I

> need to add this message class again under the

> transport request of Report B.

 " This is not possible as you have already assigned the message class to Report A's request
 " (this is just enof as you have already assigned the msg class to a request)
 " You can not assign a object to 2 requests at a time 

> As per the above replies all I have to take care is

> that REPORT A gets transported first and then Report

> B and there is no need to add the message class again

> in Report B.Did I get you right?

 " Yes you got me rightly.

Regards

Gopi

Read only

0 Likes
1,038

Gopi,

Thanks for the detailed explaination.Will get back to you.

Thanks,

K.Kiran.

Read only

Former Member
0 Likes
1,038

yes we can use ...same message class in many programs.....

Read only

Former Member
0 Likes
1,038

Hi,

You can use the same message from an existing class in any number of program if it exists in that system.So you have to transport it just once and then use it in any number of times

Regards,

Himanshu Verma

Message was edited by:

Himanshu Verma

Read only

Former Member
0 Likes
1,038

Hi,

Yes u can use it...

To be cautious......wat u can do in the second program :

Generate a transport request for the program.

Then without modifying anything save the message class....will ask u the Transport request....give the same request number as that of the program...

So same requst number will have both the objects.