04-27-2009 7:05 AM
Hello All,
There is a statement in standard program saplfpaym05 in subroutine read_data as follows
CALL 'C_RSTS_OPEN_READ'
ID 'HANDLE' FIELD cs_fbhandle-handle
ID 'CLIENT' FIELD sy-mandt
ID 'NAME' FIELD cc_tsnam
ID 'PART' FIELD 1
ID 'CONV' FIELD ' '
ID 'BINARY' FIELD 'X'
ID 'ALLINE' FIELD ' '
ID 'TYPE' FIELD 'DATA'
ID 'RECTYP' FIELD 'U------'
ID 'CHARCO' FIELD ' '
ID 'PROM' FIELD 'I'
ID 'RC' FIELD cc_rsts_rc
ID 'ERRMSG' FIELD cc_rsts_msg.
What exactly is the statement performing? Is it possible to have different results in development system and quality system? Is it anyhow system dependent statements?
Please suggest.
Thanks and Regards,
Sachin
04-27-2009 7:46 AM
Hi,
CALL -
> is used to Call a System Function.These calls are called Kernel C system calls .This CALL statements is for SAP internal use only.If SAP wants to allow a customer to use one, they will generally write a released ABAP function module to expose the Kernel Call.
Following are examples for SAP internally used system functions.
C_REMOVE C_RSPO_ASK_FOR_PRIO
C_RSPO_CHECK_TAB_IN_DD
C_RSPO_LAST_ERROR
C_RSPO_PRINTJOB_STATE
C_RSPO_PROCESS_DIALOG
C_RSPO_SPOOL_MESSAGE
C_RSPO_TEST
C_RSTRB_READ_BUFFERED C_RSTRDURA_TO_P6_P6
C_RSTRTIME_TO_P6_P6
C_RSTS_CCC_STAT
C_RSTS_CHECK_TAB_IN_DD
C_RSTS_CLOSE C_RSTS_CREATE_OBJ_FOR_FILE
C_RSTS_INVALID_CCC
C_RSTS_LAST_ERROR
C_RSTS_OBJ_INFO
C_RSTS_OPEN_READ
C_RSTS_OPEN_WRITE
C_RSTS_READ
C_RSTS_REMOVE
C_RSTS_REPAIR_OBJ
C_RSTS_WRITE C_SAPGALLPARAM
Go through the following links:
http://www.sapnet.ru/viewtopic.php?p=3028
by
Prasad gvk.