Issues in Value Mapping...
Hi Experts,
I have an issue in Value mapping. For 2 to 3 target data I have assigned same Group ID of source.
1) It is not allowing to segregate based on Group ID in the target area.
2) If I want to change the group Id of one of the assigned target data, it is throwing error saying that group ID already exists.
Please help.
Regards,
Praveen.
hi Praveen,
As far as i know Value mapping in XI will not allow you to have duplicate values . I mean different source cannot have same target values .. in case of you still want to implement the same you can use some logic like
source -- target
x---1
y---1
then save your values like this in VM
x--x~1
y---y~1
in code u should put the logic to split and take the value.
Hope this helps .
Laks
Similar Messages
-
Issue with Value Mapping table
Hi
I want to upload a external value mapping table to XI.
I do not want to code for it on the SAP R/3 side. and there might be more than 2000 value mappings. so can we upload a external mapping table.
Is it possible?? if yes, then how??.
Thanks
NikhilXI 3.0
Hi,
first of all one helpful information:
You can see all data of the value mapping tables using the
runtime workbench: Go to the IntegrationBuilder->
Integration Monitoring->Cache Monitoring, select 'Search
for Value-Mapping' and choose your context.
The value mapping tables are located in the J2EE part of
XI. You have to send your value mapping data to an Java proxy
located in the J2EE part. First, the inbound proxies
(synchronous and asynchronous) need to be activated.
There are two urls, named in the docu, you have to call
from a web browser:
(asynchronous replication scenario)
http://<Server>:<Port>/ProxyServer/register?ns=http://sap.com/xi/XI/System&interface=ValueMappingReplicationSynchronous&bean=localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous&method=valueMappingReplicationSynchronous
(synchronous replication scenario)
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
You only need to perform this step once (for each
installation).
If you already have a sender for the mapping data, the
next step is to configure the scenario in the directory
Create a communication channel with
Adapter type: XI
Transport protocol: HTTP 1.0
Message-Protocol: XI 3.0
Adapter-Engine: Integration Server
and host name and http port of the XI J2EE Engine and Path Prefix: /MessagingSystem/receive/JPR/XI
The user XIAPPLUSER has the required permissions.
For an asynchronous communication you can use the
inbound interface ValueMappingReplication from the namespace http://sap.com/xi/XI/System.
In that namespace there are also outbound interfaces you
can use to generate a sender proxy and synchronous
interfaces for the same purpose. Set the created communication channel as the receiver channel.
You may need a mapping and so on depending on your
sender. If you use the provided outbound interfaces there
is no mapping required.
The Data:
You can create your own GUIDs using some function like GUID_CREATE in ABAP. You don't need to declare the context you use. Something like http://mycompany.com/Test should be ok.
A sample in ABAP:
CRM and R3 are the names of the business systems.
data: lcl_value_mapping type ref to co_svmr_value_mapping_rep,
ls_value_mappings type svmr_value_mapping_replication,
ls_item type svmr_value_mapping_rep_item,
lcl_system_fault type ref to cx_ai_system_fault.
ls_item-operation = 'Insert'.
ls_item-group_id = '315286378563858425463215845123548'.
ls_item-context = 'http://Test'.
ls_item-identifier-scheme = 'FormOfAddress'.
ls_item-identifier-agency = 'CRM'. <- Business System A
ls_item-identifier-value = '2'.
append ls_item to ls_value_mappings-value_mapping_replication-item.
ls_item-operation = 'Insert'.
Use the same guid for another value of the same group
ls_item-group_id = '315286378563858425463215845123548'.
ls_item-context = 'http://Test'.
ls_item-identifier-scheme = 'FormOfAddress'.
ls_item-identifier-agency = 'R3'. <- Business System B
ls_item-identifier-value = '1'.
append ls_item to ls_value_mappings-value_mapping_replication-item.
create object lcl_value_mapping.
try.
call method lcl_value_mapping->execute_asynchronous
exporting
output = ls_value_mappings.
commit work.
catch cx_ai_system_fault into lcl_system_fault.
write: 'Error: ', lcl_system_fault->errortext.
endtry.
See the XI documentation at SAP XI Design and Configuration Time -> Configuration -> Value Mapping -> Value mapping Replication for Mass Data.
Hope that helps.
Regards,
Christian -
How to insert bulk values in value mapping table at a time.
Hi all,
I hv one issue in value mapping i.e,
I hv some bulk data in MS- Excel, i am unable to copy all the date from ecel to value mapping table.
SO, How can i insert bulk values in my value mapping table at a time.
plz, help me in this asap.
Regards,
Maheshhai mahesh check the below links,
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1f42d490-0201-0010-6d98-b18a00b57551
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/83086a1d-0e01-0010-2797-f1ce7f8f562d
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
Hi,
I'm having issue in value mapping replication and seeking help to fix it....following is my config in place:
1. Created java out proxy and registered it
http://host:port/ProxyServer/register?
ns=http://sap.com/xi/XI/System&interface=ValueMappingReplication&bean=localejbs/sap.com/com.sap.xi.se
rvices/ValueMappingApplication&method=valueMappingReplication
2. Configurations in place in ID
3. Activated the Outbound ABAP proxy and triggered the call from report program
No errors reported from the client abap proxy, yet, when checked in RWB i'm unable to view the VM table in cache monitoring....not sure where the error is.
Is it required to register the JAR file as generated during the step# 1 in J2EE visual Admin? else is there something I overlooked?> No errors reported from the client abap proxy, yet, when checked in RWB i'm unable to view the VM table in cache monitoring....not sure where the error is.
Check monitoring for adapter framework for errors. -
Value Mapping is unble to pick up the correct value.
Hi,
I am facing issue with value mapping in inbound scenario,where we check the value of field receiver and compare it with value mapping data,but value mapping does not replicated etc.
Best Regards,
Akshay Jamgaonkar.Can you please explain it bit more?
Thanks,
Hetal -
Hello All,
We are currently having an issue with our Value Mapping in SAP XI.
We have set up Value Mappings in Integration Builder : Configuration and for some reason, some works and some doesn't work.
For example, we have set up Value Mapping Scheme called "DDelTerm" with two Agencies "R2" and "MarketPlace".
Then we set up a message mapping with DDelTerm Value Mapping function + custom logic to basically convert the value from R2 to value for MarketPlace.
However when we test this Value Mapping, some works and some doesn't work.
The following is the test results from two separate runs.
C000
Input: <YYLIKON>C000</YYLIKON>
Output: <ShipmentTermsIdentifier>COL</ShipmentTermsIdentifier>
Y000
Input: <YYLIKON>Y000</YYLIKON>
Output: <ShipmentTermsIdentifier>00</ShipmentTermsIdentifier>
Can you think of a reason why the lookup of Y000 fails, yet C000 succeeds? We checked for trailing spaces, etc, and there aren't any. And the table has been activated.
Note: the two leading characters of the value returned from the Value Mapping are stripped, hence COL. So for Y000, we were expecting to see PPD.
Is there any configuration step we are missing here?
Thanks in advance for your help,
Jay KoHello,
What was the solution? -
Value Mapping replication issue
Hi PI Experts,
I am working on the Value mapping replication scenario using Z-table created in R/3 system.
I have configured the value mapping Replication Out Abap proxy.
I am getting the following error :
Audit Log for Message: 4d404b41-39e4-0083-e100-80008b3557e6
Time Stamp Type Description
2011-01-27 07:56:19 Information The message was successfully received by the messaging system. Protocol: XI URL: http://gendevhrcx51.unix.appliarmony.net:54000/MessagingSystem/receive/JPR/XI Credential (User): PIAPPLUSER
2011-01-27 07:56:19 Information Using connection JPR. Trying to put the message into the receive queue.
2011-01-27 07:56:19 Information Message successfully put into the queue.
2011-01-27 07:56:19 Information The message was successfully retrieved from the receive queue.
2011-01-27 07:56:19 Information The message status was set to DLNG.
2011-01-27 07:56:19 Information Java Proxy Runtime (JPR) accepted the message.
2011-01-27 07:56:19 Error JPR could not process the message. Reason: Cannot locate proxy bean ValueMappingApplication.
2011-01-27 07:56:19 Error 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: Cannot locate proxy bean ValueMappingApplication.
2011-01-27 07:56:19 Information The message status was set to WAIT.
2011-01-27 07:56:19 Information The asynchronous message was successfully scheduled to be delivered at Thu Jan 27 08:01:19 CET 2011.
I have followed the threads :
1) /people/udo.martens/blog/2009/04/03/value-mapping-replication-scenario
2) ValueMappingReplication in PI 7.1
3) How to Perform Value Mapping u2013 A Walkthrough -> Sarath Chandra Kandadai
which had similar issue but could not make any headway.
Questions :
1) Are there any specific PIAPPLUSER authorizations required ,I have configured the CC as per the 3rd thread.
2) There is an issue with SLD access when I look at the JPR monitoring,could be the possible reason.
SLD access SLD host:port = gendevhrcx51:54000
Error getting JPR configuration from SLD. Exception: No entity of class SAP_BusinessSystem for DHX.SystemHome.gendevhrcx51 found
No access to get JPR configuration
I have refered to the Note : 809420 and asked the basis team to look into this.
I am running out of ideas ,request you guys to help on this issue.
Thanks
-AlokHi Alok,
i have similar error. Here the error:
30.12.2013 20:40:17.789
Information
Java Proxy Runtime (JPR) accepted the message.
30.12.2013 20:40:17.871
Error
JPR could not process the message. Reason: No remote bean found for reference of class com.sun.proxy.$Proxy352.
30.12.2013 20:40:17.876
Error
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: No remote bean found for reference of class com.sun.proxy.$Proxy352.
30.12.2013 20:40:17.911
Information
The asynchronous message was successfully scheduled to be delivered at Mon Dec 30 20:45:17 CET 2013.
I have registered the inbound interfaces:
http://sap.com/xi/XI/System#ValueMappingReplication = localejbs/sap.com/com.sap.xi.services/ValueMappingApplication:valueMappingReplication
http://sap.com/xi/XI/System#ValueMappingReplicationSynchronous = localejbs/sap.com/com.sap.xi.services/ValueMappingApplicationSynchronous:valueMappingReplicationSynchronous
2 interfaces found
But somehow the bean is not found and gave me the error :
JPR could not process the message. Reason: No remote bean found for reference of class com.sun.proxy.$Proxy352.
Can you tell me in detail what you have done to resolve the problem? I send the test data from soapui using the outbound interface ValueMappingReplicationOut provided by the content in SAP BASIS 7.11.
Thanks,
Ly-Na -
Value Mapping Replication for Mass Data - Performance Issues
Hi All,
We are looking into Value Mapping Replication for Mass Data. We have done this for less number of fields.
Now we might have to have 15,000 records in the cache for the Value Mapping. I am not sure how this would effect the Java Cache and Java Engine as a whole.
There might be a situation where we will have to leave the 15K records in the cache table on Java Engine...
Are there any parameters that we can look into just to see how this hits the performance.
Any links/ guidance in the right direction might help me..
regNaveen,
Check jins reply in this thread (they have done with API and without API using graphical but still some issues):
Value mapping performance using LookUp API
---Satish -
Hi,
Value Mapping is not allowing me to add the following combinations is there any work around possible?
Source A
Target a1
Source B
Target a1
Thank you in adavance.the easiest solution: add a number before the value
target 1_A, 2_A
use substring(2) in mapping after value mapping.
Edited by: Stefan Grube on Jan 20, 2011 4:45 PM -
Value Mapping issue in PI 7.4
Hi All,
We are working on value mapping in PI 7.4. We have a requirement where we should map same target value for different input values (n:1).
Example:
AA 10
BB 10
CA 30
CC 30
CD 30
BA 20
Could you please let us know what are the ways to achieve this?
Thanks
NishantHi Nishant,
Since the key and value pair maintained within a valuemapping group should be unique.
We can try this
AA 1:10
BB 2:10
CA 1:30
CC 2:30
CD 3:30
and a simple UDF after the Valuemapping in ESR
Regards,
Pooja -
Value Mapping Replication - Issue - Authorization Error
Hi all,
I am trying to do value mapping replication of the data from a table in ECC system using an outbound proxy on ECC and ASync Inbound interface on XI - valuemappingreplication.
Steps followed:
1. Created Table Stucture and did write a report to extract the data from the table in ECC to send the data through Outbound proxy.
2.Followed this blog - Value Mapping replication
When tried to execute the scenario after all the steps in the above blog, we have an error in sxmb_moni saying that the authentication failed. I used pisuper, pidiruser in the receiver communication channel
3.Generated a Java Proxy for the valuemappingreplication interface.
4.Tried to deploy the .jar from the above step using SDM, I was not able to deploy it.
reg
Edited by: naveen chitluri on Jul 16, 2008 12:55 PMAll,
For the value mapping replication,
I have tried to send the message to URL directly for RWB, Test Message in the Component Monitoring http://server:50400/MessagingSystem/receive/JPR/XI.
I am getting an error saying that:
Delivery of the message to the application using connection JPR failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered: com.sap.aii.proxy.xiruntime.core.XmlRecoverableException: Interface urn:flatfile:to:flatfile#MI_EMP_FILE_ASYNC_OUT not registered
Can anyone throw some light on this.
reg -
Value Mapping in Import Manager
Hi All,
I have Probelm while loading data to MAIN TABLE through Import manager,I am getting XML file from Legacy System in which legacy sends State Code like NM (for New Mexico) .In my region table I made Name and Code as display field .Created my Import map ,when ever new value comes for region value mapping is not working ,I tried changing my region table with code only display field it works ,but I want Name also display field .
Note : all my lookup table Remote key mapping Enabled
Is there any way we can acheive this or am I missing some thing here .
Thanks,
MadhuHi Madhu,
to achive this:
1. First go to the table where you are maintaining the region codes.
2. Enter the region code there and then go to the import manager by connecting to the source file.
3. go the region field map by opening the map.
4. go to value mapping pane and select unmap.
5. then select Automap and check the that your region code added manually is mapped with the source file.
6. You may see some unmapped source values, map it to Null values at destination.
7. Save the map.
8. This shoul enable the import for you.
if you want to avoid the manual mapping everytime, you should be getting all the region codes once and import/update it in the data manager as a one time job.
Then you avoid steps 1 to 3 everytime and carry out the remaining steps to import the records.
Hope this helps resolve the issue.
Thanks
Rahul -
What is value mapping ? when it is used ?
HI,
A perticular object/field could have different interprtations from applications to applications and Business to Business. For e.g Suppose a particular document XYZ has an identity code 001 in one application or may be in one orgnization. But the same document could have different ID in different applications.
With the help of Value Mapping you could map these IDs with each other, thus while transaction of the data XI will act as an smart mapper to pass the Application specific values.
http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
There are many docs available about Value mapping in SDN forum.
How to Perform Value Mapping A Walkthrough
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5
http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
SDN Discussions
/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
SAP - XI Value Mapping : Mapping two values to a single value
Value Mapping Issue in SAP XI
thanks
Swarup -
Value Mapping Replication Vs RFC Lookup API Usage Pros and Cons
Hi Ananth,
Looking at the options you have, Value Mapping Replication might be a better option, because, by going the second route, you are just trying to simulate how a Value mapping replication works in reality.
But, when the VMR framework is readily available, why do we need to simulate it by using Java code?
Moreover, the java code approach will be triggered as many times and the number of messages that are triggered VS the number of times the VMR tables in the Java Runtime gets updated only when there is an entry that is added/modified in the SAP side (Which i feel is less frequent than the frequency of the messages being sent through XI).
Regards,
Ravi Kanth TalaganaHi,
There are more issues you need to consider here:
1) Is this static data or will it change often (the lookup data);
2) Wether it is a good approach to keep it in middle system? if so who takes the ownership of managing it i.e. update, delete etc from time to time
3) The tables don't seem small to me for value mapping
I am not a big expert but i am off the opinion going RFC way as it will keep loose-coupling in place.
However your issue for not using graphical RFC is not true though, you can pass all your line items as a single object which means only making ONE single call to ECC and then get the return the same way. Think along the lines of internal table as an object
regards, -
Problem in value mapping in POSDM configuration!
Hi Experts,
I am sending data from POS to POSDM. I hav used standard name spaces like GM store Connectivity, BI and Store Connectivity 2.0. I hav also done settings in ID . Made a File adapter and RFC adapter and RD, ID, SA and RA settings.
Data from Sourse: GMTLogTransaction_out is going to the RFC :/POSDW/CREATE_TRANSACTIONS_EXT .
So I hope users can Understand I hav used standard mapping.
Now the issue is in the source structure a perticular field called TENDER ID is mapped with Target Field :Tender Code.
But there is a value mapping in between.
The name of the source Agency is IXREtailPOSLogRetailTransactionTenderID and schema is IXRetailPOSLogRetailTransactionTenderIDSchema and
The name of the Target Agency is POSDWTENDERTYPECODE and schema is POSDWTENDERTYPECODESCHEMA.
And the Value mapping Context is : http://sap.com/xi/XI.
The problem is I can see this , but I cant assign any value as it is in disabled mode in Messege mapping.
Again In the ID I cannot see this Value mapping , which I expected to see and maniputale.
experts, please tell me hw to I use this manipulate / incert some values so taht the input when 01 becomes 3101 at output.
If any doubts/ querioes, pls revert back.Please note , I am using all standard components in IR.
Regards,
Arnab .Hi Arnab / Abhijith,
I am also going to work on the similar kind of requirement which u guys have worked.
Pos( third Party)->PI>POSDM-->IS-Retail ( Inbound)
IS-Retail-> PI->POS( third Party) ( Outbound)
Appreciate if you could help me with some clarifications..
1) What transactions we can update to POSDM..?
2) Does we need to POST all POS transactions first to POS DM and then IS-Retail ( Inbound).?
If that is the case, once transactions posted in POSDM, does we need to do any settings to post idocs automatically to Retail system .. (OR) do we need to develop interface again from POSDM>PI>IS-Retail.( please clarify).
Please suggest .. is it feasable to post only Non aggregated data directly to POSDM and Aggregated Sales ,FI , GRNs to directly to ECC.( Based on client requirement ).
Awaiting for your suggestions.. Please suggest the best appraoch
Thanks & Regards,
Suman
Maybe you are looking for
-
Trying to install 10.5 on G5 imac
Hello: I just came into possession of a G5 imac that I'm trying to upgrade to 10.5 Leopard. It's a: 1.8Ghz G5 1.5 GB ram 80Gig HD Unfortunately, when I pop in the 10.5 install dvd & select install......reboot.....during the reboot process, the system
-
How to hide a block in Selection screen ?
Hello abap gurus, I have a requirement where I have to hide a block on Selection screen. Can anyone of u give the command for that or code.. Its urgent ! Om Sai Ram, aRgD
-
Business Objects and Adobe Interactive forms
Good day, Is it possible to use a Business Objects report output and post it into Adobe forms? We would like to use a report output and allow users to comment per report line - online - or is there any other application in Business Objects which wil
-
In the toolbar left I click on color face and see the RGB color space view. How do I put them into CMYK? German: In der Werkzeugleiste klicke ich auf Farbfläche und sehe den RGB-Farbraumansicht. Wie stelle ich diese in CMYK um?
-
HELLO I HAVE TO DEVELOP A BDC FOR AS02 ASSET CHANGE BUT THERE IS A TAB CALLED DEPRECIATION AREAS THERE IS A TABLE CONTROL AREA. IF POSIBLE PLZ PROVIDE ME A CODE FOR AS02 TCODE IF U HAVE ONE PLZ HELP ME THANX