Skip to Content
avatar image
Former Member

Upgaradation of Script

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 10, 2010 at 05:06 AM

    Hi Venkat,

    When you run this code, what's the return code from the OPEN_FORM call? If that is non-zero then the START_FORM call would fail.

    Regards, Andy

    Add comment
    10|10000 characters needed characters exceeded