becks22
30th April 2009, 10:05
Hi all,
While Compiling a Report I m getting an error "ask_enum_domain "ttyeno" is wrong " ..However I am not using any such type of domain in my report ..
Please help ????

zardoz
30th April 2009, 17:25
Some question to help me to understand...

1) Is the report generated by "Generate Session" session?
2) Are you using an user with language different from 2?

If the answer to question 1 is yes, than check the "Maintain Session Generator Parameters" session, if the last field "Yes/No Domain" is ttyeno change it to tcyesno and try again to regenerate the report.

If the answer to question 2 is yes, try change the user language to 2 and compile the report.

Let me know if this is helping you...

ashu2814
27th May 2009, 09:49
Can you check the report input fields. If there is any field with such kind of domain just delete it from input fields and comiple the report again .Hope it works .

Bhavana.Vaidya
26th November 2010, 02:46
Hi,

I am getting an error ""ask_enum_domain "ttyeno" is wrong " while compiling the report scripts.I searched the threads on this issue and the solution provided did not solve the problem.

Can anyone who have faced a similar issue before help on this?

Thanks.

becks22
26th November 2010, 06:11
Hi ,
I was facing the same problem ..Its because of a domain ..U can ignore this error as I was also getting the same error but my script was compiling fine except for this error ..

You can ignore this error ..

Amol.123
26th November 2010, 09:23
Can you please check the report script if you have used ask.enum() function in there.

If yes then in that you need to give the domain which i guess in your case is ttyeno.You need to make sure that this domain exist in DD.
Syntax:

domain ask.enum( string quescode(10), domain default_enumval [, arg ] ... )

Thanks
AN

shah_bs
29th November 2010, 20:07
check the "Yes/No Domain" in the session ttadv1135m000 - Maintain Session Generator Parameters" - change that to tccom.yesno, if you have permission to do so.

Bhavana.Vaidya
1st December 2010, 10:14
Hi,

Thanks for all your inputs.But I still have the issue.

I checked ttadv1135m000 and there the domain used is tc yesno.
Also in the script we haven't used any ask_num nor domain tt yeno.

Regards,
Bhavana

shah_bs
1st December 2010, 20:13
compile the report in debug mode. That should point you to the report field that is causing the error.

If that does not help, you will then have to inspect each field in the Layout Fields sub-session and locate the field which has the faulty domain and change or remove it.