+ All Categories
Home > Technology > webdynpro Wda Select Option Usage

webdynpro Wda Select Option Usage

Date post: 01-Nov-2014
Category:
Upload: jungsehun
View: 4,333 times
Download: 8 times
Share this document with a friend
Description:
 
10
webdynpro select option usage webdynpro select option usage 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.
Transcript
Page 1: webdynpro Wda Select Option Usage

webdynpro select option usagewebdynpro select option usage

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 Wda Select Option Usage

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 Wda Select Option Usage

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

Procedure 1. Component 에 WDR_OVS component 를 추가한다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

메뉴

Page 4: webdynpro Wda Select Option Usage

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

Procedure 1. Select option usage 를 사용할 view 의 property 에 select option 을 선언한다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

메뉴

Page 5: webdynpro Wda Select Option Usage

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

Procedure 1. Layout 에 viewcontainerUI 를 그린다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

메뉴

Page 6: webdynpro Wda Select Option Usage

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

Procedure 1. Viewcontainer 에 WND_SELECTION_SCREEN 을 embed한다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

메뉴

Page 7: webdynpro Wda Select Option Usage

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

Procedure 1. View 에 M_HANDLER TYPE IF_WD_SELECT_OPTIONSM_WD_SELECT_OPTIONS TYPE IWCI_WDR_SELECT_OPTIONS를 선언한다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

메뉴

Page 8: webdynpro Wda Select Option Usage

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

Procedure 1. WDDOINIT 에 다음 CODE 를 삽입한다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

data : lr_componentcontroller type ref to ig_componentcontroller, l_ref_cmp_usage type ref to if_wd_component_usage, lt_range_table type ref to data.

l_ref_cmp_usage = wd_this->wd_cpuse_select_options( ). if l_ref_cmp_usage->has_active_component( ) is initial. l_ref_cmp_usage->create_component( ). endif.

wd_this->m_wd_select_options = wd_this->wd_cpifc_select_options( ). wd_this->m_handler = wd_this->m_wd_select_options->init_selection_screen( ).

lt_range_table = wd_this->m_handler->create_range_table( i_typename = 'ZEREQ_PERNO' ). "<= variant type

wd_this->m_handler->add_selection_field( i_id = 'REQ_PERNO' it_result = lt_range_table i_no_extension = abap_true i_no_intervals = abap_true i_value_help_type = if_wd_value_help_handler=>co_prefix_ovs i_description = string1 i_read_only = abap_false ).

메뉴

Page 9: webdynpro Wda Select Option Usage

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

Procedure 1. 실제 DATA 를 SELECT 하는 부분에서 다음과 같이

사용하면된다 .

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

DATA : rt_req_perno TYPE REF TO data.

FIELD-SYMBOLS : <fs_req_perno> TYPE table.

rt_req_perno = wd_this->m_handler->get_range_table_of_sel_field( i_id = 'REQ_PERNO'). ASSIGN rt_req_perno->* TO <fs_req_perno>.

SELECT WHERE req_perno IN <fs_req_perno>.

메뉴

Page 10: webdynpro Wda Select Option Usage

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

Procedure 1. 결과화면

참고사항

Related Link

목적 • select option usage 를 사용 할 수 있다 ..

메뉴


Recommended