cancel
Showing results for 
Search instead for 
Did you mean: 

Value Mapping Replication issue

Former Member
0 Kudos

Hi experts,

I tried to setup a value mapping scenario to update runtime cache data from a SAP Table.

So here is my scenario :

I maintain data in SAP in which I have my transcodification values. When I save data in this table, it invokes an ABAP Proxy that is supposed to send data to PI and then update the runtime cache.

My problem is that I do not see any values appearing in the runtime cache.

I have a message in the RWB though, which is successful, and the payload that I find in SXMB_MONI is as follow :


<?xml version="1.0" encoding="utf-8"?><n0:ValueMappingReplication xmlns:n0="http://sap.com/xi/XI/System" xmlns:prx="urn:sap.com:proxy:xxx">
<Item>
<Operation>DELETE</Operation>
<Context><a href="http://TEST" TARGET="test_blank">http://TEST</a></Context></Item>
<Item>
<Operation>INSERT</Operation>
<GroupID>A...B</GroupID>
<Context><a href="http://TEST" TARGET="test_blank">http://TEST</a></Context>
<Identifier scheme="SOURCE" agency="ECC_DEV">xxx</Identifier></Item>
<Item><Operation>INSERT</Operation>
<GroupID>A...B</GroupID>
<Context><a href="http://TEST" TARGET="test_blank">http://TEST</a></Context>
<Identifier scheme="TARGET" agency="LEGACY">yyy</Identifier>
</Item></n0:ValueMappingReplication>

I can not see anything in the cache monitoring, do you have any idea what I may have done wrong ?

I also configured the configuration scenario in PI with the java proxy.

Any help would be greatly appreciated.

Kind regards,

Jamal

Edited by: ba_da_boom on Jun 10, 2009 1:13 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Hope this is not a simple issue of going down to the right level in the RWB drill down search

I the message shows as being successful I cant see y its not posted... Did u restart ur Java engine after that...if so then you have to run the interface again..

have a look at -

http://ip:port/rwb/sub/cache_monitoring/notification_table

http://ip:port/rwb/sub/cache_monitoring/status_table

to give you some clues -

regards,

Arvind R

Answers (3)

Answers (3)

Former Member
0 Kudos

Actually, I had errors on the adapter side I did not see sorry :s


Delivering the message to the application using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error processing inbound message. Exception: Runtime exception during XML parsing: InvocationTargetException when calling method com.sap.xi.xI.system.ValueMappingReplicationItem_Type$Operation_Type.fromValue: DELETE is not among the enumerated values.

I changed the operation statement with the correct capital Letters and it works perfeclty fine now!!!

Thank you all for your precious help.

Regards,

Jamal

udo_martens
Active Contributor
0 Kudos

Hi Jamal,

did u follow my blog [Value Mapping Replication Scenario|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13812] [original link is broken] [original link is broken] [original link is broken];?

...Values with the same GroupID belong together (correlation). To create that 32 character hexadecimal number function module ICF_CREATE_GUID is used

Your group id is no hex number.

Regards,

Udo

Former Member
0 Kudos

Hi,

According to my knowledge, I don't think you have to create Java proxy at configuration side. You only have to give the correct details of your server int he XI adapter.

Regards,

Merrilly