Skip to Content

WRITE_FORM invalid, START_FORM missing

Hi All,

In my script I have only PAGE1 and Next page as PAGE1. In my print program in internal table I have 6 records. I am getting the output if I have single record in my itab. If I have multiple records I am getting error "WRITE_FORM invalid, START_FORM missing". I have not used START_FORM in my print program.

Below is my code:

* Header details

call function 'WRITE_FORM'

exporting

element = 'HEADER_DET'

window = 'HEADER'.

* Item Data - MAIN Window

loop at t_final into wa_final.

call function 'WRITE_FORM'

exporting

element = 'MAIN_DATA'

window = 'MAIN'.

endloop.

call function 'WRITE_FORM'

exporting element = 'FOOTER_DET'

window = 'FOOTER'.

Please help me if I am missing anything.

Thanks,

HT

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jan 02, 2017 at 12:58 PM

    Dear Haritha,

    Check whether you are testing the script in same client. If you are testing in different client, then you have to use client copy.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 03, 2017 at 06:54 AM

    What did you pass to OPEN_FORM, in some case START_FORM will be required (e.g. If you omit the form name in open call)

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded