Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WRITE_FORM invalid, START_FORM missing

Bharath84
Participant
0 Likes
805

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

2 REPLIES 2
Read only

Former Member
0 Likes
651

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.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
651

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