tclsap Command Sap_Callrx1

Sap_Callrx1
Send and receive a message to an SAP RFC

Example:
Sap_Callrx1 Target_ABAP_RFC Message_String

Return:
System_Information_String and status TCL_OK

Discussion
Sap_Callrx1 executes a SAP RFC RfcCallReceive() command with the ABAP passed as the target program and the message_string as the contents to be passed. The message_string MUST be less than 248 characters in length.

The 248 character limit is due to a 249 character limit within the ABAP development environment when the debugger is in use.

The RfcCallReceive() function sends a Call to the SAP system and waits to Receive transaction results from the SAP system. Only the single result can be returned from a transaction.

The tables functionality of the SAP library is not implemented.

Sap_Callrx1 expects the return of one string from the SAP system

If the RfcCallReceive() completed successfully, that is is the return; was RFC_OK, then Sap_Callrx1 returns TCL_OK.



If there are questions about this document please direct them to Garth Kennedy (garth@mcs.net)

garth@mcs.net