What is SAVE WITH ID in ABAP Query?
There is an option on the selection screen when we want to save an abap Query.
This option is "SAVE WITH ID " and a text field is given where we can give some id name.
How do we view this saved list.
where should we search to see this list.
Hello,
You can run a query in background mode with the option 'Save with ID'. Later you can view the output of the query form Transaktion SQ01 with the button 'Display Saved Lists'.
This is manly for long running queries, who can run during nighttime.
Kind regards
Franz
Similar Messages
-
What's wrong with my approval procedure query ?
Hi everybody,
This is my query :
SELECT DISTINCT 'TRUE' FROM RDR1 WHERE $[$38.U_Prix_plancher.number] >=$[$38.Price.number]
What's wrong with that ?
Thanks
AraAra,
The problem is not with your Query but the problem is with the way the Query gets trigerred for an Approval Process.
SAP only recognizes the value of a $[$38.x.x] parameter when that particular row is active.
I suggest you can test this by simply highlight that particular row which breaks the rule and try to Add the document and you will see that the Approval Procudure will fire.
Also remember an Approval Procudure works only when you are in Add Mode and does not on Update.
Regards
Suda -
What to do with your original table query when partitions are added?
Relating to SSAS Tabular in VS2013:
This is something that has always bugged me and I haven't found any documentation on it...
Say for example I create one query for the last 5 years worth of data. Before deployment, I partition it into 5 sections - one for each year.
Now when I click on Table Properties, it still shows the original query for 5 years. What can I do with this screen? Is there any functional benefit? It seems rather pointless... I usually clean it up with something similar
to the below simply for the sake of cleanliness:
Select col1 as NULL, col2 as NULL, col3 as NULL etc...
Any advice is welcome!
Thanks,
SimonSorry not clear on which screen you're talking about
Can you post a screenshot?
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
What is wrong with this dynamic LOV query?
I am trying to create a dynamic LOV which contains calendar week numbers, given a bind var containing the year. If the year given is this year I want the LOV to contain all weeks up to but not including this week, if the year given is in the past I want the LOV to contain all weeks in that year.
Here is my query;
select display_value, week_num from
(select decode(
:P31_YEAR,
to_char(sysdate, 'YYYY'), to_number(to_char(sysdate, 'IW')),
1+to_number(to_char(to_date('31/12/' || :P31_YEAR, 'DD/MM/YYYY'), 'IW'))
) max_weeks,
level week_num,
'Week ' || level display_value
from dual
connect by level < 54
) where week_num < max_weeks
When I try to create the dynamic LOV Apex tells me the query is invalid. It runs in TOAD and as far as I can see follows the LOV query rules.Try this:
select display_value d, week_num r from
(select decode(
nvl(:P13_YEAR,'2007'),
to_char(sysdate, 'YYYY'), to_number(to_char(sysdate, 'IW')),
1+to_number(to_char(to_date('31/12/' || nvl(:P13_YEAR,'2007'), 'DD/MM/YYYY'), 'IW'))
) max_weeks,
level week_num,
'Week ' || level display_value
from dual
connect by level < 54
) where week_num < max_weeks
Scott -
What is the use of abap query?
hi sap gurus,
good morning to all,
what is the actual relecance of abap query ?
i know that we can generate simple reports
but
what kind of reports ?
give some examples plz.
regards,
balaji.t
09990019711Hi Balaji,
Here is the details of ABAP Query
ABAP Query
An ABAP Workbench tool that enables users without knowledge of the ABAP programming language to define and execute their own reports.
In ABAP Query, you enter texts and select fields and options to determine the structure of the reports. Fields are selected from functional areas and can be assigned a sequence by numbering.
ABAP Query offers the following types of reports:
Basic lists
Statistics
Ranked lists
I hope it will clear for you,
Regards,
Murali. -
How to create an ABAP Query with OR logical expression in the select-where
Hi,
In trying to create an ABAP query with parameters. So it will select data where fields are equal to the parameters entered. The default logical expression is SELECT.. WHERE... AND.. However I want to have an OR logical expression instead of AND.. how can I attain this??
Please help me on this.. Points will be rewarded.
Thanks a lot.
Regards,
Question ManHi Bhupal, Shanthi, and Saipriya,
Thanks for your replies. But that didn't answer my question.
Bhupal,
You cannot just replace AND with OR in an ABAP QUERY. ABAP QUERY is a self generated SAP code. You'll just declare the tables, input parameters and output fields to be displayed and it will create a SAP standard code. If you'll try to change the code and replace the AND with OR in the SAP standard code, the system will require you to enter access key/object key for that particular query.
Shanthi,
Yes, that is exactly what need to have. I need to retireve DATA whenever one of the conditions was satisfied.
Saipriya,
Like what I have said, this is a standard SAP code so we can't do your suggestion.
I have already tried to insert a code in the ABAP query (there's a part there wherein you can have extra code) but that didn't work. Can anybody help me on this.
Thanks a lot.
Points will be rewarded.
Regards,
Question Man -
What is wrong with my XPath Query ??
Hi Guys,
please help me to solve the following problem. Trying to execute :
XPathAPI.selectNodeList(MyNode,"//*[starts-with()='WType']")
throws always an exception :
javax.xml.transform.TransformerException: FuncStartsWith only allows 2 arguments
What doesn't that mean ? What's wrong with my query ?According to my XSLT book, the starts-with() function requires 2 arguments. You haven't given it any arguments, and that seems to be exactly what the error message is telling you. And it returns a boolean, so comparing that with a string isn't going to work either.
I suggest you will find Mulberry's xsl-list a better place to ask questions about XSLT than a Java forum. You can find it here:
http://www.mulberrytech.com/xsl/xsl-list/ -
Pleas what is wrong with this query
select h.business_unit_id bu, h.edi_sequence_id seq, d.edi_det_sequ_id dseq, s.edi_size_sequ_id sseq, h.po_number po, h.total_unit tUnit, h.total_amount tDollar, s.quantity qty, s.unit_price price,
(select (case when count(*) = 0 then 'N' else 'Y' end)
from(select s.business_unit_id, s.edi_sequence_id, s.edi_det_sequ_id, s.edi_size_sequ_id
from sewn.nt_edii_purchase_size s
where s.business_unit_id='01'
and s.edi_sequence_id = '168420'
and (s.edi_sequence_id, s.edi_det_sequ_id, s.edi_size_sequ_id) not in
(select edi_sequence_id, edi_det_sequ_id, edi_size_sequ_id
from sewn.nt_edii_po_det_error
where business_unit_id = '01'
and edi_sequence_id='168420'
and error_code in(select error_code
from sewn.nt_edii_error_codes
where severity='CR'))))eligible
from sewn.nt_edii_purchase_size s, sewn.nt_edii_purchase_det d,
sewn.nt_edii_purchase_hdr h
where h.business_unit_id = '01'
and h.edi_sequence_id = '168420'
and h.business_unit_id = d.business_unit_id
and h.edi_sequence_id = d.edi_sequence_id
and d.business_unit_id = s.business_unit_id
and d.edi_sequence_id = s.edi_sequence_id
and d.edi_det_sequ_id = s.edi_det_sequ_id
group by h.business_unit_id, h.edi_sequence_id, d.edi_det_sequ_id,
s.edi_size_sequ_id,h.po_number, h.total_unit, h.total_amount, s.quantity,s.unit_priceNever mind, I got it working
-
ANY wild Card is not working in MODEL - What is wong with my query?
Hi Gurus,
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
CREATE TABLE "SALES"
( "COUNTRY" VARCHAR2(5 BYTE),
"PRODUCT" VARCHAR2(5 BYTE),
"YEAR" NUMBER,
"SALES" NUMBER
insert into sales values('A','prod1',2000,10);When I pass the product name in the model calsue I am getting the expected result
select *
from sales
model
PARTITION BY (country)
dimension by (product,year)
measures(sales s)
rules upsert
s['prod1',2001]=s['prod1',2000]*2
COUNTRY PRODUCT YEAR S
A prod1 2000 10
A prod1 2001 20 but When I use, ANY, I am not getting the result. What is wrong with my query?
select *
from sales
model
PARTITION BY (country)
dimension by (product,year)
measures(sales s)
rules upsert
s[ANY,2001]=s[cv(product),2000]*2
COUNTRY PRODUCT YEAR S
A prod1 2000 10 Thanks in advance.
Edited by: 884476 on Oct 29, 2012 12:51 AM
Please feel free to ask any further details required..You need to use UPSERT ALL rather than just UPSERT.
The documentation [url http://docs.oracle.com/cd/E11882_01/server.112/e25554/sqlmodel.htm#i1011770]here explains that UPSERT can only insert with "positional reference" and not "symbolic reference", and ANY wildcard is always "symbolic reference". But UPSERT ALL allows model rules with existential predicates (comparisons, IN, ANY, and so on) in their left side to have UPSERT behavior. -
What's wrong with this ejb-query?
Hi people,
may be i worked too much, may be i've just missed something, but guys, can enyone tell me what the hell is wrong with this GOD DAMNED query?
<ejb-ql>Select Object(adt) From AddrDataTable AS adt, IN (adt.addresseeQualities) AS aq WHERE adt.season.id = ?1 And aq.aQTemplate.id=?2</ejb-ql>
That JBoss throws following exception:
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'Select Object(adt) From AddrDataTable AS adt, IN (adt.addresseeQualities) AS aq WHERE adt.season.id = ?1 And aq.aQTemplate.id=?2'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "1" at line 1, column 103.
Was expecting one of:
"ABS" ...
"LENGTH" ...
"LOCATE" ...
"SQRT" ...
"+" ...
<INTEGER_LITERAL> ...
<FLOATING_POINT_LITERAL> ...
<NUMERIC_VALUED_PARAMETER> ...
<NUMERIC_VALUED_PATH> ...
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.<init>(JDBCEJBQLQuery.java:50)
The worst thing is that when i remove WHERE clause JBoss keeps silence like a fish - it works fine!
So, any ideas about this?
Thank youAre you sure the ?1 and ?2 parameters exist in the method for which the query is addressed.
In the statement adt.season.id I guess season is a CMR field and then season has a CMP field called id
and the same for aq.aQTemplate.id, aQTemplate being the CMR field and the is being a CMP field in the CMR.
and in adt.addresseeQualities is a CMR field?
Looks like a complex query
SELECT OBJECT(adt) from BEAN AS adt,
IN(adt.CMR_FIELD) AS aq
WHERE
adt.ANOTHER_CMR.ANOTHER_AMR_CMP_FIELD=?1
AND
aq.2_CMR_FIELD.2_CMP_FIELD =?2 -
Problem with logical database DDF in ABAP query
Hi All,
I have created an ABAP query via the transaction SQ01 using the logical database DDF to retrieve customer master data from tables KNA1 & KNB1. The selection screen used is the screen 903 of the logical database DDF. But now the problem is that when I execute the query, I am getting a blank value in the tax code4(KNA1-STCD4) field though there is value in the KNA1 table for this particular field. This field was added to the table by means of a customizing include. Can anyone suggest a way to get around this problem so that I can view the content of the field STCD4 in the query.
Thanks and regards,
Sarath.I think it's not used by DDF.
so you must check it with:
check kna1-bran1 in s_bran1.
A. -
Hi to all,
I am using LDB for ABAP Query. For this I given selection fields. I don't want selection screen as like standard one. Ex. For QM11 transaction what ever screen appering like that my query smae appering . Please give solution for this. I want my selection fields only in my selection screen while using LDB.
Thanks.Resolved
-
I use Apple TV's screen saver with a file in my photo library. I believe it is first generation or second Apple TV - not the newest one.
If I install newest update - will that change anything with my using this, my favorite feature? I have just under 4000 photos in that file.
And, what is the total # of photos it can utilize? If I keep adding photos - is there a limit to the # it will utilize?Thank you Alan and know you are right. I really can do all I need with my netbook and ereader and do not need the ipad. I think I just wanted something new and felt I may enjoy using it a lttle more than the netook. But it would be a waste just to buy one when I donlt acutally need it And, donl't think it is worth the extra money for me the get the 4g wireless capability since I doubt I would really need it often.
I may treat myself to the Ipad for the color, touchpad and fun to use but it is very expensive considering how little it will do for me no more than the things I want it for. It woudl be and expensive luxuray, I can do without. I actually need t learn how to use more of the function avaiable first. Maybe I should take up playing games and learning to take digital pictures so I can at least load them. If I could learn to do that and take a decent picture, I could start selling back all the "stuff" I have purchased on ebay. haha - I do have a nice doll collection, I would like to sell. I just do not have room for anything else. That was the primary purpose for the Kindle Ereader I bought and enjoy so much,
But, I will hold onto the thought for a while and see how it goes and what other comments I get, If I think I cannot live without it, then I will have to rethink which one to buy, I coud get the 32 g if I did not have to pay for the 4g wireless. And, if I knew I could get help to teach me how to use and enjoy all the functions, I would give it more serious consideration. My granddaugther got one for Christmas and that was what got me interested in it. I love the size of the screen and it had good color and was fast. She even had an application where she could write her notes and it would convert into typed words. That was a neat feature, If you could print it?
But thanks again for your comments and I will check later to see I get any other feedback.
Sunny:) -
ABAP Query with Debit/Credit Columns
Dear All
I need to develop an ABAP Query in which the user should be able to see Debit and Credit balances seperately . I understand that i will have to include two ( DR and CR ) additional fields and then do some kind of coding to pull info from either BSEG/BSIS ( which one would be better ? )
table but i just dont know how. Would appreciate if someone can guide me through .
Thanks
SameerBharath
In some cases when you need to pull info from other tables like this , you create additional fields and then you give joining conditions to pull the information. My Requirement is that i need to develop a query
Period Year CoCode G/L G/L Text Debit Bal Credit Bal
Now you dont have Debit and Credit as fields in any table so you need to create those fields and populate it by using suitable codes. Thats what i am really looking for
Thanks for your effort though
Just for your Knowledge goto sq02 and hit on extras you will see those different options -
How do i save abap query as a transaction ?
hi
i created an abap query and i want to know how to connect this query to a transaction
i also want to know <b>what is the difference between standard area</b> ( client specific) <b>and</b> <b>global area</b> ( cross-client ) ? ( i created my query under global area )
thanks
amiHi..
Steps to Create a Tcode for SAP Query:
1. Goto Tcode SQ01.
Enter the Query Name
Select the Menu path: Query -> More Options -> Generate program.
2. in SE93 Create a tcode for this program .
Select the Transaction type as Report Transaction.
<b>reward if helpful. </b>
Maybe you are looking for
-
Problems Creating a Domain in VirtualBox
To Create a test environment to try out things like Group Policy and Windows MDOP in our work environment, I was charged with creating a set of VM's using virtualbox that would consist of 2 Clients and a Server. The server would fill the role of Doma
-
Kerberos Configuration Manager for SQL Server: Access of system information failed!
I'm trying to use the new Kerberos Configuration Manager for SQL Server tool that was released recently to verify SPN on several SQL Servers, but any time I attempt to connect to a server I get the following error in the log: 6/24/2013 3:48:22 PM Inf
-
Hi, i'm having a problem configuring Oracle Connection Manager. It does start the instance of connection manager Summary of my environment is 10g Application server and infrastructure machine OS: Windows 2003 9i Database Server: Windows 2003 Client :
-
When I attempt to connect to Microsoft Access: C:\>plus80 admin/maxtest@odbc:maxjet I get the following error. Please help! SQL*Plus: Release 8.0.6.0.0 - Production on Fri Oct 13 09:51:24 2000 (c) Copyright 1999 Oracle Corporation. All rights reserve
-
Message indicator shows messages when there are none
How to correct the envelope indicator at the top of the screen that shows the number of messages to be 3 when the message & email inbox is empty? I have tried shutting the unit down but it still shows 3 messages and there is none. Help, thanks. Solve