cancel
Showing results for 
Search instead for 
Did you mean: 

Read source nodes from a UDF

Former Member
0 Kudos

Hi All,

Is there any way to read a certain node content inside a UDF?..without any entry.

Regards

Ivan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

adding..


<list>
   <row>
       <field1></field1>   
       <field2></field2>
       <field3></field3>
   </row>
</list>

I want to read all "field1" values in my UDF without any input parameter.

Regards

Ivan

Former Member
0 Kudos

Hi Jose,

Can you try nodevalue function as given in this url:

http://www.javascriptkit.com/domref/elementproperties.shtml

Regards,

---Satish

Former Member
0 Kudos

Satish, thanks for your reply.

Do you know which object contains all xml input content?...because to use DOM I need to indicate that.

Regards

Ivan

Former Member
0 Kudos

HI Jose,

Please add these libraries mentioned by stefan:

Also please check this:

http://www.w3schools.com/Dom/dom_parser.asp

Also please see this link where he has used the same to parse the rfc response:

https://wiki.sdn.sap.com/wiki/display/Snippets/User-defined%20Mapping%20Function%20for%20RFC%20Looku...

http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231&override...

Regards,

---Satish