on 07-02-2009 11:22 AM
Hi,
I have written a UDF to extract sender service. Here is the code snippet
map = container.getTransformationParameters();
String senderService = (String) map.get("SenderService"); // Sender Business Service
// some logic depending on sender service
As I could see the trace, senderService contains value null and hence UDF fails.
My scenario is Multiple IDocs to File
N:1 and thus using BPM
Any clue?
Thank you
Mugdha Kulkarni
Why not use the Standard function Sender in Message mapping
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
Thanks
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Imports: java.util.Map;
public String GetService(Container container){
//write your code here
String headerField;
java.util.Map map;
map = container.getTransformationParameters();
headerField = (String) map.get(StreamTransformationConstants.SENDER_SERVICE);
return headerField;
}
Srini
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The UDF is not proper....you should have:
java.util.Map map = container.getTransformationParameters();
String senderService = (String) map.get(StreamTransformationConstants.SENDER_SERVICE);
Regards,
Abhishek.
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 | |
24 | |
12 | |
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.