Continued to modify the query for extraction SAP code in the web application to fix the error encountered, as the previous query returned an error, modified as well the function as there are changes in the SAP extraction query.