webdynpro dropdown list value set setting

4
webdynpro webdynpro 에에 에에 dropdown list value s dropdown list value s et setting et setting 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.329 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: webdynpro Dropdown List Value Set Setting

webdynprowebdynpro 에서 에서 dropdown list value set settindropdown list value set settingg

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 Dropdown List Value Set Setting

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 Dropdown List Value Set Setting

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

Procedure

1. Dropdown by key UI 를 create2. Context 를 mapping.3. View 의 시작 부분에 왼쪽 code 를 넣는다 .

참고사항

Related Link

목적 • Web Dynpro 에서 drop down list value set setting

  DATA:        ls_t77tp                        TYPE t77tp,        lt_t77tp                        TYPE TABLE OF t77tp,        lt_value_set TYPE TABLE OF wdr_context_attr_value,        ls_value     TYPE          wdr_context_attr_value,        node_info TYPE REF TO if_wd_context_node_info. "<- 선언필요

  node_setting_list = wd_context->get_child_node( name = if_setting_view=>wdctx_setting_list )

"setting 할 attribute 의 node info read  node_info = node_setting_list->get_node_info( ).

  REFRESH lt_value_set.  LOOP AT lt_t77tp INTO ls_t77tp. " value setting 에 사용될 value 를 append 한다 " key 와 text 둘다 .    APPEND ls_value TO lt_value_set.  ENDLOOP.

  SORT lt_value_set BY value.

"context 에 value set setting.

  CALL METHOD node_info->set_attribute_value_set    EXPORTING      name      = 'EVALUE' "<- attribute name      value_set = lt_value_set.

Page 4: webdynpro Dropdown List Value Set Setting

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

Procedure

1. 결과 화면 .

참고사항

Related Link

목적 • Web Dynpro 에서 drop down list value set setting