Actually I use below code in php which is fine
But now I want to connect to user defined object called OALW, I tried to replace 22 with OALW like below
but I'm getting the following error message Fatal error: Uncaught com_exception: Parameter 0: Type mismatch. in C:\xampp\htdocs\sap\allowance.php:23 Stack trace: #0 C:\xampp\htdocs\sap\allowance.php(23): com->GetBusinessObject('OALW')
How can I use user defined object in GetBusinessObject() in order to update its table?