on 12-22-2006 1:44 PM
I'm making a Message Mapping, and in the source i have one line with three Columns.
This is an example of the line docitmMsg with the three columns called doctype, rate DataVersion.
</ns2:docitmMsg>doctype rate="1.00" DataVersion="1.05"</ns2:docitmMsg>
I need to know With format I have to use to create that.
Any help and suggestions will be welcome.
regards,
Fernando
When you ask "I need to know With format I have to use to create that..." what exactly do you mean? If you are referring to what type you should make the field when defining the XML structure I would make it a string, then depending on how you need to manipulate the data for transformations, it looks quite possible that you may need a user-defined java function.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mr Holland, thanks for your reply.
Yes, you are right, but I would like to know what is the best way to make this mapping, i mean, do i have to use message mapping or a java function ?
After that, I need to know how to do this. So, Do you know where I can find some documents like manuals ( step by step ) or examples about how to create a message mapping ?
Thank you so much for your help !
best regards,
Fernando Pinto.
Hi,
You can use normal graphical mapping to create your target message.
let's say that in your source you have something like:
+ source
+ rate
+ DataVersion
then you need to use concatenate (standard function from string set function in graphical mapping) and map in this way:
<b>***** STEP 1 *****</b>
constant['doctype rate="'] -----> concatenate1
source:rate -------------------->
constant['" DataVersion="'] ---> concatenate2
source:DataVersion ------------>
<b>***** STEP 2 *****</b>
output of concatenate1---> concatenate3
output of concatenate2--->
<b>***** STEP 3 *****</b>
output of concatenate3 ---> concatenate 4 ---> ns2:docitmMsg
constant['"'] ------------>
About documents, I suggest you to have a look at this document: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8a57d190-0201-0010-9e87-d8f327e1dba7">XI 3.0 New Mapping Features</a>.
Hope it helps,
Kind Regards,
Sergio
Also check this.
/people/sravya.talanki2/blog/2005/08/16/message-mapping-simplified--part-i
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.