This website is not affiliated with, sponsored by, or approved by SAP AG.

CLOSE_FORM layout set is missing when get the print preview

Development SAPscript/ Smartforms

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

CLOSE_FORM layout set is missing when get the print preview

Postby Alicealice » Wed Oct 26, 2011 7:57 pm

Hi,

In my print program is included first sapscript and second sapscript. There is an error when try to get a print preview for PO.
Error: CLOSE_FORM for layout set Z_PURCHASE_ORDER is missing

Besides, I was wondering why the first sapscript name is different which is xformular rather than Z_PURCHASE_ORDER?
Could someone guide me?

CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = xformular
language = nast-spras
OPTIONS = itcpo
archive_index = toa_dara
archive_params = arc_params
device = xdevice
dialog = xdialog
EXCEPTIONS
OTHERS = 01.

Thank you.
Alicealice
 
Posts: 72
Joined: Sun Oct 02, 2011 11:52 pm

Re: CLOSE_FORM layout set is missing when get the print preview

Postby SHS » Wed Oct 26, 2011 11:19 pm

I think the error speaks for itself.
You need to close the purchase order form using function module CLOSE_FORM.

xformular is a variable which (hopefully) points to the form name specified in Customizing (check table TNAPR via transaction SE16 for your output type).
SHS
 
Posts: 483
Joined: Mon Mar 06, 2006 3:57 am


Return to SAPscript/Smartforms

Who is online

Users browsing this forum: No registered users and 3 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.