메뉴 건너뛰기

SAP 한국 커뮤니티

OPEN SQL 메모리 OVERLOAD 덤프시..

sapjoy 2007.04.04 09:26 조회 수 : 3603 추천:40

I am using a SELECT query on a database table. Since the number of records in the table is very large, the program dumps due to insufficient memory. How can I solve this?


In this case you could use the PACKAGE SIZE addition in the SELECT query to process in limited amount of data, thus avoiding the memory overloads.


Eg:


SELECT *
 FROM <table>
 INTO TABLE itab
 PACKAGE SIZE <n>.
 
IF sy-subrc EQ 0.
*" Process the n records
ENDIF.
 
ENDSELECT.
번호 제목 글쓴이 날짜 조회 수
107 sap 메뉴에서 표준 매뉴 전환 [1] selection장 2013.09.13 9450
106 TYPE-1 프로그램에서 실행버튼 없애기 [1] 아밥뽀 2013.09.23 9126
105 SAP GUI 730 ALV Grid 느림 현상(해결방법) [3] Dave 2013.09.27 8886
104 debug 시 문장 skip 요령 [36] 하마대왕 2013.10.04 6900
103 SAP 버퍼를 다시 설정하는 방법 Wise 멘토 2013.10.04 7492
102 TRY와 SQL [2] sapjoy 2013.12.05 5870
101 인터널 테이블 라인수 lines [8] sapjoy 2014.01.20 17328
100 숫자입력 체크(Numeric character check) [1] 양키(이경환) 2014.01.28 19672
99 자주 사용되는 String 조작 명령어 [4] 양키(이경환) 2014.01.28 3879
98 인터널 테이블의 사이즈의 의미 [4] 양키(이경환) 2014.02.12 5508
97 Progress Bar 표기 로직 [1] 양키(이경환) 2014.02.13 3602
96 Search Help 띄우기전 컬럼 정렬방법 양키(이경환) 2014.02.16 4700
95 GUI_DOWNLOAD 펑션(메소드) 사용시 Leading Zero현상 해결방법 [3] 양키(이경환) 2014.02.17 6896
94 전기기간 및 회계기간 오픈(MMPV, ob52) [4] sapjoy 2014.02.20 8230
93 User Parameter 조회 펑션 [3] 양키(이경환) 2014.03.04 3184
92 FTP File Tranfer 샘플 소스 [1] 양키(이경환) 2014.03.04 5026
91 SE16N 테이블 변경가능 모드로 전환하는방법 [8] 양키(이경환) 2014.03.12 10475
90 Email 전송 Sample [6] 양키(이경환) 2014.03.12 6818
89 report to PDF file 아밥뽀 2014.03.18 4708
88 ABAP Example sapjoy 2014.03.24 7110