cancel
Showing results for 
Search instead for 
Did you mean: 

Variable error

Former Member
0 Kudos

I got an error with queries, which somehow referenced to a variable, which is not actually in use in them.

Though, if I check "where in use" for this variable, is shows that no references not found in current query, but in "use in other queries" also the current query listed, as if this variable would present there.

I can't delete this variable, because of "references". It's also not possible to just skip or hide it - it shows selection option screen, and ask to input a value for queries, even though it is not in use in them.

Termination message sent

ERROR BRAIN (284): Variable VAR1 is incorrectly defined

MSGV1: VAR1

MSGV4: 4IJPZLKZ0H7YZGUF3BOKSNH3R

ABEND BRAIN (635): Query QUER1 could not be opened.

MSGV1: QUER1

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member209721
Active Contributor
0 Kudos

Just open the variable and look at its properties : how is it defined ?

Former Member
0 Kudos

It is just a ordinary variable for single value, processed by manual input. The characteristic, it referenced to, is in use in queries, but this variable doesn't. Just don't quite understand why query still require input for it.

former_member209721
Active Contributor
0 Kudos

Did you look at OSS notes on the market place ?

Former Member
0 Kudos

Didn't find anything related to this yet.

Former Member
0 Kudos

are you sure it isn't used? did you check whether it is used in formula's or restricted key figures?

Former Member
0 Kudos

Yes, really and 100% sure. It was in use before, but not anymore. Did check this at least few times already

former_member209721
Active Contributor
0 Kudos

OK

Another way to check if it used and where :

go to t-code RSZDELETE > Enter type "VAR" and IUD of your variable (can be found in the BEX in "Advanced" section) > execute > the system will tell you if it is deletable and give the where used list

Please provide us the result of this test

Former Member
0 Kudos

That I tried already. If deletion is not possible from query designer, it won't be possible from that transaction as well.

former_member209721
Active Contributor
0 Kudos

Gleb

That's not what I am saying

I am just asking to confirm the list of queries in which this variable is used (according to the system). The t-code RSZDELETE gives a very clear list (just expand the list under the variable name).

If the system gives you queries, that NECESSARLY means that your variable is used in these queries

Former Member
0 Kudos

Yes, in my case it shows also queries even if this variable is not in use there.

former_member209721
Active Contributor
0 Kudos

I am sorry to insist, but according to me the system can not be wrong... except if there a bug mentionned by SAP OSS.

My only advise, because I don't have access to your system, is to investigate in the queries the system gives in the list. There must be somewhere this variable is used in these queries : investigate all possibilities, there must be something that your forgot...

Just keep us updated

Former Member
0 Kudos

Good to know that at least somebody has system which cannot be wrong

In my case, I had to request help from SAP.