com.ibm.dse.services.sap
Interface SAPServiceInterface
- All Known Implementing Classes:
- SAPService
- public interface SAPServiceInterface
The SAPServiceInterface is the interface for the SAP Access services.
Method Summary |
void |
callRFCModule(java.lang.String bapiClassName,
Hashtable importParams)
Implements the code that requests that the SAP system execute the bapiClassName BAPI function. |
void |
establishConnection(Hashtable connectionParams)
Implements the code to create a connection to the SAP System with the provided parameters. |
void |
execute(java.lang.String rfcModuleName,
Hashtable importParams,
Context aContext)
Sets the environment to execute the BAPI function. |
callRFCModule
public void callRFCModule(java.lang.String bapiClassName,
Hashtable importParams)
throws java.lang.Exception
- Implements the code that requests that the SAP system execute the bapiClassName BAPI function.
establishConnection
public void establishConnection(Hashtable connectionParams)
throws java.lang.Exception
- Implements the code to create a connection to the SAP System with the provided parameters.
execute
public void execute(java.lang.String rfcModuleName,
Hashtable importParams,
Context aContext)
throws java.lang.Exception
- Sets the environment to execute the BAPI function. A normal flow would be to open the connection, call the function execution method, and close the
connection when the function has finished executing.