Configuring the ReturnAction subnode

Prev Next

All available ReturnActions for a template are configured in the ReturnAction subnode. ReturnActions are used to transfer the generated document back to SAP for further processing. This enables subsequent SAP-based operations such as printing via SAP spool, storing the document in an archive, attaching it to business objects, or triggering follow-up processes.

ReturnAction subnode

Configuration fields

Parameter

Requirement

Description

ReturnAction Id

mandatory

Identifier for internal use.

Default

optional

When checked, this ReturnAction is set to default.

Format

mandatory

Defines how the generated document should be returned.

Filename

optional

Enter the file name of the generated document.

Mode

optional

Defines how the generated document should be returned:

  • File (default): document will be returned as file ServiceResult.GeneratedDocs

  • Text: document will be returned as text in ServiceResult.ResultMessage

SpecialFormat

optional

Specifies a special format (dox42 Server For Documents only):

  • For PDF files:

    • PDFA1b

    • PDFForm(form fields are preserved in the PDF).

  • For HTML files:

    • HTMLCode: this will cause the text of the generated document to be interpreted in HTML code.

  • EMFZIP

Sign

optional

The format PDF may bear a digital signature (dox42 Server For Documents only).

Condition

optional

If value false, the Output Action will not be performed.

NumOfCop

optional

Specifies how many copies should be generated within one file.

Active

optional

Set your configuration as active by selecting the checkbox.

For more details, see the dox42 Server documentation about ReturnActions.

© dox42 2026. All rights reserved.