- sy-subrc is a system variable to the result of an abap command. The meaning of sy-subrc is interpreted in details as below for each abap command:
- Read table
The return code value of SY-SUBRC specifies whether the value sought was found and, if so, the result of the comparison:SY-SUBRC = 0 Entry found, field contents identical
SY-SUBRC = 2 Entry found, field contents different
SY-SUBRC > 2 Entry not found
* Note: for BAPIs, you use the RETURN to check error. Do not use sy-subrc.
- sy-dbcnt: no. of records processed in database table after a query.
- sy-datum contains the SERVER system date.
- sy-datlo: Date in the current user's time zone.
- sy-batch: this indicates if the execution is batch job or dialog job.
- sy-repid: hold the value of report name
- sy-user: current log-in user
No comments:
Post a Comment