Upload
jungsehun
View
1.760
Download
6
Embed Size (px)
DESCRIPTION
Citation preview
JobJob 설정설정
Skill cut
Email : [email protected] . 2007
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.
Agenda
I. Customer job 생성II. 생성된 job background 설정III. Source 내에서 job open
IndexIndex
3 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
Module 공통 Task
Stage Task 명
Phase 명 skill cut 산출물명
순번 버전 작성일자 작성자 변경사유 검토일자 검토자 승인일자 승인자
1 Ver1.0 2007.11 정세훈 최초작성
Document ControlDocument Control
4 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
I. Customer job 생성
5 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
I. Customer job 생성
Procedure
1.Create 버튼 클릭
Related Link
목적 • customer job 을 생성한다 .
메뉴 • T-code : SM62• BckProcEvnts
6 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
I. Customer job 생성
Procedure
1. 필드 정보를 넣고 저장한다 .
2. 이벤트가 생성 된다 .
Related Link
목적 • customer job 을 생성한다 .
메뉴 • T-code : SM62•
7 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
I. Customer job 생성
Procedure
1. 위에서 생성한 event 에 파라미터 설정이 가능하다 .
Related Link
목적 • ciriteria 설정
메뉴 • T-code : SM62• Criteria
8 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
9 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. 작업마법사 버튼을 누른다 .
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
10 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. Job name 입력
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
11 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. Job step 선택
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
12 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. 실행 프로그램 선택한다 .2. 변형이 있을 경우 설정한다 .
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
13 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. 실행 condition 결정한다 . 2. 각자 상황에 맞춰서 conditon 을 설정한다 .
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
14 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. 기간과 제한을 선택한다 .
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
15 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
II. 생성된 job background 설정
Procedure
1. Background 작업 정의가 되었다 .
Related Link
목적 • backgroud 작업 정의
메뉴 • T-code : SM36•
16 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
III. Source 내에서 job open
17 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
III. Source 내에서 job open
Procedure
1. Source 내에서 함수를 이용하여 job 설정과 관계없이 실행이 가능하다 .
Related Link
목적 • job 설정과 관계없이 job 실행
data : rspar_tab type table of rsparams, rspar_line like line of rspar_tab.
rspar_line-selname = 'P_REQNO'. rspar_line-kind = 'P'. rspar_line-sign = 'I'. rspar_line-option = 'EQ'. rspar_line-low = Item_Sel_Reqno. append rspar_line to rspar_tab.
data: number type tbtcjob-jobcount, name type tbtcjob-jobname value 'JOB_TEST', print_parameters type pri_params.
메뉴 • data 선언•
18 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
III. Source 내에서 job open
Procedure
1. Source 내에서 함수를 이용하여 job 설정과 관계없이 실행이 가능하다 .
Related Link
목적 • job 설정과 관계없이 job 실행
call function 'JOB_OPEN' EXPORTING jobname = name IMPORTING jobcount = number EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 others = 4.
if sy-subrc = 0.
submit zdmb0019 using selection-screen '1000' with selection-table rspar_tab* to sap-spool* spool parameters print_parameters* without spool dynpro* VIA JOB name NUMBER number and return.
메뉴 • job open 하고 submit 으로 프로그램 실행•
19 Copyright © 2007 by BNE Solution Consulting INC. ALL RIGHTS RESERVED.
III. Source 내에서 job open
Procedure
1. Source 내에서 함수를 이용하여 job 설정과 관계없이 실행이 가능하다 .
Related Link
목적 • job 설정과 관계없이 job 실행
if sy-subrc = 0. call function 'JOB_CLOSE' EXPORTING jobcount = number jobname = name strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 others = 8. if sy-subrc <> 0. ... endif. endif. endif.
메뉴 • 프로그램 종료후 job close•