SAPNWRFC Connection how to WRITE DATA php
Below code used to fetch and display data from PHP <?php use SAPNWRFC\Connection as SapConnection; use SAPNWRFC\Exception as SapException; //print_r($_POST); $config = [ 'ashost' => '###.###.###.###', 'sysnr' => '##', 'client' => '###', 'user' => '####', 'passwd' => '*******', 'trace' => SapConnection::TRACE_LEVEL_OFF ]; $sap = false; $sapMTList = ""; try { $sap = new SapConnection($config); $result=$sap->getFunction("ZBAPI_SAMPLE_LIST_V1"); $parms = [ // 'I_MATTYPE' => 'FERT', 'I_PLANT' => 'XXXX' "I_MATTYPE" => "FERT", "I_PLANT" => "XXXX" ]; if(isset($_POST['submit']) && $_POST['submit'] ===