메뉴 건너뛰기

SAP 한국 커뮤니티

Chain statement :

sapjoy 2014.12.18 12:58 조회 수 : 2842

chain statement는 앞의 명령어를 반복하는 효과를 가지고 있습니다.


WRITE spfli-cityfrom.
WRITE spfli-cityto.
WRITE spfli-airpto.


위 3개의 명령을 아래와 같이 :를 이용하면 명령어를 한번만 사용하면 되는데요. 이 내용은 우리가 다 알고 있는 것이구요.


WRITE: spfli-cityfrom, spfli-cityto, spfli-airpto.


이걸 조금 응용하면 구문 내의 명령어에서도 적용이 가능합니다.

sum = sum + 1.

sum = sum + 2.

sum = sum + 3.


위 3개의 명령어를 아래처럼 변경할 수 있습니다.

sum = sum + : 1, 2, 3.

번호 제목 글쓴이 날짜 조회 수
67 User Parameter 조회 펑션 [3] 양키(이경환) 2014.03.04 3174
66 Working with User-Exits for the transaction VA01 [3] file 노름마치 2009.07.10 3169
65 Implementing Field Exit for the transaction MK01 [3] file 노름마치 2009.07.10 3150
64 Working with Substitution Exit [6] file 노름마치 2009.07.10 3064
63 Creating Custom Screen in XD01 [2] file 노름마치 2009.07.10 3055
62 sap perforamnce check t-code list [2] sapjoy 2014.06.16 3042
61 Effective_Code_Writing [3] file sapjoy 2007.04.18 2991
60 System Administration Made Easy - Performace file 박진만 2007.06.26 2985
59 workflow 와 wepflow를 위한 초보 가이드 [2] file gauguin 2008.06.14 2967
58 BTE_Adding custom fields to the FI report FBL5N using BTEs [1] file 노름마치 2009.07.10 2955
57 ABAP based Application Log Using SLG1 [1] file 노름마치 2009.07.10 2947
56 Adding custom fields to the Purchase Order transaction ME22N [1] file 노름마치 2009.07.10 2946
55 SAP tips Journal - 8,9월 호 (2007) [3] file onefineday 2009.02.11 2942
54 SAP tips Journal - 6,7월 호 (2007) [8] file onefineday 2009.02.11 2914
53 REM TABLE1 밤의화신 2013.09.11 2867
52 SAP tips Journal - 10,11월 호 (2007) [4] file onefineday 2009.02.11 2862
51 Defining and Implementing Business Add-ins (BADI) (Step-by-step with screenshots)_2 [2] file 노름마치 2009.07.10 2852
» Chain statement : [3] sapjoy 2014.12.18 2842
49 REM TABLE2 밤의화신 2013.09.11 2819
48 Changing the description of the standard SAP fields [3] file 노름마치 2009.07.10 2795