Programming DCOM Clients

Information on BAPIs

Before you can start client programming, you need certain information on the R/3 business objects you use and on the respective BAPIs. To get this information, you can use the following utlities:

Note:

SAP Assistant is part of the RFC SDK; you can install it on your frontend from there.

Basic Steps

For programming client applications, you must execute the following steps:

1.  Create an instance for the session object.

2.  Assign the R/3 connection parameters to the session object. The connection parameters include:

Use method PutSessionInfo( ) if you transfer the connection parameters in a single function call rather than separately.

3.  Create the instance of the respective business objects.

4.  If SAPGUI is installed on the frontend, you can start SAPGUI from within the client program or debug the ABAP coding.

5.  Actually process the business objects (call BAPIs).

6.  Complete R/3 session with CommitWork.

7.  Release the objects.

Next:

Programming Visual Basic Clients