Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

webdynpro에서 messag display

1,597 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

webdynpro에서 messag display

  1. 1. Webdynpro 에서 메시지 display 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. Email : jsh@thebne.com
  2. 2. Agenda <ul><li>OTR message 생성 </li></ul><ul><li>OTR message 가져오기 . </li></ul><ul><li>If_wd_message_manager 이용해서 메시지 display </li></ul>Index
  3. 3. Document Control 산출물명 Phase 명 Task 명 Stage Task Module 검토일자 승인자 승인일자 검토자 <ul><li>최초작성 </li></ul>정세훈 Ver1.0 1 변경사유 작성자 작성일자 버전 순번
  4. 4. I. OTR message 생성
  5. 5. I. OTR message 생성 Procedure 1. Alias 를 입력하고 create 버튼을 누른다 . 2. Concept 에 텍스트 입력 하고 저장 한다 . 참고사항 Related Link 목적 <ul><li>OTR message 생성 </li></ul>메뉴 <ul><li>T-code : SOTR_EDIT </li></ul>
  6. 6. II. OTR message 가져오기
  7. 7. II. OTR message 가져오기 Procedure 1. CL_WD_UTILITIES 인터페이스의 GET_OTR_TEXT_BY_ALIAS 메소드를 이용하여 otr message 를 가져온다 . Ex) CL_WD_UTILITY=>GET_OTR_TEXT_BY_ALIAS(‘OTR ARIAS). 참고사항 Related Link 목적 <ul><li>display 할 OTR message 를 가져온다 . </li></ul>메뉴
  8. 8. III. If_wd_message_manager 이용하여 message display
  9. 9. III. Message display <ul><li>Procedure </li></ul><ul><li>if_ wd_message_manager 의 report_success 와 report_error_message 메소드를 이용하여 display 한다 . </li></ul><ul><li>참고사항 </li></ul><ul><li>Related Link </li></ul>목적 <ul><li>message display </li></ul>메뉴
  10. 10. III. Message display <ul><li>Procedure </li></ul><ul><li>if_ wd_message_manager 의 report_success 와 report_error_message 메소드를 이용하여 display 한다 . </li></ul><ul><li>참고사항 </li></ul><ul><li>Related Link </li></ul>목적 <ul><li>message display source </li></ul>DATA:                l_current_controller        TYPE REF TO if_wd_controller,                l_message_manager     TYPE REF TO if_wd_message_manager,                error_count                    TYPE             i,                warning_count               TYPE             i.    l_current_controller ?= wd_this->wd_get_api( ).   l_message_manager     = l_current_controller->get_message_manager( ). &quot;error message L_MESSAGE_MANAGER->REPORT_ERROR_MESSAGE(  MESSAGE_TEXT = LV_TEXT                                                    SHOW_AS_POPUP  = ABAP_TRUE ). &quot;  저장  MESSAGE L_MESSAGE_MANAGER->REPORT_SUCCESS(  MESSAGE_TEXT = L_MESSAGE                                                    SHOW_AS_POPUP  = ABAP_TRUE ). 메뉴
  11. 11. III. Message display Procedure 참고사항 Related Link 목적 <ul><li>결과 화면 </li></ul>메뉴

×