The solutinons to value mapping during exchanging
Howdy!
Here's the general senario:
We got a 3rd party system named KS and a local R3 system called RS. We have a interface that send invoice data from KS to RS. But the customer number from KS is different from RS customer number, so we need not noly the structure/format mapping but also the value mapping during exchanging procedure.
Anyone got a proper solution to this problem?
3Q!
hi,
1. 2 problems with value mappings:
- if you don't use value mapping replication you will have to add all of them
(one by one) to a table in directory - very time consuming
- you cannot have two records with the same value pointing to one target value !
(so if in one system two numbers will mean one number in SAP this will not work)
2. so try considering other forms of lookups
- lookups from user functions - message mappings
- lookups from ABAP - abap mappings
- lookups from ABAP - XSLT on ABAP stack
Regards,
michal
Similar Messages
-
How to define the boolean - String value mapping for SelectBooleanCheckBox?
I have a SelectBooleanCheckBox component whose value is bind to a bean property of type String.
<af:selectBooleanCheckbox text="State" label="State" id="sbc1"
value="#{viewScope.myBean.stateText}" autoSubmit="true"/>
The expected value for the Bean property is "Accepted" (for true) and "Rejected" (for false).
Currently, the component return String value "true" for checked and "false" for unchecked.
How do I set up the component so the boolean value can map to my expected String value?Sumit,
Thanks for the response.
I read that post too. However, I don't have any binding in my case because the component is bind to a bean property instead of an attribute of a view object.
Without the binding in the page definition, I can't find a place to define the mapping between the Boolean value and the expected String value.
Pricilla -
We are using Value Mapping in XI 3.0 in the integration builder under the configuration.
Value Mapping is not working during the transformation step in BPM. See help.sap.com under transformation step: http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Does anybody have a solution for executing the value mapping in this case.
Thanks in advance,
Glenn van KamperdijkDear Stefan,
What if you do want to use value mapping in a ccBPM? What values should be entered at:
Source Values For Agency?
and
Target Values For Agency?
Best regards,
Roelof Jan -
Value mapping performance using LookUp API
All,
We are using Value mapping look up from an external table using JDBC adapter and Lookup API. The scenario works good, but the performance is a hit for us as it is taking 7 seconds for the first step and the subsequent steps are taking much longer. In the performance header it shows that the steps "DB ENTRY QUEUING" and "DB SPLITTER QUEUING" are taking 90% of the time even though mapping execution is real quick.
We tried the below things which did not help us analyze or isolate the problem.
1. We increased the number of dialog processes from 3 to 8. (Optimal value should be 5)
2. We tested the scenario using Value mapping in ID instead of external table. But it is almost taking the same time in the above two steps mentioned.
I would like to know whether any kind of configuration settings to be done on the server like "specifying connection pool capabilities" etc...
Any pointers would be really appreciated.
Thanks and Regards,
GPHi,
Have you seen this weblogs by Prasad recently:
/people/prasad.illapani/blog/2007/03/08/performance-tuning-checks-in-sap-exchange-infrastructure
/people/prasad.illapani/blog/2007/04/20/performance-tuning-checks-in-sap-exchange-infrastructurexi-part-ii
Also are you doing multiple lookups or a single lookup? If you are using multiple lookup for multiple fields which has the same logic then try to use global variables.
---Satish -
WdDoModifyView() to modify Context Value mapped to WD component
How to modify Component (Dropdown , RadioButtonGroupByKey) during runtime in wdDoModifyView() to manipulate the list of Values mapped from Context element?
For Example : Context Node Element has a value List {1,2,3,4,5,....} , but allow only value{1,3,6,..} to map .
Please let me know , if some one has the code.
ThanksWhat is the exact scenario? Because once you modify the SimpleType you will be not holding the old values. If you want to maintain the original list as it is then using Supply function is a good idea as Maksim suggested.
If you are ok to modify the actual source then you can try this:
IWDAttributeInfo atribInfo = wdContext.getNodeInfo().getAttribute("listvalues");
ISimpleType simpleType = atribInfo.getModifiableSimpleType();
IModifiableSimpleValueSet simpleValSet = simpleType.getSVServices().getModifiableSimpleValueSet();
simpleValSet.removeKey("key");
//you can use various methods available in <a href="https://help.sap.com/javadocs/NW04/current/dr/com/sap/typeservices/IModifiableSimpleValueSet.html">IModifiableSimpleValueSet</a> to add, delete the values.
Regards
Abhilash -
How to read Group ID from Value Mapping Context in Cache Monitoring ?
Hi friends,
In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU.... For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code) which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
So, in essence, how to read the GUID from value mapping context.
Friends, Kindly help me to do this.
Thanks in advance.
Jegatheeswaran P.Did you get the way to read group id?
-
Value Mapping in PI 7.0
Hi All,
I need to implement the value mapping.
The mapping rule for the value mapping is for varius z tables like
ztable1
ztable2
ztable3
ztable4
ztable5
ztable6
ztable7
Can you please help me in implementing the value mapping ?
Can you please tell me the steps to umplement it?
Thanks in advanceHow can I come to know about the Agency and Schema to implement the Value Mapping?
Check the blog # 5479
From the blog:
Enter Value Mapping Properties such as Agency, Schema for Source and Target messages. Any arbitrary string value can be
used. But enter the Value Mapping Context as http://sap.com/xi/XI
I am not getting which Value Mapping should be done for my mapping requirement,but I thibk it should be for the fixed value,but dont know whether I need to implement the Valume Mapping replication or not?
If you give more details about your requirement then somebody may help you out on the approach.
Regards,
Abhishek. -
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 -
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 -
Need of value mapping and fixed values in (conversions)under graphical map
hi.
helo all.
i just want to know what is the need of value mapping and fixed values in (conversions)under graphical mappping.
can any body explain me with real time example .
waiting for your response.
bye.
regards.
seeta ram.Hi Seetha Ram,
Value mapping: Where we maintain a table of values which are mapped.
based on the incoming value we can send the respective resultant value.
for Eg: for language SAP maintains as EN --> English etc
can u refer these
http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/frameset.htm
Re: Value mapping table
Thanks and Regards
Harsha Vardhan.P
**Reward points if found useful** -
Difference of FixValues and Value Mapping in Message Mapping
Hi
I would like to know the exact difference between the "FixValues" and Value Mapping. And the Scenarios of usage.
If i use Value Mappings, value mappings more for fixed values or can they be used for business data that will change ?
If the flow is from "Non SAP to SAP System" then if i maintain the "Value Mapping Tables" in Message Mapping, Do i need to maintain the same Value Mapping tables on SAP System. If this is the case, it will be over head of maintaining on both sides.
More thankful if you clarify my doudt.
Regards
ShailajaHi,
your question is best explained in the following link(PDF).
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
Its given in the 75th page.
>>If the flow is from "Non SAP to SAP System" then if i maintain the "Value Mapping Tables" in Message Mapping, Do i need to maintain the same Value Mapping tables on SAP System.
I think this is not needed.its not needed to maintain value mapping tables in SAP system.
hope this helps.
regards,
P.Venkat -
Hi All
I am doing a fix value mapping for a perticular field.I am getting a value say Y001 from the client system which i convert it to Z001 in my system. I tested the XML in the message mapping test tab.It is giving proper result.But at the output file i am getting the same value of Y001 instead of Z001.Can anyone please provide any inputs on this.
Thanks
AmitHI,
Please chek the imput values..
Sure if you fix the value in Fix Value mapping then you will get the resukt value otherwise empty.
Please see the below links
value mapping - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
Value mapping /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
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
Regards
Chilla.. -
Hi All,
I can not get value mapping in XI 3.0 to work. Has anyone experience with this, the documentation is soo bad. This is what I have done:
In the Graphical mapper I used the object "Value mapping" and filled in the following parameters:
Value mapping context: http://sap.com/xi/XI
Source
Agency: System1
Schema: UnitSystem1
Target
Agency: System2
Schema: UnitSystem2
In the directory I created an Value mapping table with the same paremeters as above and filled in the table.
When I test the complete flow, the value mapping is not used. The unchanged values are just copied over to the target field.
Any help is appreciated.
Cheers,
FrankHi Colin,
In test Mode you can't test the value mapping, because the value mapping table is part of the Directory. Instead of the Value Mapping I tried "Fixed Values" and that works, but you can not re-used it.
If this advanced mapping guide explanes how to use the value mapping better then the standard "how to" mapping guide, please send it to me.
email: [email protected]
Cheers,
Frank -
Hi experts,
we want to download the details of value mapping in excel sheet .
Can you give us this solution.
regards
duraiHi Durai,
Go through the following links to get an overview:
Transports value mapping tables
http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
https://www.sdn.sap.com/irj/sdn/elearn?rid=/webcontent/uuid/a680445e-0501-0010-1c94-a8c4a60619f8 [original link is broken]
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/190eb190-0201-0010-0ab3-e69f70b6c257
I think they may help you.
Regards,
Jyothi. -
DTW Sort Error - after mapping during import
I got the "Sort Error - after mapping during import" message in DTW. (version 8.8)
I would like to import warehouse info for items.
My itemcodes are fix 15 character numbers, like this: 10204150020011
The note nr. [1331130|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/oss_notes/sdn_oss_sbo_dtw/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d31333331313330%7d] said that I can't use recordkey like this.
Do you have any idea how can I import thees information with DTW?
Thank you,
Attila SarkadyDear All
Please give correct and complete information
i have tested every kind of combination;
- recreate the template with the dtw for Items = i have UDF's
- ADD the column RecordKey !!! unbelievable that we have to do this
- i have entered a nr 1 in it (even when we had already 850 items in the database)
(and of course the hints of Gordon - columns as text, start with basic... - and use CSV format)
now at last i can import the record line
greetings
philippe
Maybe you are looking for
-
Can't open Finder after Upgrade to Yosemite 10.10
After the Upgrade to Yosemite 10.10 on my MacBook Pro with Retina Display i can't open the Finder and it says it's not reacting. The bar on top when i'm at the Desktop is also gone. Can somebody help me ?
-
Newbie Query regarding creation of Recovery disks and Backups
Hello ppl/Admins, Some clarification required (my questions might seem dummy ...but i have no choice). I'm a newbie and just received my first laptop ever Lenovo 3000 N200 0769 (WinXP). My queries are: 1) If i create a 'Complete Backup' under Lenovo
-
AV cable AVC-DC400 capabilities
I have the Powershot A1400 and i am wondering if the Canon compatible AVC-DC400 AV cable will allow me to live view my realtime movie recording on my TV in real time, or is it only capable of playing back already recorded files. The problem i have i
-
Set Safari 5.1 startup behavior to not resume
Is there any way to configure the startup behavior in Safari 5.1 (7534.48.3) on Lion 10.7? It now always resumes whatever was running when I quit it. I would like to have it start on "Top Sites", but to do so now, I must navigate back there before I
-
My safari is permanently on safe mode even after turning it of the pages refresh it goes back into safe mode how do I remove it.