First Reporting Event...

Assume like we have all the Events in the Report, so when we execute the program,  which Event is going to fired initially( I mean which event is fired first). for normal report not for Interactive...?
Thanx in Advance.
Akshitha.

Hi Akshita,
Firstly, the LOAD-OF-PROGRAM event is going to be fired.
Later the events :
At selection-screen output.
Initialization.
At selection-screen on field
At selection-screen on end of field
At selection-screen on Radiobutton Group R1. (If you have any radio buttons)
At selection-screen on block b1. (If you have any blocks)
Start-of-selection.
Get node. (if the data is retreived from a logical database)
Get node late. (if the data is retreived from a logical database)
Top-of-page. (if the write statement is in the end-of-selection event or we can say that before the first write statement)
end-of-selection.
It is the same in interactive and alv reports also.
Hope this resolves your query.
Reward all the helpful answers.
Regards

Similar Messages

  • Sequence of firing of report events

    Hi,
    wat is the sequence of firing of report events.
    Thanks,
    Mohit.

    hi
    <b>The different events in a report Program are:</b><b>Load-of-program</b>
    Triggers the associated event in an internal session after loading a program of type 1, M, F, or S. Also runs the associated processing block once and once only for each program and internal session.  The processing block LOAD-OF-PROGRAM has roughly the same function for an ABAP program of type 1, M, F <b>or S as a constructor has for classes in ABAP Objects
    Initialization.</b>
    This event is executed before the selection screen is displayed .
    Initialization of all the values.
    You can assign different values other than the values defaulted on the selection screen .
    You can fill your selection screen with some values at runtime.
    At Selection-Screen.
    The event is processed when the selection screen has been processed (at the end of PAI ).
    Validation & Checks of inputted values happen here
    <b>Extras :</b>…ON VALUE-REQUEST FOR psel_low_high .
        The pushbutton for F4 (Possible entries) appears beside the appropriate field.
    ... ON HELP-REQUEST FOR psel_low_high
    . ... OUTPUT
    This event is executed at PBO of the selection screen every time the user presses ENTER
    <b>Start-of-Selection.</b>
    Here the program starts selecting values from tables.
    <b>End-of-selection.</b>
    After all the data has been selected this event writes the data to the screen.
    <b>Interactive Events</b>
    Used for interactive reporting. It is used to create a detailed list from a basic list.
    <b>Start-Of-Selection</b>
    Processing block is executed after processing the selection screen
    All the data is selected in this block.
    All the main processing on the data except for interactive reporting is handled in this block.
    <b>End-Of-Selection</b>
    Data which is selected and has been processed is printed to the screen in this block.
    L<b>ist Processing happens in this block</b>
    Top-of-Page.
    New-Page.
    End-of-Page.
    <b>Events during List Processing</b>
    Top-of-Page.
    Triggered by the first write statement in the program
    It is used to have a standard header in the program for all the pages.
    TOP-OF-PAGE is only executed before outputting the first line on a new page
    <b>New-Page.</b>
    Can be used when one wants to display different data on different pages
    Terminates the current page and continues output on a new page.
    Will not trigger the Top-of-Page or End-of-Page.
    <b>End-of-Page.</b>
    It is used to have a standard footer for all the pages.
    reagrds
    ravish
    <b>plz dont forget to reward points if useful</b>
    Triggered by the program if the number of records exceed the line-count of the program.

  • Can any one explain me the relation between BDC and reports events?

    hi experts.....
    can any one explain me the relation between BDC and reports events? we are using report events in BDC programmes why?\
    Is reports events occurs in each and every concept in ABAP i.e creating custom idocs, smart forms, sap scripts, dialog programmes, module pool technics?
    thanks in advance

    The forums are expert forums. So the first thing I would do is change your name.
    It's like entering a grand prix in a car with a "Student Driver" sign.
    Rob

  • Interactive Report Events

    Hi Friends,
    Can any one give sample programs  of below Interactive Report Events ?
    AT PF<nn> (obsolete)
    AT LINE-SELECTION
    AT USER-COMMAND
    points for sure..
    Regards
    Vijaya

    Hi see the below program.
    Hope this helps you.
    But make sure that the Gui is also created and activated.
    To do this just double click at at pf-status <b>statusname.</b>
    REPORT  Z_EVENTS LINE-SIZE 250.
    Description : This Program accepts accept a range of Airline carrier *
                  ID and Flight connection numbers from the user and     *
                  display SPFLI data.Develop a user interface for the    *
                  basic list with two pushbuttons.It Sorts when the User *
                  clicks on the  sort and sort by push buttons           *
    TABLES:
      SPFLI.                               " Flight schedule
    "Selection screen elements............................................
    SELECTION-SCREEN BEGIN OF BLOCK
      CARR_CONN.
    SELECT-OPTIONS:
      S_CARRID FOR SPFLI-CARRID,           " Carrier Id
      S_CONNID FOR SPFLI-CONNID.           " Connection Id
    SELECTION-SCREEN END OF BLOCK
      CARR_CONN.
    Dat declaration of the structure to hold spfli data
    DATA:
      W_LINE_DATA(255) TYPE C.             " Line Content
    DATA:
      BEGIN OF FS_SPFLI,
        CARRID    LIKE SPFLI-CARRID,       " Carrier Id
        CONNID    LIKE SPFLI-CONNID,       " Connection Id
        CITYFROM  LIKE SPFLI-CITYFROM,     " Departur City
        CITYTO    LIKE SPFLI-CITYTO,       " Arrival City
        AIRPFROM  LIKE SPFLI-AIRPFROM,     " Departure Airport
        AIRPTO    LIKE SPFLI-AIRPTO,       " Arrival Airport
        COUNTRYFR LIKE SPFLI-COUNTRYFR,    " Departure Country
        COUNTRYTO LIKE SPFLI-COUNTRYTO,    " Arrival Country
      END OF FS_SPFLI.
    *Internal Table  to hold FLIGHT_DETAILS                                *
    DATA:
      T_SPFLI LIKE
    STANDARD TABLE                        " FS_SPFLI like Structure
           OF FS_SPFLI,
    W_FIELD(180) TYPE C.
    *" Data declarations...................................................
    Work variables                                                      *
    DATA:
      W_BOX TYPE C.                        " Check Box in the window
                         START OF SELECTION EVENT                        *
    START-OF-SELECTION.
      PERFORM SELECT_DETAILS.
    Set PF-Status
      SET PF-STATUS 'BUTTON_SORT'.
                         AT USER COMMAND EVENT                           *
    AT USER-COMMAND.
      GET CURSOR FIELD W_FIELD.
      W_FIELD = W_FIELD+9(10).
      CASE SY-UCOMM.
        WHEN 'SORT'.
          SORT T_SPFLI STABLE BY (W_FIELD) ASCENDING.
          PERFORM DISPLAY_DETAILS.
        WHEN 'SORTDATABY'.
          PERFORM DISPLY_FIELDS.
        WHEN 'SORTASCEN'.
          PERFORM SORT_ASC_FIELD.
        WHEN 'SORTDESCEN'.
          PERFORM SORT_DES_FIELD.
        WHEN OTHERS.
          WRITE 'Invalid Command'(002).
      ENDCASE.                             " CASE SY-UCOMM.
                         END  OF SELECTION EVENT                         *
    END-OF-SELECTION.
      PERFORM DISPLAY_DETAILS.
    *&      Form  SELECT_DETAILS                                           *
      This Sub routine Retriebes the Details From SPFLI Table            *
    There are no interface parameters to be passed to this subroutine.   *
    FORM SELECT_DETAILS .
      SELECT CARRID                        " Carrier Id
             CONNID                        " Connection Id
             CITYFROM                      " Departur City
             CITYTO                        " Arrival City
             AIRPFROM                      " Departure Airport
             AIRPTO                        " Arrival Airport
             COUNTRYFR                     " Departure Country
             COUNTRYTO                     " Arrival Country
        FROM SPFLI
        INTO TABLE T_SPFLI
      WHERE CARRID IN S_CARRID AND
        CONNID IN S_CONNID.
      IF SY-SUBRC NE 0.
        WRITE'No Records Available'(001).
      ENDIF.                               " IF SY-SUBRC NE 0.
    ENDFORM.                               " SELECT_DETAILS
    *&      Form  DISPLAY_DETAILS                                          *
    This subroutine displays the SPFLI data on the basic list            *
    There are no interface parameters to be passed to this subroutine.   *
    FORM DISPLAY_DETAILS .
      MOVE 0 TO SY-LSIND .
      LOOP AT T_SPFLI INTO FS_SPFLI.
        AT FIRST.
          WRITE:
            /  'Carrier Id'(003),
            15 'Connection Id'(004),
            30 'Departur City'(005),
            45 'Arrival City'(006),
            60 'Dept Airport'(007),
            75 'Arri Airport'(008),
            90 'Dept Country'(009),
            105 'Arri Country'(010).
            ULINE.
        ENDAT.
        WRITE:
          /01  FS_SPFLI-CARRID,            " Carrier Id
           15  FS_SPFLI-CONNID,            " Connection Id
           30  FS_SPFLI-CITYFROM,          " Departur City
           45  FS_SPFLI-CITYTO,            " Arrival City
           60  FS_SPFLI-AIRPFROM,          " Departure Airport
           75  FS_SPFLI-AIRPTO,            " Arrival Airport
           90  FS_SPFLI-COUNTRYFR,         " Departure Country
           105 FS_SPFLI-COUNTRYTO.         " Arrival Country
      ENDLOOP.                             " LOOP AT T_SPFLI INTO FS_SPFLI
    ENDFORM.                               " DISPLAY_DETAILS
    *&      Form  DISPLY_FIELDS                                            *
    This Subroutine displays All Fields names in displayed list          *
    There are no interface parameters to be passed to this subroutine.   *
    FORM DISPLY_FIELDS.
      SET PF-STATUS  'WINDOW'.
      WINDOW STARTING AT 3 10
             ENDING   AT 15 60.
      WRITE:
        /1  W_BOX AS CHECKBOX,
          5 'CARRID',
        /1 W_BOX AS CHECKBOX,
          5 'CONNID',
        /1 W_BOX AS CHECKBOX,
          5 'CITYFROM',
        /1 W_BOX AS CHECKBOX,
          5'CITYTO',
        /1 W_BOX AS CHECKBOX,
          5 'AIRPFROM',
        /1  W_BOX AS CHECKBOX,
          5 'AIRPTO',
        /1 W_BOX AS CHECKBOX,
          5 'COUNTRYFR',
        /1 W_BOX AS CHECKBOX,
          5 'COUNTRYTO'.
    ENDFORM.                               " DISPLY_FIELDS
    *&      Form  SORT_ASC_FIELD                                           *
      This subroutine sorts the list by selected fields in ascending     *
       order                                                             *
    There are no interface parameters to be passed to this subroutine   *
    FORM SORT_ASC_FIELD .
      DATA:
        LW_CHECK TYPE C,                   " Check Box
        LW_FIELD(255) TYPE C,              " Field
        LW_F_VALUE(10) TYPE C,             " Field Value
        LW_FIELD1(10) TYPE C,              " Field Value
        LW_FIELD2(10) TYPE C,              " Field Value
        LW_FIELD3(10) TYPE C,              " Field Value
        LW_FIELD4(10) TYPE C,              " Field Value
        LW_FIELD5(10) TYPE C,              " Field Value
        LW_FIELD6(10) TYPE C,              " Field Value
        LW_FIELD7(10) TYPE C,              " Field Value
        LW_FIELD8(10) TYPE C.              " Field Value
      DO 8 TIMES.
        READ LINE SY-INDEX.
        LW_CHECK = SY-LISEL+0(1).
        LW_F_VALUE = SY-LISEL+4(10).
        IF LW_CHECK = 'X'.
          CASE SY-INDEX.
            WHEN 1.
              LW_FIELD1 = LW_F_VALUE.
            WHEN 2.
              LW_FIELD2 = LW_F_VALUE.
            WHEN 3.
              LW_FIELD3 = LW_F_VALUE.
            WHEN 4.
              LW_FIELD4 = LW_F_VALUE.
            WHEN 5.
              LW_FIELD5 = LW_F_VALUE.
            WHEN 6.
              LW_FIELD6 = LW_F_VALUE.
            WHEN 7.
              LW_FIELD7 = LW_F_VALUE.
            WHEN 8.
              LW_FIELD8 = LW_F_VALUE.
          ENDCASE.
        ENDIF.
      ENDDO.
      SORT T_SPFLI STABLE BY
        (LW_FIELD1)  ASCENDING
        (LW_FIELD2)  ASCENDING
        (LW_FIELD3)  ASCENDING
        (LW_FIELD4)  ASCENDING
        (LW_FIELD5)  ASCENDING
        (LW_FIELD6)  ASCENDING
        (LW_FIELD7)  ASCENDING
        (LW_FIELD8)  ASCENDING.
      PERFORM DISPLAY_DETAILS.
    ENDFORM.                               " SORT_ASC_FIELD
    *&      Form  SORT_DES_FIELD
      This subroutine sorts the list by selected fields in descending    *
       order                                                             *
    There are no interface parameters to be passed to this subroutine   *
    FORM SORT_DES_FIELD .
      DATA:
      LW_CHECK TYPE C,
      LW_FIELD(255) TYPE C,
      LW_F_VALUE(10) TYPE C,
      LW_FIELD1(10) TYPE C,LW_FIELD2(10)
        TYPE C,
      LW_FIELD3(10) TYPE C,LW_FIELD4(10)
        TYPE C,
      LW_FIELD5(10) TYPE C,LW_FIELD6(10)
        TYPE C,
      LW_FIELD7(10) TYPE C,LW_FIELD8(10)
        TYPE C.
      DO 8 TIMES.
        READ LINE SY-INDEX.
        LW_CHECK = SY-LISEL+0(1).
        LW_F_VALUE = SY-LISEL+4(10).
        IF LW_CHECK = 'X'.
          CASE SY-INDEX.
            WHEN 1.
              LW_FIELD1 = LW_F_VALUE.
            WHEN 2.
              LW_FIELD2 = LW_F_VALUE.
            WHEN 3.
              LW_FIELD3 = LW_F_VALUE.
            WHEN 4.
              LW_FIELD4 = LW_F_VALUE.
            WHEN 5.
              LW_FIELD5 = LW_F_VALUE.
            WHEN 6.
              LW_FIELD6 = LW_F_VALUE.
            WHEN 7.
              LW_FIELD7 = LW_F_VALUE.
            WHEN 8.
              LW_FIELD8 = LW_F_VALUE.
          ENDCASE.                         " CASE sy-index.
        ENDIF.                             " IF lw_check = 'X'.
      ENDDO.                               " DO 8 TIMES.
      SORT T_SPFLI STABLE BY
        (LW_FIELD1)  DESCENDING
        (LW_FIELD2)  DESCENDING
        (LW_FIELD3)  DESCENDING
        (LW_FIELD4)  DESCENDING
        (LW_FIELD5)  DESCENDING
        (LW_FIELD6)  DESCENDING
        (LW_FIELD7)  DESCENDING
        (LW_FIELD8)  DESCENDING.
      PERFORM DISPLAY_DETAILS.
    ENDFORM.                               " SORT_DES_FIELD
    Regards,
    Rama chary.Pammi

  • Organizer will not open after I tried backing up photos on external hard drive on Mac. Editor opens, but not Organizer. This is a repost of a problem first reported 10 days ago.

    Organizer will not open after I tried backing up photos on an external hard drive on Mac. Editor opens, but will not launch Organizer. Have tried clearing the catalogs, but nothing works. This was first reported 10 days ago. Had to be out of the country for a week - without photoshop working-- and now I'm back with the same problem. Can someone please help, or do I dump this and try to get some help just reloading the program?

    jnrmendonca
    It had 4 years of photos and videos on it.
    To what did your camera record those photos and videos - camera's internal memory, inserted memory card, other?
    Any remote chance that the latter may still exist for you to use to download the camera files to your new external hard drive?
    ATR

  • Need a coding like report events step by step

    need a  coding how to write report events.
    step by step. by the material iam not getting any thing..
    please send me if you have coding or any examples..

    Hi Franklin,
    Please see the following link. You will find complete guide to report events.
    http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db9a9635c111d1829f0000e829fbfe/frameset.htm
    Hope this helps,
    Pragya

  • Failed to create the very first report

    Hi
    I am creating my very first report using designer.
    When I select the query from database expert in crystal reports and click on Ok, it throws error failed to retrieve data from the database.
    I am not sure where I am going wrong.
    Anita

    Hi Anita
    Please check the joins in your universe, as you are using Oracle, if you have outer join, you might get an error in crystal reports ,and if you have saved and exported the universe properly.
    Also let us know the exact error message.
    Regards
    Sourashree

  • EM12c User Reported Event from PL/SQL

    Hi,
    Is there a way to create a user reported event from PL/SQL (similar to emcli publish_event) ?
    Thanks

    Can you describe your use case? Maybe there are other ways to address the issue.
    -Mughees

  • Reliable message - Top first timed events

    Hi All,
    One fo my Db having reliable message as top first timed events. Does anyone have an idea about this cause and the solution for this . Please do the needful.
    Event Waits Time(s) Avg wait (ms) % DB time Wait Class
    reliable message 685,139 24,625 36 29.58 Other
    Thanks

    http://arulselvaraj.blogspot.com/2011/01/drop-tablespace-waiting-on-reliable.html

  • Workspace 4 Minutes delay while running first report of the session

    Hi Techies,
    We are facing a strange issue in Workspace. When the user logs in to workspace and tries runs first report it nearly takes 4 or 5 minutes to bring up the POVs or Prompts. After this 4 minutes delay any subsequent action on reports is faster.
    But when the user logs off and log back in we are facing the same delay. Looks like this problem is there for every session.
    Any insight on this issue will be highly helpful
    Thanks
    With Regards,
    Rajkumar

    I am experiencing the same issue with a system 9.3 implementation. The issue occurs in Workspace only, not within the Financial Reporting Studio. That is making me think it is more of a web/application server issue. I have not been able to resolve, but any help would be appreciated.

  • Avoid first select event from a tableview

    Hi,
    Anyone know how to avoid the first select event from a tableview?
    I've tried the approach with a data store but the select event from the table is'nt available and if I write it manually I can't deploy the model.
    Best Regards
    Robin

    Robin,
      The error message probably wasn't written anywhere unless you've changed the default logging settings. 
      There's a sticky thread always at the top of this forum titled "How To Troubleshoot VC Issues" which contains a link to a pdf file - <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/92d80512-0a01-0010-32a3-cd3735bd9275">here's the same link</a>.  Near the end of that file are step by step instructions for turning on the logging.  Once you (or your admin) do that when you recompile/deploy a meaningful error message will appear in the VC editor as well as in the server log files.
    Good luck.

  • Avoiding first select event from chart ?

    Hi,
    I trigger a select event from a chart to another BI query to drill down into details. Unfortunately, when the chart is build up, without any user interaction a first select event is already triggered. Is it possible to avoid this event (for instance by a guard condition) ?
    Regards, Christian

    Hi Christian
    Sorry about the delay. The solution here is to use a data store and a guard condition, the data store should be triggered on the first select event in the chart, its default value should be itself+1, this means that when the first select event is triggered the value will be 1, you can then use your guard condition to check for this and only if the value is greater than 1 it should continue.
    Jarrod Williams

  • First Report Total should be second report row

    Hi
    We are using OBIEE11g.My requirment is first report total should be second report one of the values(row).
    E.g
    Report1
    Jan
    100
    Feb
    1000
    Mar
    6000
    Total
    7100
    Report2
    US
    1000
    GB
    1200
    SG
    4000
    Other
    900
    Total
    6200
    6200
    Final Total
    7100
    Above example Report1 Total(7100).Reports2 other values(First Report total-Seconde Report Total)(7100-6200=900).So Other values of second report is 900.Now final total of Second report 7100.
    I dont want to display second report First time total(6200).I have to display like below
    Report2
    US
    1000
    GB
    1200
    SG
    4000
    Other
    900
    Total
    7100
    How can i achive this.?
    Thanks
    Gram

    Hi,
    1. Their must be a relationship between these 2 reports by any one of the columns from the tables.
    2. After completing the second report, right click on the answer side of pivot table view, you will get the options like exclude column, include column, etc..
    3. Use selection steps to create calculated items or group of calculated members to have a value of "Other".
    4. One you added the calculated item it will get display.
    use selection steps or right click on the columns in pivot table view or table view you will get more options and ideas.
    Regards,
    VG

  • Call first report in another report and download the ouput of first report

    Hi Experts ,
    Ther is 1 ALV Report which gives ouput.
    i need to call first report in second report and copy the output of first report to itab in second report and download that itab to excel in second report.
    Pls if anybody knows the solution reply as soon as possible.
    regards,
    Imran

    Moderator message - Cross post locked
    Rob

  • Delete Reported Event in Freight Order

    Hi Gurus,
    How to delete the reported event in Execution tab of the Freight order?
    For Ex:
    After capturing POD, if i want to delete it, i cant find any option to delete it.
    Thanks,
    Michael.

    Hi ,
    You have to build a custom action in TM to revoke the reported event and send the update to EM event handler to  set the event as invalid in EM.
    TM Table : /SCMTMS/D_TOREXE
    set the value as X @ Field : EVENT_REVOKED 
    EM Table : /SAPTRX/EVM_HDR
    Set the value as X @ field INVALID_DATA
    Don't forget to reset the status of the document in TM and EM.
    ~Sukumar

Maybe you are looking for

  • Error window while changing the value in SelectOneChoice.

    Hi I am facing a problem on change of values in SelectOneChoice, "ERROR For input string: "N" Below is how i am implementing SelectOneChoice: I am creating values for SelectOneChoice in a Java class: *SelectItem itemY=new SelectItem();* *itemY.setLab

  • PC Suite 6.86.9.3 - Music Manager shuts down.

    I just bought the nokia n73 ME, and I downloaded the PC suite 6.86.9.3 from the net. However when I try to use the Music Manager to transfer music, after I select the songs and choose copy to the phone, my music manager shuts down. Please advise if t

  • How to see photos from photo share

    What does one need to do to see someone else's photos. Is photo stream or photo share.

  • Data transfer error open dataset files

    hi, When i try to create a excel or text in my application server using open dataset. i.e l_filename type rlgrap-filename  value '/tmp/down.txt'. I got a short dump during the run time i got the output and put into an internal table. the following co

  • Cannot start BPM process, "Start process" button is disabled: Why?

    Dear all, I am working on the BPM example "Modeling Your First Process with SAP NetWeaver Business Process Management" with the "Purchase process". I did everything as mentioned in the tutorial. At the end, I would like to start the process using NWA