dbb741ead758d6cb34bd5189b7dbb928.ppt
- Количество слайдов: 29
beas WEB App Installation
Learning Targets After working through the lesson, you will be able to: Install be. as WEB-Apps with SAP B 1 Integration Service n Install and un-install Apache Server n Basic setup of WEB Apps n © beas group 2011 / Page 3
WEB Apps Service description WEB Apps run on any device with an Internet connection and a current Internet browser. This could be mobile devices for stocktaking as well as PC's and devices for 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. © beas group 2011 / Page 4
Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps © beas group 2011 / Page 5
WEB Apps Configuration with SAP B 1 Integration Service SAP Business One beas-Add. On as Service SAP B 1 Integration Service (tomcat-Server) Beas-web. Connector be. as WEB-App needs only the SAP B 1 Integration © beas group 2011 / Page 6 Client (Mobile, Internet. Explorer etc. )
Install Tomcat • • • Open Administration be. as Manage Server Click „New“ to create a new service Enter a friendly name for the service © beas group 2011 / Page 7
Install Tomcat • • • Select HTML-Server Select B 1 Server Tomcat JSP Select the location of webapps Select a directory for communication Click „Start Server Local“ If the checkbox HTMLServer is not activated in opened server window, activate it Start your browser and enter the local address http: //127. 0. 0. 1: 8080/beasweb/index. jsp © beas group 2011 / Page 8
Install Tomcat Now the Starting screen is displayed Switch between PC- and mobile view for screens with small resolution. Login: with your card number (personnel master) In the training data base: „ 1“ For Authorization groups, see WEB Terminal Video © beas group 2011 / Page 9
Configuration B 1 -Integration If the Tomcat-Server is not running, open the B 1 -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! © beas group 2011 / Page 10
Install 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) © beas group 2011 / Page 11
Install 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 „beas. Service“ Start type: delayed © beas group 2011 / Page 12
Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps © beas group 2011 / Page 13
beas-web with XAMPP 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 B 1 Integration Service © beas group 2011 / Page 14
Install XAMPP • • • Select the type XAMPP Apache PHP If XAMPP is not installed in „c: xampp“ the trigger „XAMPPHomepage“ is shown. A click brings you to the XAMPP -Website. Install XAMPP to the default directory. „c: xampp“ (don‘t change!) © beas group 2011 / Page 15
Install XAMPP Open the Control-Center by clicking on If the Service is not running, check if Port 80 is blocked. Change Port on next slide. © beas group 2011 / Page 16
Install XAMPP Apache: Change Port To change the port, edit the configuration file. be. as-Manager-Server – Configuration Click the cog wheel. be. as open the configuration File httpd. conf Search for the line #Listen and set the new IP-Address and Port Example: for Port 20000 and ip 192. 168. 2. 22: Listen: 192. 168. 2. 22: 20000 Available IP address is displayed in beas Manager Server – Administration Save and re-start Apache. © beas group 2011 / Page 17
Install XAMPP Test When finished, start the beas-service or click on „Start Server local“, open the WEBBrowser and insert the address: For example 192. 168. 2. 22: 20000 © beas group 2011 / Page 18
Other Server types beas-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 filesbeas softwarebeasprogrambeasweb. 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. © beas group 2011 / Page 19
Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps © beas group 2011 / Page 20
WEB Apps Configuration with external PHP-Server SAP Business One External PHP-Server beas-Add. On as service Request Answer Client (Mobile, Internet. Explorer etc. ) Beas-web. Connector Request Answer On an external PHP-Server diverse beas-WEB-Connectors are installed. There is no direct connection between the client and the local SAP B 1 / be. as – Installation. No need to open a firewall. © beas group 2011 / Page 21
WEB Apps Configuration with external PHP-Server Unzip c: program filesbeas softwarebeasprogrambeasweb. 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 |_ design Delete 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 © beas group 2011 / Page 22
WEB Apps Configuration with external PHP-Server The following files are needed: index. php called up by the client connectorread. 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 client common. php contains access password admin. php there the password can be changed (write access needed) m 3090. php instead of index. php m 3090. php can be used. Then, WEBAPPs are displayed in a Motorola 3090 -Frame (for presentation purpose) © beas group 2011 / Page 23
WEB Apps Konfiguration mit externem PHP-Server Setup • • • Select HTML-Server Type external Server PHP URL-Connector index. php Connector-Password: Passwort for Connector Set same Password in common. php and upload to the external PHP server. Example: http: //myserver. com/myportal © beas group 2011 / Page 24
Agenda WEB Apps installation 1: Tomcat 2: XAMPP 3: External PHP Server 4: Setup WEB Apps © beas group 2011 / Page 25
Setup beas-WEBAPPS Personnel settings Only personnel can log on – the card number is required Open HR - Personnel master data Select employee or create a new one Enter a unique card number For Authorization groups, please refer to WEB Terminal Video © beas group 2011 / Page 26
WEB-Apps Setup for access via smartphone Windows : Start -> System Administration - Network and Internet – Network Control Select „Create new connection or new network“ Scroll down in the new window, select „wireless ad-hoc-network“ Assign network name and WPA 2 key © beas group 2011 / Page 27
WEB-Apps Setup for access via smartphone Start – Execute – cmd – „ipconfig“ The IP-address is displayed. Connect the i. Phone/i. Pad with the new created network, enter the WLAN Key Enter the IP-adress into the browser of your i. Phone © beas group 2011 / Page 28
WEB 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 © beas group 2011 / Page 29
Thanks for your attention!
dbb741ead758d6cb34bd5189b7dbb928.ppt