Show TOC

BAPI BrowserLocate this document in the navigation structure

Use

Using the Business Application Programming Interface (BAPI) Explorer, you can use BAPIs in your BSP applications, which means your BSP application can access data and processes from external application systems.

Example

You develop your BSP application on an SAP Web Application Server system that is stored in your SAP system environment. You want to add an availability check of a certain material to your BSP application. To implement this check, you have to use the BAPI MaterialCheckAvailability, which is not on your SAP Web Application Server, but is stored in your application system. Using the BAPI Explorer on your SAP Web Application Server, you can select the BAPI and add the relevant type definitions and calls to your BSP application.

Procedure
  1. Call the BAPI Browser by selecting Start of the navigation path Goto Next navigation step BAPI Browser End of the navigation path in the page editor of the Web Application Builder. The system displays a list of all the RFC connections in your system environment.

  2. You have two alternatives:

    • Use the navigation structure on the left-hand side of the screen.

      1. Choose your application system and double-click the relevant structure to expand it. The system displays a list of all BAPIs available in that application system.

      2. To select a BAPI, double-click it. The system displays the BAPI type definition in the upper right-hand window. In the lower right-hand window, the system displays an example of a call of the BAPI.

      3. Select the structures and types you need and use copy & paste or drag & drop to copy them to the type definition tab of your BSP in the Web Application Builder. Use the same procedure for the DATA statements and call template.

    • Use direct input.

      1. Choose Direct Input.

      2. In the following dialog box, enter the name of the BAPI or function module and the target system ID.

      3. Confirm the dialog box.

      4. Use the same procedure as described in 2. a) iii.

  3. Save your entries in the Web Application Builder and continue with developing your BSP application.

    Note

    When you use direct input, you enter either the name of a BAPI or a function module.

Result

You can now use the BAPI or function module in your BSP.