How to select - Not equal to ALL
I am using Crystal XI and have it linked to another report and an Access database. I want the report to show all records accept the ones listed in the Access database. How do use the select expert to say Not equal to all records in the selected field? I basically want to filter out those records in the access database while showing the records linked from the other report. Looking at around 1,500 records and climbing.
Thanks
Hi Scott,
Try this in select expert
linking field from DB not equal to linking field from Access
DB.ID<>Access.ID
or try to change the link option "not equal to" in the links tab
Regards,
Raghavendra
Similar Messages
-
BEx Report : Selection Not Equal to Characteristics value 'blank' & more
Hi Experts,
I 'm working on a report where I require one of the selection criteria for a key figure to be displayed when the characteristics 'rejection code' is not empty.
So the selection would be like keyfigure: ZAMOUNT, when XREJ_CODE Not Equal to " ".
How do I achieve this?- In the restriction criteria, I can use exclude from, but how do I exclude a blank space?
Question 2.
The second selection is display keyfigure when fiscal period(user entry) is not equal to the booking period of that particular order.
Would this require Customer exit variable? how do I go about this?
All help appreciated.
Thanks!if XREJ_CODE contine blank value we can use "Exclude from Selection "
Select XREJ_CODE -
>right click "restrict" -
> select blank value(#) move to right side and select that value right click select "Exclude from Selection" -
Entries & Leaving Report displays data of selected not equal to org unit
Hi,
While using the standard report Entries & Leaving; in the selection criteria when I put
NOT EQUAl TO(options) in front of the org unit and and mention the corresponding personnel area and entry date, the report still displays the employees with that particular org unit.
Why is this happening? Any idea how to correct this?Hi Sikindar,
I am using standard adhoc query report Entries& Leaving.( S_PH9_46000223 ). There on the selection screen I enter the following values:
Personnel Area: GLLV
Org Unit : #(Not Equal To) 60000047
Entry Date : 1.11.2008 to 28.11.2008> F8
Now the report also displays the employees which belong to o 60000047 which is incorrect.
This is the exact problem and how to rectify this. Please suggest -
How does select stmt with for all entries uses Indexes
Hello all,
I goes through a number of documents but still confused how does select for all entries uses indexes if fields are not in sequences. i got pretty much the same results if i take like two cases on Hr tables HRP1000 and HRP1001(with for all entries based upon hrp1000). Here is the sequence of index fields on hrp1001 (MANDT, OTYPE, OBJID, PLVAR, RSIGN, RELAT, ISTAT, PRIOX, BEGDA, ENDDA, VARYF, SEQNR). in second case objid field is in sequence as in defined Index but i dont see significant increase in field even though the number of records are around 30000. My question is does it make a differrence to use field sequence (same as in table indexes) in comparison to redundant field sequence (not same as defined in table indexes), secondly how we can ge tto know if table index is used in Select for entries query i tried Explain in ST05 but its not clear if it uses any index at all in hrp1001 read.
here is the sample code i use to get test results.
test case 1
REPORT zdemo_perf_select.
DATA: it_hrp1000 TYPE STANDARD TABLE OF hrp1000 WITH HEADER LINE.
DATA: it_hrp1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE.
DATA: it_hrp1007 TYPE STANDARD TABLE OF hrp1007 WITH HEADER LINE.
DATA: it_pa0000 TYPE STANDARD TABLE OF pa0000 WITH HEADER LINE.
DATA: it_pa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE.
DATA: it_pa0002 TYPE STANDARD TABLE OF pa0002 WITH HEADER LINE.
DATA: it_pa0105_10 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: it_pa0105_20 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: t1 TYPE timestampl,
t2 TYPE timestampl,
t3 TYPE timestampl
SELECT * FROM hrp1000 CLIENT SPECIFIED INTO TABLE it_hrp1000 bypassing buffer
WHERE mandt EQ sy-mandt AND
plvar EQ '01' AND
otype EQ 'S'AND
istat EQ '1' AND
begda <= sy-datum AND
endda >= sy-datum AND
langu EQ 'EN'.
GET TIME STAMP FIELD t1.
SELECT * FROM hrp1001 CLIENT SPECIFIED INTO TABLE it_hrp1001 bypassing buffer
FOR ALL ENTRIES IN it_hrp1000
WHERE mandt EQ sy-mandt AND
otype EQ 'S' AND
* objid EQ it_hrp1000-objid and
plvar EQ '01' AND
rsign EQ 'B' AND
relat EQ '007' AND
istat EQ '1' AND
begda LT sy-datum AND
endda GT sy-datum and
sclas EQ 'C' and
objid EQ it_hrp1000-objid.
* %_hints mssqlnt 'INDEX(HRP1001~0)'.
*delete it_hrp1001 where sclas ne 'C'.
GET TIME STAMP FIELD t2.
t3 = t1 - t2.
WRITE: 'Time taken - ', t3.
test case 2
REPORT zdemo_perf_select.
DATA: it_hrp1000 TYPE STANDARD TABLE OF hrp1000 WITH HEADER LINE.
DATA: it_hrp1001 TYPE STANDARD TABLE OF hrp1001 WITH HEADER LINE.
DATA: it_hrp1007 TYPE STANDARD TABLE OF hrp1007 WITH HEADER LINE.
DATA: it_pa0000 TYPE STANDARD TABLE OF pa0000 WITH HEADER LINE.
DATA: it_pa0001 TYPE STANDARD TABLE OF pa0001 WITH HEADER LINE.
DATA: it_pa0002 TYPE STANDARD TABLE OF pa0002 WITH HEADER LINE.
DATA: it_pa0105_10 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: it_pa0105_20 TYPE STANDARD TABLE OF pa0105 WITH HEADER LINE.
DATA: t1 TYPE timestampl,
t2 TYPE timestampl,
t3 TYPE timestampl
SELECT * FROM hrp1000 CLIENT SPECIFIED INTO TABLE it_hrp1000 bypassing buffer
WHERE mandt EQ sy-mandt AND
plvar EQ '01' AND
otype EQ 'S'AND
istat EQ '1' AND
begda <= sy-datum AND
endda >= sy-datum AND
langu EQ 'EN'.
GET TIME STAMP FIELD t1.
SELECT * FROM hrp1001 CLIENT SPECIFIED INTO TABLE it_hrp1001 bypassing buffer
FOR ALL ENTRIES IN it_hrp1000
WHERE mandt EQ sy-mandt AND
otype EQ 'S' AND
objid EQ it_hrp1000-objid and
plvar EQ '01' AND
rsign EQ 'B' AND
relat EQ '007' AND
istat EQ '1' AND
begda LT sy-datum AND
endda GT sy-datum and
sclas EQ 'C'." and
* objid EQ it_hrp1000-objid.
* %_hints mssqlnt 'INDEX(HRP1001~0)'.
*delete it_hrp1001 where sclas ne 'C'.
GET TIME STAMP FIELD t2.
t3 = t1 - t2.
WRITE: 'Time taken - ', t3.Mani wrote:
Thank you for your answer, its very helpful but i am still nor sure how does parameter rsdb/max_blocking_factor affect records size.
Hi,
The blocking affects the size of the statement and the memory structures for returning the result.
So if your itab has 500 rows and your blocking is 5, the very same statement will be executed 100 times.
Nothing good or bad about this so far.
Assume, your average result for an inlist 5 statement is 25 records with an average size of 109 bytes.
You average result size will be 2725 byte plus overhead which will nearly perfectly fit into two 1500 byte ethernet frames.
Nothing to do in this case.
Assume your average result for an inlist 5 statement is 7 records with an average size of 67 bytes.
You average result size will be ~ 470 byte plus overhead which will only fill 1/3 of a 1500 byte ethernet frame.
In this case, setting the blocking to 12 ... 15 will give you 66% network transfer performance gain,
and reduces the number of calls to the DB by 50%, giving additional benefit.
Now this is an extreme example. The longer the average row length is, the lower will be the average loss in the network.
You have the same effects in memory structures, but on that layer you are fighting single micro seconds instead of
hundreds of these, so in real life it is rarely measurable.
Depending on table-statistics, oracle might decide for short inlists to use a concatanation instead of an inlist.
This is supposed to be more costy, but I never had a case where I could proove a big difference.
Values from 5 to 15 for blocking seem to be ok for me. If you have special statements in customer coding,
it #might# be benefitial to do the mentioned calculations and do some network tracing to see if you can squeeze your
network efficiency by tuning the blocking.
If you have jumbo frames enabled, it might be worth to be analyzed as well.
If you are only on a DB-CI system that is loopback connected to the DB, I doubt there might be a big outcome.
Hope this helps
Volker -
How to calculate freight equally for all line items
Hi All
I have a situation, In a PO i have 4-5 line items and the total freight is 10% on the PO value. I need to distribute the freight value equally to all the line items.
Your suggestions please
Regards
JagadishHi
Goto V/06 and make your condition type as header condition and in maintain condition record as 10%
HEADER condition will not be having ACCESS SEQ
Regards
Vishal -
How to do "not equals" mapping using Graphical
Hi friends
i want to do a mapping like this:
if A is not equal to b then value is 1
elseif ...something
Anyone please tell me how can i achieve this using graphical tool.
ThanksHi,
it is very simple.
Use equals function
A input and second input constant(B) give it to equals function. output will be true or false give it to ifthenelse. inthen use constant(somthing value) ans in else use constant with 1 value and map it to target element.
U can write UDF
if(A.equals("b"))
result("something");
else
result("1");
Thnx
Chirag. -
How to use not equal to in read
Hi experts ,
I have a read statement in which i am reading status internal table.
read table it_jest into wa_jest where inact ne 'X'
this inact ne 'X' is giving me an syntax error
i tried
inact eq ''
inact eq ' '
inact eq space'
but nthng worked
please guide me how i can write this code.Hi Abhinav Shahi,
I think You can use only = in READ statement.. can't use NE with READ
read table it_jest into wa_jest with key inact = ' '.
Change Where to with key..
also try with condition below
inact is initial
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya -
How to select multiple clips???
I am a very avid iMovie user and now this new version has me so confused. I have the basics down, but I can't figure out how to select all clips and dump them into the "timeline" area. I can select them one at a time and place them in the assembly area but that takes forever on a one hour soccer game. Anyone figure out how to select multiple clips or all clips at once?
Thanks ahead of time.Weird seeing this question today after I dealt with this yesterday. I did a movie yesterday that was multiple clips. I was able to select all clips at once and drag the entire thing up to the top window. I just tried to do the same thing again after reading this question and for the life of me, it will no longer allow me to click and drag to select them all. I wonder if this has something to do with the fact that all 10 or so clips I was able to highlight before, were all parts of the same clip when filmed (they were split into individual segments when imported). When I try to combine two clips that are not filmed sequentially, it will no longer allow it. The help menu says nothing about this. All it says is you need to click on the first clip and hold the mouse down and drag it to the end and it will select all. That is not working.
-
I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.
Hi olivias,
It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
How to change the default application for a file type | Macworld
http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
Please let us know if you have additional questions.
Best,
Sara -
How to select all the people that are not in any equipe ?
Hi,
I have a nice SQL expression that gives me as a result all the "AGENTS" (people) that are working in an EQUIPE (a team)
select a."AGENT_ID",
a."NOM" || ' ' || a."PRENOM" "Nom",
c.libelle "Equipe",
a."DATE_EMBAUCHE" "Date embauche",
a."DATE_DEBAUCHE" "Date débauche"
from OBSERVATOIRE."AGENT" a,
observatoire.equipe_agents b,
observatoire.equipe c
where a.agent_id = b.agent_id
and b.equipe_id = c.equipe_id
order by nom
Now, how to select all the agents that are NOT working in any "EQUIPE" (team) ?
I have tried but could not succeed !
Thank you for your kind help.
ChristianChristian from France wrote:
It is not working because the table EQUIPE_AGENTS does not contains a row if the agent is not into any equipe.
CREATE TABLE "OBSERVATOIRE"."EQUIPE_AGENTS"
( "EQUIPE_AGENTS_ID" NUMBER NOT NULL ENABLE,
"EQUIPE_ID" NUMBER NOT NULL ENABLE,
"AGENT_ID" NUMBER NOT NULL ENABLE)
CREATE TABLE "OBSERVATOIRE"."AGENT"
( "AGENT_ID" NUMBER NOT NULL ENABLE,
"GRADES_ID" NUMBER NOT NULL ENABLE,
"NOM" VARCHAR2(50 BYTE) NOT NULL ENABLE,
"PRENOM" VARCHAR2(50 BYTE),
"DATE_EMBAUCHE" DATE NOT NULL ENABLE,
"DATE_DEBAUCHE" DATE)
The only way to "know" if an agent is not into any equipe (team) is to search into the EQUIPE_AGENTS table, and if we do not find the ID of the agent into this table, then we know that this agent is not into any EQUIPE (team).
I don't know ho to translate this into SQL.And that's what my query does. It uses an OUTER JOIN so that a result record is returned whether or not there is a record in EQUIPE_AGENTS. And the check for EQUIPE_ID is NULL restricts the result set to those where there IS NOT a record in EQUIPE_AGENTS.
A more traditional way would be to use NOT IN or NOT EXISTS clauses, but they can prove inefficient. -
My shuffle is not syncing all of the selected songs & I can't figure out how to get it to sync all the checked songs (syncs some, but not others). Please help!
Perhaps this article can help.
Syncing music to iPod shuffle
B-rock -
Can't figure how to select a whole album to upload to Flickr. If I select all the photos in an album, the photos upload but not my titles.
Export the photos out of iPhoto via the File ➙ Export ➙ File Export menu option to a folder on the Desktop. Then drag the folder onto the disk icon on the Desktop and burn. Be sure to select the Kind, qualtiy and size of the file you need.
OT -
How to search for "Kind not equal to Folder"
I'm trying to set up a Smart Folder with criteria:
- Last Modifed within last 2 weeks AND
- Kind is not Folder
How do you set up Finder search criteria for Kind "doesn't equal" something? All I can find is Kind = All or one thing in particular?
Thanks for any help you can provide.
OS X 10.4.8
Mike
Mac OS X (10.4.8)
Mac OS X (10.4.8)
Mac OS X (10.4.8)You'll have to use the Raw Query in order to have boolean operators, such as "is not" or "or" and so on. So do your Command-F, choose Last Modified, then for second criterion select "Other" from the drop down menu and scroll to Raw Query and select it. In the Raw Query field copy and paste this:
kMDItemKind != "Folder"
That should do it. The booleans are:
== equal
!= not equal
< less than
<div class="jive-quote"> greater than
<= less than or equal to
<div class="jive-quote">= greater than or equal to
For more information than you will probably ever want to know, you can start here:
http://developer.apple.com/documentation/Carbon/Conceptual/SpotlightQuery/index. html
The above comes from the link to Query Expression Syntax.
Francine
Francine
Schwieder
PS--Hi biovizier, looks like you hit post before I did. Great minds.... -
NOT EQUAL in the InfoPackage Data Selection
Hello,
<u><b>I need to build a NE, NOT EQUAL <> in an InfoPackage</u></b>
I need to exclude some DataSets from beeing loaded.
The DataSets to be excluded can be distinguished by a
certain value of a an InfoObject.
For example:
All DataSets with 0COMPANY_CODE NOT EQUAL "0001" should not
be loaded.
How can I set in the InfoPackage DataSelection a filter
to exclude some DataSets ?
Thank You
Martin SautterHello Chitrarth Kastwar ,
basically it would be a trivial task in SQL ....to code :
<i>
SELECT *
FROM
WHERE 0COMP_CODE not in '0001'
</i>
or
<i>
SELECT *
FROM
WHERE 0COMP_CODE = '0030'
OR 0COMP_CODE = '0040'
OR 0COMP_CODE = '0050'
</i>
.. but thats BW - It generates much turnaround for consultants :).
Thread
/community [original link is broken] threadID=507511&tstart=0
seems to be something like this.
...I get the following Conversion Routine for Type 6:
<i>
program conversion_routine.
Type pools used by conversion program
type-pools: rsarc, rsarr, rssm.
tables: rssdlrange.
Global code used by conversion rules
$$ begin of global - insert your declaration only below this line -
TABLES: ...
DATA: ...
$$ end of global - insert your declaration only before this line -
InfoObject = ZVPUNITH
Fieldname = /BIC/ZVPUNITH
data type = CHAR
length = 000045
convexit =
form compute_/BIC/ZVPUNITH
tables l_t_range structure rssdlrange
using p_infopackage type rslogdpid
p_fieldname type rsfnm
changing p_subrc like sy-subrc.
Insert source code to current selection field
$$ begin of routine - insert your code only below this line -
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = '/BIC/ZVPUNITH'.
l_idx = sy-tabix.
modify l_t_range index l_idx.
p_subrc = 0.
$$ end of routine - insert your code only before this line -
endform.
</i>
Because I have to exclude 1 value out of 5 I can also include 5 values in the
selection criteria connected with OR
This means I have to use an OR only.
Is it possible with l_t_range to state this and how ?
Thank You
Martin Sautter -
How do you something not equal something else?
how come the, "does not equal's" not work, and what is the proper way to do it so that I can have all the variables be different, but still be between 1 and 7?
import javax.swing.*;
import java.text.*;
import java.util.*;
import java.awt.*;
import java.lang.*;
public class DiplomacySelector1
public static void main(String[] args)
String input;
int x,num1,num2,num3,num4,num5,num6,num7,choice;
Random generator1=new Random();
num1= 1 + generator1.nextInt(7);
Random generator2=new Random();
num2= 1 + generator2.nextInt(7);
Random generator3=new Random();
num3= 1 + generator3.nextInt(7);
Random generator4=new Random();
num4= 1 + generator4.nextInt(7);
Random generator5=new Random();
num5= 1 + generator5.nextInt(7);
Random generator6=new Random();
num6= 1 + generator6.nextInt(7);
Random generator7=new Random();
num7= 1 + generator7.nextInt(7);
x=0;
while(x<7)
System.out.println("Great Britian- "+num1);
System.out.println("France- "+num2);
num2!=num1;
System.out.println("Austria-Hungary- "+num3);
num2!=num1!=num3;
System.out.println("Germany- "+num4);
num2!=num1!=num3!=num4;
System.out.println("Italy- "+num5);
num2!=num1!=num3!=num4!=num5;
System.out.println("Turkey- "+num6);
num2!=num1!=num3!=num4!=num5!=num6;
System.out.println("Russia- "+num7);
num2!=num1!=num3!=num4!=num5!=num6!=num7;
x=7;
}First, DON'T create a new Random each time. There is a very high probability that all those Randoms will be created before you system clock ticks over, so they'll all have the same system time for a seed and hence will all generate the same pseudorandom sequence.
Create only one Random and reuse it.
You still might not get unique numbers though. So there are two main approaches:
1) Simpler, and will work well here since you have a small range and you're using all the numbers in your range. Just populate java.util.List of seven Integers with 1-7 sequentially, then call Collections.shuffle().
2) More complex, and in general useful when you're selecting a few values from a large range, but will work fine here too. Keep track of what you've selected so far. Each call to nextInt() is in a loop that keeps executing until you grab a number you haven't encountered yet. Don't use this to shuffle, say, a million ints in the range 1..1,000,000.
Maybe you are looking for
-
VAT calculation in Import pricing in Africa
Dear Experts, I'm configuring a Import Pricing procedure for my African client where the Scenario is as mentioned. 1.Cost(Base Price) = 100 2.Insurance = 10 3.Freight =10 4.Customs duty = 10 5. IDF Value = 10 6. Vat = 14% on (12345 i.e on 140) How ca
-
In Java Mapping Whether to SAX or DOM ?
While implementing Java Mapping which of the following SAX , DOM parsers is the most efficient way to implement it. I mean considering the voulume of data in the XML format is large which usage will give me most optimal performance . It would be n
-
iTunes is not working. I get no sound when playing from my iTunes library or playing a CD; though the sound works OK if using Parallel to run Windows XP and play it as a WMA file; and on the Mac with other applications like Garageband. I am runnin
-
ICal Calendar Get Info Window not appearing
MB Pro Lion 10.7.2 I'm trying to change the color of a calendar in iCal. The calendar is syncing to an Exchange server. I click the Calendars button in the upper left corner of the iCal window, then right click on the calendar. From the contextual me
-
Can I force iTunes not to embed custom album art, but store it separately?
(I only use iTunes to manage my 16GB iPod nano 5th gen and update my mother's iPad.) Now as far as I am aware, when iTunes downloads album art, it stores it separately from the audio files, and thus several tracks share the same image file for their