on 10-06-2006 12:41 PM
hello all,
my requirment is i need to receive differnet xml messages, perform different mappings based on the document type of the xml messages and again i need to bundle all the resulatant messages and send it out through an rfc structure.
can anyone show me a better way.
try this;
1. define a block
2. open a fork
3. N number of receive steps for the messages
4. after each receive a transformation
5. outside the block one more tranformation N:1
6. Send
This sud work!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could use the above mentioned steps to resolve your problem.
But to fine tune your BPM, I would suggest you to use a switch instead of a fork.
You could specify a condition(depending on the document type value)and execute only a single branch of the switch statement(rather than execute all the branches each time, in case of a fork)
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello smitha,
i have used a switch there and transformation to perform different mapping than i used a container which is multiline to collect messages from different transformation and how to i send it out can i send this multilines in my container to an rfc table which is my final interface.
thanks,
raju N.
Hi,
A send step can send only one message at a time, and hence you cannot send the messages directly from a multiline container.
You would have place a container(say A) after the multiline container. This new container,A, accepts one message at a time, from the multiline container.
You can then use this container name(A), in the send step,to send messages.
Regards,
Smitha.
hello smith,
follow this link which gives you a better idea of my problem
http://www.mediamax.com/krishnamrajun/Links/C67C06B6BD
thanks,
raju N.
Hi,
Sorry didn't get your query right, the last time.
<i>cant I use the same target for my transformations used in switch as my source structure message and target are same but the thing is they should go through different mapping.</i>
You can use the same target interface for your transformations... but you would have to use different containers(with the same target interface)for each of your transformations.
For example:
Each transformation in your switch step can use the same container as the source and your target.
Since you have 3 transformations in your switch, you could use 3 containers.
Outside the switch, the transformation will receive 3 containers as input and would require one container for the output.
<i>Will my transformation work effectively if pass 10 messages</i>
It would work as all your messages satisfy the condition of atmost one branch in the switch step.
Regards,
Smitha.
hello smitha,
<<You can use the same target interface for your transformations... but you would have to use different containers(with the same target interface)for each of your transformations.>>
when all my target interfaces from trasformations are same than we can append all the messages into a single multiline container beacuse our expression for container would be same anyhow.
my container operation expression(property) consists of the same container as my target container in my transformation and my target for container operation will be also the same as my target transformation but multine, the problem is how would be my transformation like where i need to combine multiline from my container operation.
i tried using the multiline container which has all data as my source to transformation its showing an error what would be the mistake, when i tried insert interface in souce its asking for index, what is that if i insert any number it not showing error when i chek.
if you can get my problem i can send you screen shots of entire process
thanks
raju N
Message was edited by: Raju N
following link from sap help you find some scenario in using bpm based on the requirment
http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/frameset.htm
thanks,
raju N
hi,
you need to create a BPM with a fork
in the fork you will have many receive steps
(as many as your document types)
also make sure you set it so it will only
start when all messages will be received
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.