RFCEXEC
You can see it in SM59 -> TCP/IP Connection -> SERVER_EXEC -> System Information -> Function list.
RFC_RAISE_ERROR !!! FOR INTERNAL USE ONLY !!!
RFC_REMOTE_EXEC allows to start programs and to pipe an internal table into
stdin without waiting for the program to end.
IMPORTING
COMMAND C(256)
program name.
TABLES
PIPEDATA C(80)
internal table serves as input to the started program.
RFC_REMOTE_FILE allows to read or write text files.
IMPORTING
FILE C(256)
file name
WRITE C(1) (Default SPACE)
if WRITE is 'X' the internal table is written to the file,
else it is filled from the file.
TABLES
FILEDATA C(80)
internal table serves as input to the file, if WRITE is 'X'
else it is filled from the file.
RFC_REMOTE_PIPE allows to start programs and to pipe an internal table into
stdin. The caller waits until the program ends.
IMPORTING
COMMAND C(256)
program name
READ C(1) (Default SPACE)
if READ is 'X' the internal table is filled from stdout
instead of being piped into stdin.
TABLES
PIPEDATA C(80)
internal table serves as input to the started program, if
READ is 'X' it is filled by the started program instead.
Example
CALL FUNCTION 'RFC_REMOTE_PIPE'
DESTINATION i_dest
EXPORTING
command = l_command
read = 'X'
TABLES
pipedata = t_flist
EXCEPTIONS
system_failure = 1 MESSAGE errmsg
communication_failure = 2 MESSAGE errmsg.
IF sy-subrc NE 0.
IF sy-subrc = 1.
MESSAGE errmsg TYPE 'I' RAISING system_failure.
ELSE.
MESSAGE errmsg TYPE 'I' RAISING rfc_connection.
ENDIF.
EXIT.
ENDIF.
RFC_MAIL
allows to send mail via e-mail (example only).
IMPORTING
USER C(256)
user name (e-mail address).
TABLES
MAIL C(80)
internal table containing mail.
RFC_START_PROGRAM allows to start programs without waiting for the program to end
Only available via explizit call of RfcAllowStartProgram
IMPORTING
COMMAND C(512)
program name.
EXPORTING
ERROR C(255)
Error text.
RFC_SET_REG_SERVER_PROPERTY Set different properties for an registered server
IMPORTING
EXCLUSIV(1): 'Y': Start exclusiv use of this reg. server
'N': Stop exclusiv use of this reg. server
'E': Disconnect
API_CREATE_TID creates a transaction-ID for transactional RFC
ONLY FOR tRFC BETWEEN EXTERNAL PROGRAMS
EXPORTING
TID(24)
RFC_START_GUI starts SAPGUI on FrontEnd system for working
with Function Module needed Input/Output on SAPGUI
IMPORTING
STGUICMD(255)
API_CLEAR_TID calls function noted by RfcGetTransID()
INTERNAL USE: CONFIRMATION OF EXECUTED LUW
IMPORTING
CALLID(64)
ARFC_DEST_CONFIRM calls function noted by RfcGetTransID()
INTERNAL USE: CONFIRMATION OF EXECUTED LUW
IMPORTING
CALLID(64)
ARFC_DEST_SHIP
INTERNAL USE: PLAYBACK OF RECORDED RFC DATA
TABLES
DATA LIKE ARFCSDATA
STATE LIKE ARFCSSTATE
RFC_DOCU returns this text.
TABLES
DOCU C(80)
contains documentation text.
RFC_PING2 connection test.
#+ load test
RFC_PING connection test.
RFC_SYSTEM_INFO gives some informations about the execution environment.
EXPORTING
RFCSI_EXPORT LIKE RFCSI
RFC_RAISE_ERROR !!! FOR INTERNAL USE ONLY !!!
RFC_REMOTE_EXEC allows to start programs and to pipe an internal table into
stdin without waiting for the program to end.
IMPORTING
COMMAND C(256)
program name.
TABLES
PIPEDATA C(80)
internal table serves as input to the started program.
RFC_REMOTE_FILE allows to read or write text files.
IMPORTING
FILE C(256)
file name
WRITE C(1) (Default SPACE)
if WRITE is 'X' the internal table is written to the file,
else it is filled from the file.
TABLES
FILEDATA C(80)
internal table serves as input to the file, if WRITE is 'X'
else it is filled from the file.
RFC_REMOTE_PIPE allows to start programs and to pipe an internal table into
stdin. The caller waits until the program ends.
IMPORTING
COMMAND C(256)
program name
READ C(1) (Default SPACE)
if READ is 'X' the internal table is filled from stdout
instead of being piped into stdin.
TABLES
PIPEDATA C(80)
internal table serves as input to the started program, if
READ is 'X' it is filled by the started program instead.
Example
CALL FUNCTION 'RFC_REMOTE_PIPE'
DESTINATION i_dest
EXPORTING
command = l_command
read = 'X'
TABLES
pipedata = t_flist
EXCEPTIONS
system_failure = 1 MESSAGE errmsg
communication_failure = 2 MESSAGE errmsg.
IF sy-subrc NE 0.
IF sy-subrc = 1.
MESSAGE errmsg TYPE 'I' RAISING system_failure.
ELSE.
MESSAGE errmsg TYPE 'I' RAISING rfc_connection.
ENDIF.
EXIT.
ENDIF.
RFC_MAIL
allows to send mail via e-mail (example only).
IMPORTING
USER C(256)
user name (e-mail address).
TABLES
MAIL C(80)
internal table containing mail.
RFC_START_PROGRAM allows to start programs without waiting for the program to end
Only available via explizit call of RfcAllowStartProgram
IMPORTING
COMMAND C(512)
program name.
EXPORTING
ERROR C(255)
Error text.
RFC_SET_REG_SERVER_PROPERTY Set different properties for an registered server
IMPORTING
EXCLUSIV(1): 'Y': Start exclusiv use of this reg. server
'N': Stop exclusiv use of this reg. server
'E': Disconnect
API_CREATE_TID creates a transaction-ID for transactional RFC
ONLY FOR tRFC BETWEEN EXTERNAL PROGRAMS
EXPORTING
TID(24)
RFC_START_GUI starts SAPGUI on FrontEnd system for working
with Function Module needed Input/Output on SAPGUI
IMPORTING
STGUICMD(255)
API_CLEAR_TID calls function noted by RfcGetTransID()
INTERNAL USE: CONFIRMATION OF EXECUTED LUW
IMPORTING
CALLID(64)
ARFC_DEST_CONFIRM calls function noted by RfcGetTransID()
INTERNAL USE: CONFIRMATION OF EXECUTED LUW
IMPORTING
CALLID(64)
ARFC_DEST_SHIP
INTERNAL USE: PLAYBACK OF RECORDED RFC DATA
TABLES
DATA LIKE ARFCSDATA
STATE LIKE ARFCSSTATE
RFC_DOCU returns this text.
TABLES
DOCU C(80)
contains documentation text.
RFC_PING2 connection test.
#+ load test
RFC_PING connection test.
RFC_SYSTEM_INFO gives some informations about the execution environment.
EXPORTING
RFCSI_EXPORT LIKE RFCSI
Comments