[ABAP] OPEN SQL ๋ฐ์ดํ„ฐ ๋ณ€๊ฒฝ - INSERT, MODIFY

๐ŸŒ OPEN SQL : ๋ฐ์ดํ„ฐ ๋ณ€๊ฒฝ - INSERT ๐ŸŒœ Single line ํ…Œ์ด๋ธ”์— ํ•˜๋‚˜์˜ line์„ ์‚ฝ์ž…ํ•˜๊ธฐ ์œ„ํ•œ ๋ฌธ์žฅ INSERT INTO <target> VALUES <wa>. INSERT <target> FROM <wa>. INSERT <dbtab>. <wa>๋Š” ํ…Œ์ด๋ธ”๊ณผ ๊ฐ™์€ ๊ตฌ์กฐ๋กœ ์„ ์–ธ๋˜์–ด์•ผ ํ•จ INSERT <dbtab> ๊ตฌ๋ฌธ์„ ์“ฐ๊ธฐ ์œ„ํ•ด์„œ๋Š” TABLES : <dbtab>์ด ์„ ์–ธ๋˜์–ด์•ผ ํ•จ ์œ„ ๋‘ ๋‚ด์šฉ์€ UPDATE, DELETE, MODIFY์—๋„... Continue reading...

[ABAP] OPEN SQL ๋ฐ์ดํ„ฐ ์ฝ๊ธฐ - FOR ALL ENTRIES, GROUPING, SORT, SUBQUERY

๐ŸŒ OPEN SQL : ๋ฐ์ดํ„ฐ ์ฝ๊ธฐ - WHERE ๐ŸŒœ FOR ALL ENTRIES ์ธํ„ฐ๋„ ํ…Œ์ด๋ธ”๊ณผ ๋ฐ์ดํ„ฐ ๋ฒ ์ด์Šค ํ…Œ์ด๋ธ”์„ JOIN ํ•˜๋Š” ๊ฐœ๋…๊ณผ ์œ ์‚ฌ LOOP๋ฅผ ์ˆ˜ํ–‰ํ•˜๋ฉด์„œ SQL ์ˆ˜ํ–‰ !!FOR ALL ENTRIES ๊ตฌ๋ฌธ ์‚ฌ์šฉ ์‹œ ์ฃผ์˜์‚ฌํ•ญ!! ์ธํ„ฐ๋„ ํ…Œ์ด๋ธ”์˜ ์ปฌ๋Ÿผ๊ณผ ๋น„๊ต ๋Œ€์ƒ ํ…Œ์ด๋ธ”์˜ ์ปฌ๋Ÿผ ํƒ€์ž…์€ ๊ฐ™์•„์•ผ ํ•จ LIKE, BETWEEN, IN๊ณผ ๊ฐ™์€ ๋น„๊ต ๊ตฌ๋ฌธ ์‚ฌ์šฉ ๋ถˆ๊ฐ€... Continue reading...

[ABAP] OPEN SQL, NATIVE SQL / OPEN SQL ๋ฐ์ดํ„ฐ ์ฝ๊ธฐ - SELECT, INTO, FROM

๐ŸŒ OPEN SQL vs. NATIVE SQL ๐ŸŒœ OPEN SQL ABAP ์–ธ์–ด์—์„œ๋งŒ ์‚ฌ์šฉ Data Interface๋ฅผ ํ†ตํ•ด NATIVE SQL(๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค์—์„œ ์‚ฌ์šฉ๋˜๋Š” SQL ์–ธ์–ด)๋กœ ๋ฒˆ์—ญ๋จ DML ์–ธ์–ด๋งŒ ์‚ฌ์šฉ ๊ฐ€๋Šฅ DML : Data Manipulation Language (๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ ์–ธ์–ด) SELECT, UPDATE, INSERT, DELETE Local Buffer๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Œ ABAP ํ”„๋กœ๊ทธ๋žจ์„ ํ™œ์„ฑํ™”ํ•  ๋•Œ ์ž๋™์œผ๋กœ Syntax Check๊ฐ€ ์ˆ˜ํ–‰๋จ... Continue reading...

[ABAP] SAP R/3 Architecture

๐ŸŒ SAP R/3 Architecture SAP : Systems, Applications and Products in Data Processing / ERP ์‹œ์Šคํ…œ R/3 : R = Real time / 3 = 3 tier in Client Server Architecture SAP R/3๋Š” ๊ธฐ๋ณธ์ ์œผ๋กœ ์„ธ ๊ฐœ์˜ Layer๋กœ ๋ถ„๋ฅ˜๋˜๋ฉฐ, Application ์„œ๋ฒ„์™€ Database ์„œ๋ฒ„๋Š” ๋ฌผ๋ฆฌ์ ์ธ ๊ฐœ๋ณ„ ์„œ๋ฒ„๋กœ ๊ตฌ์„ฑ๋œ๋‹ค. Presentation Layer ์‰ฝ๊ฒŒ ๋งํ•ด... Continue reading...

[ABAP] Data Type / Data Variable / DATA ๊ตฌ๋ฌธ

๐ŸŒ Data Type TYPES dtype TYPE type. or TYPES dtype LIKE dobj. ABAP ํ”„๋กœ๊ทธ๋žจ์—์„œ ์‚ฌ์šฉํ•˜๊ฒŒ ๋˜๋Š” ๋ณ€์ˆ˜์˜ ํƒ€์ž…์„ ์ •์˜ํ•˜๊ธฐ ์œ„ํ•ด์„œ ์‚ฌ์šฉ Data Variable๊ณผ ๋…๋ฆฝ์ ์œผ๋กœ ์„ ์–ธ TYPES ๊ตฌ๋ฌธ์„ ์‚ฌ์šฉํ•ด Data Type์„ ์„ ์–ธํ•˜๋ฉด ํ•ด๋‹น ํ”„๋กœ๊ทธ๋žจ์—์„œ๋งŒ ์‚ฌ์šฉ ๊ฐ€๋Šฅ > Local Data Type Local Data Type์€ ์ด๋ฏธ ์ •์˜๋˜์–ด ์žˆ๋Š” ABAP Data Type์„ ์ฐธ๊ณ ํ•ด ์„ ์–ธ... Continue reading...