In the Application Builder, click the down arrow next to the Add button and select SAP Element.
In the SAP Element Definition window:
Select the Connection Type:
Connection Pool – allows you to choose from a list of preconfigured connection pools. The list of available preconfigured connections comes from the list specified in global.properties.xml. The default ConnectionPool is used for both capture and playback.
Direct – allows you to manually configure connection properties. The direct connection is used for playback only.
Click Details to launch the Direct Connection configuration window.
The configured direct connection properties are @OP parameterized in an application definition to allow for further configuration for a setup screen when being played back. This also allows for auto-fill for single sign-on.
When you are finished entering the connection properties, click OK to return to the SAP Element Definition window.
Function – click Find to launch the Find Function window. In the Find Function window, you can browse through all available objects and their functions.
Click Select to choose an object or function.
When you move the mouse over an object or function,
a tool tip appears with a brief description of the object or function.
If you know which function you want, you can enter the name of the function in the Function field, and click Find.
When you are finished, click OK to return to the SAP Element Definition window.
Once you identify a RFC, the Input Tables and Parameter Tables fields are automatically populated. Hovering the mouse over a table or parameter in any list brings up a brief tool tip description of the item under the cursor.
Use the Add, Add All, Remove, and Remove All buttons to move input tables between the Input Tables Available and Selected boxes.
Use the Add, Add All, Remove, and Remove All buttons to move parameters between the Parameters/Tables Available for Output and Selected boxes.
Click Enter Value to launch the Input Values window, where you must provide the information for all the selected input parameters and tables.
Click OK when you are finished. You return to the SAP Element Definition window.
In the SAP Element Definition window, click Preview to verify the BAPI executes successfully before proceeding further.
Click Next.
In the Define window, define the record layout and specify a record header. See “Defining record layout”. Click Next.
In the Filter window, specify filter rules to select only the relevant data from the element. See “Adding filter rules”. Click Next.
This window displays only if you have defined the record layout. The Configure Parameters window displays the element’s CGI parameters. See “CGI parameters” and “Using the database table adapter”. Click Next.
In Window Preview, enter an element name.
Click Finish, then Close to return to the Application Builder.
In the Application Builder, click Save. See “Saving applications”.