Understanding Lookup BAPI methods of the business object

Steps to lookup BAPI methods of the business object.

Procedure

  1. Go to Connector > Lookup.
  2. Go to the Business Object tab.
  3. Provide values to the fields.
    • System ID - Select the system ID from the list.
    • Business Object Name - Enter a specific business object. A list of business objects that starts with the name is provided. If the field is left blank (or an asterisk is entered), all existing Business Objects are displayed. Example, Company.
  4. Click Apply.
  5. In the list of the business objects, select the business object to view the details.
  6. Go to the BAPI(s) tab.
    BAPIs
    BAPI method name. Click >to view the details.
    • Parameters- Name of the parameter of the underlying RFC.
    • Direction- Usage direction of the parameter. Possible values are Importing, Exporting, Changing (importing and exporting).
    • Optional- Value is set to true, indicates thar you can omit this parameter in an XML message. Usually, the implementation inside the SAP system uses specific default values for optional parameters that are omitted.
    • Table- Value is set to true, indicates that the parameter consists of several lines, where each line has the data type specified in the ABAP dictionary Type field.
    • ABAP Dictionary Type- Link to the data type description used for this parameter. The value can be a whole structure or just a field of a structure. Following the hyperlink to see the whole structure.
    Static method
    Flag to indicate when the BAPI is an instance-independent method.
    • true. BAPI is an instance-independent method. You do not have to specify the business objects key fields when calling this method.
    • false.
    Dialog method
    Flag to indicate when the method is a dialog method.
    • true. Method is a dialog method. Dialog BAPIs require a SAPGui.
    • false. Method is not using a dialog.
    Factory method
    Flag to indicate when BAPI is used to create an object instance inside the SAP system.
    • true. BAPI is used to create an object instance inside the SAP system. Factory methods return the key fields of the business object.
    • false.
    Function module
    Message type that must be used to set up routing for synchronous calls that comes from an SAP system. It is technically realized through RFC, so here the name of the corresponding RFC function module inside the SAP system is provided. Although it is possible, you can avoid calling BAPIs directly through RFC-XML, as it can be an implementation-dependent view of the BAPI.
    ALE message type
    Optional. IDoc type, when the BAPI has a mapping for the specific IDoc type.
  7. Click > icon to view the details.
  8. Click the link on ABAP Dictionary Type to view the details.