Configure the binding properties for the SAP adapter
The SAP adapter surfaces several binding properties that enable you to control some of its behavioral characteristics. This section provides information about setting the binding properties from Visual Studio (design time) and from the BizTalk Server Administration console (run time). At design time, you must specify the binding properties to generate schema for specific operations. At run time, you must specify the binding properties as part of the send or receive port for sending or receiving messages from the SAP system.
For information about the binding properties, including a list of binding properties for SAP adapter, see Read about BizTalk Adapter for mySAP Business Suite binding properties.
Enter Binding Properties at Design Time
For design time, you can specify the binding properties using the Consume Adapter Service Add-in or the Add Adapter Metadata Wizard.
Enter binding properties using Consume Adapter Service Add-in
Right-click your BizTalk project, point to Add, and then click Add Generated Items.
In the Add Generated Items dialog box, do the following:
Use this To do this Categories Click Consume Adapter Service. Templates Click Consume Adapter Service. To start the Consume Adapter Service dialog box, click Add.
In the Consume Adapter Service dialog box, from the Select a binding drop-down list select sapBinding, and click Configure.
In the Configure Adapter dialog box, click the Binding Properties tab, and then specify the different binding properties.
Click OK.
Enter binding properties using Add Adapter Metadata Wizard
Right-click your BizTalk project, point to Add, and then click Add Generated Items.
In the Add Generated Items dialog box, do the following:
Use this To do this Categories Click Add Adapter. Templates Click Add Adapter Metadata. Click Add. The Add Adapter Metadata Wizard opens.
In the Add Adapter Wizard, select WCF-SAP. Select the computer on which BizTalk Server is installed and the name of the BizTalk database.
Important
If you already have a WCF-SAP port configured in BizTalk, select the port from the Port list.
Click Next.
In the Consume Adapter Service dialog box, from the Select a binding drop-down list select sapBinding, and click Configure.
Click the Binding Properties tab and specify the binding values, if any, which are required to be specified before generating the schema. For example, you must specify a value for the GenerateFlatFileCompatibleIDoc property before generating schema for receiving IDOC from an SAP system. For more information about binding properties, see Read about BizTalk Adapter for mySAP Business Suite binding properties.
Note
If you selected an existing WCF-SAP send port, you need not specify the binding properties. The binding properties are picked from the send port configuration. However, you may choose to specify the binding properties that are required at design-time, if any. In such case, the new values for binding properties will be used at design-time while generating the metadata. However, at run-time the values specified for binding properties in the send port configuration will be applicable.
Click OK.
Enter Binding Properties at Run Time
For run time, you can specify the binding properties as part of the WCF-Custom port or WCF-SAP configuration in the BizTalk Server Administration console.
Enter binding properties for the WCF-Custom port
Start the BizTalk Server Administration console.
In the console tree, expand BizTalk Group, then expand Applications, and then expand the application under which you want to create a port, and click Send Ports or Receive Ports. In the right pane, you can choose to create a port or select an existing port.
In the Port Properties dialog box, from the Type drop-down list, select WCF-Custom, and then click Configure.
Note
To see the location properties dialog box for a receive port, click the Receive Location tab on the left pane of the port properties dialog box, and then click New.
In the WCF-Custom Transport Properties dialog box, click the Binding tab.
From the Binding Type drop-down list, select sapBinding.
In the Configuration box, specify the values for the different binding properties, and then click OK.
Enter binging properties for the WCF-SAP port
Start the BizTalk Server Administration console.
Add the WCF-SAP adapter to the BizTalk Server Administration console. For instructions, see Add the SAP Adapter to BizTalk Server Administration Console.
In the console tree, expand BizTalk Group, then expand Applications, and then expand the application under which you want to create a port, and click Send Ports or Receive Ports. In the right pane, you can choose to create a port or select an existing port.
In the port properties dialog box, from the Type drop-down list, select the WCF-SAP adapter you added earlier, and then click Configure.
Note
To see the location properties dialog box for a receive port, click the Receive Location tab on the left pane of the port properties dialog box, and then click New.
In the transport properties dialog box, click the Binding tab and specify values for binding properties.
Note
The binding properties are displayed based on whether you are configuring a send port or a receive port. For example, binding properties related to inbound operations are not available while configuring a send port because inbound operations require a receive port configuration.
Click OK.