webdynpro popup open

6
webdynpro webdynpro 에에 에에 popup open popup open Skill cut [email protected] 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.

Upload: jungsehun

Post on 25-Jan-2015

3.652 views

Category:

Technology


5 download

DESCRIPTION

 

TRANSCRIPT

Page 1: webdynpro Popup Open

webdynprowebdynpro 에서 에서 popup openpopup open

Skill cut

[email protected]

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.

Page 2: webdynpro Popup Open

2 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.

Module Task

Stage Task 명

Phase 명 산출물명

순번 버전 작성일자 작성자 변경사유 검토일자 검토자 승인일자 승인자

1 Ver1.0 정세훈 최초작성

Document ControlDocument Control

Page 3: webdynpro Popup Open

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.

메뉴

Page 4: webdynpro Popup Open

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( ).

메뉴

Page 5: webdynpro Popup 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.

메뉴

Page 6: webdynpro Popup Open

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( ).

메뉴