Value mapping values to be reflected dynamically
Hi All,
I have a scenario where R3 entries should be reflected in value mapping dynamically for a particluar field .
Can anyone explain wht does the component SAP BASIS 7.00(NS- http://sap.com/xi/XI/System,MI -ValueMappingReplication) has the role. by generating a java proxy & deploying the jar file in visual admin helps, after this proceeding with abap mapping to retrieve the value from r3 dynamically using this MI.
Correct me if Iam wrong?
I have to schedule this evry week such tht new entries should get populated dynamically form r3 in abap mapping.
Appreciate if anyone has inputs.
Regards
Chaithanya
Hi All,
I am facing a problem while processing the message(value mapping values not been reflected in cache monitoring) .
Iam getting the below error "INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK"
SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b> 404   Not Found</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> The requested resource does not exist.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b> Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre> Go to <A HREF="/MessagingSystem" target="_parent">main page</A> of this application!</pre></font></td> </tr> </body>
I have created abap report to fetch the entries from t005 table , I am getting the entries in a internal table but these entries are not reflected in cache monitoring.
Can anyone suggest me if you have gone through this error?
Appreciate your inputs
Regards
Chaithanya
Similar Messages
-
Value Mapping , values need to from R/3
Hi all,
I need to do Value Mapping, Need to get data from R/3 and pupulate in Vale mapping Table in PI,
do i need to do come coding in R/3 in Java or ABAP to fetch data
casue i have done the same away in some Blog
Where service interface is ValueMappingReplicationOutSynchronous and ValueMappingReplicationSynchronous
and in he interface detrmination i have give the Service interface ValueMappingReplicationSynchronous since i dfont have any
Mapping predefined for it
but i am getting a error
Error while sending by HTTP (error code: 404 , error text: Not Found) (See attachment HTMLError for details)
please hellp me in this
Should i need to write an Java or ABAP code to fetch data
and why is this error
Thanking you
SridharActaully i tried to post a messgae from the RWB ,
i didnt do any ABAP coding nothing iABAP side , just did the ESR and Intgratio bulider side
i njsut posted this message
<ns1:ValueMappingReplication xmlns:ns1="http://sap.com/xi/XI/System" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
<Item>
<Operation>Insert</Operation>
<GroupID>fe9ffaa0494211dea47b001e372d2d65</GroupID>
<Context>http://sap.com/xi/XI</Context>
<Identifier scheme="TESTVALMAP"
agency="UXD">TESTVALUEMAPPING</Identifier>
</Item>
</ns1:ValueMappingReplication>
it was giving me success message when tested Using testing tool in Intergation Builder
But while testing in RWB the is not able to send it is giving his
Error
Error while sending by HTTP (error code: 404 , error text: Not Found) (See attachment HTMLError for details) -
Value Mapping values..question
i have been through the value Mapping documentation, and we are trying to analyze a message Map where there are value maps, However we are not able to find the value maps maintained in ID when i select the tools --> value mapping and specify the context, agency and schema for the source values and agency and schema for target values...
Where is this table maintained, where can we view the values in it...?
Do we need any additional permissions to view this table.
When we test it the values dont show up in message mapping tests, however they do show up at runtime as they should..we need to edit and add some values to this table but are unable to find it...
Preetha> i have been through the value Mapping documentation, and we are trying to analyze a message Map where there are value maps, However we are not able to find the value maps maintained in ID when i select the tools --> value mapping and specify the context, agency and schema for the source values and agency and schema for target values...
>
> Where is this table maintained, where can we view the values in it...?
In ID under tools --> value mapping you need to create the value mapping groups and there specify the values.
>
> Do we need any additional permissions to view this table.
No.
> When we test it the values dont show up in message mapping tests, however they do show up at runtime as they should..we need to edit and add some values to this table but are unable to find it...
You can see the value only at RunTime and not while testing in test tab in message mapping. Go to ID open your value mapping group and there you can edit or add new entrie.
Regards,
Sarvesh -
hi
sdn experts,
could you please explain about value mapping?
where the value mapping is used?
thanks in advance.Hi Chinna Rao,
Value mapping means mapping the data of some source fields to some target fields, in this mapping data can be transform in the format you required for your target system. You can do a value mapping simply by graphical mapping, using UDF etc
Go thru this thread which talks about value mapping:
Value mapping
Value mapping : value mapping function to map different representations of an object to each other. You save the mapping rules for different objects in a value mapping table.
we have two types ,
And Value mapping is used to map different representations of an object to each other.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
You can do value mapping both in IR and ID
IR: Message Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
ID: Tools --> Value Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
Value mapping replication: For uploading data from tables, excel sheet etc. into XI
http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
/people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
/people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
/people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Thanks,
Ram
*Pls reward if you find useful -
No value mapping in Integration Directory, but they are in the cache
Hi,
I recently got acquainted with the fabulous world of value mappings in PI. Until now, FixValues did the trick for me, but now I have to modify the errors in someone else's work.
I read this article:
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5&overridelayout=true
and a bunch of other help.sap.com stuff and I still don't get a very specific thing in our system. When I check the cache from the runtime workbench, the values, agencies and what have you are all ok. However, when I go to Integration Directory, disregarding the fact that I don't have any values on the search helps for Agency and Scheme, which is quite weird, when I put the correct Agencies and Schemes, I don't get any value displayed, just blanks.
Why does this happen? Is it something wrong in the PI configuration or something that I don't see any value mapping there, altough they are in the cache?
Thanks in advance and best regards,
GeorgeHi ,
1. Create Value Mapping directly in ID (this cannot be seen in RWB, it can be only seen in ID)
*Just a corection we can see the value mappings created in Integration directory in RWB in cache monitoring.*
Just follow these steps to refresh your cache. you will no longer be able to see deleted Val mappings and newly created entries will also shown immediately.
1) Go to integration builder -- > Administration --> click on Runtime tab --> cache overview
You will find 2 things over there :
Value Mapping Group Cache
Value Mapping Value Cache
Refresh both of them. I hope it will work as it always work for me :).
Thanks
Inder -
Value Mapping Transport Problem
Hi All,
I hv some value Mapping Values in my XI Devvelopment system while i am transporting these values to the XI Quality System all Development values are able to transport but,some values are duplicating.aferter that
In XI Production System newly added values are not transported eventhough imported Sucessfully.
I was tryed two transport systems i.e CMS & File System.
Plz, help me to solve this is....
Thanks
MaheshHi Mahesh,
while value mapping make sure that u refresh the run time cache
in value it uses another table that which helps in value mapping
make sure that even that table is imported if any doubt pls chk this link
value mapping uses values from the cache so you can you value
mapping replication for your purpose - but you will not
see those values from ID
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5
http://help.sap.com/saphelp_nw2004s/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
/people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
if found worth pls do reward points
Thanx
Sampath
Edited by: venkata sampath on May 29, 2008 11:15 AM -
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 -
Need halp Value Mapping failure
Morning,
i have an urgent request and don´t know why it´s not working ???
I have a simple mapping.
E1EDKA1-PARTN -> Value Mapping -> E1EDKA1-PARTN
Value Mapping Value:
4901 to xxxx
It´s a very simple one and in the xi test environment it works but in REAL it´s not working.
Only the source Value of 4901 will be filled in the destination field PARTN.
In the Trace i cant find the following information:
Key mapping from System=CCS_xxxxxxx namespace=newInterfaceFunction objtype= key=4901 to System=CSC_yyyyyy namespace= objtype= key=null has not been performed
Any ideas ?
Thank You,
GordonHi Gordon,
Yes, I'd try to activate your changes using the icon with the green arrow.
If it still does not work, there might be connection problems. Here's a copy of the XI documentation to help you for further investigations:
<i>You can request another cache update, if required. To do so, choose Repeat Cache Update for Instance ().
The Problems tab page displays information about problems during the cache update.
Cache notifications and cache updates can fail for many reasons. You can test the cache connectivity. in the Runtime Workbench. For more information, see SAP Note 780747.</i>
Best regards
Joachim -
Whatu0092s the name of the table used for value mapping?
Hi,
Does anyone know whats the name of the table where the value mapping values are stored in XI?
Br.samuliHello,
The table name will be XI_RUNVALMAPGR. It is the Java Scheme table.
So you can see the table only from DB Management Tool, for instance Enterprise Manager for SQL Server.
Best regards,
Mari -
What are "value mapping tables"..
hi friends,
I am not getting the clear idea of value mapping tables and how it refers in cache monitoring....pls help me out...
with regards,
Santosh.Hi,
Value Mapping
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
Value mapping
VALUE MAPPING TABLE
Regards,
Phani -
hi,
can u plz explain about Dynamic value mapping and where it actually use this
thanks
gunaHi ,
Dynamic value mapping.is nothing but
It is FixValues and ValueMapping under Conversion Functions.
Eg:
You need such a requirement. Where the values in the source are mapped to someother value in the target as below.
1--> Mr
2--> MS
3--> MRS
FixValues is used when you know the entire set of Key value pair in the Design Time. You give the Key and the value in the FixValues and the mapping checks and maps the values to the target.
In the case of Value mapping, you maintain this Key - Value pair in the Integration Directory and thereby make changes easily and also use them in the Mapping in IR
Refer These blogs
ValueMapping using the Graphical Mapping Tool -value mapping using grapic mapping tool
Value Mapping replication - value mapping replication
Accessing Value Mapping defined in Directory using Java functions - accesing value mapping
Dynamic Date Conversion in Message Mapping - dynamic date conversion
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping - dynamic confighuration
Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II - dynamic file name
and also
Refer this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/d7/e551cf896c3a49bb87bb4ce38c99c8/frameset.htm - external context mapping
Regards,
Suryanarayana -
Hi,
Gurus,
I'm working on idoc to file scenarion and i have to implement MDM dynamic value mapping for one of the idoc fields, and i have no idead about MDM dynamic value mapping , can anybody help me with step-by-step procedure to implement it and I'm not java guy...
Thanks!!
Waiting for reply...Hi,
This might help you,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62770ffa-0301-0010-a0b2-c77294a3902e
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a9c405f-0a01-0010-0980-fa5082e517e6
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/603ca425-0c01-0010-cdb2-c10d13c43631
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4ce0d691-0b01-0010-f4aa-c938d438ceb2
Setting up algorithm on MDM Client
Regards
Agasthuri Doss -
Value Mapping and Dynamic Value Mapping
Hi Experts,
Could you please give a example for Value Mapping and Dynamic Value Mapping?
Regards
SaraSara,
I am assuming that you are going to use the Receiver JDBC adapter to select the data from the database.
In this case, take a look at this blog of mine to understand how te dataypes should be created for the request and response JDBC Select Query.
/people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
The only difference would be that in the mapping when you create the Request Message for the JDBC adapter, the columns you create would be determined from the Source,
i.e, if value = 1 , only the required Columns should be mapped as Blank constants,
likewise for the other requirement.
the columns you do not want to select you should not create them in theoutput of your request mapping.
Regards
Bhavesh -
How to pass dynamic values to value mapping? please help!
Hi Experts,
I have requirement where I am using email adapter to send emails. Now the "To" email address is different for different environment. In other words:
DEV - [email protected]
TEST - [email protected]
PROD - [email protected]
When the XI code is migrated to TEST environment the email address will be [email protected] and in production it will be [email protected]
Similarly, there are many more environments.
Now to handle this I have decided to use value mapping where Agency refers to the type of environment.
Now my problem is how do I use it in message mapping.
I have wriiten a java function that returns me the type of environment. But now how to use this value for value mapping. I mean when using value mapping in message mapping we hardcode the agency (environment type).
Is it possibel to specify a variable in value mapping for agency. The variable will be populated by java function before connecting to value mapping?
Please help!
Thanks
GopalHi Gopal,
why don't you use a "if" after your UDF. Depending on the return parameter of the UDF you call different value mappings?
Regards Mario -
Is there any way to read the Value mapping input values dynamically?
Hi all..
I have a scenario where i have used value mapping. now the issue is when the input is not having any corresponding output value in value mapping then i should get null as output. can anyone suggest how can this be achieved?..
Regards
Anu.Hi,
Do you know if the value in not maintained/found in the value mapping then it returns the same value as a result at runtime.
So, simply if and else will help you to get your desired result..
SourceField ---> ValueMapping------>|
|----->equalS---IF---->Then -----> Map constant (null) ----> Target
SourceField------------------------>|
Else ---->map (SourceField ---> ValueMapping) --->Target.
Regards,
Sarvesh
Maybe you are looking for
-
Today is HP Expert Day - someone ask about the Beats audio problem!
Let's do it!
-
When taking a picture to add to a contact the phone waits too long
When you go to take a picture to add to a contact in the contacts app itself and you have flash turned on the camera will flash but the phone doesnt save the pic untill after the flash is gone so if its dark you will just get a black screen.
-
I recently purchased QuickTime 7 Pro to convert avi files to mov files for editing on Imovie. However, QuickTime won't play the files. How can I get them to play and how can I convert them to mov files?
-
Hi, I would like to make new objects for use in LiveType, is this possible ? then how do i do it? Or must i buy them? Thanks,
-
Inserting multimedial "footnotes" or similar pages in iBooks Author
we are about to develop an ibook with ibook author. some information might be well known to the most of the users. but to some not. so we want to insert multimedial pages to explain certain facts. these facts should only be accessed if needed. i.e. t