Problem with Between operator in condition

Hi
I am using Discoverer Desktop 11g.
In my report, I have 2 parameters for start-date and end-date. I want the report to display records which have an order date that falls within the period indicated by start-date and end-date.
E.g. if I run report and enter 01-mar-2013 as start-date and 20-mar-2013 as end-date, I would like to see all records with order dates between these 2 dates but the problem is that the report leaves out some records with order date of 20-mar-2013. It only displays a few records with 20-mar-2013 and leaves out some (i.e. report doesn't display all records with order date that is equal to the value of the end-date parameter), how can I make all records to be displayed?
Please help. Thanks.

It sounds like you may need to change your condition to look at trunc(orderdate) rather than just orderdate. Those order dates that are being excluded probably have a time portion (so order date 20-mar-2013 10:00 am is after end-date 20-mar-2013 00:00 am).
You can temporarily change the date format on your report to a format that includes the time, and run with 21-mar-2013 as your end-date, to confirm whether that's the issue.

Similar Messages

  • [svn] 4836: Fix problems with asdoc comments and conditionally compiled definitions.

    Revision: 4836
    Author: [email protected]
    Date: 2009-02-04 11:07:52 -0800 (Wed, 04 Feb 2009)
    Log Message:
    Fix problems with asdoc comments and conditionally compiled definitions. Fixes bug http://bugs.adobe.com/jira/browse/ASC-3649
    Ticket Links:
    http://bugs.adobe.com/jira/browse/ASC-3649
    Modified Paths:
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/embedding/Compiler.java
    flex/sdk/trunk/modules/asc/src/java/macromedia/asc/semantics/ConfigurationEvaluator.java

    In the default php.ini is set open_basedir which limits work with php only to few directories (and directories bellow them). There is set /srv/http, /home,/tmp and /usr/share/pear by default.
    To allow your vhost you should add /data/www or set empty value.

  • Problems with Sequence Operator in OWB

    Hi everybody,
    i want to use a sequence in my mapping. Now i have two problems.
    The first problem is the following. When i want to import my sequence (exists on my DB) i can select the sequence in the Selection Window, but when i click on Import i didn't see it in the Design Center, also there is no window which tells me that i have successfully imported the sequence.
    The second problem is, when i drag the Sequence Operator into my Mapping i shows the Selection Window where i have to select the poject and object to bind the operator. But i can't select any object.
    Can anyone help me with my problems and tell me how i can use a Sequence and the Sequence Operator in my Mapping
    Many thanks in advance.
    Greetings

    Hi everyone!
    I'm having a repeated problem with sequences in OWB: I'm filling a TIME table with 1096 rows. Now matter how and when I create the sequence it always starts with 2 instead of 1. Moreover, the last value of the sequence is 1101, when it was supposed to be 1097 or 1098....
    I did achieve the right ouput sometimes, but I must be doing something wrong. Here are the several ways I've tried in OWB:
    1) I've created all the sequences by sql code, in SQL DEVELOPER or PLUS*, and then imported to OWB. Because of being imported, I didn't have to deploy each sequence. Then, I've connected (by drag and drop to the canvas mapping) the sequence I wanted with NEXTVAL (as I always do) attached do TIME_ID of table TIME;
    2) I've dropped and created, several times(as before), the sequences and never had problems..until now. I've also experimented creating, by scratch, the sequences just in OWB and then deploy them in Control Center. After this, deployed the mapping and executed, just like in 1).
    So, the difference lies on how I create the sequences and what are the correct steps to create, deploy (if needed), deploy the map and execute the map.
    This is insain and I really need this to work. I've tried so many ways....
    Could someone PLEASE help me with this? Any thoughts?

  • Problem with the operator less than or equal to in a weby query

    Hi all.
    The universe is a OLAP Universe
    When i created a query in webi and put the month in the filter area with the operator less than or equal to like this.
    Month (less than or equal to) 2010.01 for example. The all result brings also the all values like 2010.02, 2010.03, etc
    What is the problem and how can fix that ?
    Thanks

    Looks like you are using a less than or equal to with a Sting data type.
    I think you should change to your filter to Year <= 2010 And Month <= 1. Hope you have a month and year object in you BeX.
    Anil

  • Problem With mac Operating system

    ok, had a problem with a piece of software and was told to try and "downgrade" my OS. so i started an installer that was an installer to a previous system. i was on 4.8 and was trying to go to 3.4 i think. I got half way thru and it said start the installer again. restarted. instead of the apple logo coming up a round cross comes up. i connected to my comp thru another comp using the firewire but my user folder is empty. anyways i can find anything in the users folder and fix this problem? cheers

    Who told you to downgrade your OS X version and was this due to the software not being compatible with your OS X version which was 10.4.8?
    What software?
    Your computer detail provided indicates you have an Intel Mac and if so, you certainly cannot downgrade to 10.3 - any 10.3.x version. All Intel Macs have shipped with Tiger (10.4.x) pre-installed and there are no OS X versions prior to 10.4.x that is compatible with an Intel Mac and even if so, you cannot install an earlier or previous OS X version on a Mac that shipped with a later version.
    Unless you meant 10.4.3 which is the version that was pre-installed on your Intel Mac and the version included with the OS X install package that shipped with your Mac when new.
    Did this person who told you to downgrade your OS also tell you to be sure to create a backup or update your existing backup before doing so?
    Did you choose Archive & Install with an option to preserve user and network settings?
    If not and you choose Erase & Install, then your hard drive was completely erased first.

  • Trouble with Between operator and Order by clausule

    Hello, can somebody help me?
    I have this setup:
    create table test (cod varchar2(10));
    insert into test (cod) values ('1');
    insert into test (cod) values ('2');
    insert into test (cod) values ('3');
    insert into test (cod) values ('4');
    insert into test (cod) values ('5');
    insert into test (cod) values ('49');
    insert into test (cod) values ('CN0047');
    commit
    Then this query:
    SQL> select * from test order by 1;
    COD
    CN0047
    1
    2
    3
    4
    49
    5
    7 filas seleccionadas.
    SQL> select * from test order by 1 desc;
    COD
    5
    49
    4
    3
    2
    1
    CN0047
    7 filas seleccionadas.
    SQL> select * from test where cod between 'CN0047' AND '49';
    no row selected
    SQL> select * from test where cod between '49' AND 'CN0047';
    COD
    5
    49
    CN0047
    Why Between operator works different than Order by?
    This query: select * from test where cod between 'CN0047' AND '49';
    Shouldn't return CN0047, 1, 2, 3, 4 and 49?
    Thanks in advance.
    Joel Orta

    This may help;
    SQL> --
    SQL> -- ******************** NLS SORT ********************
    SQL> --  
    SQL> select * from v$nls_parameters where parameter = 'NLS_SORT'
    parameter            value              
    NLS_SORT             BINARY             
    1 row selected.
    SQL> select * from test order by 1
    COD      
    1        
    2        
    3        
    4        
    49       
    5        
    CN0047   
    7 rows selected.
    SQL> alter session set NLS_SORT = FRENCH
    Session altered.
    SQL> select * from v$nls_parameters where parameter = 'NLS_SORT'
    parameter            value              
    NLS_SORT             FRENCH             
    1 row selected.
    SQL> select * from test order by 1
    COD      
    CN0047   
    1        
    2        
    3        
    4        
    49       
    5        
    7 rows selected.
    SQL> --
    SQL> -- ******************** NLS COMP ********************
    SQL> --
    SQL> select * from v$nls_parameters where parameter = 'NLS_COMP'
    parameter            value              
    NLS_COMP             BINARY             
    1 row selected.
    SQL> select * from test where cod between '49' AND 'CN0047'
    COD      
    5        
    49       
    CN0047   
    3 rows selected.
    SQL> alter session set NLS_COMP = ansi
    Session altered.
    SQL> select * from v$nls_parameters where parameter = 'NLS_COMP'
    parameter            value              
    NLS_COMP             ANSI               
    1 row selected.
    SQL> select * from test where cod between '49' AND 'CN0047'
    no rows selected

  • Problem with pending operations after migrating to gw2014

    Hi there, this saturday we have migrated to gw2014 from gw2014. We are in a cluster environment.
    We only have one primary domain with one post office, all users are in this post office.
    We have several secondary domains for gwia/webaccess only.
    Mail flow is ok. Mails are coming in and coming out, but administrative message between domains
    are not flowing. For example: if I add a new account in the post office, I cant see this new account
    in secondary. Also, for creating new domains, etc. I dont know whats happening, all mta's are open
    in mta console from the primary. This is a very critical issue for me...
    Where I can debug this pending operations ? How can I know whats happening ? I dont know if I have
    a network issue / problem or its something related to GW system...
    please help!
    Antonio

    Something like that happened to me also. It turned out that the gw install did not copyed the dc files to the mta, poa directory. After copying the dc files manually, admin messages started to flow again.

  • Problem with Purchase Info Record Condition Data ( ME11)

    Hi all,
    I am trying post Data for Purchase Info Records with Conditions data.
    I am using a standard Batch Input Method ( LSMW).
    Object 0060
    Method 0000
    Program Name RM06IBI0
    Program Type B Batch Input
    I am able to post data only for the condition type PB00. for other condition types FRC1 & FRA1 not able to post the data ( also session is not giving any error).
    Therefore I am trying out witH BAPI option ( BAPI_PRICES_CONDITIONS),
    when i try to test the BAPI i am getting an error "Record KNUMH = 0000668598,
    VARNUMH = 000000000000000000000000000000: det. data missing ( Structue BAPICONDIT) .
    i am passing below mentioned values to the structue BAPICONDIT
    OPERATION 009
    SD_DOC
    ITM_NUMBER 000000
    COND_NO 0000668598
    COND_COUNT 02
    APPLICATIO M
    COND_TYPE FRC1
    SCALETYPE F
    SCALE_QTY 0.000
    SCALE_VAL 1.000000000
    CURRENCKEY USD
    CURREN_ISO USD
    CALCTYPCON C
    COND_VALUE 2.000000000
    CONDCURR USD
    COND_ISO USD
    COND_P_UNT 1
    COND_UNIT KG
    CONUNITISO KG
    NUMCONVERT 1
    DENOMINATO 1
    BASE_UOM KG
    BASEQTYISO KG
    CONDITIDX 01
    Please Suggest what else needs to be passed to get the BAPI working.
    Regards,
    Sriram

    Hi Phemmy,
    it is possible to create  PO before info record .info record establishes the relationship between vendor and your particular material.
    to answer your 2nd question:
    it is possible to create inforecord automatically during PO creation. in the ME2N screen, in the material tab, put the material code. then go to item details.in the materail data tab, you will get infoupdate  check it.and then inforecord will be created automatically.
    Thanks
    Nisha
    Edited by: nishaprasad on Jan 14, 2010 11:29 AM

  • Problem with zip operating system command

    Hello,
    i have the following configuration in the file receiver adapter:
    Directory: /tmp/
    File Name Scheme: %name%.txt
    Variable substitution:
    Variable Name: name                 Reference: payload: record,1,name,1
    Run Operating system command:
    /usr/bin/zip /tmp/%f.zip %F
    The execution is succesful, but i have a small problem. The file name is "file.txt.zip", the .txt should appear but i dont know how to skip it, I have tried so many ways but it doesnt work, I should receive a file called "file.zip" With a file inside in txt format...
    Thanks,
    Luis

    Hi Sriram,
    Thanks, but that wouldnt work out, Im using the %f for my file name, so this move command shouldnt work for me, because my filename changes in every execution, so I cant write something like this: mv file.txt.zip file.zip
    The only solution I see would would be a command which deals with strings and that could remove the four last characters of "%f"..but I havent found anything for doing it.
    Regards,
    Luis

  • Problem with BPM loop end condition

    Hi,
    I'm working with PI 7.1 in a BPM process which have a loop. I cant stop this loop in anyway, even, I have put a COUNTER != COUNTER as condition.
    Can someone help me with this issue?
    Regards,
    Alberto Pla.

    The BPM loops are while loop, so it will execute indefinitely if the condition given is true. The condition editor what we have in the BPM is not flexible. Can you just try the drag and drop facility available in the condition editor rather than writing on our own. it should look like this COUNTER!=COUNTER  without any spaces in between.

  • Problem with define operation

    I have wsdl file (simple part of it here)
    <message name="otnAsyncServiceRequestMessage">
    <part name="peiSessionID" type="xsd:string">
    </message>
    <message name="otnAsyncServiceResultMessage">
    <part name="payload" type="xsd:string"/>
    </message>
    <portType name="otnAsyncService">
    <operation name="initiate">
    <input message="tns:otnAsyncServiceRequestMessage"/>
    </operation>
    </portType>
    And my process call async thi service using otn_jaxrpc.jar
    Here simple code from bpel file
    <assign name="assign-1">
    <copy>
    <from expression="ora:getConversationId()">
    </from>
    <to variable="otnAsyncServiceReq" part="peiSessionID"/>
    </copy>
    </assign>
    <invoke name="invokeOTNAsyncService" partnerLink="otn" portType="er2004:otnAsyncService" operation="initiate" inputVariable="otnAsyncServiceReq"/>
    <receive createInstance="no" name="receiveFromOTNCallBack" partnerLink="otn" portType="er2004:otnAsyncServiceCallback" operation="onResult" variable="otnAsyncServiceRes"/>
    .... i look at result throw tcpmon
    and soap envelope look like this
    </soapenv:Header>
    <soapenv:Body><peiSessionID xmlns="http://er2004.ifirst.ru"/></soapenv:Body>
    </soapenv:Envelope>
    But i have no peiSessionID operation in wsdl!
    And my service not define any operation with that name?!
    what's a problem!
    Help please!!!

    First, check if you have any calendar notes or appointments that you entered without a subject. Delete that note and try to sync.
    I hope this helps!
    Post relates to: Tungsten E2

  • Problem with IN operator

    I'm having a strange problem when using IN operator in a query. The following query works in one database which is 9i and does not work(not returning any rows) in another database which is 10g.
    select * from <table>
    where <column> IN
    (select <column> from <view>
    where <column> = <value>
    Another thing is if I replace the view with a table the query returns results in 10g. If I replace IN operator with a '=' the query returns results.
    The question is:
    Am i missing any default setting in database level? Why the query did not return any rows when I use view? Any ideas?
    Thanks in advance,

    Hi,
    I agree with Walter.
    REgarfds salim.
    SQL>  create view v_emp as select * from emp;
    View created.
    SQL> select * from v_emp;
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL>
    SQL> select * from emp
      2  where empno in ( select empno from v_emp);
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800                    20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30
          7566 JONES      MANAGER         7839 02-APR-81       2975                    20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30
          7782 CLARK      MANAGER         7839 09-JUN-81       2450                    10
          7788 SCOTT      ANALYST         7566 19-APR-87       3000                    20
          7839 KING       PRESIDENT            17-NOV-81       5000                    10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30
          7876 ADAMS      CLERK           7788 23-MAY-87       1100                    20
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30
          7902 FORD       ANALYST         7566 03-DEC-81       3000                    20
          7934 MILLER     CLERK           7782 23-JAN-82       1300                    10
    14 rows selected.
    SQL>

  • Problem with creating Operation with the BAPI_ROUTING_CREATE

    I try to create a routing with operations attached to the default sequence with the BAPI_ROUTING_CREATE, via an external rfc-program.
    I have no problems to transfer the Task Header und the MaterialTaskAllocation, but the transfer of the operation allways fails, without an error message. The system creates the Routing without any operation.
    Are there some additional fields needed for the tranfer of an operation, in the online documentation there is only
    the field OPERATION_ID defined as needed.
    Thank's for any help
    Jörg Sloksnaitis

    I'll share my code snippet since I got this kind of working this morning. The following code with hard-coded values works and is a fairly simple and straightforward Routing. This may be something you can build on.
    Task List Header
      w_bapi1012_tsk_c-VALID_FROM = sy-datum.
      w_bapi1012_tsk_c-VALID_TO_DATE = '99991231'.
      w_bapi1012_tsk_c-PLANT =  zzplant.
      w_bapi1012_tsk_c-LOT_SIZE_FROM = '1'.
      w_bapi1012_tsk_c-LOT_SIZE_TO = '99999999'.
      w_bapi1012_tsk_c-TASK_MEASURE_UNIT = 'EA'.
      w_bapi1012_tsk_c-TASK_LIST_STATUS = '4'.
      w_bapi1012_tsk_c-TASK_LIST_USAGE = '1'.
      append w_bapi1012_tsk_c to t_bapi1012_tsk_c.
    Material Fields
      w_bapi1012_MTK_C-material = zzmaterial.
      w_bapi1012_mtk_c-plant    = zzplant.
      w_bapi1012_mtk_c-VALID_FROM = sy-datum.
    w_bapi1012_mtk_c-VALID_TO_DATE = '99991231'.
      append w_bapi1012_mtk_c to t_bapi1012_mtk_c.
    Operation
      w_bapi1012_opr_c-ACTIVITY = '9000'.
      w_bapi1012_opr_c-CONTROL_KEY = 'RP02'.
      w_bapi1012_opr_c-WORK_CNTR = ' '.
      w_bapi1012_opr_c-PLANT = zzplant.
      w_bapi1012_opr_c-DESCRIPTION  = 'Test Operation'.
      w_bapi1012_opr_c-BASE_QUANTITY = '1'.
      w_bapi1012_opr_c-OPERATION_MEASURE_UNIT = 'EA'.
      w_bapi1012_opr_c-VALID_FROM = sy-datum.
      w_bapi1012_opr_c-VALID_TO_DATE = '99991231'.
      w_bapi1012_opr_c-DENOMINATOR = '1'.
      w_bapi1012_opr_c-NOMINATOR = '1'.
      append w_bapi1012_opr_c to t_bapi1012_opr_c.
    Thanks,
    Tim Stadler
    Menasha Corporation

  • Satellite A100 - problem with battery operation

    Hi!
    My notebook (I bought it 1.5 years ago) has a big problem when operating with battery.
    First of all, with a fully charged battery, the notification for "limited battery status" pops up after 2 minutes of operation and after 5 minutes it goes to stand-by mode due to very low battery level.
    Then, I plug it on the AC power and the LED for the battery remains yellow for about 15 minutes and then turns blue.
    (The battery is OK, I have tested it on another Sat A100)
    What can be the problem???
    Thanks in advance!
    Maria

    Since You Have tested the battery in another Sat A100 the problem must be in your computer settings:
    1>> START >> CONTROL PANEL>> SELECT POWER OPTIONS ICON
    2>> You will now see a screen wich displays your power plans and note *one of them* has a tick i.e a small dot in a circle:
    3>> BALANCED > POWER SAVER> HIGH PERFORMANCE
    4>> UNDER THIS POWER PLAN > CLICK CHANGE PLAN SETTINGS> A SCREEN WILL BE DISPLAYED SHOWING YOUR PLAN!
    5>> PROCEED TO >> *CLICK* WHERE IT SAYS CHANGE ADVANCED POWER SETTINGS
    6>> IF YOU SCROLL THE BAR TO THE *+ SIGN >> BATTERY* CLICK THE *+ SIGN
    7>> YOU SHOULD HAVE : You will have to have play with these settings or you could click restore plan defaults to see if this will solve your problem
    Note clicking the *+ SIGN next to tany of these options below will allow you to change what event takes place on your computer.
    + CRITICAL BATTERY ACTION
    + LOW BATTERY LEVEL
    + CRITICAL BATTERY LEVEL
    + LOW BATTERY NOTIFICATION
    + LOW BATTERY ACTION

  • Problem with Delivery, Sales and Conditions cubes

    Hello everybody,
    I will be thankful to you all if you can send a reply ASAP as I need the solution immediately . I have 2 Questions:
    No.1:
    I am developing Delivery, Sales and Conditions cubes. I am using 2LIS_11_VAITM data source for Sales, 2LIS_12_VCITM for Delivery, and 2LIS_11_VAKON for Conditions. Here I have a problem. I am putting the 3 Cubes in a Multiprovider. I am planning to use 0DOC_NUMBER (Sales Document number) to combine these 3 cubes in a Multiprovider. 0DOC_NUMBER is mapped to VBELN field for Sales and Conditions cubes. But I have mapped VBELN to 0DELIV_NUMB in Delivery Cube. But I need a 0DOC_NUMBER in the Delivery cube as well inorder to join the 3 cubes in a Multiprovider. Can I use field VBELV(Originating document) from the Delivery Data source, 2LIS_12_VCITM, and map it to 0DOC_NUMBER? Will VBELV give me the same data as VBELN? Or should I map VBELN from Delivery datasource to 0DOC_NUMBER in the Delivery cube and not include 0DELIV_NUMB in the cube? Or Is there any other way to do this? We are using BW 3.5.    
    No.2:
    My second Question is that in the Conditions cube, should I need to create different Key figures to store the Condition values for different Condition types or is one Key figure is sufficient to store the condition values for different condition types? We have 4 condition types.
    Your suggestions will be greatly appreciated.
    Thanks a lot in advance.
    Kind Regards,
    Swathi.

    Hi Swathi
    IF you are developing your own cubes and using the standard infosources you can include sales order number in 2lis_12_vcitm. Just check if sales order number is preosent in 2lis_12_vcitm. if present you can map that to 0doc_number and then load it the cube.
    2. As there are no condition type present in sales and delivery, you will not get the data in the report based on multiprovider. If you want only condition types data then you can directly write a report on condition cube.
    it completely depends on how you design your multiprovider.
    REgards
    Rak

Maybe you are looking for