Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

UDF for count no of elements under parent element.


I want to caliculate no of elements present under the parent element using UDF.











So it has 4 elements undre Main tag Emoloyee.

How to caliculate the no of elements under parent element using UDF.

I want to use this for error handling. Whenever the message in coming in I want to caliculate the no of fields if i get the no of fields is lessthank 4 i want to throw an error.

And could any one please provide the JAVA API for mapping

Thanks & Regards


Former Member
Not what you were looking for? View more on this topic or Ask a question