Siebel Connector for SAP R/3 > BAPI Interfaces > Create SAP Integration Objects with the BAPI Wizard >

BAPI Integration Objects


BAPI Integration objects represent the interface to a BAPI or RFC function call in SAP. There are two types of objects: BAPI Input Integration Objects and BAPI Output Integration Objects. The Input Object represents the initial call to the function and includes import parameters and tables. The Output Object represents the return information from the function call and includes export parameters and tables. Table 19 shows the structure of an input integration object.

Table 19.  Input Integration Object Structure
SAP Function Call
Siebel BAPI Input Integration Object
Import Parameter - scalar
Import Parameters Component
Field - scalar field name
Import Parameter - structure
Field - <SAP structure>-<SAP Field1>
Field - <SAP structure>-<SAP Field2>
Field - <SAP structure>-<SAP Fieldn>
Internal Table
 
SAP Table Component

For example, Table 20 shows BAPI BAPI_SALESORDER_CREATEFROMDAT1 having the following structure and corresponding Input Integration Object.

Table 20.  Input Integration Object Structure Example
SAP Function Call
Siebel BAPI Input Integration Object
Import Parameter - ORDER_HEADER_IN structure
Import Parameters Component
Field - ORDER_HEADER_IN-DOC_NUMBER
Field - ORDER_HEADER_IN-DOC_TYPE
Field - ORDER_HEADER_IN-n
Import Parameter - WITHOUT_COMMIT scalar
Field - WITHOUT_COMMIT
Import Parameter - CONVERT_PARVW_AUART scalar
Field - CONVERT_PARVW_AUART
Internal Table - ORDER_ITEMS_IN
 
ORDER_ITEMS_IN Component
Internal Table - ORDER_PARTNERS
 
ORDER_PARTNERS Component
Internal Table - ORDER_ITEMS_OUT
 
ORDER_ITEMS_OUT Component
Internal Table - ORDER_CFGS_REF
 
ORDER_CFGS_REF Component
Internal Table - ORDER_CFGS_INST
 
ORDER_CFGS_INST Component
Internal Table - ORDER_CFGS_PART_OF
 
ORDER_CFGS_PART_OF Component
Internal Table - ORDER_CFGS_VALUE
 
ORDER_CFGS_VALUE Component
Internal Table - ORDER_CCARD
 
ORDER_CCARD Component
Internal Table - ORDER_CFGS_BLOB
 
ORDER_CFGS_BLOB Component
Internal Table - ORDER_SCHEDULE_EX
 
ORDER_SCHEDULE_EX Component

Table 21 shows the structure of an output integration object.

Table 21.  Output Integration Object Structure
SAP Function Call
Siebel BAPI Output Integration Object
Export Parameter - scalar
Export Parameters Component
Field - scalar field name
Export Parameter - structure
Field - <SAP structure>-<SAP Field1>
Field - <SAP structure>-<SAP Field2
Field - <SAP structure>-<SAP Fieldn>
Internal Table
 
SAP Table Component

For example, Table 22 shows BAPI BAPI_SALESORDER_CREATEFROMDAT1 having the following structure and corresponding Output Integration Object.

Table 22.  Output Integration Object Structure Example
SAP Function Call
Siebel BAPI Output Integration Object
Export Parameter - SALESDOCUMENT scalar
Export Parameters Component
Field - SALESDOCUMENT
Export Parameter - SOLD_TO_PARTY structure
 
Field - SOLD_TO_PARTY-SHIP_TO
Field - SOLD_TO_PARTY-NAME
Field - SOLD_TO_PARTY-n
Export Parameter - SHIP_TO_PARTY structure
 
Field - SHIP_TO_PARTY-SOLD_TO
Field - SHIP_TO_PARTY-NAME
Field - SHIP_TO_PARTY-n
Export Parameter - BILLING_PARTY structure
 
Field - BILLING_PARTY-PAYER
Field - BILLING_PARTY-NAME
Field - BILLING_PARTY-n
Export Parameter - RETURN structure
 
Field - RETURN-TYPE
Field - RETURN-ID
Field - RETURN-n
Internal Table - ORDER_ITEMS_IN
 
ORDER_ITEMS_IN Component
Internal Table - ORDER_PARTNERS
 
ORDER_PARTNERS Component
Internal Table - ORDER_ITEMS_OUT
 
ORDER_ITEMS_OUT Component
Internal Table - ORDER_CFGS_REF
 
ORDER_CFGS_REF Component
Internal Table - ORDER_CFGS_INST
 
ORDER_CFGS_INST Component
Internal Table - ORDER_CFGS_PART_OF
 
ORDER_CFGS_PART_OF Component
Internal Table - ORDER_CFGS_VALUE
 
ORDER_CFGS_VALUE Component
Internal Table - ORDER_CCARD
 
ORDER_CCARD Component
Internal Table - ORDER_CFGS_BLOB
 
ORDER_CFGS_BLOB Component
Internal Table - ORDER_SCHEDULE_EX
 
ORDER_SCHEDULE_EX Component

Each component field contains both the Siebel application and SAP data types. These data types are described in detail in Data Types Used in BAPIs and IDOCs.

In addition, BAPI Input Integration objects contain a user property called Workflow. This user property is only used for the tRFC BAPI Receiver. For information on this user property, read tRFC BAPI Receiver Configuration.


 Siebel Connector for SAP R/3 
 Published: 22 August 2003