Removal of Context Node from the Web UI component is not a single step process. We can’t delete it directly.
When we right-click on the context node we won’t find the delete option to delete it.
In case you create a new context node or enhance an existing one, the reference not only comes in the CTXT at one place but actually goes at other places as well. Once we create a context node a method, an attribute will be created in CTXT class.
Here is the step-by-step procedure of deleting the context node effectively.
The procedure is as follows:
- First go to CTXT class and in methods delete the method of the context node which we want to delete. For example , here we will delete the context node ZHEADER.
2. Delete the attribute created by the same name(here, ZHEADER) as that of the context node from the attribute Tab of the CTXT class.
3. Remove the calling of method (CREATE_ZHEADER) in CTXT class Method CREATE_CONTEXT_NODES. And Activate CTXT Class.
Now, the context node ZHEADER is deleted.
This is how the context node can be deleted.