phpsaprfc
TRANSCRIPT
-
8/13/2019 PHPSAPRFC
1/7
E-Priority Portal (PHP)
E-Priority
Version 1.0
-
8/13/2019 PHPSAPRFC
2/7
Version Control
Versio
n
Date Comment/Changes Completed By
1.0 25/03/2012 Abdul Hakim
Mohamad
Project Team
Project Roles Name/Department/Email Comment
Business Owner E-Outsource Asia
Project Manager Lau Wee Boon
Functional
Consultant
Technical
Consultant
Signoff
Name/Title Action Signatory Date
Action Types: Approve, Review, Information, Action Required, Other (please specify)Purpose of document
-
8/13/2019 PHPSAPRFC
3/7
Table of Contents
1 Introduction ....................................................................................................... 42 SAP and PHP integration.................................................................................... 43 PHP Development, Staging, Production Environment......................................... 54 Bug fixed, new development guide....................................................................... 65 Releasing updated file to staging/production from development........................... 66 IP Configuration................................................................................................. 77 User (Testing). .................................................................................................... 78 Functions............................................................................................................ 79 File Upload ......................................................................................................... 7
-
8/13/2019 PHPSAPRFC
4/7
1 IntroductionPHP is a two tier technology acts as a server side scripting language that will deal with the
data before present it to user in the presentation layer (browser). Theoretically PHP can be
used strictly as a presentation layer technology, but mostly it will be used for both
presentation logic and business logic.
2 SAP and PHP integration.
To connect from PHP to SAP function module, it will need PHP SAPRFC extension
developed by Eduard Koucky.
Since SAP will deal all business logic from its function module, PHP will only be used forpresentation layer. PHP will take data retrieved from SAP RFC enabled function module and
display the data to the user. PHP also used to take data from presentation layer and send to
SAPRFC to do business logic.
-
8/13/2019 PHPSAPRFC
5/7
3 PHP Development, Staging, Production Environment.
In hosted software development, the environment refers to a server tier designated to a
specific stage in a release process. The purpose of these environments is to improve the
development, testing and release processes in client-server applications.
i) Development
This is where the software is developed itsthe working environment for individualdevelopers or small teams. The purpose of this environment is for the developer to work on
local host, separate from the rest of the team, allowing them to make various changes without
worrying that it may alter the work of the other members of the team. Before they start the
development, they should copy the source code from Staging or QA server to their own
PC/Laptop.
ii) Staging (QA Test)
It is used to assemble, test and review the application before it goes into production. Usuallythe staging environment tries to simulate as much as possible the production environment
(hardware and software-wise). Normally, before releasing an update version of the
application on the production environment, the update must be tested on the staging
environment. This environment can also be used as a demonstration/training environment.
iii) Productions
It is the liveenvironment, where the final application goes out to the world and becomes
active.
-
8/13/2019 PHPSAPRFC
6/7
-
8/13/2019 PHPSAPRFC
7/7
6 IP Configuration.
E-Priory can be access locally through this address 192.168.1.179. (Unifibiz)
Type 192.168.1.179 to browser address, it will redirect to the system login page.
Before you start using inside the browser, makes sure XAMPP is running inside
server/laptop. To start XAMPP service, Please click at the XAMPP shortcut to xampp start at
the desktop.
7 User (Testing).
i) Username : eoa Pass: initial1 - admin access
ii) Username : suffian Pass : initial - customer access.
8 Functions
There is 5 functions inside the e-priority system.
i) Change Password
User can change his password by entering old password and new password. Password will
hash inside SAP.
ii) Create Ticket
Create ticket by give all obligatory information; user will have to upload attachment later
after ticket created.
iii) Display Tickets
User can display ticket by insert ticket number inside text field.
iv) Change Ticket
User can change the ticket information by entering ticket number in the text field.
v) Ticket List
See all Outstanding ticket or All the ticket in a time range.
9 File Upload
i) File can only be uploaded in change mode, this means ticket has to be created first.
ii) Files can be seen inside server folder C:/xamp/htdocs/E-priority/ticket