
Evaluating Form Input
Use
With web forms you can do more than merely display them in a browser. You can use the Web Attributes tab of text nodes to flag fields as
input elements. SAP Smart Forms encloses all input elements of a form in an HTML form. The procedure below describes how to use a BSP application to evaluate input into a web form.Prerequisites
You uses SAP Smart Forms to create a web form in a BSP application (see:
Integration Into BSP Applications). The form contains at least one field that is flagged as a Submit pushbutton (see also: Web Attributes).You call the Smart Form in the event handler
OnInitialization of your BSP page, for example, on the page FORM.HTM .Procedure
data: ls_output_options type ssfcompop.
ls_output_options-xsfaction = 'PAGE.HTM'.

If you do not fill the
XSFACTION parameter, the browser loads the current page again when the user clicks the Submit button (that is FORM.HTM ).data: http_fields type TIHTTPNVP.
call method request->get_form_fields
changing fields = http_fields.

Some HTML elements are passed only if they are 'active' (marked checkbox, clicked