FLM data model

Key FLM Tables

All FLM objects and code are delivered in the /FLM/ namespace.

Some the main tables used by FLM are:

Table Namedescription
/FLM/FPE
Main index table for form instances
/FLM/FPE_H
Form history table
/FLM/FPE_EXEC

Form Posting Engine Execution table


/FLM/FPE_ERR
Form Posting Engine Log table

/FLM/FPE_ARC

/FLM/FPE_H_ARC

/FLM/FPE_EXEC_ARC

/FLM/FPE_ERR_ARC


Archive tables.

Forms can be archived using program /FLM/FORM_ARCHIVE and reloaded using program /FLM/FORM_RELOAD


/FLM/FDD_SF
Table to store subform nodes for form data schemas
//FLM/FDD_FLD
Table to store field nodes for form data schemas
/FLM/FTYPE_CLASS
Client-independent table storing link between a form type and a form class

Form Classes

Form classes are classes of type /FLM/nnnn where nnnn is a counter. These classes store all the user-exit code for a form process, and each user-exit is managed as a method.

Form classes are mapped to form types by the FLM Form Wizard, and this mapping is stored in table /FLM/FTYPE_CLASS.  This is the only client-independent table included within FLM.

The same form type can be linked to a different form class on a different client within the same SAP instance.  This is achieved by using a different customer code in each different SAP client.

When all existing form classes are allocated, new form classes need to be generated using program /FLM/SFS_CLONE_CLASS (transaction /FLM/SFS_CLONE_CLASS).

Occassionally, form classes need to be re-activated following import after migrating through the SAP transportation path.  This is achieved using program /FLM/SFS_CLASS_REGEN (transaction /FLM/SFS_CLASS_REGEN).

One of the classes is reserved for the customer code, and stores the customer-level user-exits.

APIs

Some key FLM function modules are:

Function MoDULEDEscription
/FLM/PDF_OUT
This is the main function for generating a PDF form.
/FLM/PDF_IN
Ths is the main function for processing inbound PDF forms.
/FLM/XML_OUT
This is the main funtion for generating a XML form data (used for Flex forms)
/FLM/XML_IN
This is the main funtion for processing inbound XML form data (used for Flex forms)
/FLM/OFFLINE_FORM_PROCESSOR
This function generates an offline form
/FLM/PDF_GENERATE_NEW
This function generates a new PDF form, and routes it to an owner

Authorisation checks

 See the Authorisation Guide.