9
Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET container as a RESTful Web Service API, and uses SAP DI-API to connect to SAP system. Before installing Cloudsnap’s B1 Connector, the following components must be installed on the machine that Cloudsnap’s B1 Connector will be running. A. .NET Framework NET, Framework Runtime 4.0 (or higher), you can download and install current .NET Framework Runtime 4.7.2 via the link below: https://www.microsoft.com/net/download/thank-you/net472 B. Install and enable Microsoft IIS (Internet Information Services). You can find how to install and enable Microsoft IIS on your Windows Server via Microsoft website: https://msdn.microsoft.com/en-us/library/ms181052(v=vs.80).aspx C. Install SAP Business One 64-bit DI-API. Cloudsnap B1 Connector requires SAP Business One 64-bit DI-API installed on the Window machine. You can find the SAP Business One 64-bit DI-API’s installation components in your SAP Business One Installation package. D. Acquire necessary required configuration information for Cloudsnap’s B1 Connector to connect to your SAP system. The required Information for Cloudsnap’s B1 Connector configuration file: Cloudsnap’s Config.xml <Config> <Settings> <Server>WIN-D66QCI8ELFC</Server> <DB>SBODemoUS</DB> <DBType>10</DBType> <SAPUserName>manager</SAPUserName> <SAPPassword>manager</SAPPassword> <LicenseServer> WIN-D66QCI8ELFC <LicenseServer> <DBTrustedConnection>1</DBTrustedConnection> </Settings> </Config> <Server>: SAP Server IP address or Hostname <DB>: SAP Company Database Name <DBType>: SAP Database Server Type. One of the possible values: 6 – MSSQL2008, 7 – MSSQL2012, 8 – MSSQL2014, 9-HANA, 10 – MSSQL2016 <SAPUserName>: SAP username <SAPPassword>: SAP password <LicenseServer>: SAP License Server IP or Hostname <DBTrustedConnection>: Whether or not DI-API use trusted connection. One of possible values:

Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

  • Upload
    others

  • View
    25

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

CloudsnapSAPB1ConnectorInstallationGuide

1. PrerequisitesCloudsnapB1ConnectorrunsonWindowsPlatform;itrunsinsideASP.NETcontainerasaRESTfulWebServiceAPI,andusesSAPDI-APItoconnecttoSAPsystem.BeforeinstallingCloudsnap’sB1Connector,thefollowingcomponentsmustbeinstalledonthemachinethatCloudsnap’sB1Connectorwillberunning.

A. .NETFrameworkNET,FrameworkRuntime4.0(orhigher),youcandownloadandinstallcurrent.NETFrameworkRuntime4.7.2viathelinkbelow:https://www.microsoft.com/net/download/thank-you/net472

B. InstallandenableMicrosoftIIS(InternetInformationServices).YoucanfindhowtoinstallandenableMicrosoftIISonyourWindowsServerviaMicrosoftwebsite:https://msdn.microsoft.com/en-us/library/ms181052(v=vs.80).aspx

C. InstallSAPBusinessOne64-bitDI-API.CloudsnapB1ConnectorrequiresSAPBusinessOne64-bitDI-APIinstalledontheWindowmachine.YoucanfindtheSAPBusinessOne64-bitDI-API’sinstallationcomponentsinyourSAPBusinessOneInstallationpackage.

D. AcquirenecessaryrequiredconfigurationinformationforCloudsnap’sB1ConnectortoconnecttoyourSAPsystem.TherequiredInformationforCloudsnap’sB1Connectorconfigurationfile:

Cloudsnap’sConfig.xml

<Config> <Settings>

<Server>WIN-D66QCI8ELFC</Server><DB>SBODemoUS</DB><DBType>10</DBType><SAPUserName>manager</SAPUserName><SAPPassword>manager</SAPPassword><LicenseServer> WIN-D66QCI8ELFC <LicenseServer><DBTrustedConnection>1</DBTrustedConnection>

</Settings></Config><Server>: SAPServerIPaddressorHostname<DB>: SAPCompanyDatabaseName<DBType>: SAPDatabaseServerType.Oneofthepossiblevalues: 6–MSSQL2008,7–MSSQL2012,8–MSSQL2014,9-HANA,10–MSSQL2016<SAPUserName>: SAPusername <SAPPassword>: SAPpassword<LicenseServer>: SAPLicenseServerIPorHostname<DBTrustedConnection>:WhetherornotDI-APIusetrustedconnection.Oneofpossiblevalues:

Page 2: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

0–NotaTrustedConnection,1–TrustedConnectionNote:ItiscriticaltheSAPcredentialhasfullpermissiontoaccessSAPdatabase.

E:WindowsAccountPermissions EventhoughCloudsnap’sB1Connectordoesn’treallyrequireasystem

Administratorprivilege,B1ConnectordoesrequiretheWindowsprivilegetobeabletocreate,readandwriteWindowsEventLog.AlloftheerrorandwarningloginformationwillbewrittenintoWindowsEventLog.

F: ConfigureWindowsFirewalltoallowinternalTCP/IPcommunication B1ConnectorwillcommunicatetoourNuManageAgentinternallyonthesame

Windowsmachineviahttp://localhost:3030,itisrequiredtoconfigureWindowsFirewalltoallowinternalcommunicationsbetweenB1ConnectorandNuManageAgent.

2. DownloadB1ConnectorlatestversionandInstallation

A. B1Connectorcanbedownloadedvia:https://s3.us-east-2.amazonaws.com/cloudsnap.com/builds/B1Connector/latest/RESTServices.zip

B. Installation

• Unzipthedownloadedbinaryinto:‘C:\inetpub’folderonWindowsmachine• Renamethefoldernamefrom‘RESTServices’to‘CloudsnapB1Connector’

Page 3: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

C. C:\inetpub\CloudsnapB1Connector\BusLayer\Config.xml• Open‘C:\inetpub\CloudsnapB1Connector\BusLayer\Config.xml’with

notepad.exeoranytexteditor.• FillintherequiredConfigurationsettingsbasedonPrerequisitessection1.D• SavetheConfig.xml

3. ConfigureIIStorunB1ConnectorWebServiceAPIOpen‘MicrosoftInternetInformationServices(IIS)Manager’

Page 4: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

A. CreateanApplicationPool

• High-lightthe‘ApplicationPool’andright-click• Clickon‘AddApplicationPool…’• Typein‘B1Connector’asApplicationPoolname,Click‘OK’• A‘B1Connector’ApplicationPoolwillappearinmiddlepanel

Page 5: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

B. Configure‘B1Connector’ApplicationPool• High-light‘B1Connector’ApplicationPoolinmiddlepanel• Select‘BasicSettings…’

Page 6: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

• Setthevaluesasinthepicturebelow,clickon‘OK’

• High-light‘AdvancedSettings…’,andclick

Page 7: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

• SettheIdentitytoaWindowsaccountwithcreate,readandwriteEventLogpermissions,setvaluesasinthepicturebelow,andleavemosttoitsdefaultvalue,clickon‘OK’

C. CreateaWebsite• High-light‘Site’andclickon‘AddWebsite…’

Page 8: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

• Setthevaluesassameinthepicturebelow:

• Verify‘B1Connector’ApplicationPoolisin‘Started’state

Page 9: Cloudsnap SAP B1 Connector Installation Guide · Cloudsnap SAP B1 Connector Installation Guide 1. Prerequisites Cloudsnap B1 Connector runs on Windows Platform; it runs inside ASP.NET

• Verify‘CloudsnapB1Connector’websiteisin‘Started’state(‘Start’isgreyedout)

4. VerifyB1Connectorisupandrunning

a. Downloadandinstall‘Postman’:https://www.getpostman.com/appsb. PastetheURL:‘http://localhost:3030/api/businesspartner/allcardcode/v2’in

Postman’sURL,select‘GET’method,andclickon‘Send’Buttonc. IfCloudsnapB1Connectorinstalledsuccessfully,youshouldseethereturnof

aboveURLasfollows: