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

Changing the Query

Former Member
0 Likes
543

Hello All,

I need to make authority check on Plant which is a select-options field of the existing Query.I went to SQ02 and tried to change the code in start-of-selection(tried in other events too).When I put break-point it is getting triggered, but when I use the screen field name of plant(SP$00008) in code query is throwing an error at the generation time saying "SP$00008 is not defined by DATA statement".

In short when I try to write the code in SQ02 I am unable to access the selection fields.Please suggest what to do?

Regards,

Shafivullah Mohammad

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
510

Probably it may not be in Global declaration. Try keeping it in Global data

3 REPLIES 3
Read only

Former Member
0 Likes
511

Probably it may not be in Global declaration. Try keeping it in Global data

Read only

0 Likes
510

Hello Phani,

Thanks for ur advise but it is not the Global data it is a select-options field name.

Regards,

Shafivullah

Edited by: shafivullah mohammad on Feb 23, 2009 2:36 PM

Read only

kiran_k8
Active Contributor
0 Likes
510

Shafi,

We can change the Query and the tables used in it,but we can even change the code generated by the query?I am not aware of this,looking forward to the replies.

K.Kiran.