Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Missing parameter error using a Crystal report as a print layout

Hi Experts

I have the following problem.

I am doing production orders in SAP Business One. Going through the whole process no problem.

My system is set (Print Preferences) to print the production order as soon as the add button is clicked at the end of production order capturing process.

My report layout is a Crystal report layout, and is set as my default document type to use.

When I press the add button to finalise the production order things are going wrong.

I get the message. u201CMissing parameter valueu201D. The message box name is u201CCrystal Report Windows Form Vieweru201D

The Crystal report has one parameter called DocKey@

That is linked to a filter in Crystal ({OWOR.DocNum} = {?DocKey})

I suspect the problem is due to the fact that the record (OWOR.DocNum and the rest of the fields) are nor written to the SAP tables at the time when the report tries to u201Cretrieveu201D the data from the table.

The reasons I say this is because the layout print works fine if you reprint any production order that is already in the system tables

How do I solve this u201CRuntimeu201D problem to print the document immediately after adding the production order.

Regards

Burger

Former Member
Not what you were looking for? View more on this topic or Ask a question