‎2008 Feb 08 8:00 PM
hello experts,
A small problem. I have changed a program according to the unicode syntax and the tried to execute it.
the syntax check is all correct but I got this message
Report Z_USERS_BY_TCODES can only be started with a variant
Message no. DB623
Diagnosis
You attempted to start a report without specifying a variant. However, the report attributes
stipulate that the report can only be started using a variant.
System Response
The report cannot be started.
Procedure
Please choose a variant for starting the report.
So I want to know how to create a variant for a program.
And am I supposed to change such programs??? or should I have created a variant and the changed the variant?
I am a newbie, so dont know the standards yet.
Thanks in advance
Goldie.
‎2008 Feb 08 8:08 PM
‎2008 Feb 08 8:08 PM
‎2008 Feb 08 8:12 PM
I TRIED TO execute it using SE38.
That is when I got the message.
‎2008 Feb 08 8:23 PM
In the attributes of the program, (you can see this from SE38), you've got Start Using Variant set.
matt
‎2008 Feb 08 8:26 PM
In SE38, use menu path:
Program->Execute->With variant
Select a variant and it should be OK.
Rob
‎2008 Feb 08 8:32 PM
Hi Matthew,
I looked at the attributes of the program.
It is a executable program. Where ca I see if it has the attribute Start using variant set?
how can I set it?
‎2008 Feb 08 8:34 PM
Hello Rob,
Thanks for the tip.
I found it just before I got your message :D.
but I have something to ask you.
Should I have changed the program directly??
What would you have done in my position??
Please answer this.
goldie.
‎2008 Feb 08 8:39 PM
Hello
Since you have just changed the code, no change in variants occur.
so you needn't worry about changes to variant.
If you want to create a variant, go to se38 and click variants and press change.
Cheers
~Arun
‎2008 Feb 08 8:52 PM
It was set for a reason, so I wouldn't go about changing it without approval.
Rob
‎2008 Feb 08 8:56 PM
But the program showed SERR syntax error when I ran the UCCHECK transaction, thats why I changed it
‎2008 Feb 08 8:58 PM
I guess Rob is talking about changing the Variant.
Variant change should be done only after consultation as Rob mentioned...Program code change is needed since you are doing unicode check
Cheers
~Arun
‎2008 Feb 08 9:04 PM
Oh ok....
Thank you for helping me out.
I still would like to know how one can create a program that only starts using a variant.
‎2008 Feb 08 9:14 PM
It's one of the program attributes.I was saying that you shouldn't turn this attribute off unless someone atually requests it.
Rob
‎2008 Feb 08 9:28 PM
Oh no, I am not changing the attribute only the code.
The only attribute I am changing is the unicode checks active flag.
‎2008 Feb 08 9:31 PM
‎2008 Feb 08 8:35 PM
Hi
In the selection screen of the report, press SHIFT+ F5
Cheers
~Arun