File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 77
88This repository implements the [ PHP/SAP] [ phpsap ] interface for [ Eduard Kouckys legacy saprfc PHP module] [ koucky ] .
99
10+ ## Usage
11+
12+ ``` sh
13+ composer require php-sap/saprfc-harding:^1.0
14+ ```
15+
16+ ``` php
17+ <?php
18+ use phpsap\saprfc\SapRfcConfigA;
19+ use phpsap\saprfc\SapRfcConnection;
20+
21+ $result = (new SapRfcConnection(new SapRfcConfigA([
22+ 'ashost' => 'sap.example.com',
23+ 'sysnr' => '001',
24+ 'client' => '002',
25+ 'user' => 'username',
26+ 'passwd' => 'password'
27+ ])))
28+ ->prepareFunction('MY_COOL_SAP_REMOTE_FUNCTION')
29+ ->invoke(['INPUT_PARAM' => 'value']);
30+ ```
31+
32+ For further documentation, please read the documentation on [ PHP/SAP] [ phpsap ] !
33+
1034[ phpsap ] : https://php-sap.github.io
1135[ koucky ] : http://saprfc.sourceforge.net/ " SAPRFC extension module for PHP "
1236[ license-mit ] : https://img.shields.io/badge/license-MIT-blue.svg
You can’t perform that action at this time.
0 commit comments