on 09-17-2007 4:10 PM
Hi All,
I have to map the incoming idoc to xml messages.
But based on customer numbers in incoming idoc i have to use different mapping programs and map to same xml messages.
1 source message - n mapping programs - 1 target message
(based on cust numbers)
I dont want to harcode the customer numbers to find out the mapping programs.
Can anyone guide me in this on how to achieve this functionality...
thanks
Giridhar
Hi!
There are several ways to achieve this:
a, One XSLT document, which makes this condition based mapping.
b, BPM - create switch step and than in each branch put appropriate transformation step.
It has to be always a bit "hard coded" - the codes must be put in the XSLT, or Switch step or so on. There is no possibility to create some "config".
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Giridhar,
from wot i understand,
create all ur mapping firstly.
Then, u wud hav to go in for bpm...
go for the correlation thing and based on the correlation in ur fork / switch step ( all ur messages are in parallel now), u can use the conditions there. , the reqd mapping program could be included in ur scenario.
regards,
Vishal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
have you tried to use Conditions in the Interface Determination?
You can add multiple lines in the 'Configured Inbound Interfaces' and attach different mappings to each of them by picking a condition (basically using an XPath Expression).
Check this Help Document,
the section 'Multiple Identical Inbound Interfaces with Conditions' describes what I believe is your scenario.<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/ea20e737f33ee9e10000000a1553f7/frameset.htm">Multiple Identical Inbound Interfaces with Conditions</a>
regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.