메뉴 건너뛰기

SAP 한국 커뮤니티



ABAP Status Code 정의

SARA 2007.03.16 21:09 조회 수 : 4806 추천:5

status delete SY-SUBRC = 0: Entry deleted.
SY-SUBRC = 4: Entry did not exist.

insert SY-SUBRC = 0: Entry added to the table.
SY-SUBRC = 4: The entry could not be added to the table, since
it duplicates an existing entry and the table
is defined with a UNIQUE KEY.
read SY-SUBRC = 0: An entry was read.
SY-TABIX is set to the index of the entry.
SY-SUBRC = 2: An entry was read.
SY-SUBRC = 4: No entry was read.
The value of SY-TABIX depends on the table type and
whether the BINARY SEARCH addition was specified.
If the table is a SORTED TABLE or STANDARD TABLE
with the BINARY SEARCH addition, SY-TABIX refers to
the next-highest index.
Otherwise, SY-TABIX is undefined.
SY-SUBRC = 8: No entry was read.
This return code only occurs with a SORTED TABLE or a
STANDARD TABLE with the BINARY SEARCH addition.
SY-TABIX is set to the number of all entries plus 1.

select SY-SUBRC = 0: The result table contains at least one record.
SY-SUBRC = 4: The result table is empty.
SY-SUBRC = 8: Applies only to SELECT SINGLE FOR UPDATE:
You did not specify all of the primary key fields
in the WHERE condition. The result table is empty.
* e-abap님에 의해서 게시물 이동되었습니다 (2007-04-15 20:22)