webdynpro popup open
DESCRIPTION
TRANSCRIPT
webdynprowebdynpro 에서 에서 popup openpopup open
Skill cut
Copyright © 2006 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means- electronic, mechanical, photocopying, recording, or otherwise- without the permission of BNE Solution Consulting.
This document provides an outline of a presentation and is incomplete without the accompanying oral commentary and discussion.
2 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Module Task
Stage Task 명
Phase 명 산출물명
순번 버전 작성일자 작성자 변경사유 검토일자 검토자 승인일자 승인자
1 Ver1.0 정세훈 최초작성
Document ControlDocument Control
3 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. Component controller 에 IF_WD_WINDOW type 변수를 선언한다 .
참고사항
Related Link
목적 • popup open and close.
메뉴
4 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. Method 에서 attribute 에 componet 를 추가하고 다음과 같은 code 를 사용한다 .
참고사항
Related Link
목적 • popup open and close.
"custom popup open DATA : api_component TYPE REF TO if_wd_component, window_manager TYPE REF TO if_wd_window_manager, t_string TYPE string_table.
api_component = wd_comp_controller->wd_get_api( ). window_manager = api_component->get_window_manager( ).
wd_comp_controller->window = window_manager->create_window( window_name = 'WINDOW_NAME' close_button = abap_true ).
wd_comp_controller->window->open( ).
메뉴
5 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. Method 에서 attribute 에 componet 를 추가하고 다음과 같은 code 를 사용한다 .
참고사항
Related Link
목적 • popup open and close.
"custom popup close. data: l_api type ref to if_wd_view_controller, l_window_ctlr type ref to if_wd_window_controller, l_popup type ref to if_wd_window.
l_api = wd_this->wd_get_api( ). l_window_ctlr = l_api->get_embedding_window_ctlr( ). l_popup = l_window_ctlr->get_window( ).
if l_popup is bound. l_popup->close( ). endif.
메뉴
6 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. Method 에서 attribute 에 componet 를 추가하고 다음과 같은 code 를 사용한다 .
참고사항
Related Link
목적 • popup open and close.
"confirm popup open data: api_component type ref to if_wd_component, window_manager type ref to if_wd_window_manager, t_text type string.
api_component = wd_comp_controller->wd_get_api( ). window_manager = api_component->get_window_manager( ).
t_text = 'message here'.
append t_text to t_string.
wd_comp_controller->window = window_manager->create_popup_to_confirm( text = t_string button_kind = '1' message_type = '1' close_button = abap_true ).
wd_comp_controller->window->open( ).
메뉴