Skip to Content
0

WRITE_FORM invalid, START_FORM missing

Jan 02, 2017 at 12:46 PM

68

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

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

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.

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Jan 03, 2017 at 06:54 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded