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

Query's generating error

Former Member
0 Likes
408

Hi guys,

I have a problem with a query in an upgrade.

In the old version it works OK, but i get a short dump when i try to execute this in te new 6.0 version. I've checket the infoset and the it activates without problem. But when i go to see one of the self-generated function modules for this query; i see that one of them can't be activated.

I get an statement not accessible error message; i when i doble-click it it takes me to this source-code point:


Tables: zntcomisiones.
data: begin of itab occurs 0.
        include structure zntcomisiones.
data end of itab.
select * from zntcomisiones appending table itab.
select * from zntregular appending corresponding fields of table itab.

DATA D_ABGRU LIKE VBAP-ABGRU.

data IMPORTE(016) type P decimals 02.
data SOCIEDAD like KNB1-BUKRS.

I dont know so much about Querys, but i think it's not normal. I cannot solve the problem editing the code c'ause it's self-generated by the query and can be erased if anyone decides to reactivate it. And it demands me a key too (that I haven't got). I've tried to reactivate the infoset and the query and the systems says "ok" but the problem persists.

¿Can anyone please give me a clue?

Thank-you.

Message was edited by:

Artur Rodriguez

2 REPLIES 2
Read only

Former Member
0 Likes
371

Hello,

On tcode SQVI check the query you have, and check that the tables zntcomisiones and zntregular have the corresponding fields with the same element data.

Bye

Gabriel

Read only

Former Member
0 Likes
371

I don't need this any more.