on 07-30-2012 2:44 PM
Hi Diego,
Create a UDF and insert the command java, you search the value in tag xml:
String chNFe = inptxml.substring(inptxml.indexOf("<chNFe>") + "<chNFe>".length(),inptxml.indexOf("</chNFe>"));
return chNFe;
Regards.
Marcelo Macedo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Diego!
If you need it on an UDF, use the InputAttachments/InputPayload objects available from mapping API:
http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/aii/mapping/api/InputAttachments.html
(you can also check on SDN for both objects, there are plenty of examples)
This requires 7.1. If you need it on XI 3.0/7.0, you will need the payload swap bean so you can get the attachment into the main body.
BR,
Lucas Santos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
are you trying to read message content SXMSPMAST table? may be you can try using select statement in UDF but not sure it works or not.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
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.