cancel
Showing results for 
Search instead for 
Did you mean: 

Java Cache not updating in Value Mapping replication

somil_gulati
Explorer
0 Kudos

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=ValueMappingRep... (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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Use listAll option in the browser and check if java proxy has been registered properly?

Thanks

Amit Srivastava

Bhargavakrishna
Active Contributor
0 Kudos

Hi,

Refer the below link

Thanks

Bhargava Krishna

former_member190293
Active Contributor
0 Kudos

It seems to me that context http://sap.com/xi/XI can not be used as it stores value mapping data from IB interface.

You must use your own context when you use value mapping replication interface.