SAP R/3환경에서 동적 코드생성기법을 활용한 SQL기반의 리포팅 프레임워크
Reporting Framework Based on SQL Using Dynamic Code Generation Techniques in SAP R/3 System
- 주제(키워드) sap
- 발행기관 서강대학교 정보통신대학원
- 지도교수 서정연
- 발행년도 2012
- 학위수여년월 2012. 8
- 학위명 석사
- 학과 및 전공 정보통신대학원 정보처리
- 실제URI http://www.dcollection.net/handler/sogang/000000047801
- 본문언어 한국어
- 저작권 서강대학교 논문은 저작권 보호를 받습니다.
초록/요약
SAP R/3 환경에서 리포트 프로그램은 개별적인 업무목적을 만족시키기 위한 독립적인 소스코드를 갖는다. 고객 또는 현업의 요청에 따라 개발자들은 데이터 리스트나 추출조건, 가공할 필요가 있는 필드에 대한 제어코드와 레이아웃을 포함한 소스코드를 개발하고 애플리케이션 서버 플랫폼을 통해 배포한다. 데이터에 대한 트랜잭션이나 리포팅 이외의 업무요소를 포함하지 않는 많은 리포트 프로그램의 경우, 이런 일련의 구현요소들은 개발자로 하여금 반복적인 코드들을 생산하게 하고 시스템자원의 효율을 떨어뜨린다. R/3환경에서는 이런 특성을 극복하기 위해 ALV(Abap List Viewer)등의 클래스기반 GUI 컨트롤이 일반화 되어있으나 여전히 DB영역의 데이터구조를 프로그램 코드화 하여 ALV에 연결하는 등의 구현은 작업자의 몫으로 남아있다. 본 논문에서는 동적 코드생성기법을 통하여 SQL 기반의 리포팅 프레임워크를 설계하고 구현하는 개발 방법론을 제안한다. 이 방식은 SQL 질의를 통해 추출되는 데이터베이스 구조정보를 활용하여 런타임시 리포팅 조회조건의 초기 레이아웃을 설계하고 출력화면의 디자인 파라미터를 ALV에 연결한다. SQL을 사용하되 시스템의 설계 복잡도에 연관된 SQL 파싱 기법과 자유도를 적절히 조절하여 실현 가능한 수준의 문법을 제안하고, 구문검사를 통해 런타임시 문제를 사전 차단한다. 또한, R/3환경에서의 장점인 데이터 딕셔너리를 표준으로 활용하는 방법을 강제함으로써 일관된 리포팅 시스템을 유지 하도록 한다. 이러한 형태의 리포팅 시스템은 실제 리포팅에 필요한 비즈니스 로직을 담은 SQL의 구현에 집중적으로 자원을 할당함으로써 시간과 비용을 절약하고, 일관된 최적화를 통해 애플리케이션 실행성능 개선을 기대할 수 있다.
more초록/요약
Report program in SAP R/3 system has independent source codes to meet the needs of individual business purposes. Upon customer's request, programmers develop the data list, date extraction conditions, and source codes including control code and layout of processing field, and they distribute that through the application server platform. In many cases, reporting programs let the programmers develop the similar codes repeatedly, and decrease the efficiency of system resources consequently. To overcome this situation, a class-based GUI control like ALV(Abap List Viewer) is generally used in R/3 system. But program implementation, such as encoding of DB data structure and connecting that code to the ALV, still remains as an unsolved problems for programmers. This paper presents developing methodology to design and implement the reporting framework based on SQL using dynamic code generation techniques. This method designs the initial layout of run-time reporting inquiry terms using the database information architecture extracted from SQL query and connects design parameter of output screen to ALV. It suggests feasible level of grammar by adjusting the degrees of freedom and SQL parsing techniques related to the complexity of system design. It can also prevent the run-time problems through the syntax check. Besides, this framework maintains reporting system consistently by enforcing the use of Data Dictionary as a standard environment. This reporting framework saves the time and cost, by allocating resources to the implementation of SQL containing the actually required business logic. Also improvement of application performance can be expected through the consistent optimization.
more

