Enabling Form Submission Using
HTTP
In a typical scenario where forms are used in a Guided Procedures process, the form designer should implement functionality that enables the user to submit data back to the GP framework. On the GP side, there is a servlet that receives the data and sends it for further processing.
Sending data from a
form to the GP system is possible when parameter http.server.base.urlof service caf/eu/gp/model is configured to the appropriate value. For
more information, see
General System
Configuration.
To enable the processor of the form to return data to the system, you include a button with the following parameters in the form:
● Control Type – select Submit
● Submit Format – select PDF
● Submit to URL – enter the following string:
%com.sap.caf.gp.if.PostProcessorUrl%
The server-side information that determines the server address, such as host name, HTTP port, and so on, is retrieved when the form is generated from the form template. At runtime, when the user submits the form back to the system, the above URL string is replaced by the relevant server-side information, and the data is sent back to the server in XML format.