Generate a Report Dynamically without User Intervention and Output to XML

Here's the scenario for which I am trying to find a solution. Any help would be greatly appreciated.
I have a series of reports that the users generate from a UI by selecting the report, setting the values for a list of parameters, and then click a submit button. The report is generated in the UI for them to view. They can print it from here or export it to Excel.
They would like to be able to schedule a report to run daily without user intervention using a saved set of parameters. The system would run the report automatically and email it to a defined set of email addresses.
To do this, we need to have the report generated in a string or xml so a Java process can read it and email it.
I see that I can change a report's template to export:xml so I feel that it is possible. How can I export a report to XML without user intervention? Can the report template be changd dynamically at runtime? Ideally, I need some way to call this same report and have it output as a string data or xml to be used by a Java process that would store and generate the report for email.

Hi Kumar,
From Program1 you are calling Program2, using submit syntax (inside Program1).
While using submit, if you have correctly filled up the selection screen of program2, then it will AUTOMATICALLY get executed, WITHOUT F8.
If there is any compulsary field in program 2, which does not get populated, then it will not run automatically, or unless some special code is written in program2.
If you do not want the output of Program2 on screen, then u can use
SUBMIT Program2 AND RETURN.
In that case, no selection screen (of program2) will appear and neither the output of program 2.
Regards,
Amit Mittal.
Edited by: Amit Mittal on Dec 23, 2009 4:10 PM

Similar Messages

  • Animate elements one by one without user intervention

    Hi, Good Day,
    I have series of rectangles and textblocks on page.
    I need to show them moving at different places one by one according to the contents of textblock without user intervention.
    If I use for loop then it show movement of only last rectangle as I have to stop the storyboard in each iteration of loop.
    Is there any way to move these rectangles automatically one after another????
    sunaina

    A storyboard has a completed event.  I think that's the easiest way to handle this sort of requirement.
    You could chain them.
    So you get a reference to a storyboard, add a handler to it's completed event which starts the next storyboard...
    And start it.
    Obviously you will have storyboards which do something or other but here's how I attach anonymous completed eventhandlers to a storyboard:
    Storyboard sb1 = new Storyboard();
    Storyboard sb = new Storyboard();
    sb.Duration = new TimeSpan(0, 0, 1);
    sb.Completed += new EventHandler(delegate(object s, EventArgs a)
    sb1.Begin();
    sb.Begin();
    Hope that helps.
    Recent Technet articles:
    Property List Editing;  
    Dynamic XAML

  • Can You Play Multiple Playlists Without User Intervention

    Can you stack and play multiple playlists? ie if you had three playlists of 50 songs each, could you pick all three, play all the songs in the first playlist, when it is finished move automatically to the second playlist play its songs then automatically move to the third without user intervention? And if so, can you play each of these in shuffle mode?

    There's no "impromptu" method of doing so that I know of.
    As far as un-impromptu methods (it's always fun inventing words), it will depend on whether you want to listen to this mega-playlist on an iPod or just with iTunes.
    If it's just with iTunes, you can go to the File menu > New Folder command and create a new folder which we can call the Mega-Playlist folder. Drag the three playlists in question into that folder. When you select that folder and press Play, iTunes should go through all the songs.
    If it's on an iPod, since Folders don't transfer over from iTunes, the only solution I know of would be to create a Smart Playlist with iTunes that will -
    Match any of the following rules:
    Playlist is the first playlist +
    Playlist is the second playlist +
    Playlist is the third playlist.
    Synching this mega-playlist to your iPod will allow you to select it from the Playlist menu.
    Shuffle mode would shuffle songs from all three playlists together, not shuffle songs from the first playlist before moving on to shuffling songs from the second playlist before shuffling songs from the third playlist.

  • Material creation without user intervention

    i have to create a material without user intervention. i am using BAPI_MATERIAL_SAVEDATA for this. it is not showing any error. but the return is having the message 'No description found'. how to transfer the description to this bapi.
    this is the code i am trying:
    DATA:  mnum like zmara01-mno,
           mat_data like BAPIMATHEAD,
           plantx_data like BAPI_MARCX,
           salesx_data like BAPI_MVKEX,
           sale_data like bapi_mvke,
           plant_data like bapi_marc,
           mate_data like bapi_makt,
           E1BP_MAKT like E1BP_MAKT,
           cli_data like bapi_mara.
    DATA: E_RETURN LIKE BAPIRET2.
    data: MATERIALDESCRIPTION like BAPI_MAKT
                      occurs 0 with header line.
    *data: m(18) type c.
    CALL FUNCTION 'NUMBER_GET_NEXT'
            EXPORTING
              NR_RANGE_NR                  = '01'
              OBJECT                       = 'ZMNUMBER'
             QUANTITY                      = '1'
           IMPORTING
             NUMBER                        = mnum.
    message i003(zmsg) with mnum.
    mat_data-material = mnum.
    mat_data-ind_sector = 'I'.
    mat_data-matl_type = 'DIEN'.
    mat_data-basic_view = 'X'.
    cli_data-base_uom = 'EA'.
    cli_data-base_uom_iso = 'X'.
    sale_data-sales_org = 'EISO'.
    sale_data-distr_chan = 'SR'.
    salesx_data-sales_org = 'EISO'.
    salesx_data-distr_chan = 'SR'.
    plant_data-plant = 'EIHO'.
    plantx_data-plant = 'EIHO'.
    CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
      EXPORTING
        HEADDATA                   = mat_data
       CLIENTDATA                 = cli_data
      CLIENTDATAX                =
       PLANTDATA                  = plant_data
       PLANTDATAX                 = plantx_data
      FORECASTPARAMETERS         =
      FORECASTPARAMETERSX        =
      PLANNINGDATA               =
      PLANNINGDATAX              =
      STORAGELOCATIONDATA        =
      STORAGELOCATIONDATAX       =
      VALUATIONDATA              =
      VALUATIONDATAX             =
      WAREHOUSENUMBERDATA        =
      WAREHOUSENUMBERDATAX       =
       SALESDATA                  = sale_data
       SALESDATAX                 = salesx_data
      STORAGETYPEDATA            =
      STORAGETYPEDATAX           =
      FLAG_ONLINE                = ' '
      FLAG_CAD_CALL              = ' '
      NO_DEQUEUE                 = ' '
    IMPORTING
       RETURN                     = E_RETURN
    TABLES
       MATERIALDESCRIPTION        =  MATERIALDESCRIPTION
      UNITSOFMEASURE             =
      UNITSOFMEASUREX            =
      INTERNATIONALARTNOS        =
      MATERIALLONGTEXT           =
      TAXCLASSIFICATIONS         =
      RETURNMESSAGES             =
      PRTDATA                    =
      PRTDATAX                   =
      EXTENSIONIN                =
      EXTENSIONINX               =
    loop at materialdescription.
    message I004(I) with materialdescription-matl_desc.
    endloop .
    MESSAGE I004(I) WITH E_RETURN-TYPE.
        if sy-subrc = 0.
         message i005(zmsg).
        elseif sy-subrc <> 0.
         message e006(zmsg).
        endif.
    i am trying to give direct entries to test it . please help in this issue immediately.

    Hi dear,
    welcome on board!
    If you want an answer immediately I think you have to post your question in a more appropriate forum...
    take a look to https://www.sdn.sap.com/sdn/collaboration.sdn and choose one of the available forums !
    Good luck!
    Roberto

  • [CS4]  save on a local file without  user intervention

    hey,...sorry for my english...
    i work with a other application who need to have the
    information written in the local file without an user intervention
    so...
    i would like to know if it s possible to write or rewrite on
    a local file without intervention of the user...
    whitout the ""save dialogue box" or with a managed save
    dialogue box...
    how to write in a local file without user intervention...
    i need really an answer to make real my project...
    thans for your conprehension

    hey
    thx a lot for your help ...
    if i understand well ...
    it is possible to write or rewrite in a specific folder
    who is determinated by the application folder of
    an specific AIR apllication
    who during his install give the ""authorization to
    write/rewrite /save in his specific installation foder"
    so it s possible with combination of an AIR application.....
    can you give me some information about this AIR application
    that i must build...
    some direction to ask help
    because i dont have the knowledges to do that
    what style/type of AIR application
    what charachteristics of this AIR application....
    so some information that can i use to ask help in the good
    place...
    one more time thx a lot for your help...;)

  • Events without user intervention

    I am developing a control application in which in open loop the user has interaction with controls in the GUI and a generation of events begin an action. However in closed loop the controller generates the values and rewriten the values at the controls in the GUI without intervention of user in the GUI. The events are not identified within the events loop located within the white loop. I am trying to work with Dynamically Registering Events but i am not have sucess. The specific question is how generated an event when a value control changes  without the intervention of the user in the GUI

    Use a property node for the front panel control and select the property
    "Value (Signaling)". When writing to this property, the event is
    triggered.

  • Events/without user intervention at the GUI

    I am developing a control application in which in open loop the user has interaction with controls in the GUI and a generation of events begin an action. However in closed loop the controller generates the values and rewriten the values at the controls in the GUI without intervention of user in the GUI. The events are not identified within the events loop located within the white loop. I am trying to work with Dynamically Registering Events but i am not have sucess. The specific question is how generated an event when a value control changes  without the intervention of the user in the GUI

    Gracias por utilizar los foros
    la solucion ya la tienes en esta liga
    http://forums.ni.com/ni/board/message?board.id=170&message.id=196808#M196808
    saludos
    Erwin Franz R.

  • HOw to download a file in background without user intervention?

    Hello people,
    A few hours ago I asked a couple of guys how to download a file to html. For that I am most thankful, and as mentioned this is a two part question, my other question is about how to proccess downloading the html in background and to automatically send it to a folder or other path. Without any user intervention.
    Example, I run a long report to be downloaded in background. The lets say the next day, I can get the file in a folder. Thanks guys take care!

    Hello guys thanks for your help so far. I have been off again on again with this task because its more for future purposes than anything.
    So far I have searched the net and stuff and decided that I will use WWW_LIST_TO_HTML since I want to download it the way it is. I am also going to use open/close dataset as many of you have mentioned.
    SO far Im just trying it out with a simple report program to see its funcitonalities. My code goes like this.
    <b>REPORT ZCCYT_COOL2 NO STANDARD PAGE HEADING LINE-COUNT 100 .
    DATA: IFIELDS TYPE TABLE OF W3FIELDS WITH HEADER LINE.
    *DATA: ihtml   TYPE TABLE OF w3html   WITH HEADER LINE.
    DATA: IHTML   TYPE TABLE OF W3_HTML  WITH HEADER LINE.
    DATA: BEGIN OF I_TAB OCCURS 0,
            MATNR LIKE MAKT-MATNR,
            MAKTX LIKE MAKT-MAKTX,
          END OF I_TAB.
    SELECT-OPTIONS: SO_MATNR FOR I_TAB-MATNR.
    SELECT MATNR MAKTX
      FROM MAKT
      INTO TABLE I_TAB
      WHERE MATNR IN SO_MATNR..
    LOOP AT I_TAB.
      WRITE: / I_TAB-MATNR,
               I_TAB-MAKTX.
    ENDLOOP.
    CALL FUNCTION 'WWW_LIST_TO_HTML'
       EXPORTING
           list_index = sy-lsind
         TABLES
              HTML       = IHTML.
    DATA: FILE TYPE LOCALFILE.
    FILE = '/usr/test.html'.
    OPEN DATASET FILE FOR OUTPUT IN BINARY MODE.
    LOOP AT IHTML.
      TRANSFER IHTML TO FILE.
    ENDLOOP.
    CLOSE DATASET FILE.</b>
    NOw the problem now though is that the file isnt downloading or saving at all. I cant seem to get what is wrong since the path does exist and the this seems the universal way to implement the program. Im guessing the problem lies in the file name, because everything seems to work fine. Hope to hear again soon sorry for not visiting this place sooner cuz I was buzy elsewhere.

  • How to Generate a Report Based on User's Parameters from Web Site

    Hi, all,
    I am trying to use Oracle Developer 6.0 Report Builder to generate report based on what user types in from the web site. Since I am a novice, I am wondering if anybody would help me with the following questions:
    1. How can I create a report based on user's parameters?
    Assuming that I have 2 text fields EMPNO and DEPT on the web site, after user types in some value, how can I pass these parameters into my query, can I do something like:
    select ENAME, JOB, EADDRESS from EMP
    where EMPNO =
    some_reference_of_parameters_from_user
    or is there any other way to achieve this functionality?
    2. How can I pass a PDF format report back to user after the report is generated?
    Any help is greately appreciated!!
    Best regards.
    Judy

    Hello,
    In the Report Builder, create two user parameters, and set the parameter name, datatype, width, and default values to what you want. Modify the query and put in a where clause (e.g., where deptno = :p_deptno). When you request the report with PARAMFORM=YES on the URL, it'll generate a default parameter form in HTML and allow the user to enter in the selected parameter values. Also set DESTYPE=CACHE&DESFORMAT=PDF on the URL to get the output back as PDF.
    If you upgrade to Reports 6i, you can customize the default HTML parameter form.
    Regards,
    The Oracle Reports Team --skw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Spaces are switching without user intervention

    I generally use 4 spaces and I've noticed on Mavericks apps will not stay ont he same space they are assigned too. I've also noticed designated spaces switching without any user intervention. For example "Desktop 3" and "Desktop 4" switch places and 4 will become 3 and visa versa. Has anyoen else encountered this?

    I am also experiencing problems where I lose a route and I get disconnected from the internet. I get it back by issuing a command:
    route get 192.168.2.1 (my wireless router)
    route get 192.168.1.254 (my DSL modem)
    However, I have no idea why this gets deleted in the first place.
    if you discover an answer please do post it here.
    Thanks,
    Ted

  • Report to see user type and roles assigned to users in EP?

    Hi,
    a) Is there any reporting mechanism in EP? Any specific report which throws up user types and roles assigned to the users? There is an option of 'Export' in the user management role but unfortunately it does not give information on User Type.
    b) If  the group is assigned a role, How can we see ( in any report) the roles assigned to a group? In the 'export' option of the 'User Management' this information does not come.

    By default Portal UME comes along with the installation of portal.
    Sometimes we may integrate external users using LDAP. At that time users come from ABAP stack or some active directories.  But you can also create users in the portal UME.  The purpose of using LDAP is to maintain the users centrally rather than creating again in portal.
    You can check them in user administration->identity management and search for the users.
    THere you can see some users will be from UME and some from LDAP.
    User Admin tool is nothing but User Administration only.
    Raghu

  • How to generate a sound (tone) without clicking noise, and how to select left or right speaker

    Hi All,
    I am trying to write write a VI that generates a pure tone of specific frequency and volume, then sends that tone to one speaker or the other (Left or right) for use in teaching students about audiology (those hearing tests you may have taken where you hear a noise in one ear or the other).  I have created a rather primitive VI to accomplish this, but I am plagued by a few issues:
    1) At some frequencies but not all, the VI generates a clicking sound at the start and stop of the tone (I believe this is related to repeating configuration and call of the hardware, but I don't know how to set this up ahead of time and avoid it - and why doesn't it create the clicking sound at all frequencies?).
    2) At some frequencies (14000Hz and higher), I don't hear the tone at all on my computer speakers (I still hear the click before and after, but I don't hear the tone. I know what you might be thinking, but no, this is not a hearing deficit on my part :-)
    3) I would like to be able to direct the tone selectively to the left speaker or right speaker, but right now my VI only allows me to pick the "number of channels" (for which I presume "2 channels" means both left and right), but I don't know how to selectively pick only one channel or the other.
    Thank you for any helpful suggestions you can offer,
    Eric
    Solved!
    Go to Solution.
    Attachments:
    Audiograph_Erics version.vi ‏65 KB

    Eric,
    Yes, I intended to include an image. Sorry. Here it is.
    Thanks for the subVI. With it I hear clicks most of the time except on some of the low amplitude outputs. Interestingly, at frequencies above 10 kHz where my hearing is poor, when I do hear something it is a non-pure sound with a dominant frequency lower than the generated frequency.  I am not sure whether it is something in the sound system on my computer or in my ear/brain/mind acoustic analysis system. Here is what I get with my bad ears.
    This is what the graph on Generate Sound-subVI shows when I hear the lower pitched sounds. Although the frequency is low enough that it is not aliased, I suspect that I am hearing the envelope rather than the underlying carrier.
    I have not played with the windowing yet to see if that reduces the clicks. They could be generated by the Sound Write turning sound on and off.
    Lynn

  • Reading in a File Locally and outputting to XML

    Hello all,
    I want to read in a local file and output it to a JDOM document. Can anyone provide assistance.
    Thanks!

    What have you tried?
    Also, check these out:
    http://www.javaworld.com/javaworld/jw-05-2000/jw-0518-jdom.html
    http://www.javaworld.com/javaworld/jw-07-2000/jw-0728-jdom2.html

  • Updates Install without user intervention

    Hi All,
    I am currently using WSUS and GPO's to push updates to our Windows 2008 R2 Servers.  We just began doing this within the last couple of months and have created the GPO to "auto download updates and notify for install".  The only other
    relevant setting is "reschedule Automatic updates scheduled installations" is set to 15 minutes.  Based on our setting of "notify for install", I would not expect this setting to have any effect.
    Now twice in the last week, individual server administrators have been working on their servers, rebooted for whatever reason and then they report to me that Windows Updates are installing without their approval.  Anyone have any ideas how this could
    happen?
    Thanks

    "I'm absolutely sure they didn't either. That's my exact point. The user does not "initiate" an installation of downloaded updates when the system is shutdown/restarted from the Start Menu -- it happens automatically since Windows 7 SP1."
    If this is the case it explains what's happening and I have to stop this.  What settings then can I use to install the approved updates only if the sys admin initiates it?
    There are two ways to approach this:
    Configure the WUA to "Notify for Download" (AUOption='2'). As a result, the sysadmin will need to perform two tasks: [1] Download the updates (at which time the Install Updates and Shutdown consideration is in effect, and then [2] Install the updates when
    desired. This implies planning in advance to allow for the download time, and then planning for the installation event.
    Use the Command Prompt to reboot the server: SHUTDOWN /R /T which will completely avoid the installation of any updates already downloaded.
    Personally I would offer this argument for consideration: Why is a sysadmin rebooting a server without consideration for the fact that updates might be pending installation? Most organizations I know
    only restart servers as a function of installing updates, usually during scheduled maintenance windows. Any other activities that require a system restart are deferred until that scheduled maintenance window.
    A corollary to this is also: Why is a sysadmin unfamiliar with patch state of the system they're responsible for?
    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.

  • How can I map a drive to Azue file shares without user intervention or having a user logged on?

    I have the file share created, and can manually map the drive. I have even created a batch file that will create the drive mapping.  One step further, I used the following regedit to create the mapped drive:
    Regedit:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    add new string value:
    value name:  MapS
    value data:  c:\azurefileshare.bat
    I have a scheduled task running a batch file running the net use command, and the drive is available, and I can create/delete files, so access is not an issue.
    All works fine if I log onto the server, however, what I am trying to accomplish, is to have that drive mapped upon reboot without having a user log on.   Checking the log file running the net use command when no one is logged on, I get the following:
    Status       Local     Remote                    Network
    Unavailable  S:        path of file share
    Microsoft Windows Network
    The command completed successfully.
    New connections will be remembered.
    Is there a way to accomplish this?  Thanks in advance.

    Hello wdick,
    Thank you for your response and getting back on this issue. I am sorry that the blog that I referred to was not available. I pretty much thought that you must be referring to the ‘File Services’ which is in preview yet. I recently had another user with a similar
    question but currently, the users can access the files using only 'Interactive logon'. You can refer to this link: 
     http://social.msdn.microsoft.com/Forums/en-US/1f1fa9b5-a81d-4067-9d90-2c7c47667732/azure-file-services-authentication-without-prompt-passthrough?forum=windowsazuredata 
    Thanks.
    Syed Irfan Hussain

Maybe you are looking for

  • Cl_gui_html_viewer  Browser status Progress bar details

    Hello All,             I have a custom transaction that calls the Browser wildow(that is calling a webpage).              I am trying to display the browser progress status in the cl_gui_html_viewer by adding a  status bar to the cl_gui_custom_contai

  • Problem with GPU acceleration

      I have a Core 2 Duo @3.0GHz, a Radeon HD 4770 512MB and have both Opera 11.0 and IE 8 with the NEWEST versions of Flash plugin and activex.              My problem is that first of all when I run 1080p videos on YouTube my CPU goes to 40%-50% and m

  • Need help in CASE statement

    HI , My query gives output like this Cno BO DT countkey RF036     I     1          156 RF036     I     8          445 RF036     O     3          1320 RF036     O     D          2547 I need output like Cno DM CC MC BC RF036 156 445 1320 2547 Thanks, L

  • Verizon DSL is horrible and misrepresented, can't get anyone on the phone so I can cancel

    I tried the DSL service.  After taking three weeks to get it working, I tested it and it is horrible.  .5mbps down, .3mbps up, and pings 5 to 6 times what my crappy Comcast connection does.  This service is useless. Customer service appears to be eve

  • Purchasing InDesign CS6 with option of downgrading to 5.5

    I have software that integrates with InDesign. The maker says that the plugins work best in InDesign CS5.5. I am told that if I purchase Adobe Design Standard CS6, I will be allowed to download InDesign CS5.5 for free, and I can later upgrade to CS6