Creating SAP Elements

SAP applications allow you to mobilize your SAP ERP application data securely to mobile devices such as BlackBerry, PocketPC, or Palm.

Before you can create SAP elements, you must configure the UA server for SAP. See Setting Up an SAP Connection.

To create a SAP element:

  1. From the Mobile Development perspective, select File|New|Mobile Application.

  2. When the Mobile Application Wizard appears, select Launch Element Wizard, select SAP from the Element Type drop-down list and click Finish.

    Alternatively, right-click the Mobile Applications folder, and select Create New Mobile Application With|SAP Element.

  3. When the SAP Element wizard launches, 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.

    • Direct Connection – allows you to manually configure connection properties.

      Click Add to launch the Add Connection Property window. Enter:

      • Property Name – enter the name of the connection property. You can also use the drop-down list to select from some commonly used properties.

      • Property Value – enter the value for the connection property.

        Click OK when you are finished.

  4. When you return to the SAP Element wizard, click Search to launch the Search SAP Method window.

  5. In the Search SAP Method window, you can browse through all available SAP BAPI methods or RFC functions by entering a search string in either the Business Object or Method fields. Click the corresponding Search button.

  6. When your search is complete, click OK to return to the SAP Element wizard.

  7. After identifying the SAP BAPI methods or RFC functions in the Search SAP Method window, the Input Tables and Output Parameters and Tables fields in the SAP Element wizard are automatically populated.

    Use the Select All and Deselect All buttons to select or unselect all Input Tables and Output Parameters and Tables, or select individual input and output tables by clicking in the box next to the input and output tables you want to use. After making your selections, click Next to launch the SAP Parameters window.

  8. In the SAP Parameters window, enter the values for the selected Input Parameters. Click Add to add Input Tables and launch the Parameter Values window.

    Enter the parameter values, then click OK.

  9. Click Next to add split and filter rules and define the record layout.

  10. Click Preview to verify the SAP element executes correctly.

  11. Click Finish.

Related Tasks

Setting Up an SAP Connection

Using Rules and Record Layout

Ordering Filters

Setting CGI Parameters

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com