Question on what to use for this task

Sorry new to this and I could really use some help.
I have view that has and ID number, a Min and Max value and a TotalCount columns. I then have a table that has an ID number and an Email address.
What I need to do is find all the records in the first table that the TotalCount value is either under the Min or over the Max. If so I then need to grab the Email address from the other table that has the corresponding ID number and then send an email to
the email address I got from the second table stating that the ID number has gone over the Max or under the Min.
This seems so simple yet I can't figure our how to do it in SSRS as an SSIS Package.
Please help.
Thank you

your SSIS package will have following flow
1. Create a Execute SQL Task which will have the below query
SELECT EmailAddress
FROM Table2 t
WHERE EXISTS (
SELECT 1
FROM table1
WHERE ID = t.ID
AND (TotalCount < Min
OR TotalCount > Max)
Use Resultset option as Full resultset and map the resultset EmailAddress to a object variable (@[User::EmailAddressList]) created in SSIS
2. Use a ForEach Loop with ADO enumerator which points to above variable
Inside a loop add a variable [@User::EMailAddress]) to get iterated values
3. Add a Sent Mail task inside loop and set an expression for ToLine property to point to the variable [@User::EMailAddress] so that it sents email to email address specified.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • What to use for this problem?

    Hi.
    I have a data set containing 500 parameters (for example). The data set should be clustered to 3 or more clusters and all of clusters should belong to 3 and only 3 groups (it means several clusters may belong to one group). My problem to solve is to find 3-7 paramets (from that 500) for which the found clusters will be the most precise as possible (theirs' boundaries will be best visible).
    What ODM method should I use?

    QuickTime is not an app you can download to the iPad
    However, many users have had success with an app called OPlayer HD to view their videos. And, there is a lite version so you can see if it'll work for you before plunking down the cash for the fancier version. VLC Media Player app is another possibility.
     Cheers, Tom

  • What cable to use for this?

    I am trying to hook up my xbox 360 to my Macbook pro, and I am unsure of what cable to use for this. Composite cables.

    Hi there Dsc, i tried to do so b4, but with limited success, now the problem is like been told you, MBP is not design to accept INPUT video signals, i got something called EYETV coast me about 120$, but the resolution that XBOX accepts is much higher than MBP screen can afford, i got this message when i tried to hook it up ( the dash board came up from the xbox ): YOU NEED TO ADJUST YOUR SCREEN TO A HIGHER ADJUSTMENT BEFORE YOU CAN PLAY GAMES ON THE CONSOL or so, but thats my experience any way, if you succeeded please let me know, by the way i asked the same Q b4, just search my questions and you will see the answers on my question. hope this helped.

  • What are all the tables used for this report:

    hi
    what are all the tables used for this report:
    report:
    •     <b>Stock Report, which will give opening balance, receipt, issue, and closing balance for any given Duration for any material.</b>
    thanks in advance

    Tables: MSEG, MKPF, MARD.
    FOR REFERENCE SEE TRANSACTION : MB5B.
    Message was edited by: Sharath kumar R

  • Becouse of expire of credit card I updated billing information by providing data of new credit card but system just says "We're sorry, the billing information on file could not be used for this payment. Please update your information.". What exactly is wr

    Becouse of expire of credit card I updated billing information by providing data of new credit card but system just says "We're sorry, the billing information on file could not be used for this payment. Please update your information.". What exactly is wrong?

    Are you 100% sure that every detail of your information is the same in each place?
    Make sure that EVERY DETAIL is the same in every place you enter your information
    -right down to how you spell and punctuate the parts of your name and address
    Change/Verify Account https://forums.adobe.com/thread/1465499 may help
    -Credit card https://helpx.adobe.com/utilities/credit-card.html

  • What are the tables used for this Report

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.
    9994262112.

    hi
    good
    try with these tables,
    MARA
    KNA1
    thanks
    mrutyun^

  • What r all the tables used for this report. please reply

    hai,
    what r all the tables used for this report.
    report :
    <b>
    •     Report to display all finished goods that go out-of-stock. Developed a drill down report for materials details (totals and subtotals for material stock values by material group and material type).</b>
    thanks in advance

    hi Ashok,
    Check this out
    http://www.allsaplinks.com/tables.html
    http://www.sapgenie.com/abap/tables.htm
    Regards,
    Santosh

  • What r the tables used for this report.

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.

    Hi Ashok,
    this is easy to do.
    Open Two SAP Screen with same user ID.
    Run SQL trace using ST05 transaction.Open ST05 transaction in One and make
    Trace on ,Run the report in another screen.
    Once report run is over.End the trace process and click on display trace in same ST05 transaction.There is a click button on ST05 Transaction screen to start trace
    process,End trace process and Display track process.
    The SQL trace will  give you all the table details which is used in that particular report.
    You have not mentioned about the report name so I have suggested this way.
    regards,nishant
    Please reward if this helps

  • My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    My requirement is to update 3 valuesets daily based on data coming to my staging table. What is the API used for this and how to map any API to our staging table? I am totally new to oracle and apps. Please help. Thanks!

    Hi,
    You could use FND_FLEX_LOADER_APIS.UP_VALUE_SET_VALUE to upload them from staging table (I suppose you mean value set values...).
    You can find a sample scripts if you google around.
    What do you mean "how to map any API to our staging table" ?
    You should do at least the following mapping (which column(s) in the staging table will provide these information):
    - the 3 value sets name which you're going to update/upload (I suppose these are existing value sets or which have been already created)
    - the value set values and  description
    Try to start with something and if there is any issues the community could then help... but for the time being with the description of the problem you have provided, that's the best I can do...

  • I have Mac Pro 2007, which have no bluetooth hardware. What should I do to use Apple wireless keyboard and magic mouse??? Can 'third party's internal bluetooth card' be used for this purpose? Help please...

    I have Mac Pro 2007, which have no bluetooth hardware. What should I do to use Apple wireless keyboard and magic mouse??? Can 'third party's internal bluetooth card' be used for this purpose? Help me please...

    You can find the Apple Bluetooth card on eBay for as little ten dollars (says its for the 2008 model Mac Pro, not sure about the 2007).
    http://www.ebay.com/itm/Bluetooth-Board-iMac-and-Mac-Pro-922-8233-922-8233-/1208 49278570
    Here is a link to a full explanation of the card and how to install it. Part numbers may differ a bit as that is an old article and newer models have come out.
    http://www.xlr8yourmac.com/systems/Mac_Pro/Bluetooth_MacPro_install/Bluetooth_Ma cPro_install.html
    Just make sure that the part will work in your model Mac Pro. To that end, you may be better off avoiding eBay and going to a parts reseller. There are even third party cards that use the internal Apple bluetooth slot.
    http://fastmac.com/bluetooth.php
    In theory, using a USB or PCI card will work at login so long as it is recognized by Apples drivers. You say you need to launch an application to use your current USB Bluetooth dongle? If it is not controlled by the Bluetooth icon in the menu bar then it must be using a third party driver of some sort. Unfortunately, I don't know off hand which USB and PCI cards are supported.

  • H.264 What is the best use for this? H.264 Pros & Cons?

    I wanted to know since I am using DV what if any role can H.264 play in my workflow? What are the intended or best uses for this? What are H.264 pros and cons? Will it produce higher quality than DV?
    As always thanks in advance for reading and replying to my post,
    Sebastian

    It will not make DV look better, it is a MPEG4 based compression format for material to be delivered over the web. As such, encoding your material to it it is the last step in the editing process.
    x

  • What Extractor can be used for this purpose?

    Hi all
    I have a requirement for a new report. The user wants to get a report regarding inbound cost saving including materials, material group, MRP controller, vendor, date, qty, actual inbound transportation cost, standard transportation cost which is fixed in SAP and variance between actual and standard.
    Can any one advice me what Extractor and Extract Structure can be used for this purpose?
    Thanks in advance
    Ishi
    Edited by: eletter on Sep 28, 2009 11:11 AM

    Hi
    Extract structure
    The extract structure, data from a DataSource is staged in the source system. The extract structure contains the amount of fields that are offered by an extractor in the source system for the data loading process.
    Extractors
    Extractors is a data retrieval mechanisms in the SAP source system. Which can fill the extract structure of a data source with the data from the SAP source system datasets. The extractor may be able to supply data to more fields than exist in the extract structure.
    Hope this helps you
    santosh

  • What is used for WebDynpro for ABAP?

    hi all friends,,
    what is used for WebDynpro for ABAP?
    Thanks,
    S.Suresh.
    Title was edited by:
            Alvaro Tejada Galindo

    Hi
    Web Dynpro for ABAP - Getting Started
    Web Dynpro for ABAP is SAP’s new standard UI technology for developing user interfaces in the ABAP environment. In the long term Web Dynpro for ABAP will be the successor of the traditional screen (“Dynpro”) based user interface technology which is based on the SAP GUI. Available with NetWeaver 7.0 (2004s) Web Dynpro for ABAP provides the same declarative UI development paradigm as Web Dynpro for Java directly out of the NetWeaver ABAP Application Server. Web Dynpro for ABAP allows the development of user interfaces directly within the ABAP Workbench (SE80) and the Web Dynpro runtime environment is a central part of the ABAP server and can be used in any SAP solution based on NetWeaver 7.0 (2004s) without the need of an additional server installation.
    Web Dynpro for ABAP allows the development of user interfaces in a declarative way by providing a mighty framework which abstracts the rendering technology from the core UI definition tasks. The Web Dynpro developer declares the layout and behavior of the UI without caring about HTML, JavaScript, browser specifics or the HTTP protocol. Instead the focus lies on designing graphically Web Dynpro components based on the Model View Controller model, which enforces a clear separation between the UI layer and the underlying business logic.
    This declarative Web Dynpro programming model enforces the developer to focus on the tasks of
    Designing the layout of the visible views (where should the table be placed, do I need tabs, how should the button look?)
    Declaring the flow and behavior of the application (flow between views, which event is triggered by which button click, etc)
    Defining the data binding (which internal table is displayed in a specific table, etc)
    Implementing the event handlers and controller methods.
    Without making any assumption about the used rendering technology, like which browser should be supported or if the Web Dynpro application will be later displayed in a web browser via HTML at all or in another kind of client with completely different rendering capabilities.
    The Web Dynpro Frameworks provides all important UI features directly out of the box:
    All elements (tables, buttons, trees, dropdown list boxes, etc) necessary for state of the art user interfaces are provided by the Web Dynpro Framework in the form of predefined UI element libraries.
    Complex features and behavior of UI elements.
    Internationalization of the UI. All visible strings in a Web Dynpro ABAP UI are handled by the translation system and are translated in the same translation environment like other ABAP language dependent resources. All texts are displayed automatically at runtime, dependent of the user’s credentials.
    Accessibility features are directly built into the framework and UI elements.
    A unified rendering engine generates at runtime the data which is sent to the specific client application, which is not limited to browsers but includes the NetWeaver Business Client.
    All this is available in the established environment of the ABAP application server and well known capabilities like the transportation and change management system, security environment, test and performance analysis tools or remote debugging can be used like in common ABAP development.
    Learn about the Web Dynpro for ABAP technology with the resources below, and post your related questions and answers to the Web Dynpro forum.
    Web Dynpro for ABAP: Sneak Preview  
    Download, License Key Documentation, and Installation Guide available here.
    Web Dynpro for ABAP: Tutorials for Beginners  
    SAP NetWeaver Product Management provides this set of tutorials for getting started with Web Dynpro for ABAP technology.
    SAP Help Portal: Web Dynpro for ABAP  
    This online SAP documentation goes into detail about Web Dynpro architecture and programming, Web Dynpro for ABAP administration and security, and more.
    Web Dynpro - Not Just for Java Developers Anymore   (PDF 3.8 MB)
    In this SAP Insider article, SAP Product Manager Karl Kessler describes the tools of Web Dynpro for ABAP and uses a simple flight report example to highlight new and updated tools in the familiar ABAP environment.
    Community Contribution: WDA Tutorial I - Getting Started with Web Dynpro for ABAP   (PDF 2.5 MB)
    Software Engineer Rich Heilman provides this step-by-step guide for developing a Web Dynpro for ABAP application.
    Going into Details
    Basic Concepts - Selection vs. LeadSelection  
    In this blog, Thomas Szuecs of the Web Dynpro for ABAP development team shows how selection and LeadSelection works in Web Dynpro for ABAP.
    Web Dynpro for ABAP: Recreate the SE16 Data Browser   (PDF 386 KB)
    In this tutorial, Thomas Jung of SAP NetWeaver Product Management shows how to create a data browser simulator using Web Dynpro for ABAP.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/80aef577-543f-2a10-d19c-d83a565efe37 [original link is broken]
    <b><REMOVED BY MODERATOR></b>
    Message was edited by:
            Alvaro Tejada Galindo

  • Releasing Mass Change Worklist-Error Message No Administrator for this task

    Using transaction AR01 we create a Worklist and assign it to the Substitution Rule.  When we use Transaction AR31 and try to Release the Worklist so that the actual Mass Change can take place, we get the following error message.  "No Administrator for this task".  We've tried a user id with SAPALL and still get this error message.
    Does anyone know what this means and how we can get around this message?

    We have this working in our Test system without having to set up any workflow tasks for Fixed Assets.  I'm wondering if this has to do with the Productive client settings.  We had to make some changes so that we could use transaction OA02 in a Productive client.
    Any suggestions would be greatly appreciated.

  • What to use for the events of 2 keys pressed simultaneously?

    Question:
    What to use for the events of 2 keys pressed simultaneously? As the key listener has limited functionality, in this case, I need something that can act to two events (see below)
    Goal
    1. A user presses right and up at the same time
    2. Program responds to this event changing BOTH the vertical and horizontal speeds of the player
    Problem
    I currently have a key listener to do this, using key pressed, however, it only acts to up OR right at one point in time. So the user can only increase his or her vertical speed; or horizontal speed at one point in time. Instead of increasing them both.
    Example
    Here is an example of the game: http://www.kongregate.com/games/MINDistortion/bubbles-2

    DarrylBurke wrote:
    I don't know whether there's a better way (or whether this will work as expected), but I would try setting a boolean flag on keyPressed and reset the flag on keyReleased, for each key of interest. To compute the x / y movements, I would check the state of all flags.
    dbI was thinking about your answer a few nights ago. And I was like, wait... it works! I thought, at first (as I replied before) that it wouldn't work, but I refract what I said. Its actually a very simple solution. And I apologize for questioning your solution previously. Thanks so much!
    P.S. I tested it out. Works like a charm.
    -Create booleans to handle each key
    -Set to true on press
    -Set to false on release
    -Check and update in separate thread accordingly

Maybe you are looking for