Using a Pre-Configured Number Range

A pre-configured number range and interval can be set in the Properties of the FAB App via the Number Range property found in the Properties section.


  • Number Range: An existing SAP Number Range Object defined via SNRO.
  • Interval: An existing Number Range Interval defined for the given Number Range Object.
  • Prefix: An optional prefix will be added to the number obtained from the number range.
  • Remove Leading Zeros: This will determine whether or not to remove leading zeroes from the generated number.

The resulting document number obtained will be stored in the data model as a system field (ZdocumentNumber).  Note: ZdocumentNumber has maximum length of 30 characters.


To cause the Document Number to be generated, it is necessary to check the Number Range property in the Workflow ‘Status Changes for Actions’ section for the appropriate status.

Classic Workflow Mode


Process Workflow Mode

The resulting document number will also be stored in an auxiliary table /IQX/FORMHD_DOC along with the Form Name and Instance . This is intended to aid in searching for Instances based on the Document Number.

If it is required to over-ride the Document Number generation it is possible to Redefine method APPLY_DOCUMENT_NUMBER in your implementation class.