cancel
Showing results for 
Search instead for 
Did you mean: 

Clearing all attributes of a Node

Former Member
0 Kudos

Hi Leads,

I have a screen which have 20 input fields.All fields are under a single node. I have one button as "CLEAR".

If I say clear, I need to clear all the Fields in the Screen.

Can you please help me, how can I do this?

I tried with SET_ATTRIBUTE_NULL, but need to call this method for all input fields.

Is there any other way to clear all the attributes of Node at a time?

Thanks,

Sandeep.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Adding to the above reply, after using INVALIDATE() method, if there are any default values defined for any attributes in the context node, then those attributes will be initialized with default values automatically aftet this. If you want them to set to NULL, then you have to use SET_ATTRIBUTE_NULL of same NODE.

Regards,

Manne.

Former Member
0 Kudos

Hi,

You can use INVALIDATE() method of IF_WD_CONTEXT_NODE to clear all the elements of node.

Regards,

Manne.