Execute Query in Background get notified per email

Hello together,
In a project we use BSP's to select variable values in a more comfortable way compared to the SAP Standard variable screen.
For some long-running queries (e.g. show all line items in the ODS where the item text contains keyword 'XXX') our users want a button to calculate the query in background and to be notified per email containing the corresponding link as soon as the result is available.
We use BW 3.5, so Information Broadcasting is available, but this does not really solve the problem.
In the Broadcaster, you can specify the variables using the SAP standard variable screen. But of course we want to use our BSP's. In addition, we first want to specify the variable values before we decide whether to run the query online or in batch. And finally, running the query in the background should be a one-click action. This is not possible with Information Broadcasting.
Does somebody know a solution for this problem.
I assume it can be reduced to some magic FB's and methods that have to be called from the BSP to get what we want.
Thanks for your help.
Juergen

HI Alex,
Could you please help me with the solution. I have a similar requirement where I have to execute the query or workbook in background via a process chain.
Thanks in advance.
Rgds,
Sree.

Similar Messages

  • Executing query in background : EXPORT_NO_SHARED_MEMORY

    Hi,
    I am using reporting agent to execute the query in background.The actual requirment is to print the report and send the report as mail after the triggeting of an event by a ABAP program.We want the same report to run with 9 different varints at the of trigger of this event.
    Let me explain what I have done.
    1.I went to reporting agent-->print
    2.Created 9 settings for the report
    3.Added all these settings in a package
    4.scheduled the package to run after the triggering of the event
    Now the job that executes the report in backgroung gets cancelled with error
    "ABAP/4 processor: EXPORT_NO_SHARED_MEMORY"
    When I checked the spool ,it showed result of the report with one variant.
    Is it because I have assigned the alll settinmgs under a single package ?
    Also can some one tell me about mailing the output  to the user?

    Hi Fazil,
    It sounds like a system problem. You might want to ask Basis people to help you. You can check trx ST22 or SM21 to get any log..
    Hope this helps.
    Regards,
    Diego

  • Execute query in background and write it's content in transparent table

    Hi,
    Is there an easy way to execute one query in background and write it's content in transparent table?
    Thanks,

    Hello,
    Yes you can do this in so mamy ways...
    GOTO RSCRM_REPORT -> select your query -> click on the extract button and set the parameters...table or file Execute.
    Create an APD in RSANWB select your query and you can store the result in ODS table...cube...
    Create a reporting agent and store the result.
    Regards,
    Pavan.

  • Multi server administration MSXOeprator not getting notified via email

    I created mutli server jobs and they are working fine except that I don't get any notification via email.
    The target and master are configured with DB Mail and it is working fine. But for the multi server jobs.. it isn't.
    I tried the operator that exists in both target and master and also the msxoperator.
    What am I doing wrong?
    Thanks
    Paula

    I guess this is it:
    Enable DatabaseMail on the SQL Server Agent -> properties -> Alert System  (check the checkbox), and then restart SQL Server Agent.
    Paula

  • Why do I get a table read error in DB Tools Execute Query.vi

    Hello all,
    I am using LV8 and the database connectivity toolkit.  I can connect to my server database and use the "DB Tools List Tables.vi" to pull the list of tables in the database, but when I try to use an sql command into "DB Tools Execute Query.vi" I get a : Error -2147217911 occurred at Conn Execute.vi->DatabaseTest2.vi message.  In the possible reasons it says : Possible reason(s):
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers: [Microsoft][ODBC Microsoft Access Driver] Record(s) cannot be read; no read permission on 'tblShopOrders'. in Conn Execute.vi->DatabaseTest2.vi
    I can open and edit this table with MSAccess.
    Any ideas as to the cause of this error?
    Jim
    Jim
    LV 2013

    Hey Andy,
    Since my first post I have discovered a bit more (not enough yet).  Firstly, I can access all of the tables using MSAccess (causing me to assume that I have the necessary permissions).  I am using the "DB Tools Execute Query.vi" with an SQL query and "DB Tools Fetch Recordset Data.vi" objects to try to get data.  I don't get an error when connecting to the database, but the error occurs at the execute query vi.  The database has a large number of tables, and I discovered that I can retrieve data from some of them using the above method.  I looked into the user and group permissions in the MS access security settings and found that the permissions were checked for all of the tables that I could open, and not for the rest.  I checked them on the ones I want to open, but this didn't help.  I went back into Access and made sure that they were still checked and they were.  And that's as far as I have gotten so far.
    Thank you for any help that you can provide.
    Jim
    Jim
    LV 2013

  • Execute query's from a bean

    Hi all,
    I have created a adf application with JDeveloper 11g.
    All my pages have backing bean in where I can execute the query's that are on the pagedefenition. (trough the bindingscontainer)
    Now I have created a session bean that not belongs to a page. How can I execute query's or get result from that session bean?
    Thanks in advance.

    Should de page of the page definition file already be openend once? I think else I can get a null pointer exception.In my experience, as long as you resolve such a valid definition inside your method (don't put it as an attribute), you will not get null pointer exception.
    I am thinking of using the page definition of the login page, is that good?I can't say that it is good, but it will do no harm. The point here is that you should be consistent. In my case, I really created a page definition that is not related to any page. Sometimes I have validator classes which do need to access the data from the database, so I put all the method action definition in something named like "headless_userSessionPageDef".
    Pagedef is called LoginPagePageDef in the package test1.view.pageDefs
    Should the binding then look like BindingContainer bindings = (BindingContainer)JSFUtils.resolveExpression("#{test1.view.pageDefs.LoginPagePageDef}");One way to verify the name of your page definition by going thru the Expression Builder and expand the ADF Bindings> data. It would not be like what you described above.
    Regards,
    pino

  • Clearing Form when changing from Insert Mode to Enter/Execute Query

    Morning folks,
    I need some help or pointers with a form I am working on. At startup, the form is in Insert mode. I am using Oracle Forms 9i.
    Goal: Clear the form with NO_VALIDATE when User enters an ID in Insert mode and clicks on the Execute Query button(DEFAULT&SMARTBAR Inbuilt Menu)
    The user can do two things when they first open the screen.
    Option 1: Enter the STUDENT_ID and press Tab
    Option 2: Enter the STUDENT_ID and press the Execute Query button (Part of the DEFAULT&SMARTBAR Inbuilt Menu)
    There is a When-Validate-Item trigger on STUDENT_ID to check if the Student ID already exists in the database. If it does, it gives an Error message saying "Student ID found. Please Query the record or enter a new Student ID". This is fine with Option 1.
    The problem arises with Option 2. When I Enter a Student ID in Insert Mode and (thinking I am in Enter Query mode) and press the Execute Query button, I get two messages:
    Message 1: "Student ID found. Please Query the record or enter a new Student ID"
    Message 2: Oracle message "Do you want to save the changes? Yes/No/Cancel.
    Is there a way to stop this *Message 2?*
    Here is what I have done to try and mitigate this situation. I have created a non database field and have called it clear_form.
    In When-Validate-Item I set the field clear_form = 1 when I encounter *Message 1*
    {code}
    if t_record_exists > 0 then
    set_alert_property('ALERT_ERROR',ALERT_MESSAGE_TEXT,'Student ID found. Please Query the record or enter a new Student ID');
    alert_button := show_alert('ALERT_ERROR');
    :clear_form := 1;
    end if;
    {code}
    By creating *Key-EXEQRY* Trigger at Form Level, I was hoping that it would just clear the form. I put some messages and its seems to me that *KEY-EXEQRY* is firing first and then the *WHEN-VALIDATE-ITEM*. Is there a way to have the *WHEN-VALIDATE-ITEM* trigger fire first?
    {code}
    if :clear_form is null then
    execute_query;
    else
    clear_form(no_validate);
    end if;
    {code}
    Thanks!
    Edited by: Roxyrollers on Sep 28, 2012 8:50 AM
    Edited by: Roxyrollers on Sep 28, 2012 9:45 AM

    Having the actual Student_ID column from the table is dangerous, since it is also the key to the student's data. What if the user properly executes a query, showing a student's data, and then wants to look up another student, so keys in the new ID. If he then presses Execute Query, the Form asks "Do you want to save your changes?"
    If the user presses Yes, the new ID becomes the previous student's key.
    It would be better if you put the student_ID field in a control block. Then, the user enters a Student_ID, and presses Execute Query, the query then populates the student's data in the Base Table block. In the B_T block, the actual Student_ID column should be hidden.

  • Which block get effected by save and execute query

    Hello,
    I'm using forms 9i , database oracle 9i.
    Case:
    i made a simple application with 4 stack canvas on each i place data from 4 tables. convention is like every stack canvas get visible when the corresponding button is pressed. once visible i don't set it to invisible i just place other stack canvas over it.
    Although i don't get any error or problem while doing normal work like saving records or Executing query. but i don't understand whether these operation only effect the table which is visible(on stack canvas). and rest of are unaffected.
    if No then how i can do it with only on visible canvas
    and if yes is there any way that i can do execute query on all of them.
    thanks
    Rahul.

    The SAVE (COMMIT_FORM or COMMIT) will affect the whole form if you are using simple blocks based on tables, every block that does have changed or new data it will saved in the database.
    The EXECUTE_QUERY will affect only the current block, the block where the cursor is in currently. If this block is a master block then the EXECUTE_QUERY on the master block will also affect the detail block.
    If it's a standalone (not a master) block, the EXECUTE_QUERY will only affect the block your cursor is in.
    Tony

  • How to get notify when new Email comes in...

    hi, any idea on how to get notify from phone when there is new email comes in to mailbox with specific key words in the subject, says like "urgent" ..... what are the components that i need to integrate with??
    messaging version 6.2

    Hi,
    Off the top of my head there are two ways:
    1. Use the ENS service to notify when messages arrive - filter out the ones you want. This is going to require some programming and a way to send the notification to the phone.
    http://docs.sun.com/app/docs/doc/819-2655
    2. Use a user-level sieve filter to send a copy of the messages you want to another email address which triggers an SMS.
    http://docs.sun.com/app/docs/doc/819-2650
    Regards,
    Shane.

  • Getting error when we execute query in RSRT1

    Hi Gurus,
    I Loaded Transaction data in "0CCA_C11" cube and also loaded master data too.
    but when i execute query in RSRT1 i am getting error message
    1) Could not enter feature 0COSTCENTER__0PROFIT_CTR with SID 133 into table /BI0/SIOBJNM
    2)System error in program CL_RSR and form GET_CHANMID-02- (see long text)
    3)Error when generating dataProvider.
    For 0COSTCENTER i loaded master data but for '0PROFIT_CTR' i am unable to load Hierarchy data because still the request is yellow even showing 58 from 58 records.
    can any once can help me to soleve this issue.
    Thanks in advance.
    Raju.k
    *points to be assigned.

    Raju,
      Try replicating your hierarchy DS and reload data.
    hope it helps,
    balaji

  • HT201210 After asking a question last week, I now get scores of emails every day. I turned off the radio buttons on " notify me by email " respectfully please help

    After asking a question to the community last week, It now get scores of emails now with questions . I had marked the radio buttons to be notified but
    Later found them, and un clicked them all. Also I might have been hacked, because I was charged yesterday with an App, that I did not order!!!
    I only know that, because I get an instant message from my bank by phone, when I spend any money. I am worried.
    Bambi

    Hello Dorothea5916,
    It sounds like you changed your forum account preferences and now they have changed back, and you have an unauthorized purchase on your iTunes Store account and have concerns about your account security. I recommend first changing your Apple ID password with this article:
    Apple ID: Changing your password
    http://support.apple.com/kb/ht5624
    Go to My Apple ID (appleid.apple.com).
    Click “Manage your Apple ID” and sign in.
    If you have two-step verification turned on, you'll be asked to send a verification code to the trusted device associated with your Apple ID. If you're unable to receive messages at your trusted device, follow the guidelines for what to do if you can't sign in with two-step verification.
    Click "Password and Security".
    In the "Choose a new password" section, click Change Password.
    Enter your old password, then enter a new password and confirm the new password. Click Save when done.
    The next time you use an Apple feature or service that uses Apple ID, you'll be asked to sign in with your new Apple ID password
    You should also report an issue with the purchase to the iTunes Store support directly with the following article:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/ht1933
    To enhance security for your account you may want to look into Two-Step Verification to help prevent unauthorized access to your account:
    Apple ID: Frequently asked questions about two-step verification for Apple ID
    http://support.apple.com/kb/ht5570
    Thank you for using Apple Support Communities.
    Cheers,
    Sterling

  • Just started getting about 300-400 emails per day from several fraudulent Addresses to my icloud email and am not sure how to stop receiving them, or create a rule to have them all go to Junk.When unsub, I get more. Emails from my contacts are now Junk?!

    Just started getting about 300-400 emails per day from several fraudulent Addresses to my icloud email and am not sure how to stop receiving them, or create a rule to have them all go to Junk.When unsub, I get more. Emails from my contacts are now Junk?! How do I fix this? I have over 800 emails since 5Am YESTERDAY!

    First, don't unsubscribe.  This only tells the spammer that your email address is valid and they will send even more.
    If this is only being sent from a few specific email addresses, you can set up a rules on icloud.com similar to the image below to send them to the trash.  This describes how to set up a rule: http://help.apple.com/icloud/#mm6b1a3f8a.

  • Why dont i get notified when i have a new email?

    so i wanted to know is there any way i can get notified when i get an email besides having to check my mail myself to see if i have any? ive seen people have the number symbol on the mail icon when they get email but i never do. ive already went into notifications and made sure everything is on but still nothing. does anyone have ideas to what i can do or is it a glitch on my phone?

    Not all email accounts allow push notification.   http://www.apple.com/uk/support/iphone/mail/
    An exchange account will allow push.

  • Urgent help please ! Get data after executing query

    Hi all
    I have stored some data's with labVIEW to mysql by writing query using db tools execute query.vi.
    For fetching those data's also wrote a query(select* from....)using the same tool . 
    the query got executed . What tool i have to use to retrieve the data from mysql to a labview array.( the fetch recordset data.vi tool is not fetching.)
    Thanks
    Attachments:
    db.JPG ‏11 KB

    First, make sure your query string is correct, no typos, the table and fields exist.  If all of this is correct, try using Fetch Next Recordset instead of Fetch Recordset.  I've had to do that with some databases.  For some reason, the record pointer doesn't advance with the query.  Or maybe the record pointer is pointing to empty space and the query places the record found as the next record instead of the current record.
    - tbob
    Inventor of the WORM Global

  • Email notifications per email account, and bundled together? (former Android user)

    Hello there,
    I made the switch from an old HTC Android to the new iPhone 5S two weeks ago and the one thing I cannot configure to my liking is email notifications in the notification center. I have multiple email accounts that recieve a moderate volume of emails on most of my accounts per day and need a quick way to view the activity of a given email account, not the app. I currently use two email apps as follows:
    Mail - iOS7 native app
    x2 Exchange email accounts
    x1 Windows Live email account
    x1 Yahoo email account
    Gmail App
    x2 Gmail email accounts
    I have configured the notification center to notify me for all but the yahoo email account. The problem I have is that the notificaiton center only shows X number of recent emails (selected in settings) the APP has recieved, and does not say which email account it is, or how many extra emails on top of X that I selected were recieved. My phone is on silent 24/7 and the only vibrates for phone calls and text messages. I will periodically check the notification center throughout the day and use it as a summary of what has happend since the last time I checked.
    On my Android, each email account would have two lines in the Android Notification center. The first unread email on an account would use those two lines to tell you the subject line, time recieved, email account, the total number of unread emails, and the app. Once that account gets two or more emails, it simplifies to say the number of new messages, time the last one was recieved, the email account, the total number of unread emails, and the app. What is really nice about that setup is that each email account had two lines in the notification center, no matter what, and at a quick glance I can see which email accounts are really acitve and I probably need to check on. If one email account was really active and I wanted to check on it, I could select the single notification for that account and it would take me to the (already updated) inbox where I can quickly browse to see what all the emails are about. At this point it may sound like it is just different and I just need to get used to the iOS7 interface, but let me share an example where iOS7 lets me down, and Android has done well for the last couple years:
    During M-F from 8-6, my two exhange accounts and one of my gmail accounts are the only accounts I care about. One exchange account receieves 5-20 emails per hour, and the other exchange account might recieve 1-5 per day. Only a small percentage of those 5-20 emails need a priority response, but the account that gets 1-5 per day are emails that I need to know about and respond to right away. What happens in the iOS7 notification center is that I may not even see a notification for the email account that gets 1-5 emails per day, and if I do, it only tells me the sender, subject line, and some of the body if I allow more than 2 lines - it does not specify which email account it was sent to. I can choose 1, 5, or 10 emails to be displayed for the Mail App in settings, but the 5-20 emails I recieve can bump the 1 important email from the one account out of the notification center.
    Is there a way to configure notifications per email account, and bundle all the recieved emails (by saying "# New Messages" or similar) on a given account into 2-4 lines? My ultimate goal here is to not lose a notification on one account due to the high volume of another, but to also keep them concise enough that I don't need to scroll through a massive list of notifications like one giant inbox.
    I would appreciate any tips or advice to configure the notification center better for my use case. Thank you!

    Yeah.. I have problems with all apps that have notifications.
    Forget the Google Gmail example.. I'll use imo, Groupme, and Facebook as examples.
    I see the notifications. But when I open the app, it won't show the newest received messages. It will take a few second before the app would refresh.
    With my Android experience, all apps would update with the new information in the background. It appears that even though the apps are running in the background in iOS, the actual app appears to be paused until you reopen the app. That's when the app will refresh with the new information.

Maybe you are looking for