on 07-23-2007 9:34 AM
Hi ,
i am working on IDOC 2 File whrough BPM.
I have used one UDF while Mapping to Main nodes of Source and Target.
I get my result when i check in Queue but when i test it it is not generating desired O/P as in Queue.
Please Help.......
Check for the context. Maybe you have not changed the context.
Try these;
1. Change the context of the source field to the topmost element.
2. Add a splitbyvalue before the target field is mapped.
In case this doesnt help, let us know the problem in detail.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It is not throwing any Error.
But i am not getting desired Target.
My Scnerio is like this
Have to collect Idoc in BPM for 10 mins and generate 1 XML output.
If in Source E1DB02-FIIKWAER Which is currency feild is changed in different collect Idcos i need meesge node to be reapted in Target .
target is Like this
<Message_list>
<Message>
</Message>
</Message_list
If i collect 2 different types of Idoc with respect to E1DB02-FIIKWAER.
I nedd target this way
<Message_list>
<Message>
</Message>----
Currecy 1
<Message>
</Message>----
Currency 2
</Message_list
Please help ..
Its Really urgent Raj .
Occurence is 1- Unbounded
mapping is this way
E1dbo2-FIIKWIER -
Remove context -
Sort---UDFSplitby Value(Value changed)---Message
UDF used is Below one
int counter = 0;
int ii = a.length - 1;
String temp = a[0];
for (int i = 0; i<a.length; i++){
if(temp.equals(a<i>)){counter++; }
if(! temp.equals(a<i>)){
result.addValue(new Integer(counter).toString());
temp = a<i>;
i--;
counter = 0;
}
if(i == ii){result.addValue(new Integer(counter).toString());}
}
Please help me on this one
dinesh,
you wont get the result in Main nodes of target . to get values in the Queue you need assisng it to subnodes where it excepts value. Main nodes does not except values.
Regards
Sreeram.G.Reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.