Which event automatically executes in report by default ?

which event automatically executes in report by default ?

Hi,
Abap is a event driven program all the event triggers sequentially but if no event is wrritten then everything comes under start-of-selection and it is triggered automatically.
By the way sequence of events are:-
  1) initialization
  2) At selection-screen output
  3) At selection-screen on field
  4) At selection-screen on block
  5) At selection-screen
  6) Start-of-selection
  7) End-of-selection
  8) top-of-page
  9) end-of-page
10) At line selection
11) At PF<nn>
12) At User command
Reward some points
Bye,
Anomitro

Similar Messages

  • Information Broadcasting ( Automatically execute a report and e-mail it)

    Hi,
    Can BEx Automatically execute a report and e-mail it. The requirement is to Execute a Report periodically  and send the report in <b>EXCEL SHEET</b> format to the given e-mail ID.
    I have tried configuring it in HTML format.... but I need it EXCEL format.
    Waiting for help from the SDN community...
    Thanks in Advance.....

    Hi,
    You can send the workbook automatically when you schedule thru information broadcaster.
    But you have to install precalculation server for distributing workbook..
    Have a look at OSS note 760775 ..
    Hope it helps..
    Regards,
    Siva.

  • Automatically execute a report

    Hello gurus,
    I am aware that this might be the newbie-question of the year, but nonetheless:
    I would like to have the system periodically (e.g. once a month) execute a report (e.g. RMCBUH30, TAC MC44) with certain parameters and automatically print the result on a pre-defined printer.
    Could somebody please point out how to do this? Any hints to fitting tutorials would be very welcome, too.
    Thanks in advance
    Alicia

    Dear Alicia,
    If my understanding is correct means,This program RMCBUH30 is related to T Code MC44.
    Enter the parameters like the purchase organizations and plants and click on save button and save this as a variant after
    entering some variant name ,meaning and include the check box for only for background processing and other parameters and
    while scheduling the job in T Code SM36,after entering the program name,select this variant and schedule the job.
    Check and revert back.
    Regards
    Mangalraj.S

  • Automatic execute reports with WinGui

    Hi,
    I've created an iView for transaction SE38 with the application parameter RS38M-PROGRAMM=zyx. As SAPGui type WinGui is defined. Unfortunately the user has to press the execution button to start the report.
    How can I execute the report automatically when a user opens the iview?
    Regards,
    Stephan

    i tested it and it works.
    do the following.
    <b>application parameter = RS38M-PROGRAMM=RSPARAM
    OK code Field         = STRT
    Process First Screen  = Yes</b>
    When this iview is called it will straightaway take you to the selection screen of RSPARAM program.
    Regards
    Raja

  • Which is first event triggred in interactive report

    pls let me know

    <b>The event are triggered depended on the way the output is generated . </b>
    for eg:
    "Initialization :
    triggered when the report is loaded in memory.
    "At selection-screen output :
    triggered when the selection screen is loaded in memory before being displayed.
    "At selection-screen / <field> :
    before leaving the selection screen.
    "start-of-selection :
    the first event for displaying the report.
    "end-of-selection :
    after the start-of-selection is completed.
    "classiscal report events.
    "top-of-page :
    every time a new page is started in the list.
    "end-of-page :
    every time the list data reaches the footer region of the page.
    "interactive report events.
    "top of page during line selection :
    top of page event for secondary list.
    "at line-selection :
    evey time user dbl-clicks(F2) on the list data.
    "at pF<key> :
    function key from F5 to F12 to perform interactive action on the list.
    reward  points if it is   usefull ....
    Girish

  • TSV_TNEW_PAGE_ALLOC_FAILED  error while executing the report

    Hi all,
    . We are having an info cubeXFIAP_C12 (FIAP: Vendor Line Item Open).In which we have defined 10 Dimensions and 6 Line Item Dimensions. We have created a report  on this with Key date as Input Variable Which gives me From Start to Till Date data. Also have an Variable on company code.
    Then No of Records in my Cube is 45, 70,624.Compressed the Info Cube data .But No aggregates on it.
    Now when I provide the key date as 30.06.2011 and Company code =XYZ.
    I am unable to Execute the Report, It gives me a short Dump. Saying NO ROLL MEMORY.
    Variables:
    1. Key Date:  Is a  Customer Exit variable .If user Enters Data as 30.06.2011 ,It fetches data from     u201C00000000u201D to u201C30.06.2011u201D.
    2.Company code: Is a Manual Entry /Default variable.
    I also have shot dump.Please find the error analysis of dump below:
    The internal table "\FUNCTION-POOL=RRK0\FORM=MEGA_SORT_M\DATA=C_TSX_SORTK[2]-GT
    ABIX[1]-GTABIX" could not be further extended. To enable
    error handling, the table had to be delete before this log was written.
    As a result, the table is displayed further down or, if you branch to
    the ABAP Debugger, with 0 rows.
    At the time of the termination, the following data was determined for
    the relevant internal table:
    Memory location: "Session memory"
    Row width: 4
    Number of rows: 1503307
    Allocated rows: 1503307
    Newly requested rows: 2048 (in 1 blocks)
    can any one help me .......
    Regards
    Laxman

    Hi,
    Just check following things
    1http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTMM/BCCSTMM.pdf
    2. See whether any back up process is happening and it has consumed the main memory.
    3. Are you getting this error regularly
    4. See any transport went and compression/aggregation got removed.
    5. Check whether there are many dumps in ST22 same time when you execute report
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4ab89e84-0d01-0010-cda2-82ddc3548c65?QuickLink=index&overridelayout=true
    6. http://www.sap-press.de/download/dateien/1049/sappress_bw_performance_optimization_guide_080.pdf
    7. Check whether Infoprovifder got removed from BIA
    8. Query removed from BIA post transport
    9. Run RSRT and regenerate the report.
    Thanks and regards
    Kiran

  • Auto run report with default parameters in Viewer

    Hi,
    Can any one tell me if it's possible to automatically run reports in Disco Viewer with default parameter values?
    For example, I have a worksheet with a parameter like 'Term like :Term Code' which has a default value of '%'.
    When I open the sheet in Viewer I'm presented with the Confirmation screen with default parameter values displayed and then click OK to run report. Is there a way to skip the confirmation screen and just run the sheet with default values as soon as it's opened?
    I tried using the 'Run Query Automatically' option in Query Governor preference but this results in Viewer opening the Edit Parameters screen instead of the confirmation screen.
    What I'd ideally like to do is bypass both the Confirmation and Edit Parameters screen to automatically run the worksheet with default parameters as soon as it's selected.
    Any thoughts appreciated,
    Ien Hien

    Hi,
    Option 1
    If the user is clicking on a URL for the report you could code the parameters directly into the URL thus, they are passed on startup. Section 13.5.2 Example 2 of the below URL provides an example:
    http://download.oracle.com/docs/html/B13918_03/urlstart.htm#i1014363
    Option 2 (Not Exactly what your looking for)
    This would still require a user to click something but, if your passing a wildcard it should probably be considered,
    If the parameter might be a wild card your better off making it an Optional Parameter which is now possible in Discoverer Plus 10.1.2. Thus, instead of passing an expensive % sign the condition will simply be ignored.
    Hopefully this helps....
    Jeff

  • Profile for to execute statspack report

    Hi
    What Profile(PERMISSIONS) is necessary for to execute statspack report in ORACLE 9.02 ?
    TIA

    If you are using the default user, which is recommanded, you should not have any issue.
    And if the user you are connected with got SELECT grant on the statspack's objects, that should work fine.
    Nicolas.

  • Event Triggered when a Report is generated

    Hi ,
    When we execute a report is there a trigger which captures this event. I need to execute an APD once the report is executed.
    Could you please give me the name of the event when a report is generated?

    Thanks for the quick response.
    I have tried with POST-FORM event. But it is not working for me.
    Ihave defined a seq 10 with
    a) Condition
    Trigger Event = WHEN-NEW-FORM-INSTANCE
    b) Action
    Type = Builtin
    Builtin Type = Forms_DDL
    Argument = Script for creating a trigger
    I have created another seq 20 with
    a) Condition
    Trigger Event = WHEN-FORM-NAVIGATE
    b) Action
    Type = Builtin
    Builtin Type = Forms_DDL
    Argument = scritpt to disable the trigger
    When form is opened, trigger is getting created.
    But when the user closes the form, it is not disabling the trigger. User closes the form by clicking on 'X' on the window.
    As per your suggesion , I have changed the trigger event to POST-FORM in seq20. It is not working.
    I have tried with WHEN-WINDOW-CLOSED event also.
    Please help me in this.

  • How execute Bex report in  web

    Hi Experts,
    I want to execute report in web
    for that I am performing this steps
    Set Up Call to BI Administration Cockpit
                  or
    Tcode: RSTC_CUST_BIAC
    there I want to enter my url path
    but
    when I tried enter url it,s showing one error msg
    An entry already exists with the same key
    Message no. SV009
    Diagnosis
    When creating an entry, you entered a key, which already exists.
    System Response
    The entry cannot be created.
    Procedure
    Specify another key or remove the entry using the function Skip.
    When tried to view this entries its showing another  error msg
    Table V_RSTC_CALL_BIAC has no relevant fields
    Message no. SV039
    DiagnosisThe system has attempted to create a pop-up window with a selection of fields. None of these fields can be displayed.
    System Response
    To avoid displaying an empty screen, processing was terminated prematurely. The action you requested (search or replace) can therefore not be performed
    How to enter my url ?
    any inputs plsss

    Hi Shilpa,
    Just you want to execute Bex report in WEB..........
    goto Bex analyzer......find the report..select it and add it to your favourites.....then open the sap bw default screen....(SAP Easy access SAP Business warehouse)....under favourites.....report will be displayed......just double click it.......report will be executed in WEB.....if you want ......copy the URL from their....
    Regards
    Sunil

  • *what are the step by step events trigger in interactive report*

    Hi gurus,
    pls explain event by event triggers in interactive report.
    points will be rewarded.
    Thanks,
    Balakrishna.

    Hi,
    Interactive reporting allows the user to participate in retrieving and presenting data at each level during the session.  Instead of presenting one extensive and detailed list with cluttered information, with interactive reporting you can create a condensed basic list from which the user can call detailed information by positioning the cursor and entering commands.
    Detailed information is presented in secondary lists. A secondary list may either overlay the basic list completely or appear in an additional dialog window on the same screen.  The secondary list can itself be interactive again. The basic list is not deleted when secondary list is created.
    User can interact with the system by:
    u2022     Double clicking or pressing F2
    u2022     Selecting menu option
    Like classical report, the interactive report is also event driven. Both the action mentioned above trigger events and code is written to handle these events.  The events triggered by this action are as follows:
    u2022     At line-selection
    u2022     At user-command
    u2022     Top-of-Page During Line-Selection for Secondary Page Header info
    Interactive report consists of one BASIC list and 20 secondary list. Basic list is produced by START-OF-SELECTION event. When the user double clicks on the basic list or chooses the menu option, the secondary list is produced. All the events associated with classical report except end-of-page are applicable only to basic list.
    AT LINE-SELECTION event
    Double clicking is the way most users navigate through programs. Double clicking on basic list or any secondary list triggers the event AT LINE-SELECTION. SY-LSIND denotes the index of the list currently created. For BASIC list it is always 0.  Following piece of code shows how to handle the event.
    Start-of-selection.
    Write: / u2018this is basic listu2019.
    At line-selection.
    Write : u2018this is first secondary listu2019.
    In this case the output will be displayed on basic list i.e.
    This is basic list.
    When user double clicks on this line, the event at line-selection gets triggered and secondary list is produced, i.e. This is first secondary list.
    You can go back to basic list by clicking on F3 or back icon on the standard tool bar.  For this list, the value of sy-lsind will be 1.
    HIDE technique
    In this case thins are much simpler. Consider the case, wherein you display fields from table sflight in basic list. When user double clicks on any sflight-carrid, you are displaying the detailed information related to that particular carrid on secondary list.  Hence there is a need to store the clicked carrid in some variable.  So that you can access this carrid for next list. ABAP/4 has facility; a statement called HIDE, which provides the above functionality.
    HIDE command temporarily stores the content of clicked field in system area.
    Syntax:
    HIDE <FIELDS>.
    This statement stores the contents of variable <f> in relation to the current output line (system field SY-LINNO) internally in the so-called HIDE area. The variable <f> must not necessarily appear on the current line.
    You have to place the HIDE statement always directly after the output statement i.e., WRITE for the variable <f>.  As when you hide the variable, control is passed to next record.  While writing, WRITE statement takes that record from header and writes it on to the list, but when writing onto your interactive list you will miss out 1st record.
    To hide several variables, use chain HIDE statement.
    As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.  A line can be selected.
    u2022     By an interactive event.
    For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.
    The HIDE area is a table, in which the system stores the names and values of all HIDE fields for each list and line number.  As soon as they are needed, the system reads the values from the table.  (Please try to find the name of this table.)
    Sy-lsind indicates the index of the list and can be used to handle all the secondary lists.  When the user double clicks on the line or presses F2, sy-lsind is increased by one and this new sy-lsind can be handled.  For example:
    Write: / u2018this is basic listu2019.
    u2022     Will create a basic list.
    If sy-lsind = 1.
    Write: / u2018this is first secondary listu2019.
    Elseif sy-lsind = 2.
    Write: / u2018This is second secondary listu2019.
    Endif.
    When this code is executed,
    u2022     Basic list is produced.
    u2022     When the user clicks on the basic list, sy-lsind becomes one.
    u2022     AT LINE-SELECTION event is triggered.
    u2022     Whatever is written under IF Sy-lsind = 1, gets executed.
    u2022     Secondary list is produced.
    u2022     Again if user clicks on this list, sy-lsind becomes two.
    u2022     AT LINE-SELECTION gets triggered.
    u2022     Code written under IF Sy-lsind = 2, gets executed.
    A sample program for AT LINE-SELECTION.
    AT USER-COMMAND
    When the user selects the menu item or presses any function key, the event that is triggered is AT USER-COMMAND, and can be handled in the program by writing code for the same. The system variable SY-UCOMM stores the function code for the clicked menu item or for the function key and the same can be checked in the program.  Sample code would look like
    AT USER-COMMAND.
    Case sy-ucomm.
    When u2018DISPu2019.
            Select * from sflight.
            Write sflight-carrid, sflight-connid.
            Endselect.
    When u2018EXITu2019.
         LEAVE.
    If GUI status, suppose you have set menu bar for two items and the function code is u2018DISPu2019 and u2018EXITu2019 respectively. If the user clicks the menu item u2018DISPLAYu2019, then function code u2018DISPu2019 is stored in the sy-ucomm and whatever is written under the when u2018DISPu2019, gets executed. This is applicable for EXIT as well.
    Sy-lsind for the screen increases when the user clicks the menu item.
    Usually you have combination of all the three navigations in your user interface, i.e., you have to create menu bar, assign function code for the function keys and write code to handle all this in addition to handling double clicking.
    Things to remember while using all the combinations:
    u2022     Sy-lsind increases even if you select menu-item.
    u2022     When the user double clicks on particular line, value of sy-ucomm is u2018PICK.
    u2022     If you set sy-lsind = 2 for your 4th secondary list, when control is transferred to the 2nd secondary list, all the other lists after 2nd are lost or memory allocated to them is lost.
    u2022     Sy-lisel also gives you the value of clicked line but in this case you cannot differentiate between field. To retrieve the exact field, you have to know the field length of each field.
    u2022     If you use statement SY-LSIND = 1.
    The system reacts to a manipulation of SY-LSIND only at the end of an event, directly before displaying the secondary list. So, if within the processing block, you use statements whose INDEX options access the list with the index SY-LSIND, make sure that you manipulate the SY-LSIND field only after processing these statements. The best way is to have it always at the `as the last statementu2019 of the processing block.
    Regards,
    Bhaskar

  • Which event occurs when process any Html form

    Hello Guys,
    In my application i am process some html Form. As well iam using JEditorPane for displaing Web pages. All the Listner is working well. I can display any web form in JEditorpane .
    My Question is that when i click button "submit" in any Web form it's working/process but which event Occurs.I need to change the Application title through web forms.
    Thank'x in advance

    Hi Praveen,
    That is correct, you're not doing anything wrong. The BPEL Console doesn't show any forms for testing the services if the service is synchronous.
    I test my synchronous webservices with Eviware SoapUI. This is a freeware tool. Check: http://www.soapui.org/
    Just create a new project in soapUI, create a new request from WSDL, copy and paste the WSDL in soapUI. It will generate a default request for you, which you can edit and execute.
    HTH,
    Bas

  • Authorization problem to execute a report through portal

    Hi All,
    One of user while trying to execute report through portal, getting error message saying that
    "you are not authorized to execute the report XXXXXXX'
    Can not load query <query name> (data provider <data provider name> No authorizations for requested service.
    The report is a web template which is getting executed through portal.
    User is having all the authorizations to execute the report(report autho as well as infoprovider autho also)
    we have regenerated the user roles , done user comparision....every thing is OK.
    Still unable to execute the report.
    Please advice what can be done in this case....
    Regards

    Hi Shaik,
    Are you able to run this report with your user id?
    If so check the role or authorization objects which are missing to the user.
    And also check whether he got portal roles assigned to his profile.
    Regards,
    Ravi Kanth
    Edited by: Ravi kanth on May 12, 2009 2:06 PM

  • Unable to Execute a Report to send PAN XML messages out of SNC

    Hi All,
    We are unable to Execute a Report /SCA/DM_TIMESERIES_OUT to send Product Activity Notifications in the form of XML messages out of SNC. We have manitained some Planned Reciepts data in SNC and would like to transfer it out to ECC.
    Could anyone help in understanding if we have to maintain mandatory settings before executing this report.
    Thanks & Regards,
    Sadiq

    Hi Pravin,
    As per the documentation(http://help.sap.com/saphelp_snc70/helpdata/EN/48/6bdb4767a431cbe10000000a42189d/frameset.htm), we have tried both the manual and automatic features to configure the output from SNC in the form of XML messages.
    The manual method gave a message "Time series data for selection is empty" and the Automated method could trigger the XML messages on every incoming message from ECC but we are unable to see the Planned Receipts in that XML messages.
    Was just wondering if we can see the Planned Receipt info by changing the settings of this report or by using any other simillar report as the PR info is very important for our development.
    Thanks & Regards,
    Sadiq

  • Executing a report program in background from another program

    Hi Experts,
    I developed a report to display material change history based on change date range. Report is taking much time (around 15-20 mins) as I'm hitting CDPOS and CDHDR tables. User wants to execute the report in foreground because he/she can give selection criteria that is required everytime.
    So, my requirment is now to create another program with same selection screen elements which will execute the original program in background. In the new program, we will be just capturing the selection elements and will pass them to original program to run in background and display a message to user without wait for the background job to complete. Original program should send an email to an fixed email id with the report output as attachment (for example excel file).
    Please suggest.
    Thanks in Advance,
    Siva Sankar

    Hi Siva,
    Please see the link
    http://help.sap.com/saphelp_nw04/helpdata/EN/2a/fa01dd493111d182b70000e829fbfe/content.htm
    Regarding a Change Document Function Module ----- VERY VERY Urgent
    When using function modules , I dont think you can directly get data based on material and plant . these function modules usualy works with object class and creation date .
    Once you retrieve the data using the function modules you have to filter out the unncecessary data based on your selection screen conditions .
    Regards,
    Ratheesh BS
    Edited by: Ratheesh Bhaskarapillai Suseeladev on Mar 8, 2012 5:19 AM
    Regarding a Change Document Function Module ----- VERY VERY Urgent

Maybe you are looking for

  • PO Deletion

    Hi,        I want to delete the PO, Actually  the PO is created very long back, after that we change the Release strategy but the PO is Open so I want to delete that PO. If there is any possibilities please give me the steps. With Regards.... Vengat.

  • Essbase Memory issue

    Hi All: I have an Essbase BSO cube with 35 G of page files and 6 G of index files. The version is 11.1.2.2. The data cache setting is 8G. The index cache setting is 6G. Now the issue is the memory for the essvr.exe service is about 16G and the memory

  • I can't sync new music, grayed out with a gray circle. Whats going on?

    Here is photo

  • Tiger to Snow Leopard upgrade/drive reformat/data backup

    I know that, technically, upgrading from v10.4.11 to v10.6.3 shouldn't cause the loss of any data or files, but obviously I'm going to back up everything any way. I have an external hard drive but I don't think it's got enough space to copy all of my

  • PPOME

    Hi All, In our project, whenever a user open PPOME, one org unit defaults on PPOME page. So, I mean, for each user it is different org unit that automatically defaults on PPOME. Pls can someone give me a lead as to how PPOME is defaulting the org uni