Symptom

You use a Crystal Reports layout for a marketing document that contains the parameter ExtParam@, and the parameter is placed on the layout.

  • In the Web Client, the preview opens straight away.
  • In the SAP Business One desktop client (Windows), the parameter dialog appears and asks for a value for ExtParam@ for most document types.

The same layout therefore behaves differently depending on which client you use.

Cause

This is the current standard behavior:

  • The desktop client fills in ExtParam@ automatically only for certain documents, such as the A/R invoice and the A/R down payment invoice. For other documents, it leaves the parameter empty, so Crystal Reports asks for it.
  • The Web Client always passes the value N for this parameter, for every document type.

Who is affected

All of the following must apply:

  • You use SAP Crystal Reports for SAP Business One, on SQL Server or SAP HANA.
  • A layout for a marketing document uses the ExtParam@ parameter.
  • You preview or print the document from the desktop client, for a document type that does not fill the parameter automatically.

Workaround

There is no setting that makes the desktop client fill ExtParam@ for all documents. You can reduce the impact in the layout:

  1. Open the layout in SAP Crystal Reports.
  2. In the Field Explorer, open Parameter Fields and edit ExtParam@.
  3. Enter N as the default value, the same value the Web Client uses.
  4. Save the layout and import it again in SAP Business One.

The parameter dialog still appears in the desktop client, but N is already filled in, so users only confirm it.

If the layout does not actually use ExtParam@ in a formula, a selection or a visible field, check whether you can remove the parameter from the layout instead. Test that change on a copy of the layout first.

For a general check of report parameters, see Missing or incorrect Crystal Reports parameters in SAP Business One.

Confirm the result

  • Preview the same document in the desktop client and in the Web Client.
  • In the desktop client, the dialog shows N as the default, and both previews show the same content.
  • Check one A/R invoice as well, since the desktop client fills the parameter for this document type itself.