# [SAP] SAP R/3 Architecture
1. SAP R/3 Architecture란?
- 3 Tier Layer로 구성된 SAP Architecture로 R - Signifies Real-time system / 3 - represents - 3 tier architecture라는 의미를 가진다.
(1) Presentation Layer
- 개인 컴퓨터, R/3 시스템과 사용자 간의 인터페이스를 제공하는 Layer
- 사용자는 SAP GUI 혹은 Web browser를 이용해 SAP system에 접속 할 수 있다.
- 해당 Layer는 front-end로 불리며 application server나 database server와 달리 사용자의 PC에 설치된다.
(2) Application Layer
- SAP의 모든 프로그램이 구동되는 Layer
- Dispatcher를 이용해 다수의 Work process에 요청을 분배 및 전달하는 역할을 한다.
- 해당 Layer는 로컬 PC가 아닌 장소에 서버가 구성돼 있다.
(3) Database Layer
- SAP의 모든 데이터를 데이터베이스 테이블에 저장 및 가져오는 Layer이다.
- 해당 Layer 또한 Application Layer와 동일하게 로컬 PC가 아닌 장소에 구성 돼 있다.
2. ABAP Dispatcher VS ICM
- ABAP Dispatcher distributes requests to the work processes.
ABAP Dispatcher는 Present Layer를 통해 들어오는 요청들을 Work Process에 분배해주는 역할을 한다.
- ICM enables communication between SAP system and HTTP, HTTPS, SMTP protocol. It means by entering system URL in the browser you can access SAP from browser also,
ICM은 SAP 시스템과 웹 브라우저 사이의 통신을 가능하게 하는 것으로, 웹으로 접속한 사용자의 요청을 Work Process에 전달한다.