2Requirements for this Tutorial You will need a good grasp of:Basics of SAP B1 and be.asBasic knowledge of Window services4/11/2017
3Learning TargetsAfter working through the lesson, you will be able to:Install be.as WEB-Apps with SAP B1 Integration ServiceInstall and un-install Apache ServerBasic setup of WEB Apps
4WEB Apps Service description WEB Apps run on any device with an Internet connection and a current Internetbrowser. This could be mobile devices for stocktaking as well as PC's and devicesfor data collection (attendance or job times)There is no theoretical limit how many mobile devices can be run per server: It depends on the type of application.Attention: You need all Rights on your System. If you work with Windows 7, then set theUser Account Control to “never” !
5Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps
6WEB Apps Configuration with SAP B1 Integration Service SAP Business OneSAP B1 Integration Service(tomcat-Server)Client(Mobile,Internet-Explorer etc. )beas-AddOnas ServiceBeas-web-Connectorbe.as WEB-App needs only the SAP B1 Integration
7Installation TomcatOpen Administration - be.as Manage Server The Tomcat icon indicates that the Tomcat-Server is running. Select Configuration tab
8Installation TomcatChoose B1 Server Tomcat JSP Select Administration tab Click on „Start Server local“ In the Server Window click on „HTML-Server“ Now all Services are running You can start the Internet Explorer and insert local address
9Installation TomcatNow the Starting screen is displayed Login: with your card number (personnel master) In the training data base: „1“ For Authorization groups, see WEB Terminal VideoSwitch between PC- and mobileview for screens with small resolution.
10Configuration B1-Integration If the Tomcat-Server is not running, open the B1-Integration Service in be.as Manage Server – Configuration – click on yellow arrow In the opening properties screen select the start type, start/stop the service. Click on the cog wheel icon (on the right) to open the configuration file. Attention: Changes in configuration file can cause severe problems!
11Install be.as as Service Close the local Server-Window (if open) Open be.as Manager Server – Window – Configuration – Service Click on Current Data base and check the DI-API-User Activate „HTML-Server“ and Click on „Install Service“ Select the Administration tab and click on Start. (If not working, please restart the PC)
12Install be.as as Service If the beas-server is located on the same PC as the SQL-Server, the service should be started delayed. (In Windows 7) Windows – Services Properties of „beasService“ Start type: delayed
13Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps
14beas-web with XAMPPXAMPP is an installation package for diverse WEB-services. beas needs only the Apache-service. XAMPP is recommended because of its easy setup.Use:- Work with B-NET-Terminals (Kaba Benzing)- If you do not want to use SAP B1 Integration Service
15Install XAMPPbe.as Manager Server - Configuration Choose as WEB-Server XAMPP Apache PHP If XAMPP is not installed on „c:\xampp“ the Button „Open XAMPP-Homepage“ is displayed. Click this button, the official XAMPP-page Is opened in the internal browser. Install the XAMPP into the default „c:\xampp“ folder (Do not change the default folder!)
16Install XAMPPClose and Re-open be.as Manager Server screen. Now select XAMPP as WEB server. Administration tab: Click Control Center Activate „Svc“ (Service) in the first line and click on Start. A green „Running“ is displayed. Close the window only by Exit. If the service is not running, most likely the port 80 is blocked. To change the port, see next slide.
17Install XAMPP Apache: Change Port To change the port, edit the configuration file.be.as-Manager-Server – ConfigurationClick the cog wheel.be.as open the configuration File httpd.confSearch for the line #Listen and set the newIP-Address and PortExample: for Port and ip :Listen: :20000Available IP address is displayed inbeas Manager Server – AdministrationSave and re-start Apache.
18Install XAMPP TestWhen finished, start the beas-service or click on „Start Server local“, open the WEB-Browser and insert the address: For example :20000
19Other Server typesbeas-WEB-Server works with all PHP and Java-Servers. Using a PHP-Server, choose Apache or Tomcat and set the correct path to the folder for communication. Unzip c:\program files\beas software\beas\program\beasweb\beasweb.zip and copy files into the HTML-folder of your WEB-Server and create an additional folder BEASWEB. Access to all sub-folders of BEASWEB is required. In case of using a PHP-server, delete all JSP-files, If using Java-Server, delete all PHP-files.
20Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps
21WEB Apps Configuration with external PHP-Server SAP Business OneExternal PHP-ServerClient(Mobile,Internet-Explorer etc. )beas-AddOnas serviceRequestBeas-web-ConnectorAnswerRequestBeas-web-ConnectorAnswerOn an external PHP-Server diverse beas-WEB-Connectors are installed. There is no direct connection between the client and the local SAP B1 / be.as – Installation. No need to open a firewall.
22WEB Apps Configuration with external PHP-Server Unzip c:\program files\beas software\beas\program\beasweb\beasweb.zip and copy all files using a ftp-client to the HTML-folder of your WEB-server. Create a new folder BEASWEB. Access on all subdirectories of BEASWEB is required.https (Connector) |_ beasweb (directory for communication, full access)|_ Static|_ gfx |_ designDelete alle JSP-files, because these are only needed running a Java-Server.Logon to the server using a Console-Program (eg. Putty), change to the directory above and release it:chmod 777 beasweb
23WEB Apps Configuration with external PHP-Server The following files are needed:index.php called up by the clientconnectorread.php sends all client´s requests (index.php) to beas service connectorwrite.php receives answers from beas service and sends via index.php to the clientcommon.php contains access passwordadmin.php there the password can be changed (write access needed)m3090.php instead of index.php m3090.php can be used. Then, WEBAPPs are displayed in a Motorola 3090-Frame (for presentation purpose)
24WEB Apps Configuration with external PHP-Server Server setup: WEB-Server = external Server PHP URL-Connector = location of index.php Example: Connector-Password: password for connector Set the same Password in common.php and send this file to your external php-Server
25Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps
26Setup beas-WEBAPPS Personnel settings Only personnel can log on – the card number is requiredOpen HR - Personnel master dataSelect employee or create a new oneEnter a unique card numberFor Authorization groups, please refer to WEB Terminal Video
27WEB-Apps Setup for access via smartphone Windows : Start -> System Administration - Network and Internet – Network ControlSelect „Create new connection or new network“Scroll down in the new window, select „wireless ad-hoc-network“Assign network name and WPA2 keyMaybe you need to deactivate all other network adapters and reactivate the wireless netework adapter
28WEB-Apps Setup for access via smartphone Start – Execute – cmd – „ipconfig“The IP-address is displayed.Connect the iPhone/iPad with the new created network, enter the WLAN KeyEnter the IP-adress into the browser of your iPhone
29WEB Apps Fehlerbeseitigung If postings are blocked (Authorization for connection with DI-API is requested)Enter user and password which are given here :Administration – Configuration Wizard – System – DI-API