ABAP Query - Sq03 0 infosets missing post upgrade to ECC 6.0
Hi ,
After upgrading from 4.6C to ECC 6.0 we found that few infosets from SQ03 & also from SQ01 is missing in the upgrade box ECC 6.0.
Can anyone help to troubleshooting it.
Thanks & Regards
Senthil
Hi,
In Upgrade, the some queries may not be generated...
hence you need to regenrate the queries...
Use the FM : RSAQ_GENERATE_PROGRAM
This FM needs input the Query name and the functional area...
The output will be the generated program....
To generate all queries, write a custom report using the above FM..
Reweard if useful
Regards
Shiva
Similar Messages
-
ABAP Query Miising after ECC6.0 Upgrade from 4.7
Hi
We are upgrading from 4.7 to ECC 6.0. After upgrading, we found that ABAP queries that were there in 4.7 are missing. It gives an error that AQZZ####... Program not found.
What could be the problem, is there something we left out while upgrading?
Regards
Ramyaso you say, the tcode directly calls a program? The generated program name might be different between releases.
A tcode for query has to look like:
Create a transaction calling transaction START_REPORT with the following parameters/attributes filled :
D_SREPOVARI-REPORTTYPE= AQ "parameter indicating Abap Query
D_SREPOVARI-REPORT= ' ' "Query User group
D_SREPOVARI-EXTDREPORT= ' ' "Query name
Did you check the standard / global areas in SQ01?
Message was edited by:
Eric Cartman -
Query running for long post upgrade to Oracle 11g from 10g
The below query is running for a very long time post upgrade of database from 10g to 11g.
SELECT default_supplier
FROM (SELECT pv.vendor_name || '-'
|| pvsa.vendor_site_code default_supplier
FROM mrp_item_sourcing_levels_v mislv,
mfg_lookups ml1,
mfg_lookups ml2,
mfg_lookups ml3,
mtl_system_items_b msib,
po_vendors pv,
po_vendor_sites_all pvsa
WHERE msib.segment1 = :b1
AND msib.organization_id = :b2
AND mislv.inventory_item_id = msib.inventory_item_id
AND mislv.organization_id = msib.organization_id
AND ml1.lookup_type = 'MRP_SOURCING_RULE_TYPE'
AND ml1.lookup_code = mislv.sourcing_rule_type
AND ml2.lookup_type = 'MRP_ASSIGNMENT_TYPE'
AND ml2.lookup_code = mislv.assignment_type
AND pv.vendor_id = mislv.vendor_id
AND pvsa.vendor_site_id = mislv.vendor_site_id
AND pvsa.vendor_id = mislv.vendor_id
AND ml3.lookup_type = 'MRP_SOURCE_TYPE'
AND ml3.lookup_code = mislv.sourcing_level
AND mislv.sourcing_level =
(SELECT MIN (sourcing_level)
FROM mrp_item_sourcing_levels_v
WHERE inventory_item_id = msib.inventory_item_id
AND organization_id = msib.organization_id)
UNION
SELECT ood.organization_code default_supplier
FROM mrp_item_sourcing_levels_v mislv,
mfg_lookups ml1,
mfg_lookups ml2,
mfg_lookups ml3,
mtl_system_items_b msib,
org_organization_definitions ood
WHERE msib.segment1 = :b1
AND msib.organization_id = :b2
AND mislv.inventory_item_id = msib.inventory_item_id
AND mislv.organization_id = msib.organization_id
AND ml1.lookup_type = 'MRP_SOURCING_RULE_TYPE'
AND ml1.lookup_code = mislv.sourcing_rule_type
AND ml2.lookup_type = 'MRP_ASSIGNMENT_TYPE'
AND ml2.lookup_code = mislv.assignment_type
AND ml3.lookup_type = 'MRP_SOURCE_TYPE'
AND ml3.lookup_code = mislv.sourcing_level
AND ood.organization_id = mislv.source_organization_id
AND mislv.sourcing_level =
(SELECT MIN (sourcing_level)
FROM mrp_item_sourcing_levels_v
WHERE inventory_item_id = msib.inventory_item_id
AND organization_id = msib.organization_id))
From the trace files, we see that the issue is with the seeded view, mrp_item_sourcing_levels_v.
Need pointers for fixing the performance.The ETRM says this about the view:
***** Warning: Oracle Internal Use Only *****
Oracle Corporation does not support access to Oracle
applications data using this object, except from standard Oracle Applications programs.
which is a powerful suggestion that you should not be addressing this view directly. Looking at the source code for the view, it has a bunch of UNIONs that may prevent view merging, and all the queries have loads of hints coded within them. So really, there is little you can do about this.
It looks pretty simple to re-write your query to avoid addressing this view, you are using it only to retrieve a couple of columns. If you look at the source code for the view you'll see that you can get them easily without going through the view.
John Watson
Oracle Certified Master DBA -
hi
experts,
i am developing a report using abap query .(stand t code is s_alr_87012277 it contain more fields but i want only 4 fields , i found 2 but remaining 2 are from structure)
my problem is that debit and credit amount is in structure
how i can get data from structure(FAGL_S_RFSSLD00_LIST )
solbm = debit.
habbm = credit.
report is like
op.
gl acc no, discription, credit amount,debit amount.Hi ajay,
try to use with logical database SDF.
assign the logical database name in info set.
gl acc no - SKA1-SAKNR
debit. - Field: um02h
credit. - field: um02s
discription - SKAT-TXT20
regards,
sateesh. -
Abap Query on most Latest Posting Date in G/L Account
Dear All
This is the new request that has come from the client. What they want to see is the G/L account and the most recent Posting Date. For eg Lets say that 220000 has 3 line items
1000 in march 06
2000 in april 06
3000 in may 06
End user wants to see Balance as 6000 and the most recent Posting date as may 06. If i Pull Accounting Doc # and Posting Date it will give me all the details and date which i dont really want. How do i do it ?
Please help me
Thanks
SameerHi,
what we can do is that get all the line items for a G/L account in an internal table. Sort it descending by date. Pick the first row's date and then simply sum up the quantities.
Hope this helps.
Regards,
Himanshu. -
Query to calculate downtime while upgrading from ECC to EHP4
Hi Folks,
I am having below doubts for calculating downtime phase for ehp4 downtime.
1.Do the end users will be able to work (In Production) in pre-processing phase in EHP4 upgrade u2026? (I think yes)
2.How we will count the downtime like from Preprocessing phase to until System is up ? or we will count from Downtime Phase. (I think from downtime phase)
Regards,
SahilHi,
>
> 1.Do the end users will be able to work (In Production) in pre-processing phase in EHP4 upgrade u2026? (I think yes)
>
Yes. Users will be able to work till pre-processing phase.
> 2.How we will count the downtime like from Preprocessing phase to until System is up ? or we will count from Downtime Phase. (I think from downtime phase)
>
There is no formula to calculate downtime as it depends upon number of factors like system resources (RAM &CPU), no. of R3load processes, no. of background processes, Parameters tuning etc.
Do a test upgrade on your sandbox system (copy of production system) to get idea of downtime required.
Thanks
Sunny -
Programs generated using ABAP query vanishes after upgrade
Hi all,
The programs generated using abap query in sq01 vanishes after upgrading from 4.6C to ECC 6.0 system.
Is this a know issue, do we have a solution for this?
Can anyone help
Thanks
SenthilHi,
Try to generate the Queries again in the new system...using the FM : RSAQ_GENERATE_PROGRAM
The input needed is the Query name and the usergroup...The details can be obtained from the table AQLQCAT(local queries areas) and AQGQCAT(global areas queries).
Once you generate the query , a program gets created...
if you have lots of queries to be genretated, write a custom report by fetching the data from the above tables and use the FM to generate the same...
Hope this helps you..
Reward if useful
Regards
Shiva -
Hi ,
I have an existing abap query whose infoset has logical database ADA.
Now I have to add a new table ANLC to this existing query .
My main task is to add 3 new fields in the output of the existing abap query One is a direct field from the ANLC table namely Acquisition value and 2 other fields will be derived from the following formula :
anlc-Acc ordinary depreciation + anlc-Ord. depreciation posted = Total accumulated depreciation.
NBV = Acquisition value u2013 Total Acc depreciation
Could you please sugest:
1. how to add the ANLC table in the query?
2. How to calculate the above two fields and populate the output in an abap query?
Thanks,
Suchi.No, above mentioned is not the solution for your problem.
I believe you want to write ABAP Query (i.e. Tcode SQ01), NOT the SQL Query in a normal program.
Now, if you want to put abap code behind a field in your SQ01 query then you need to create custom field in your infoset. To learn how to create custom fields I have written a blog: SAP Adhoc Query SQ01 SQ02 SQ03
Good news is that you do not need to create custom fields for the requirement that you mentioned.
i want to fetch data where one field begins with 1* or 2* or 3* or 4* .
For this, simply put the field on the selection screen by selecting appropriate check box and just use 1, 2, 3* or 4* in on the selection screen.
Where should i COUNT the data selected and display it .
when you execute the report, click on the 'Layout' icon, and select 'Column for number of rows'. It will give you last row with count. You can then save the layout as default layout so that it appears automatically.
If you want to do anything different than above then you need to create custom fields, see my blog for that. -
hello experts ,
i am using ABAP query (sq01) infoset ( logical database ).Is it possible to add extract feature in the abap query selection screen . if possible then how?
thanks
vivekHi Vivek,
Its not possible. Whenever you activate your query it generates a standard program & its not modifiable.
Regards
Abhii -
ABAP Query not transporting properly
Hi,
I m trying to transport an ABAP Query and infoset together in a single change request. The infoset of query has generated fine except for some warnings about currency. And the query is also running fine on development. But when I transport the infoset and query together to the quality client the transport log shows the transport as successful, but doesnt show the.
Activate inactive runtime objects at all.
Also the query and infoset have not been transported, I checked in SQ02.
Please see the transport log below. I dont know what I m doing wrong. I cant move the infoset and query separately to production, I have to move them together. Any suggestions, will give points for the right answer. Thanks for reading
QTD Master Data QA
600 Selection for Import 11/30/2006 17:08:14 (0) Successfully Completed
Check Versions 11/30/2006 17:13:03 (0) Successfully Completed
600 Selection for Import 11/30/2006 17:13:50 (4) Ended with Warning
600 Import 11/30/2006 17:14:30 (0) Successfully Completed
5 Import steps not specific to transport request
Feedback after export or import 11/30/2006 17:13:15 (0) Successfully CompletedHi
After transport the request from original system to destination system, you have to do the import.
So run trx SQ02, Enviroment->Transports
Here you should be in the same screen where you have created the request.
Now choose <b>IMPORT</b> options,<b> Overwriting allowed</b> chekbox ans insert the request number in <b>Dataset with imports</b>.
Max -
Infoset query giving error post upgrade
Hi All,
We have upgraded our system from BW 3.5 to BI 7. Post upgrade we are getting error while opening/executing queries on infoset.
In ST22 the error is UNCAUGHT_EXCEPTION -CX_RSD_NAME_ERROR.
The infoset is active.
Thanks for the help.
Regards,
NirajDear Both,
I resolved the problem by applying the solution suggested by Wond.
The SP details are as below,
SAP_BW 700 0015 SAPKW70015 SAP NetWeaver BI 7.0
We were facing this issue in development system. We didn't faced this issue in sandbox which was a copy of production. We are in process of upgrading now quality.
Points assigned to Wond.
Thanks to both for help.
Regards,
Niraj -
ABAP Query - Sorting Issue in Basic List (SQ03)
Hi,
I have developed a ABAP Query. I want to sort some of the fields, for which I need to add some output fields to the sort sequence box in the Basic List page in SQ03/SQ01. But, I am not able to drag and drop the fields directly. Please suggest how can this be done? Thanks in advance.
Best Regards,
Tejas SavlaHi Abhishek,
There are three things related to Query.
1) You have to create the USER GROUP in SQ03.
2) You have to create the Infoset in SQ02. In this infoset you can write the logic of the program/Query what ever you want to perform.So you can sort the table in the infoset in the program logic.you have to create the output table of the query.
3) you have to create the Query in SQ01 and you have to associate the User group and infoset . you have to design the layput of the output you want to have.this output fields would be same as you have defined in infoset(step 2).
hope this will help you.
thanks
Tanmaya -
ABAP Query - Differences in generated code after upgrade
Hi all,
We have upgraded to ECC 6. from 4.6C. We are experiencing differences between the behaviour of some queries in different systems. This can be as subtle as some of the output parameters not appearing on the selection screen (such as the options within the output format box, i.e. ABAP list, ABC analysis etc), to actual syntax errors in queries where there is no difference between the infosets and queries in the two systems.
A pattern I have noticed is that there are big differences in the generated code behind the query transaction.
In production, where we have the problems, the generated code contains a lot of include programs starting with /1BCDWB/, I am not sure what these are, but the generated code in the systems that work don't have these. I am not sure what is triggering the code to generate differently, but I think if I can find out then it will point me in the right direction.
any help appreciated.
StephenStephen,
I have noticed the queries are generated with two different formats. One is very compact and has multiple different includes each for data, selection screen, various selection screen events, etc. Other is a single big non-modular program.
We have also noticed generated program template gets reset to the non-modular kind, if additional code is added in the selection-screen code section of the infoset. They do not return to the original even after you undo the changes. -
Abap Query missing in Dev & Production
Hello all,
I've got a query report named AQFKSYSTQV000004ZLISTMAT====== which does not have infoset neither user group assigned, however it can be lauch through SE38.
As seen on FM RSAQ_GENERATE_PROGRAM.
* Namenskonventionen
* AQwwbbbbbbbbbbbbqqqqqqqqqqqqqq:
* ww - 00..99 Mandant 000 bis 099 im Standardbereich
* A0..YZ Mandant 100 bis 999 im Standardbereich
* ZZ im globalen Standardbereich
* bbbbbbbbbbbb - Benutzergruppe
* qqqqqqqqqqqqqq - Query
Query: ZLISTMAT
User Group: SYSTQV000004
I already launched START_REPORT with usergroup SYSTQV000004 and query name ZLISTMAT, look up through SAP Notes, report RSAQR3TR import/export utility, but this can't be done because it does not exist in our client
We're on an upgrade from 5.0 to 6.0 and SAP suggests not to tranport OT between different systems.
Question is, how can we find out where Abap Query is defined?
Thank you and have a nice day,
Ruben.Hi Ruben,
You could try the following Work around
1. Goto Table TRDIR with your program name and find who created the program. This would mean that the Quick View has been created by the same person.
2. Goto transaction SQ01 in each of the available clients of your system and goto the following path QUERY->Convert Quickview
3. Now give the user name from TRDIR in the field USER and use the F4 of the field Quickview to check if the Query ZLISTMAT exists in the same client. If it does convert it into a ABAP query and then using the download option in SQ02 move the query to the Dev environment and Prod also if required.
Hope this helps. -
SAP Query missing in upgraded server
Hi All,
Our client has upgraded from SAP R/3 4.6c to ECC 6.0.
After the upgrade, in the new upgraded server some of the programs are missing. But they exist in the old version(4.6c)
The following are programs are missing in upgraded system:
1) AQA0NUCLEAR_OPS=TASKS_BY_DATE=
2) AQA0NUCLEAR_OPS=TASKS_BY_FLOC=
3) AQA0NUCLEAR_OPS=TASKS_BY_BUILD
4) AQA0NUCLEAR_OPS=TASKS_BY_CODE=
5) AQA0ZFI=========ZFIDOC3=======
I hope they are standard programs(Generated from an SAP/ABAP Query) as they do not start with Y or Z
I would like to know why they are missing in upgraded system and whether they are auto generated programs (Generated by a SAP Query etc )
IF any related notes are available to restore back on the upgraded system let me know
Regards
ShivaHi
These are all Query related programs.
they are not captured in Transport requests
and they are user and client dependent also.
No other way
they have to be developed/generated in ECC6.0 separately.
this is the drawback with the query/s
Reward points if useful
Regards
Anji
Maybe you are looking for
-
Ok, I did a back up today around 3. MY most previous back up was 7-7-12. When i did the backup it saved all the info to the comp like it normally would. Then I updated the phone after backing it up to itunes. After the software download....I attem
-
Error: ORA-16525: the Data Guard broker is not yet available
Hi , After upgrading from 11201 to 11203 ON AIX GI/RDBMS on standby but have not upgraded the primary db yet.I had set dg_broker_start=false and disable configuration before i started the upgrade . once the GI for oracle restart was upgraded i upgrad
-
Mountain Lion MBP to Projector difficulties.
Mountain Lion MBP to Projector difficulties. I have the right VGA cable and the VGA to miniport adapter, but no luck. The "arrangements" tab in the Display section of the system preferences doesn't even appear. I've tried low resolution, safe boots,
-
I need to export, and import, a complete database, from one server to another. This is my first attempt at this. I am doing this on Oracle 9i (both servers) - and Linux. The data file names & tablespace names on the 2 servers are different. Question
-
How to set focus on only one window?
Say, I have a main window with a button inside, and if the user presses on that button, another warning window with an OK button inside will then pop up. Now the question is how can I disallow the user from returning back to the main window unless th