SAP Note 10212 - CLOSE_FORM is invalid, OPEN_FORM is missing (TD423)

Component : SAPscript -

Solution : https://service.sap.com/sap/support/notes/10212 (SAP Service marketplace login required)

Summary :
When printing, a termination occurs with error TD423: "CLOSE_FORM is invalid, OPEN_FORM is missing." This is due to the calling program not handling the situations where OPEN_FORM fails, leading to an improper call to CLOSE_FORM. Typical issues include user cancellation, invalid output device, missing form, or incomplete previous print actions. To solve the issue, confirm the form's existence in the client using Transaction SE71. From Release 2.1, forms are accessed cross-client. Debug the OPEN_FORM call to identify the specific exception. Use the form debugger in SE71 if needed, and ensure active version existence and proper debugging activation for updates.

Key words :
additional key words sapscript, function module open_form returns, function module open_form, open_form function call -, error message td423, userinvalid output deviceform, active version exists, close_form function call, utilities -> activate debugger, cross-client access

Related Notes :

118494WRITE_FORM invalid because START_FORM is missing
19104Information on the SAPscript layout set debugger