Skip to Content
0
Former Member
Sep 09, 2010 at 06:42 AM

Upgaradation of Script

62 Views

HI All,

This error is occuring in ECC6.0 it was upgraded from 4.6c.

In Ecc 6.0 while running the Zscript in German as well as English iam getting the Runtime error as START_FORM is invalid OPEN_FORM is Missing .But i have checked in the Print Program The OPEN_FORM is there,The code is as fallows .

Please any one can suggest why the Run time error occurs?

FORM open_formular USING zqmpruef fv_spras LIKE sy-langu.

CALL FUNCTION 'OPEN_FORM'

EXPORTING

  • device = 'SCREEN' "Formular auf Bildschirm

device = 'PRINTER' "Formular auf Drucker/Faxgerät

dialog = ' ' "Druck-options-auswahlbild sichtb.

  • IMMEDIATELY = 'X' "Sofortausdruck

form = zqmpruef "Z_FORMULAR

language = fv_spras "Vielleicht sy-langu ??

OPTIONS = pr_options "Druckoptionen lt. obiger Vorgabe

  • options = 'X' "Druckoptionen lt. obiger Vorgabe

EXCEPTIONS

canceled = 01

device = 02

form = 03

OPTIONS = 04

unclosed = 05.

CALL FUNCTION 'START_FORM'.

ENDFORM. "OPEN_FORMULAR

Regards,

Venkat