Introduction #
In SKYVVA, we have a function import SAP metadata in the Repository that can import SAP Business One Message Type by using the credential of SAP Business One Client application. To use this function to import SAP Business One Message Type, we need to create a Metadata provider, Repository and we need to connection destination on SAP Control board.
Why we use the import SAP metadata function to create the SAP Business One template? #
We use the import SAP metadata function to create the SAP Business One template because this function very helpful for user who wants to send data from Salesforce to SAP Business One Client application by using SKyvva. As we knew that SAP Business One Client Application has many modules and has complex structures in each module. Therefore, Skyvva has created this function to help users to generate the request and response Message Type or structure of each module in SAP Business One. This function is contained with the URL or endpoint that easy to use with the module that we are choosing.
How to use SAP Metadata
Pre-required
- Create Integration
- Go to SAP Control Board
- Connection Destination.
- Import SAP Metadata.
Step1: Create Integration.
Click this link below to see more detail about What is Integration
https://docs.skyvva-dev.com/docs/skyvva-administration-guide-v2-41-lightning/integration/
- Go to Integration => click the New button.
- Fill in the name and click Save Button. see the picture as an example.
Step2: Connection Destination on Sap Control board.
- Go to Integration and click SAP Control Board. Here’s an example below.
- Create Connection Destination.
- Choose Type to SAP Business One, fill in the Name, and click continue.
After we click Continue, we need to configure SAP Credential.
- Fill the Host URL: That’s the URL which SAP Business One Client installed.
- Port Forward: That’s the Port that we have forwarding of SAP business one client installed application.
- UserName: That’s the Username to log in to SAP business one client application.
- Password: That’s the Password to Login to SAP business one client application.
- URL path: That’s the path of login to SAP Business one client application
- Company Database: That’s the Company Name of Database
- When we configured SAP Credential done we need to click the save button and click the Ping SAP Connection Button for making sure that the credential is correct.
Step 3: Import SAP Metadata.
- To use this function, we need to Create Metadata Provider first, and then we need to create a Repository.
- Go to Metadata and click New Button.
- Fill in the name of Metadata Provide and click the Save button.
- After creating Metadata, we need to Create a Repository.
- Fill in the name of the repository and type
- Click the Save button.
After we create a Repository, we can use the Import SAP Metadata in the Repository.
- Go to Repository and click Import SAP Metadata.
- Choosing Direction SAP Connection
- Select Connection Type
- Select Connection Destination.
- Choosing to Create Message type to invoke SAP Business One API.
- And click Retrieve.
Here’s an example:
After we click Retrieve, we can see modules of SAP Business One.
- Here’s an example.
We can use the template of the module that we want. Example We want to use Order so we can search Order.
- Here’s Example.
- Select Orders and click Create Message Type.