Message Mapping - Fix Values Transport Issue
Hi,
There are few fix values in the Message mapping which is running fine in D, Q and P.
As per an enchancement, couple of additional values are keyed into Fix values of the Message mapping.
Exported the object into the Export directory.
Basis had moved the .TPZ file to import directory of Q, and imported into IR and activated.
The additional fix values in the MM are not reflected into Q.
Have tried exporting individual object (MM) as well as the entire namespace .
No Luck.
Can any one help me identify what's going wrong would be great...
Thanks,
Rao
Rao,
You can see the version of any object in the [Object History|http://help.sap.com/erp2005_ehp_04/helpdata/EN/47/65993f7717fb47e10000000a114084/frameset.htm].
I think you should also verify Karna's suggestion: sometimes 'small' changes are not saved. To verify this, test the mapping in Development for the new values.
Kind regards,
Koen
Similar Messages
-
Message Mapping - fixed values - not mapping
Hi
i have a simple fixed values mapping that is not producing anything.
the input value can be 'Y' , 'N' , or a blank.
The fixed value mapping is setting these input values to 'Yes', 'No', and 'No'
however when i test this, nothing is getting mapped to the output record for this field.
can someone tell me why?
many thanks,
JuliaHello,
What happens when you use this logic?
Source -> mapWithDefault: -> fixValues -> Target
Configuration for fixValues would be:
DefaultValue: No
BehaviourLookUp: Use Default Value
key value
Y Yes
Hope this helps,
Mark -
How do I delete an App that is stalled in installing mode? I can't open it or delete it. Message reads, "fixed login (forbidden) issue! iPhone 5 support! Please advise.
Try a reset: Simultaneously hold down the Home and On buttons until the device shuts down. Ignore the off slider if it appears. Once shut down is complete, if it doesn't restart on it own, turn the device back on using the On button. In some cases it also helps to double click the Home button and close all apps from the tray before doing the reset.
-
PI 7.1 Operation mapping - Multiple message mapping - one to many issue
Dear Experts,
I am facing this issue in PI 7.1 and I beleive i did similar one in PI 7.0 successfully.
I have an operation mapping with two message mappings.
The occurence of source message of operation mapping is 1
The occurence of target message of operation mapping is 0..unbounded
Corresponding i configured two message mappings
For message mapping-1
Source message occurence = 1 and Target message occurence = 1
For message mapping-2
Source message occurence = 1 and Target message occurence = 0...unbounded
When i test message mappings individually they are working good. But when i test it in operation mapping, the operation mapping is not working..as it is not able to convert single occurence output of message mapping -1 to the second message mapping-2.
Any suggestions?
Thanks.The message that i get when testing in operation mapping:
Runtime Exception when executing application mapping program com/sap/xi/tf/_MM_MessageMapping_1_; Details: com.sap.aii.mappingtool.tf7.IllegalInstanceException; Cannot create target element /ns0:MT_MessageMapping_1_TargetMessageType/RECORDSET. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD
My question is, has somebody mapped similar scenario in your environment? If yes, can you please provide details.
Operation mapping : 1 to 0..unbounded
Message Mapping1: 1 to 1
Message Mapping2: 1 to 0...unbounded -
Please excuse me, this seems to be a very simple issue but being resonably new to message mapping I am having issues solving it.
Ok each field maps to a repeating structure in the target IDOC, I ahve duplicated the subtree in the Structure and mapped each of the fields.
_Source_ _Desired_ _Actual_
<header> <header> <header>
<line1> <line1> <line1>
<Field1> <Field1> <Field1>
<Field2> Message <Field2> <Field2>
<Field3> Mapping <Field3> <Field3>
<line2> ------> <line2> <Field4>
<Field4> <Field4> <Field5>
<Field5> <Field5> <Field6>
<Field6> <Field6> <line2>
Each lineNode has been mapped across, and the FieldNode's have been mapped to the line as well. I have had to map the lineNode to the fieldNode as well as I am duplicating the subtree for the fieldNode which is 1..N range.
My issue is all the fields are mapping into the first node and not maintaining their structure. The value in the fields is coming through correctly in the repeating structure but the node itself is misplaced.Thought it was solved ... it isnt...
To clafiry...
There are fields in the incoming structure that map into Nodes in the target structure ...
So Field1 in Line1 .... will actually become Field1Node in the target. To add addition complexity the target node is a repeating node, so used the copt subtree feature but I think it is loosing context.
So...
<lineNode1> -
> <lineNode1>
<field1> -
> <FieldNode1>
<field1 value>
<field1 constant> --- provided by PI
<field2> -
> <FieldNode2>
and so on .... basically the fields in the originating message and creating a bunch of nodes in the user exit, With some small constants to hardcoded in PI to add context to the value in the field.
A real example ...
<saleLine1> <saleLine1>
<saleValue>100</saleValue> <userExitGenericNode>
</saleLine1> <Value>100</Value>
<ID>SaleValue</ID>
</userExitGenericNode>
</saleLine1> -
Accessing container variable of BPM in Message Mapping function
Hi,
I have a scenario in BPM where i have a container variable that is used as a loop counter.I want to access that counter defined , every time when i go around the loop and perform certain actions based on that counter. so how can i access that variable in my message Mapping function.Hi Sudharshan,
check these links, hope they give you the required information (i think there is some problem with SDN site, check these links after a while)
Re: How to use Container Variable across Maps
Container object in Message Mapping
Copy value of container (abstract interface) to an other container
Regards
Vishnu -
Message Mapping, filling field with 0 (zeros) on left
I need to fill a field with values that has variable lenght adding 0 (zeros) on the left, how can I do it ?
I'm using the LENGHT in message mapping, with value returned by LENGHT I use FIXVALUES to map the quantity of 0 (zeros) that I need to add in the field.
Somebody can help me with this problem ?
Thank's.Hi Regis,
You can use the Arithmetic:FormatNum built-in function for this.
If you want to left-pad the number with zeros so that the length is always 10, then specify 10 zeros for the format, 0000000000.
This function takes formats based on java.text.DecimalFormat so you can see all of the possibilities at:
java.sun.com/j2se/1.4.2/docs/api/java/text/DecimalFormat.html
Thanks,
Jesse -
Replacing & with & in message mapping
Hi,
In my scenario I'm using Graphical mapping tool and I have to replace the & that's coming in the input xml with & in the output with in the message mapping, Is Value mapping is the only solution or do we have any other options that we can use for this.
Basically I'm getting runtime error in the message Mapping since I had a & in the value which is not recognized.
thanks,
Joe.PHi Bhavesh,
My scenario is RFC-ABAPProxy--XI- File.
so the RFC is sending me as & instead of &.
this is what I see in the my incoming xml and this failing during runtime.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0=" http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<nr1:MT_HCMPositionData xmlns:nr1="http://XXXX.com/xi/HCM/Recruitment ">
<PositionIDs>
<PositionID>20008644</PositionID>
<Position_Desc>Director Finance M&A_Dept771_SSC7000</Position_Desc>
<Job_Code>Director Finance M&A</Job_Code>
<Staffing_Stat>1</Staffing_Stat>
<Org_Type>DEPARTMENT</Org_Type>
</PositionIDs>
</nr1:MT_HCMPositionData>
</ns0:Message1>
</ns0:Message1> -
Fixed Values and Value Mapping
Hi Experts,
I hav a doubt regarding these to funnctions in Messege mapping. In both teh functions , we can change a value coming from Load to some thing else.
Like
A=1
B=2
C=8.
The difference i hav noted is the in case of fixed values, we can assign the valsues in the messege mapping itself, and in case of value mapping it is assigned in the value mapping table in integartion directory, and thsi can be seen through Runtime Workbench in Cache Monitering. . Apart from that there seems to be no big significat difference in the application .
Pls correct me , if I ma missing out something.
Pls tell me if both hav the same functionality, why were these 2 functions made , any 1 of them, preferably Value Mappimg Function could hav been enough.
Regards,
Arnab.Hi
Fixed value mapping is Message mapping Specific
But Value mapping allows u to create a Schema and group .
Value mapping functionality will be well understood in large integration where many mapping programs using same conversions.
Maintain advantage is maintance is easy with value mapping because if any chnages in value , just ID change is enogh no need to go mapping but this is not with fixed value
For instance if u r using Fixed value in 50 mapping programs u need to change in all
But if u r using Value mapping just one ID
Which one u prefer
all based upon u r landscape for mapping
Srini -
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.. -
GlobalContainer object values acessed among UDF's in message mapping ?
hi
i have scenario where i am using globalContainer variable functionality in my message mapping.
in edit java section
String usr;
Container container ;
GlobalContainer globalContainer ;
intialize usr = "";
in First UDF
String inlogin_sess = " ashutosh test value" ;
globalContainer.setParameter(usr,inlogin_sess);
return any value :
now if i create another 2nd UDF and use :
String out =globalContainer.getParameter(usr);
return out ;
now 2nd UDF is giving null pointer exception...
for testing the code functionality..
IF i use the SET and GET in 1st UDF :
globalContainer.getParameter(usr); in 1st UDF than it is working sucessfully...
globalContainer.setParameter(usr,inlogin_sess);
String out = globalContainer.getParameter(usr);
return out ;
in help.sap it is mentioned that Globalcontainer objects values can be fetched among UDF's in one message mapping....
[http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm]
i have gone a lot of thread in sdn where Global container are used like sequence no creation etc, but every where the
GET and SET are used in SAME UDF...
any clue where is leak..
Regards,
ashutosh RHi Abhishek
Your point is legimate, but for my their is no such issue..
even i try to use it as :see image..
[http://www.screenshots.cc/show.php/14137_GlobalVariable.JPG.html]
UDF1 :
globalContainer.setParameter(usr,inlogin_sess);
return any value :
and in UDF2
String out = globalContainer.getParameter(usr);
return out ;
mainting the sequence
My concern is object globalContainer is local in UDF1, so it will through nullpointer ,if we try to access in UDF2.
if we declare globalContainer in edit jave -GlobalVariables also, still it is having the error..
Regards
AshutoshR -
Hi,
The value coming from Idoc at source side is 6,999,432.08.
I want the value to be passed at target side as 6,999,432
I do not want .08
How i will do the message mapping. Can someone help me out.
Thanks,Ashish,
I have tested this and all works as you expect. I have also provided two examples due to confusion as to whether you want the decimal places. You stated in an earlier post 'I do not want .08, i want .00' but in your last post that 'Source Value be 22345.45 or 22345.78 or 22345.99.........target value should be 22345'
Two decimal places .00
LHS field_in --> floor (arithmetic function) to give you the integer value required (rounded down) --> format number (second arithmetic function and indicate a format of 0.00 to represent two decimal places) --> RHS field_out
Source Target
22345.45 22345.00
22345.78 22345.00
22345.99 22345.00
No decimal places (integer)
LHS field_in --> floor (arithmetic function) to give you the integer value required (rounded down) --> RHS field_out
Source Target
22345.45 22345
22345.78 22345
22345.99 22345
I hope this clears up your issue
Regards,
Mike -
How do the Message mapping below issue
Hi all.
I am doing interface is Siebel to SAP Customer Creation and Update. While mapping source side Siebel pass the Customer Account Group are Sold to Party, Goods Recipient, Payer and Bill to Party based on these parameters .My Target side we want like Z001, Z002, Z003 and Z004.
1) If Source side Customer Account Group is Sold to Party then my target side is Z001.
2) If Source side Customer Account Group is Goods Recipient then my target side is Z002
3) If Source side Customer Account Group is Payer then my target side is Z003
4) If Source side Customer Account Group is Bill to Party then my target side is Z004
So each time source Siebel send one Customer Account Group based on that we want target side as Z001, Z002, Z003, and Z004. So pls help to me <b>how do this issue on message mapping or user defined function (UTF)</b>
please help me out .....
Regards,
Rameshthe best way to do it will be via value mapping
http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
in this case in future any change comes only your value mapping table needs to be altered unlike editing your UDF.
Also ref: https://www.sdn.sap.com/irj/sdn/developerareas/xi?rid=/webcontent/uuid/a680445e-0501-0010-1c94-a8c4a60619f8 [original link is broken]
to get value mapping on SDN TV. -
XI Fixed Value Mapping - Mass function?
Is there a quick way to upload 350 fixed value to value mappings in XI 7.0 (or 3.0)??
Short of pasting in one entry at a time!
Is SAP going to develop a more user friendly alternative to this painstaking task?> Hi,
>
> >>>>Is there a quick way to upload 350 fixed value to
> value mappings in XI 7.0 (or 3.0)??
> Short of pasting in one entry at a time!
>
> if you talk about fixed values (in message mapping)
> then
> you need to go one by one I'm affraid
>
>
> >>>>Is SAP going to develop a more user friendly
> alternative to this painstaking task?
>
> who knows... maybe in next relase
>
It is fixed values in mapping!
I was afraid of that... I had been putting off the inevitable!
Is there anyway we can put forward a request (for change) to SAP to change this in a later release??
This is not the first time I have had to this, and I am sure, it won't be the last, or that I am the only person who has had to do this!
Maybe you are looking for
-
multiple blank firefox pages open one after the other, can't stop them. only solution is to use "force quit" I am on an iMac. Never had this until today. Has happened now 3 times! its scary/ == This happened == Just once or twice == I clicked to open
-
Keynote 6.0 and playback controller
In Keynote 09 it was possible to show playback controllers of audio or movie file during a presentation making the file icon bigger. In Keynote 6.0 the feature seems gone. Am I right? Is there a way to show controllers during playback?
-
I have recently attempted to download the Afrikaans Language Pack 4.0. After restarting Firefox the application doesn't function and does not appear on the Add-ons manager. The previous version of the Afrikaans dictionary worked well with Firefox 3.0
-
Trying to set up new I Pad 3- how to do it?
How do I set up a new I pad 3-- new user here.
-
KEYBOARD NOT WORKING WITH iTUNES
I have just discovered that the keyboard short-cuts for itunes - space bar, letters for the start of the artists name etc aren't working, they were a few hours ago. The version of my itunes is 10.4.80 Thanks in advance Jimmy