SAP

Manual Process Requests

Use Manual Process Requests for debugging purposes to troubleshoot and resolve problems. Using this window, you can manually process XML requests and receive XML responses inside SAP.

You can access Manual Process Requests either from the Sana Web Store Configuration window (/n/sanaecom/webstore) by clicking Manual Process Request, or by calling the transaction /n/sanaecom/mnlrequest.

To be able to process XML requests, at first you need to enter the Webservice URL and SAP user credentials that are used to establish connection between Sana and SAP. If you don't know the Webservice URL and credentials of the SAP user, please contact the person who installed the Sana add-on inside SAP. In the Manual Process Requests window, click Credentials and enter the Webservice URL and SAP user name and password.

By clicking APIs, you can select any required Sana API method which you need to execute in SAP. When the Sana API method is selected, you will see the XML request on the left. Enter the required values and click Execute Request. The request will be executed and you will see the response on the right.

There are a lot of different actions, which you can use, for example, to insert, upload and save requests and responses.

Logging

You can also enable logging. It allows to store all requests from the Sana web store to SAP and responses in the log files. Requests executed manually directly in SAP and responses are also written to the log files.

You can enable logging for a certain Sana API method, or if you leave the API field empty, requests and responses for all Sana API methods will be written to the log files. You can also select whether to write all requests and responses to the log files, only errors, only requests or responses.

The log files are shown in the Logs section, for each Sana API method and with the date, when it was executed, and on which web store. You can open any request and response from the log file.

To see requests and responses coming in real-time, you need to refresh data.

By default, logging is disabled, as it affects performance. Therefore, it is better to use it only for debugging purposes.