Application Development 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: 

[SQ01] Copy query from /SAPQUERY/AM

Former Member
0 Kudos

Hi there. I try to copy a 01 query from /SAPQUERY/AM usergroup to my testgroup (ZWOP) to have possibility working with report copy.

But when I enter /SAPQUERY/AM then choose 01 and press 'Copy' icon, the default target usergroup is /SAPQUERY/AM and I can't change it into ZWOP.

When I try to put a copy into /SAPQUERY/AM, I receive Object can only be created in development class for namespace /SAPQUERY/

1) Could You tell me how to make that query copy ?

2) Is there a possibility to define report structure with variants to show different report structure depending on CompanyCode ?

2 REPLIES 2

Former Member
0 Kudos

In SQ01, go to your user group ZWOP. Press the copy function after you are in your user group. Then enter the /SAPQUERY/AM usergroup in the from field along with the query name.

As to adding the parameter prior to the selection screen in the query. I've never tried that. So I'm not sure how it would work.

0 Kudos

Thank's for help! That's what I'm searching for

But now I have another problem.

I copied usergroup into my test ZWOP group with all queries. But there is a problem, because InfoSet /SAPQUERY/AM01 need some modifications to meet the requirements.

For example I need to have possibility to add info about Asset's Serial Number in my query.

So I copied /SAPQUERY/AM01 into my ZAM InfoSet. Then make modifications on the copy (ZAM), generate (button 'Generate'). In the next step I applied ZAM InfoType to ZWOP usergroup.

Now when I try to edit my query (copy of original 01), I can't see Serial Number on the components list so I can't add that info to report

I've noticed that when I give my ZWOP usergroup to SQ01, there is still '/SAPQUERY/AM01' InfoSet assigned to query. How can I change that InfoSet to my ZAM ? Maybe that could solve the problem

Edited by: Piotr Wojciechowski on May 8, 2008 4:27 PM