Skip to Content

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

CreateIf Function

Hello -

I am trying to create a node a with subnodes which have sub nodes underneath them.

To create the root subnode i am using CreateIf function.

I am creating the node based on a condition.

If condition fails, i don't have a problem, it doesn't create the root subnode at all.

If condition passes through, the root subnode gets created but the sub nodes underneath them are not getting created.

E.g.

<root>

<a>

<b>

<c>

<c1>test</c1>

<c2>test2</c2>

</c>

</b>

</a>

<d>

....

</d>

</root>

from the above example, if condition passes it creates only the <a> and <b> tag but the <c> tag isn't created.

Any leads.

Thanks,

Jerry

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