In order to call a Function from SAP BC you first need to make its folder known to the SAP Business Connector by creating a map of type SAP BC to SAP.
Choose SAP from the navigation panel.
Select the Lookup tab.
Choose the SAP System from the list you have defined.
Enter a function name in section Function by Name in the Function Name field.
Choose Lookup.
For map type SBC calling SAP, click Define New Map.
All services are organized in packages and folders. Packages contain folders and services with related functionality like the SAP or the mySAP.com package.
Enter an folder name in the New Folder field.
Enter a service name in the New Service field.
Choose Default in the Package field.
Click Save.
You have now created a new service in SAP Business Connector to call a specific function on your SAP system. Now you can find the service in the Service Menu.
Note: The parameters should not contain any blank spaces.
To call a BAPI from SAP BC, you first need to make its folder known to the SAP Business Connector by looking it up in the SAP system.
Choose SAP from the navigation panel.
Select the Lookup tab.
Choose the SAP System from the list you have defined.
Enter a Business object in section BAPI by Name in the Business Object field.
Enter a BAPI name in section BAPI by Name in the BAPI field.
Click Lookup.
If the Business Object and the BAPI exist in the selected SAP system you will get a description about the BAPI. To call it, do the following:
Populate the input parameters for this BAPI in the generated XML template.
Select synchronous call to <sapserver> via RFC.
Click Invoke.
You have now tested a BAPI in SAP Business Connector and called this specific BAPI synchronously on your SAP system.