Using the CRfcServerApp and Derived Classes 

In the main program of the user’s server application, you can use the following steps to integrate R/3 functionality with the user desktop:

  1. Establish a connection to R/3.
  2. Declare an instance of the CRfcServerApp or its derived class.
  3. Create the custom server function objects and add them to the application object.
  4. Invoke the application object’s Run.

(See the server application sample, "Server.cpp" under the topic Programming Examples, for details.)