on 02-25-2015 12:29 PM
Hello Gurus.
I have an XML -> PI -> IDOC(Orders05) scenario. One of the requirements is not to create line segment (E1EDP01) if the material does not much a Certain criteria.
I've managed to achieve this for every source line seperatlly with RFCLookup(For requirement check) and createif function, the problem for me is that it creates multiple calls to the RFM.
My question is whether this could be achieved by calling the RFM only once with all the materials and then removes segments according to the result?
And if it can be done, I would really appreciate some help and direction with the mapping.
Thanks.
Motty
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gal,
If you are unable to split it back to lines from the RFC call please correct me if i am wrong, can you put this UDF after the RFC lookup and see.
public void fixList(String[] input, ResultList result, Container container) throws StreamTransformationException {
for (int i = 0; i < input.length; i++) {
result.addValue(input[i]);
}
}
Regards,
Praveen.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.