Entering content frameBackground documentation Connection Parameter FUNCTION_GET_FORM_DATA (SP for Documents) Locate the document in its SAP Library structure

This connection parameter is related to the Set Form Field symbol that is available to the user when processing Word documents. You can use this symbol to enable automatic filling of form fields in the document. A common example is setting dates in the form fields of a document template.

The connection parameter FUNCTION_GET_FORM_DATA offers a user exit. As a value, enter the name of a function module that reads the data that is to be set in the form fields.

For example, SAP supplies the function module SRM_BDV_GET_FORM_DATA. This is entered as a value for the connection parameter FUNCTION_GET_FORM_DATA in the supplied element type SRM_SPS_DOCUMENT. A function module that you have implemented must have the same interface as this example function module. For more information, see the online documentation for the function module SRM_BDV_GET_FORM_DATA.

If you do not enter a value for the connection parameter FUNCTION_GET_FORM_DATA, form fields in a document can be filled using a standard mechanism: In the standard setting, the system reads the data from the attribute values of the record in which the document is integrated. Attribute values are assigned to form fields with the same names. If you want to use this mechanism, when creating form fields ensure that you call these exactly the same names as the record attributes that you want the system to transfer into the document.

Leaving content frame