cancel
Showing results for 
Search instead for 
Did you mean: 

Merge Message Pools of different WebDynpro Components

Former Member
0 Kudos

Hi SAP developers,

I got the following problem because of refactoring reasons I want to make one WDC of two WDCs.

First I tried the copy and paste of messages. But that does not work.

Then I tried manually on file system level (*.wdmessagepool and *.wdmessagepool.xlf) to copy the messages from one pool to the other. But if I open the message pool only the old message are displayed.

Is there another possibility to copy messages?

Greets Ruben

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your answer. Now it works.

former_member197348
Active Contributor
0 Kudos

Hi Ruben,

It worked for me. Try this:

Go to *.wdmessagepool of WDC1 and copy all messages inside the MessagePool.Messages tag.

Go to *.wdmessagepool of WDC2 and paste all messages inside the MessagePool.Messages tag.

e.g. in my example I copied this content from *.wdmessagepool of WDC1 to *.wdmessagepool of WDC2

<MessagePool.Messages>
		<Message name="test">
		</Message>
		...................
	</MessagePool.Messages>

Go to *.wdmessagepool.xlf of WDC1 and copy all messages inside the body tag.

Go to *.wdmessagepool.xlf of WDC2 and paste all messages inside the body tag.

e.g. in my example I copied this content from *.wdmessagepool.xlf of WDC1to *.wdmessagepool.xlf of WDC2

<body>
.........
</body>

Save the two files.

Close the WDC2 and Open it.

You will get the result that you want.

Best wishes,

Siva

former_member185029
Active Contributor
0 Kudos

Hi Ruben,

Just copy content of .wdmessagepool file within this tag

<MessagePool.Messages>
.......

..............
	</MessagePool.Messages> 

and paste in target .wdmessagepool file below </MessagePool.Parent> tag

This should work

-Ashutosh