Application Development 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: 

Sapscript

Former Member
0 Kudos
96

I have created a sapscript form with the help of the sample document.

On executing the program, I am getting the following error.

-


Window HEADER is not defined for form Z_TESTSCRIPT

-


Kindly let me know what is this error and how to correct the same.

Thanks in advance,

Mark K

4 REPLIES 4

Former Member
0 Kudos
57

Hi mark,

1. As the error suggests,

this error must be coming probably at

WRITE_FORM fm.

2. The layout should have a WINDOW

whose name is HEADER.

regards,

amit m.

Former Member
0 Kudos
57

Hi,

Please give me your print prog codes and window names of forms

Nandha..

Former Member
0 Kudos
57

Hi Mark,

In the FM WRITE_FORM you may have passed 'HEADER' to the parameter 'WINDOW' and you may not have created any window with this name in your sapscript

Regards,

Mukesh Kumar

vinod_gunaware2
Active Contributor
0 Kudos
57

Do sytax check of SAPscript form (in se71)

Use open_form, Write_form and Close_form.

Fill all header data like paragraph,Page format.

regards

vinod