sap abap file save (cl gos manager)
DESCRIPTION
TRANSCRIPT
abap file uploadabap file upload
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.
2 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Module Task
Stage Task 명
Phase 명 산출물명
순번 버전 작성일자 작성자 변경사유 검토일자 검토자 승인일자 승인자
1 Ver1.0 정세훈 최초작성
Document ControlDocument Control
3 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. File attach object 를 생성한다 .
참고사항
Related Link
목적 • File upload
메뉴 • T-code : SWO1
4 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. Supertype 만 빼고 모두 입력한다 .
참고사항
Related Link
목적 • File upload
메뉴
5 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. 키필드 를 선택하고 create 를 누른다 .
참고사항
Related Link
목적 • File upload
메뉴
6 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. 키필드로 사용할 table 을 입력하면 자동으로 table 의 키가 키필드가 된다 .
참고사항
Related Link
목적 • File upload
메뉴
7 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. 프로그램에서 custom container 를 그린다 .
참고사항
Related Link
목적 • File upload
메뉴
8 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. 스크린 초기화 부분에 다음 code 를 넣는다 .
참고사항
Related Link
목적 • File upload
check tb_custom_container is initial.
data: objectident type borident , lt_services type tgos_sels, ls_service type sgos_sels.
objectident-objkey = notice_num. " 위에서 만든 키 objectident-objtype = 'ZTEST'. "<- 파일 오브젝트 condense objectident-objkey no-gaps."
clear tb_custom_container. clear g_gos_manager.
"Create Container create object tb_custom_container exporting container_name = 'TOOLBAR_CONTAINER' " exceptions cntl_error = 1 cntl_system_error = 2 create_error = 3 lifetime_error = 4 lifetime_dynpro_dynpro_link = 5 others = 9.
메뉴
9 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure
1. 스크린 초기화 부분에 다음 code 를 넣는다 .
참고사항
Related Link
목적 • File upload
if sy-subrc ne 0. message s009 with 'Create Container Error'. endif.
create object g_gos_manager exporting is_object = objectident it_service_selection = lt_services io_container = tb_custom_container ip_no_commit = 'R' exceptions object_invalid = 1 callback_invalid = 2 others = 9.
case sy-subrc. when 1. message s009 with 'Invalid BOR Object Identifier'. when 2. message s009 with 'Incorrect Interface Type for Callback'. when 9. message s009 with 'Create Toolbar Error'. endcase.
메뉴
10 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Procedure 1. 왼쪽과 같은 버튼이 생기면서 메뉴에 첨부파일을 붙일 수 있다 .
참고사항키를 유니크한 번호로 관리하면 자동으로 문서들이 그 번호에 따라서 정리된다 .CL_GOS_MANAGER 를 찾아보면 많은 다른 기능도 많다 .
Related Link
목적 • File upload
메뉴