SAP-ABAP에는 Report Program 과 Dialog Program, 두 가지 유형이 있다.
그 중 Report Program은 대량의 데이터를 표시해야 할 때 사용한다.
Report Program 용도
- 여러 테이블의 데이터를 선택 및 가공 한 후 출력해야 할 때.
- 보고서에 특별한 형식이 필요할 때. (custom)
- 보고서를 SAP에서 엑셀 시트로 다운로드하여 배포해야 할 때
Report Program 주요 특징
- Report Programs 은 항상 Executable Programs 이다. 마찬가지로 Program Type 도 항상 1이다.
- 이벤트 중심 프로그래밍이다.
- 프로그램 코드의 첫 줄은 항상 <report program-name>이다.
- line-size <size> 를 사용해서 line 의 size 를 설정할 수 있다.
- line-count n(n1) 을 사용해서 line 의 수를 설정할 수 있다.
n: 페이지의 line 수, n1: 페이지 footer를 위한 line 수 - Message-id <message class name> : 정보 또는 오류 메시지를 표시하기 위해 메시지 클래스를 사용할 수 있다.(SE91)
Example
Report <report name> no standard page heading
line-size <size>
line-count <n(n1)>
message-id <message class>.
728x90
'Programming > ABAP' 카테고리의 다른 글
ABAP Report Program - Event block (0) | 2023.08.11 |
---|---|
ABAP Report Program - Selection Screen (0) | 2023.08.10 |
DELETE vs CLEAR vs REFRESH vs FREE (0) | 2023.08.08 |
Internal Table 복사 및 삭제 (0) | 2023.08.07 |
Internal Table 데이터 읽기 (0) | 2023.08.04 |