Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Java Cache not updating in Value Mapping replication

$
0
0

Hi,

I am using value mapping for updaing dealer and dealer codes from from a excel sheet.

 

I have an excel sheet containg 2 rows - 1st being the Dealer name and other its respective codes .For Ex - DealerName1    |   DN1

I have created a Value mapping for this to update the table in the SAP PI Java Cache.
I have created a message mapping , with Source being my table structure and target as the SAP pre defined ValueMappingReplication Message Type.

I have duplicated the 'Item' node in the ValueMappingReplication Message type in the message mapping.

 

In the first Item I have mapped -
1) Operation - Insert
2) GroupId - I have created a Group in Integration Directory with one of my excel sheet pair . I have mapped this field with the GroupId which was     generated when I created a group in Integration Directory.
3) Context - http://sap.com/xi/XI
4) Identifier - mapped it with the Dealer name field of the source.
5) Scheme - mapped with the one I created in the Integration Directory (SourceScheme)
6) Agency - mapped with the one I created in the Integration Directory (SourceAgency)

 

In the second Item I have mapped -
1) Operation as Insert
2) GroupId - I have created a Group in Integration Directory with one of my excel sheet pair . I have mapped this field with the GroupId which was generated when I created a group in Integration Directory.
3) Context - http://sap.com/xi/XI
4) Identifier - mapped it with the Dealer code field of the source.
5) Scheme - mapped with the one I created in the Integration Directory (TargetScheme)
6) Agency - mapped with the one I created in the Integration Directory (TargetAgency)


I am using the File adapter in source channel to pick the file. I have created the XI channel in the Target side . I have refered the SAP SCN link for creation of the XI channel, have mention the JPR path in the channel and the non-sap logon option.


I have also registerd the Java inbound proxy -

http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplication&method=valueMappingReplication (for the asynchronous replication scenario)


The problem is that after running the VMR interface , when I am opening the Java Cache monitoring then I am not able to find the table entries . I can only see the one I have manually created in the ID - for the sake of getting the groupID, the agency and Scheme name.

Also I am getting no errors in sxmb_moni.

 

Please help me .

 

Regards,

Somil Gulati


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>