cancel
Showing results for 
Search instead for 
Did you mean: 

Changing the window type at runtime is not allowed

Former Member
0 Kudos

Hi,

I am executing a smartform.When we do the print preview,we get the following message:

"Changing the window type at runtime is not allowed"

Please let me know if you have pointers to this error.

Thanks.

On further search,we found that the perform

PERFORM set_late_window is illegal to use in ECC6.0

We checked note No. 359009,shifted the source code node to the window for which the perform is used.Still the same error shows while executing the smartform.

Please suggest what needs to be done for the same.

Edited by: p317980 on Jun 27, 2011 10:06 AM

Accepted Solutions (1)

Accepted Solutions (1)

aidan_black
Active Contributor
0 Kudos

Hi,

You should remove the PERFORM set_late_window coding completely and simply define the window as window type 'Final Window' in the smartform.

Regards,

Aidan

Former Member
0 Kudos

Hello Aidan,

Thanks for your prompt reply.I did as you suggested,but the perform still exists in the form,just it has been shifted to window which calls the perform.I activated the form & its working with just the error that standard text does not exists.

Thanks a ton!!!!!

Former Member
0 Kudos

Closing thread,Question answered.

Thanks.

Answers (0)