Entering content frameFunction documentation Accessing Form Fields Locate the document in its SAP Library structure

GET_FORM_FIELD() / GET_FORM_FIELDS() allows the HTTP request handler access to all HTML form fields (name/value pairs) that were sent with the request.

The HTTP request handler handles these fields using encapsulation. A HTML page can transfer the fields either in the URL as a query string (HTTP method GET) or in the HTTP body (HTTP method POST, multipart is also possible).

All form fields are accessible via case-insensitive names. If desired, a complete table of name/value pairs can be called.

Modifications are supported by the methods SET_FORM_FIELD() / SET_FORM_FIELDS() of the interface IF_HTTP_REQUEST.

Caution

Ensure that you cannot set the form fields for response objects. If you call SET_FORMFIELD to an HTTP response, however, then the value is not defined!

This is described in IF_HTTP_ENTITY.

Leaving content frame