동적인 Context Node 구성
* Context Node 생성/변경/삭제를 위해서는 WDDOINIT 후크 메소드에서 동적으로 생성해야 한다.
1. Context Node Control 위한 Interface : if_wd_context_node_info


2.1. 노드생성 Method : add_new_child_node 의 파라미터.


– static_element_type 에 구조를 입력하면, Node와 Attribute을 동시에 생성한다.
2.2. 노드생성 Method : add_new_child_node 의 코드 사례.

3. 노드삭제 Method : remove_child_node

4. 노드에 Attribute 추가.

5. Attribute의 Property

6. Attribute 삭제

출처 : 도서 “Webdynpro for ABAP”
Subscribe
Login
0 Comments
Oldest
