Reporting on between values

Hello,
I am trying to create a report that reports on all contacts that have a post code between 3000 - 3005 but the list goes on to include about another 100 values 3008 - 3015 ect.
I have tried to create a report using the between function and coping and pasting the formula to create the next between value but this is not working and it is take along time to create. I don't believe there is any between value SQL that can be run as you can only do two values in SQL.
Can anyone offer a solutions to display all contact that have a postal code of between 3000 - 3005; 3008-3010; 3105-3109 etc?

Alex,
Thats what i was going to do and then it comes up with this error:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 46036] Internal Assertion: Condition !pConjunct->IsAndCond(), file .\Src\SQORToCNF.cpp, line 46. (HY000)
SQL Issued: SELECT Contact."Contact Furigana First Name" saw_0, Contact."External ID" saw_1, Contact."Contact First Name" saw_2, Contact."Contact Last Name" saw_3, "- Contact Custom Attributes".TEXT_31 saw_4, Contact."Email Address" saw_5, "- Contact Address - Extended"."Address 1- Extended" saw_6, "- Contact Address - Extended"."Address 2 - Extended" saw_7, "- Contact Address - Extended"."Address 3 - Extended" saw_8, "- Contact Address - Extended"."City - Extended" saw_9, "- Contact Address - Extended"."Province - Extended" saw_10, "- Contact Address - Extended"."Zip Code - Extended" saw_11 FROM "Contact Lists" WHERE ("- Contact Address - Extended"."Province - Extended" = 'VIC') AND ("- Contact Custom Attributes".INDEXED_PICK_0 NOT IN ('Do not contact', 'Inactive')) AND ((Contact.Type <> 'Investor') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3000' AND '3005') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3007' AND '3009') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '8000' AND '8399') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '8502' AND '8505') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3022' AND '3036') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3039' AND '3050') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3052' AND '3073') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3077' AND '3078') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3080' AND '3083') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3086' AND '3100') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3335' AND '3341') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3425' AND '3443') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3750' AND '3751') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '3753' AND '3764') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '8401' AND '8403') OR ("- Contact Address - Extended"."Zip Code - Extended" BETWEEN '8417' AND '8424')) ORDER BY saw_0, saw_1, saw_2, saw_3, saw_4, saw_5, saw_6, saw_7, saw_8, saw_9, saw_10, saw_11

Similar Messages

  • Running-report-for-all-values

    Hi ,
    Based on this link i have implemented this logic....
    http://bischool.wordpress.com/2009/08/26/avoid-running-report-for-all-values-on-dashboard-when-using-multi-select-prompt/
    But for the intermediate report its taking more time to run...nearly 4min...is there any way to reduce it.
    Thanks

    hi User,
    Quick question
    Why you are giving (-1) value's as per the doc we can give any value which has to give no results? Have u tried to give some other value ?
    Next,Do u have left outer joins between those tables? If yes you should face the same problem with the main report because the filters to be same as intermediate report am i right ?
    First tune-up the rpd and get the main report query ,run-it over DB
    Due to huge data and the join taking more time....is there way any thing to add to reduce the time??Huge data ?? Intermediate report will not get any results i think it will not take more time to give a message,but due to join conditions only it is taking long time to run
    Note :Before getting value from DB it will check the where condition( joins)
    Thanks,
    Saichand Varanasi

  • Report on Multiprovider # values problem

    Hi Experts, 
    I am doing report on Multiprovider which has got 5 cubes.  Let us say, data comes from Cube1 and Cube2.  I have Notification  number as the common field in both. I am having 2 more characteristics  Item from Cube1, Completion date from Cube 2. Similarly 2 keyfigures Qty from Cube1 and no.of defects from Cube2.
         Notific  ||      item        ||date            ||defects     ||     Qty 
         10001  ||       001            ||       -                  ||     2    ||                -
         10001  ||           -            || 10/02/2009        ||     -    ||                5
    Now when I execute the report it gives # values where item is not present, similarly for Comp date also.  User wanted to see both records in one line. I tried to  use " Constant selection" option,  and exclude # values in the filter, but it is working fine if any one of the above characterstic is in drill down but not both, in case of both it shows no applicable data.
    Because If I exclude # values for both chars at a time, then obiviously no data comes.
    How do we achieve this scenario, with 2 characteristics in drill down which are not common in 2 cubes? I can' t go for infoset now, because design is already happened. Very long back I have seen Prakash Darji's reply on the same issue. I could not get that thread. Please assist me on this ?
    Regards
    Sreekanth S

    Hi,
    You can either use infosets or use constant selection.
    For constant selection, check the blog below:
    /people/prakash.darji/blog/2006/09/19/the-hidden-secret-of-constant-selection
    -Vikram

  • Report for stock value at Warehouselevel

    Hi
    I need to generate  a report of stock value at the warehouse level.
    please let me know the tables to be linked to get the report.
    Thanks

    Hi Nainar,
    You can use MB52 and if you get the list you can use 'sum' icon to get the total value (on the selection screen you can set wether SAP should display values or not).
    You can also use MB5L, MC.A transactions. If you want to check the stock only for one material you can check it in material master record on Accounting1.
    BR
    Csaba

  • Need to run the report for All Values when Null is passed in parameter

    Hi All,
    In my BIP report, I am using a parameter :asset with Type as Text, which means user will type the values for the parameter in the text box.
    Now, this parameter can take multiple comma separated values. I have a requirement to run the report for All Values when user doesn't enter any value in the parameter text box and if user enters any value(s) then the report will run for those values . The way, I tried to handle that in the query using couple of ways was :
    IMP : My Database is SQL Server
    where
    (table.asset = isnull((:asset), table.asset) or table.asset in (:asset))
    Now this works fine when I give a single asset number but when I give multiple values separated by comma like 123, 345 in the text box, then the statement fails saying 'encountered ,'
    I also tried simply
    table.asset in isnull((:asset),table.asset) -- but this doesn't work as it doesn't allow me to use in operater while using isnull and if i will use = operater then it won't work in case of multiple values
    Any suggestions on how can I handle this? Any help would be highly appreciated.
    Thanks,
    Ronny

    thanks for replying, but i tried this option too, it did not work for me, neither isnull nor coalesce. I mean, the solution work for single value but when i pass multiple values then separated by a comma then it doesn't work and shows me an error like "Incorrect Syntax ','". I am using SQL server as DB and bip is 10.1.3.4.1
    also please share the SR number, so i can also check the same.
    can there be any other work around to this?
    thanks,
    ronny

  • MC$4 report shows PO value in wrong currency

    MC$4 report shows PO value in wrong currency EUR (EURO) eventhough PO
    was created with SEK (swiss) currency. Report picks data from info
    table S012 that also reflects wrong currency.
    Please check attached example....
    Currency is getting picked up in table S012 info-structure from company
    code table T001 (PO belongs to) not from purchase order.
    This is certainly bug in standard SAP LIS report. This is inbuilt LIS feature given by SAP & we cannot do any fixing.
    Can you provide solution how we can correct this error. How to display correct currency in report & info-structure S012.

    hi
    in the report the system might be taking the co code currency
    what u have to do is go to  MC$4  press ctrl+F7
    u will get the currency change option change it to what u want
    regrads
    kunal
    awrad if helpful

  • IExpense Create Expense Report Page  - Entity Value

    Hi All,
    IExpense Create Expense Report Page has an entity value by default . I am not sure that whether it is based on responsibility login or on employee login .
    1) Pls let me know if you know it .
    In Create Expense Report Page , department value can be selected by the user . Now I have selected a department which does not belong to the default entity . In this case I am able to create the expense report but with default entity code combination .
    2)I need to customize the entity value based on the selected department.But I could not track where the entity value is being set.
    Any suggestions to start it off ??
    Thanks,
    Thavam

    Dear Thavam,
    You need to decompile your Controller and AMImpl class files and understand the underlying logic. Thereafter you can identify a solution to extend the controller and introduce the solution.

  • SFTP Seeburger adapter - Could not find channel for report handling between

    Hello Friends ,
    We have R3 -> PI-> SFTP scenario . The messages are transferred successfully and the file is successfully received at the receiving end . But when we do communication channel monitoring , we see errors in Receiver CC . The Reciever CC contains SFTP adapter (Seeburger) . Recently the Seeburger adapter is upgraded and the below error has started occuring then onwards .
    Error Message which we see in CC monitoring for Receiver CC (SFTP) is as below .
    Initiation of Transmission Report( job id: da405030-30c6-11df-8b6e-797b8921162c milestone: 290) failed! Exception occured: Error while preparing XI message. Error: Could not find channel for report handling between parties: fromParty, toParty: Itella) - com.seeburger.xi.connector.fw.ConfigurationException: Error while preparing XI message. Error: Could not find channel for report handling between parties: fromParty, toParty: Itella) [3/16/10 8:40 AM]
    Could experts help me ...
    Thanks for your time .
    Regards,
    Laxman Nayak .

    Hi,
    I also have the error you mentioned but we're implementing the Seeburger SFTP adapter for the first time.
    I've requested transport acknowledgements in my ABAP proxy and have checked the 'Deliver transmission report' flag in the adapter but I don't know what else I must do.
    Any help would be greatly appreciated.
    Thanks,
    Alan

  • Difference between value and binding ?

    hello
    I am afraid I am not clear on difference between value and binding of a component?
    I will appreciate if you supply an explanation.
    kind regards

    Binding? Aren't you talking about JSF? That term doesn't occur in JSP world.

  • How to maintain space between value and base unit of measure in sapscript

    Hi Guys,
    I am working on an upgradtion project, i have problem like while upgrading from 4.6b to 5.0. i need to main a space between value and base unit of measure. can anyone letme know how to maintain in the form. I mean in sapscript.
    Thanks,
    Yogesh

    There are a couple of ways to handle this,  if you need a bigger space between, you can use tabs in the paragraph format.  Or you can just write the space in between the fields like so.
    ZA  &MSEG-MENGE& &MSEG-MEINS&
    Regards,
    RIch Heilman

  • Web Report - Hide Repeated Values

    My web report hides repeated values regardless of the query setting. 
    Is there any way to set a specific column to not hide repeated values?  Using the table API?
    Thanks!

    dear Kenneth,
    have you try to remove the check mark of properties 'suppress repeated text' in 'specific' section of your web item 'table' in web template ?
    or you can give parameter SUPPRESS_REPETITION_TEXTS for web item 'table' with value blank
    <param name='SUPPRESS_REPETITION_TEXTS' value=' '>
    doc may useful
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13dc9190-0201-0010-71a4-a9f56cdfcc72
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee
    hope this helps.

  • Wants a report of characteristics values for material master

    Dear sir,
    how can i get the report of characteristic values of a materials.
    pratik

    Hi
         In CL6C, give the class where u might have assigned the characteristics.
    tick the display options as required and execute.
    or
    Use the tcode CT10, give the characteristic name and execute.
    Regards
    Sandy
    Edited by: Snehalkumar Kadam on Feb 25, 2009 11:33 AM

  • How can I show report with multi value

    Dear Maters,
    I am creating a report using BUILD A REPORT USING A DYNAMIC TEMPLATE,
    Although, I choose all product but my report only show value of revenue one product and not summary by quater, only by month.
    Detail below:
    I want to report :
    ACTUAL, Periodic     2009.Q1     2009.Q2     2009.Q3     2009.Q4     2009.TOTAL
    Revenue       7,300       232,000       20,000       140,000       465,000
    Adjusted Revenue                          
    Total Revenue      7,300       232,000       20,000       140,000       465,000
    but I only can see :
    ACTUAL, Periodic     2009.Q1     2009.Q2     2009.Q3     2009.Q4
    Revenue                     
    Adjusted Revenue                     
    How can I customize for this,
    I try using EVGST on member set but I don't know exactly what parameter on it
    Please help me?
    Thanks you so much and waiting advice from you
    Best Regards
    Chinh Pham

    Hi,
    Please refer to the EVGTS function in the below link from help.sap:
    http://help.sap.com/saphelp_bpc75_nw/helpdata/en/ef/824d0b838a4c73bd460ec9d689607f/content.htm
    You need to, basically, mention the data region from where you want to fetch the data. Depending on the template of your report, the account member comes from the row, and the time member comes from the column. So, for these 2 dimensions, you need to refer to the cells, which holds the ID of the members. For the rest of the dimensions, you should fetch the members from the page region, preferably.
    Hope this helps.

  • Reporting structure between two positions as vise versa

    Hi,
    Two positions for eg. AGM (A002 relationship) reporting to Deputy MG and Deputy MG (A002 relationship) reporting to AGM..as per my knowledge reporting structure between two posiitions is maintained with two different relationships i.e A002 and B002 relationship ie.if one relationship is maintained another is automatically maintained...is it possible to maintain two positions reporting to each other (A002)...Please help ASAP.....!!
    Thanks

    Hi Sonu,
    You are asking abt a inverse relationship and yes A/B002 will do that
    say AGM is the higger position and DGM is the lower so when DGM reporting to AGM it will be A/002 and when AGM reports to DGM then it will be B/002
    So always the higher position is taken as A and lower is B.
    Hope this clarifies ur issue.
    Thanks
    Swati

  • Display Report Level Filter value and Input Controls Value

    Hi,
    Please let me know how to display Report Level Filter value and Input COntrol values in the report.
    I have 2 tabs in the WebI Report. The first tab has the summary details about the other tabs like reprot desc, prompt values, reprot filter values,etc.
    In the 2nd tab I have the actual report which has input controls defined, prompt values and global level report filters.
    Can anyone please tell me how to display the Report level filter values and the Input Control values in the first tab report.
    For ex: Tab 2 has a Report level filter: Region = NA
    I need to display in Tab 1 in as Region: NA
    I used the function ReportFilterSummary but that is giving me other details, I want only the object name and the value.
    Also how to dispaly the Input Control values in the tab 1.
    Please let me know if you have any suggestions for this issue.
    Thanks

    did you try
    =ReportFilter([Year])
    if you are making report filter over the year, it will return the value of the filter
    by the way, the filter should be applied over all the report not to a specific block to be able to get the correct value
    the Input control also considered as report filter, only if you're applying them on the level of the report, if you applying an input contron over a specific block or chart, you will not get the values for ReportFilter
    good luck

Maybe you are looking for