webdynpro Excel Data Upload

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    webdynpro Excel Data Upload - Presentation Transcript

    1. webdynpro 에서 excel file upload Skill cut [email_address] 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. Document Control 산출물명 Phase 명 Task 명 Stage Task Module 검토일자 승인자 승인일자 검토자
      • 최초작성
      정세훈 Ver1.0 1 변경사유 작성자 작성일자 버전 순번
    3. Procedure 1. File upload UI 를 생성한다 . 2. 이때 액션을 넣을 버튼도 생성 한다 . 참고사항 Related Link 목적
      • Web Dynpro 에서 excel file upload
      메뉴
    4. Procedure 1. Context 의 type 을 xstring 으로 선언한다 . 참고사항 Related Link 목적
      • Web Dynpro 에서 excel file upload
      메뉴
    5. Procedure 1. Property 의 data 에 mapping 한다 . 참고사항 Related Link 목적
      • Web Dynpro 에서 excel file upload
      메뉴
    6. Procedure 1. Button 의 action 에 다음 code 를 구현한다 . 1-1 데이터 선언 및 upload data read 참고사항 Related Link 목적
      • Web Dynpro 에서 excel file upload
      METHOD onactionupload . DATA : l_xml TYPE xstring. DATA : l_string TYPE string. DATA : i_data TYPE STANDARD TABLE OF string. data : t_tab type if_main=>element_data_tab, data_tab type if_main=>elements_data_tab. * get single attribute elem_context->get_attribute( EXPORTING name = `DATASOURCE` IMPORTING value = l_xml ). 메뉴
    7. Procedure 1. Button 의 action 에 다음 code 를 구현한다 . 1-2 data 가공 참고사항 Related Link 목적
      • Web Dynpro 에서 excel file upload
      " xml data 를 string 으로 변환 CALL FUNCTION 'HR_KR_XSTRING_TO_STRING' EXPORTING in_xstring = l_xml IMPORTING out_string = l_string. SPLIT l_string AT cl_abap_char_utilities=>newline INTO TABLE i_data. LOOP AT i_data INTO l_string. split l_string at cl_abap_char_utilities=>HORIZONTAL_TAB into t_tab-name t_tab-age. append t_tab to data_tab. clear t_tab. ENDLOOP. 메뉴
    8. Procedure 1. Excel file 로 data 작업 후 텍스트 ( 탭으로 분리 ) 를 선택하여 .txt 파일로 저장해야 한다 . 2. File uploading 시 txt 파일을 올려야 한다 . 참고사항 Related Link 목적
      • Web Dynpro 에서 excel file upload
      메뉴

    + guest28d364guest28d364, 2 years ago

    custom

    779 views, 0 favs, 1 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 779
      • 741 on SlideShare
      • 38 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 22
    Most viewed embeds
    • 38 views on http://sapstory.tistory.com

    more

    All embeds
    • 38 views on http://sapstory.tistory.com

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories