SAP Message QG156 - The layout set printout is not open

Diagnosis
The current layout set function could not be carried out, since thelayout set output has nit yet been initialized in the function moduleOPEN_FORM.

System Response
This causes the program to terminate.

Procedure
The problem can only be rectified by a program change.