Interactive Reports - Scheduling

I am using the Interactive Reports with BI publisher as the report server. I know in BI publisher you can schedule reports to run, but I don't want my users to go into it. Is there any way you can schedule an Interactive Report to run thru the APEX front end?

You can't "schedule" reports to run in APEX, it's an interactive web tool. You can either use materialized views to pre-compute expensive queries, say on a nightly basis, then base your APEX reports on the materialized view.
The solution I linked to on my blog is to build the whole report in BI Publisher, then call this long-running report via web services from APEX.
Tyler

Similar Messages

  • IR reports scheduled in workspace doesnt send out emails.

    Hello Everyone,
    Please input your experinces or valuble suggestions for our issue.
    We have several Interactive reports scheduled through the Hyperion Workspace and the scheduler sends out the generated reports to the users via emails in excel, PDF, web archive and MHTML.
    Recently some users are complaining that they are not receving the reports though there emails are in the distribution list. My email is also attached to the distribution list and I receive the reports without any issue. I have checked the log and its shows that job went successfully without any errors and also displays that particluar user's emails too.
    I also get a notification to my email everytime the job runs and it is successfull all the time.
    We are unable to figure out why this is happening to only particluar users.
    Any ideas? Anybody experienced the same issue? We are on version 11.1.2.1.
    Jay.

    Hi,
    I have changed the order of the distribution list and waiting for a confirmation from the users but we are having a new issue.
    One of the scheduled job is not sending out the emails to anyone. I tried to run the report manually and it runs perfectly. Right now we are exporting the file in the format 'Microsoft Office Web Archive.'
    The scheduler was running perfectly untill 5/18 but didnt sendout after 5/18. I have ran report manually and exported as Web Archive and observed that the file size is 17MB. I have checked the previous outputs and all were under 11MB from the time since it was scheduled.
    I suspect this is because of the file size. I have also did a trail run by changing the export option from Web Archive to Excel and it did send out the report and excel file size was 3MB.
    Any ideas on this limitation? We are on version 11.1.2.1.
    .

  • Error while scheduling a Hyperion Interactive Report

    Hi,
    I'm trying to run a scheduled Hyperion Interactive Report (version 9.3.1). The report is scheduled to run for 1st of every month. After the report is scheduled. When a user tries to run the report on demand.
    The error log states as follows:
    $ view server_messages_IRJobService.log
    "server_messages_IRJobService.log" [Read only] 38 lines, 2688 characters
    <event logger="com.brio.one.services.bqservice.SERVICE" method="ThrID(7) Logger(ZDbgPrint)" timestamp="1247269603142" level="ERROR" thread="[ORB=_it_orb_id_1,Pool=1]::id-6" sequence_no="74">^M
    <time>10 Jul 2009 16:46:43,142</time>^M
    <context subject="TIPAdmin" session_id="zRMz99t6-00000122670ef701-0000-8197-0a3f0708" originator_type="IRJobService" originator_name="InteractiveReportingService" host="tsbrit02">^M
    <info type="RESOURCE">IBQServiceImpl::runJob Job Identifier: TIPPFSMRPT Service Name: JF1_tsbrit02 Cycle Name: Cycle_0</info>^M
    <info type="RESOURCE_ID">000001225ef102a5-0000-8197-0a3f0708</info>^M
    </context>^M
    <message><![CDATA[TCApp::ExecuteJavaScript failed: ]]></message>^M
    </event>^M
    ^M
    But when the report is uploaded and when the user tries running it. It runs without any problem.
    The report has 3 filters(drop downs) on runtime.
    Could anyone please help me in this regard.
    Regards,
    Sadiq

    check your discoverer user role using:
    select granted_role from dba_role_privs where grantee=upper('<username>');
    from your database. the database to which the desktop is connecting.
    check for connect, resouce, multiorg roles.

  • How To Schedule an Hyperion Interactive Reporting Dashboard

    Hi . Can somebody let me know on how to schedule an Interactive REporting Dashboard Report and Export the output in PDF and Email the user.i can see the output in HTML when i schedule a pivot, Chart but i dont see anything when i try to schedule a Dashboard . Any pointers in Greatly appreciated

    Once you have the dashboard scheduled to run/ process your queries.
    Go to run the job. In there you will need to edit the cycle by clicking on Modify
    (This will open another page)
    Under the Actions sections there is a part that says
    Add a(n) select the drop down that says Email Section.
    This will take you to anther window where you can select the section you want to output (in your case the Report)
    who to send it to and what format you want to send it in (default shows Microsoft Office Web archive).
    Hopefully this will help you.

  • How to send a conditional email with interactive report subscription

    Hi,
    i have an interactive report with subscription.
    I would like to send an email with the attachment only when the query returns one or more records.
    How to to this?
    Apex 4.0.2
    Thanks in advance
    lukx

    Well, to understand your requirements can I ask this:
    You said earlier you want a report sent whenever records that meet a criteria exist, correct? So you want the application to query for a condition, and when that condition occurs (a row with primary Key = X, a select COUNT(1) for rows with column X returns a result of 1 or more)
    Then you would schedule a batch job:
    BEGIN
    -- Job defined entirely by the CREATE JOB procedure.
    DBMS_SCHEDULER.create_job (
    job_name => 'Send_Email_Procedure',
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN Test_For_COND_SEND(); END;',
    start_date => SYSTIMESTAMP,
    repeat_interval => 'freq=hourly; byminute=0',
    end_date => NULL,
    enabled => TRUE,
    comments => 'Job defined entirely by the CREATE JOB procedure.');
    END;
    This would in theory run hourly and run your test_for_cond_Send process, in which you would test for the condition and send an e-mail if it was found that would contain the results from your query/report.
    Here is a link to generate a PDF report that could be sent via e-mail: Re: how to save pdf in APEX 3.0
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • Query in interactive report

    Hi All
    i developed a report based on interactive report concept. this report is working fine. my question is once it is displaying the basic list i will click on company code then only it has to display secondary list ( here i keep hotspot also) but what happends in my code if i click on any filed(in basic list output) it is showing secondary list. i am sending my code below... anybody can suggest me how to fix this issue.
    REPORT zmahi_testprogram1
           NO STANDARD PAGE HEADING.
    *"-- Tables
    DATA : bsis,
           bsid.
    *"-- Types declaration
    TYPES : BEGIN OF it_bsis,
              bukrs TYPE bsis-bukrs,   " Company Code
              hkont TYPE bsis-hkont,   " General ledger account
              augdt TYPE bsis-augdt,   " Clearing Date
              augbl TYPE bsis-augbl,   " Document Number
              zuonr TYPE bsis-zuonr,   " Assignment number
              gjahr TYPE bsis-gjahr,   " Fiscal year
              belnr TYPE bsis-belnr,   " Accounting document number
            END OF it_bsis.
    TYPES : BEGIN OF it_bsid,
              bukrs TYPE bsid-bukrs,   " Company Code
              kunnr TYPE bsid-kunnr,   " Customer number
              umsks TYPE bsid-umsks,   " Special G/L Transaction Type
              umskz TYPE bsid-umskz,   " Special G/L Indicator
              augdt TYPE bsid-augdt,   " Clearing Date
              augbl TYPE bsid-augbl,   " Document Number
              zuonr TYPE bsid-zuonr,   " Assignment number
            END OF it_bsid.
    *"-- Internal table declaration
    DATA : itab_bsis TYPE it_bsis OCCURS 0 WITH HEADER LINE,
           itab_bsid TYPE it_bsid OCCURS 0 WITH HEADER LINE.
                   SELECTION-SCREEN
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-s01.
    PARAMETER : p_bukrs TYPE bsid-bukrs.   " Customer number
    SELECTION-SCREEN END OF BLOCK b1.
                   START-OF-SELECTION
    START-OF-SELECTION.
      PERFORM get_data.                 " GET DATA FROM BSIS TABLE
      PERFORM get_bsid.                 " GET DATA FROM BSID TABLE
      PERFORM display_data.             " DISPLAY DATA
    *&      Form  get_data
    FORM get_data.
      SELECT bukrs
             hkont
             augdt
             augbl
             zuonr
             gjahr
             belnr
         FROM bsis
         INTO TABLE itab_bsis
      WHERE bukrs = p_bukrs.
    ENDFORM.                            " get_data
    *&      Form  get_bsid
    FORM get_bsid.
      CHECK NOT itab_bsis[] IS INITIAL.
      SELECT  bukrs
              kunnr
              umsks
              umskz
              augdt
              augbl
              zuonr
         FROM bsid
         INTO TABLE itab_bsid
         FOR ALL ENTRIES IN itab_bsis
       WHERE bukrs = itab_bsis-bukrs.
    ENDFORM.                            " get_bsid
    *&                        Form  display_data
    FORM display_data.
      DATA : wa_bsid TYPE it_bsid.
      LOOP AT itab_bsid INTO wa_bsid.
        WRITE : wa_bsid-bukrs HOTSPOT ON,
                wa_bsid-umsks,
                wa_bsid-umskz,
                wa_bsid-augdt,
                wa_bsid-augbl,
                wa_bsid-zuonr.
        HIDE itab_bsid-bukrs.
      ENDLOOP.
    ENDFORM.                            " display_data
                         TOP-OF-PAGE
    TOP-OF-PAGE.
      WRITE : 'This is basic list'.
                        TOP-OF-PAGE DURING LINE-SELECTION
    TOP-OF-PAGE DURING LINE-SELECTION.
      WRITE : 'This is secondary list'.
                              AT LINE-SELECTION
    AT LINE-SELECTION.
      CASE sy-lsind.
        WHEN '1'.
          PERFORM get_bsis.     " get data from vbak table
        WHEN '2'.
          PERFORM get_bsik.
      ENDCASE.
    *&      Form  get_bsis
    FORM get_bsis.
    *"-- types declaration
      TYPES : BEGIN OF it_bsis,
                bukrs TYPE bsis-bukrs,
                hkont TYPE bsis-hkont,
                augdt TYPE bsis-augdt,
                augbl TYPE bsis-augbl,
                zuonr TYPE bsis-zuonr,
              END OF it_bsis.
    *"-- internal table declaration
      DATA : itab_bsis TYPE it_bsis OCCURS 0 WITH HEADER LINE,
             wa_bsis TYPE it_bsis.
      SELECT bukrs
             hkont
             augdt
             augbl
             zuonr
         FROM bsis
         INTO TABLE itab_bsis.
      CHECK NOT itab_bsis[] IS INITIAL.
      LOOP AT itab_bsis INTO wa_bsis.
        WRITE : / wa_bsis-bukrs hotspot on,
                  wa_bsis-hkont,
                  wa_bsis-augdt,
                  wa_bsis-augbl,
                  wa_bsis-zuonr.
      ENDLOOP.
    ENDFORM.                    " get_vbak
    *&      Form  get_bsik
    FORM get_bsik.
    *"-- types declaration
      TYPES : BEGIN OF it_bsik,
                bukrs TYPE bsik-bukrs,
                lifnr TYPE bsik-bukrs,
                umsks TYPE bsik-umsks,
                umskz TYPE bsik-umskz,
              END OF it_bsik..
    *"-- internal table declaration
      DATA : itab_bsik TYPE it_bsik OCCURS 0 WITH header line,
             wa_bsik TYPE it_bsik.
    *"--- data retrival
      SELECT bukrs
             lifnr
             umsks
             umskz
        FROM bsik
        INTO TABLE itab_bsik.
    *"-- if table contains data
      CHECK NOT itab_bsik[] IS INITIAL.
    *"-- displaying the data
      LOOP AT itab_bsik INTO wa_bsik.
        WRITE : / wa_bsik-bukrs,
                  wa_bsik-lifnr,
                  wa_bsik-umsks,
                  wa_bsik-umskz.
      ENDLOOP.
    ENDFORM.                    " get_bsik
    thanks,
    maheedhar.t

    Hi Maheendhar ,
    Please paste your complete code or refer this peice of code this is working as per requirement
    --GLOBAL DECLARATIONS--
    THIS DEFINES GLOBAL TYPES FOR ALV.
    TYPE-POOLS: slis.
    TRANSPARENT TABLES USED FOR DATA FETCHING
    TABLES: ekko,ekpo,eket,lfa1,ekbe.
    DATA : i_fieldcat TYPE slis_t_fieldcat_alv," FOR FIELDCATALOG
           i2_fieldcat TYPE slis_t_fieldcat_alv,"FOR FIELDCATALOG 2
           i3_fieldcat TYPE slis_t_fieldcat_alv, "FOR FIELDCATALOG 3
           i_eventcat TYPE slis_t_event,        "FOR EVENTCATALOG
           i_layout TYPE slis_layout_alv,       "FOR LAYOUT
           i_sortinfo TYPE slis_t_sortinfo_alv. "FOR SORTING
    VARIABLE FOR COUNT OF PO
    DATA: n TYPE i ,
          i TYPE i,
          po_item TYPE ebelp,
          v_count(1) VALUE 'N'.
    --TYPES--
    --DATA DECLARATION FOR VENDOR MASTER--
    TYPES: BEGIN OF t_lfa1,
           lifnr TYPE lifnr,    "VENDOR CODE
           name1 TYPE name1_gp, "VENDOR NAME
           END OF t_lfa1.
    --DATA DECLARATION FOR HEADER(EKKO)--
    TYPES: BEGIN OF t_ekko,
           ebeln TYPE ebeln,     "PURCHASE ORDER NUMBER
           lifnr TYPE elifn,     "VENDOR CODE
           c     TYPE  i,        "PURCHASE ORDER COUNT
           END OF t_ekko.
    --DATA DECLARATION FOR DETAIL(EKPO)--
    TYPES:     BEGIN OF t_ekpo,
         ebeln TYPE ebeln,       "PURCHASE ORDER NUMBER
         ebelp TYPE ebelp,       "PURCHASE ORDER ITEM
         menge TYPE bstmg,       "PURCHASE ORDER QTY
         END OF t_ekpo,
    --DATA DECLARATION FOR EKET TABLE--
         BEGIN OF t_eket,
         ebeln TYPE ebeln,       "PURCHASE ORDER NUMBER
         ebelp TYPE ebelp,       "PURCHASE ORDER ITEM
         etenr TYPE eeten,       "DELIVERY SCHEDULE LINE COUNTER
         wemng TYPE weemg,       "QUANTITY OF GOODS RECIEVED
         END OF t_eket ,
    DATA DECLARATION FOR FINAL TABLE(FIRST
    SCREEN)----
           BEGIN OF t_tab,
           lifnr TYPE elifn,
           ebeln TYPE ebeln,
           name1 TYPE name1_gp,
           ebelp TYPE ebelp,
           menge TYPE bstmg,
           etenr TYPE eeten,
           wemng TYPE weemg,
           c   TYPE i,
           END OF t_tab.
    --DATA DECLARATION FOR FINAL TABLE (SECOND SCREEN)---
    TYPES: BEGIN OF t_vendor,
           lifnr TYPE elifn,
           ebeln TYPE ebeln,
           ebelp TYPE ebelp,
           menge TYPE bstmg,
           wemng TYPE p,
           END OF t_vendor,
    --DATA DECLARATION FOR EKBE--
           BEGIN OF t_ekbe,
           ebeln TYPE ebeln,
           ebelp TYPE ebelp,
           bwart TYPE bwart,
           menge TYPE menge_d,
           END OF t_ekbe.
    --WORK AREA--
    DATA : wa_lfa1   TYPE  t_lfa1,
           wa_ekko   TYPE  t_ekko,
           wa_ekpo   TYPE  t_ekpo,
           wa_eket   TYPE  t_eket,
           wa_tab    TYPE  t_tab,
           wa_vendor TYPE   t_vendor,
           wa_ekbe   TYPE  t_ekbe,
           wa_grn    TYPE  t_ekbe,
           wa_full   TYPE  t_vendor.
    --INTERNAL TABLES--
    DATA:  it_lfa1   TYPE STANDARD TABLE OF t_lfa1   WITH HEADER LINE ,
           it_ekko   TYPE STANDARD TABLE OF t_ekko    WITH HEADER LINE ,
           it_ekpo   TYPE STANDARD TABLE OF t_ekpo   WITH HEADER LINE,
           it_eket   TYPE STANDARD TABLE OF t_eket   WITH HEADER LINE,
           it_tab    TYPE STANDARD TABLE OF t_tab    WITH HEADER LINE,
           it_vendor TYPE STANDARD TABLE OF t_vendor WITH HEADER LINE,
           it_ekbe   TYPE STANDARD TABLE OF t_ekbe   WITH HEADER LINE,
           it_grn   TYPE STANDARD TABLE OF t_ekbe     WITH HEADER LINE,
           it_full  TYPE STANDARD TABLE OF  t_vendor  WITH HEADER LINE.
    DATA: vendor TYPE elifn.
    DATA: qty TYPE p,
          c TYPE i.
    --SELECTION SCREEN--
    SELECTION-SCREEN BEGIN OF BLOCK main WITH FRAME TITLE text-001.
    SELECT-OPTIONS :  s_lifnr FOR lfa1-lifnr OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK main.
    --AT SELECTION-SCREEN--
    AT SELECTION-SCREEN.
      SELECT lifnr INTO (it_lfa1-lifnr) FROM lfa1 WHERE lifnr IN
    s_lifnr.
      ENDSELECT.
      IF sy-subrc <> 0.
        MESSAGE e001.
      ENDIF.
    --START-OF-SELECTION--
    START-OF-SELECTION.
    FETCH RECORDS FROM THE DATABASE INTO THE INTERNAL TABLE.
      PERFORM zf_select_it_tab.
    PREPARE FIELDCATALOG FOR THE MAIN (1ST LIST) REPORT.
      PERFORM zf_build_fieldcat USING  i_fieldcat.
    DEFINE EVENT TABLE
      PERFORM build_eventcat USING i_eventcat.
    DETERMINE THE SORTING SEQUENCE.
      PERFORM build_sort USING i_sortinfo.
      DISPLAY ALV GRID.
      PERFORM zf_display_alv_list.
    *&      Form  ZF_SELECT_IT_TAB
          text
    -->  p1        text
    <--  p2        text
    *SELECTING DATA FROM IT_LFA1 TABLE
    FORM zf_select_it_tab .
      SELECT lifnr
             name1
                  INTO TABLE  it_lfa1
                  FROM lfa1
                  WHERE lifnr IN s_lifnr.
      IF sy-subrc = 0.
        SORT it_lfa1 BY lifnr.
      ENDIF.
    *SELECTING DATA FROM EKKO TABLE
      IF NOT it_lfa1[] IS INITIAL.
        SELECT
               ebeln
               lifnr
                    FROM ekko
                    INTO  TABLE it_ekko
                    FOR ALL ENTRIES IN it_lfa1
                    WHERE lifnr = it_lfa1-lifnr.
        IF sy-subrc = 0.
          SORT it_ekko BY ebeln.
        ENDIF.
      ENDIF.
    *SELECTING DATA FROM EKPO TABLE
      IF NOT it_ekko[] IS INITIAL.
        SELECT
               ebeln
               ebelp
               menge
                    FROM ekpo
                    INTO TABLE it_ekpo
                    FOR ALL ENTRIES IN it_ekko
                    WHERE ebeln = it_ekko-ebeln.
        IF sy-subrc = 0.
          SORT it_ekpo BY ebeln ebelp.
        ENDIF.
      ENDIF.
    *SELECTING DATA FROM EKET TABLE
      IF NOT it_ekpo[] IS INITIAL.
        SELECT
              ebeln
              ebelp
              etenr
              wemng
                   FROM eket
                   INTO TABLE it_eket
                   FOR ALL ENTRIES IN it_ekpo
                   WHERE ebeln = it_ekpo-ebeln
                   AND   ebelp = it_ekpo-ebelp.
        SORT it_eket BY ebeln ebelp etenr.
      ENDIF.
    *SELECTING DATA FROM EKBE TABLE
      IF NOT it_eket[] IS INITIAL.
        SELECT
              ebeln
              ebelp
              bwart
              menge
                   FROM ekbe
                   INTO TABLE it_ekbe
                   FOR ALL ENTRIES IN it_eket
                   WHERE ebelp = it_eket-ebelp
                   AND   ebeln = it_eket-ebeln
                   AND   bwart = '101'.
      ENDIF.
    THIS BLOCK MOVES THE  FIELDS FROM DIFFERENT           *
    TABLES(EKKO,LFA1,EKPO,EKET) INTO A FINAL TABLE IT_TAB *
      CLEAR wa_tab.
      CLEAR it_tab.
      LOOP AT it_lfa1 INTO wa_lfa1.
        READ TABLE it_ekko INTO wa_ekko WITH KEY lifnr = wa_lfa1-lifnr
                                                       BINARY SEARCH.
        READ TABLE it_lfa1 INTO wa_lfa1
        WITH KEY lifnr = wa_lfa1-lifnr
        BINARY SEARCH.
        IF sy-subrc = 0.
          MOVE: wa_lfa1-name1 TO wa_tab-name1.
          MOVE: wa_lfa1-lifnr TO wa_tab-lifnr.
        ENDIF.
        APPEND wa_tab TO it_tab.
        CLEAR : wa_tab,wa_lfa1.
      ENDLOOP.
    **READ FOR SECOND SCREEN
      REFRESH it_full.
      CLEAR : wa_full,
              wa_eket,
              wa_ekpo.
      LOOP AT it_eket  INTO wa_eket.
        READ TABLE it_ekpo INTO wa_ekpo WITH KEY ebeln = wa_eket-ebeln
                                                 ebelp = wa_eket-ebelp
                                                  BINARY SEARCH.
        IF sy-subrc = 0.
          READ TABLE it_ekko INTO wa_ekko WITH KEY ebeln =
                                              wa_ekpo-ebeln
                                              BINARY SEARCH.
          IF sy-subrc = 0.
            READ TABLE it_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_ekko-lifnr
                                                   BINARY SEARCH.
            IF sy-subrc = 0.
              wa_full-ebelp = wa_ekpo-ebelp.
              wa_full-menge = wa_ekpo-menge.
              wa_full-lifnr = wa_lfa1-lifnr.
              wa_full-ebeln = wa_ekko-ebeln.
              wa_full-wemng = wa_eket-wemng.
            ENDIF.
          ENDIF.
        ENDIF.
        APPEND wa_full TO it_full.
        CLEAR :  wa_ekko,wa_ekpo,wa_eket,wa_full.
      ENDLOOP.
    COUNT OF  PO
      LOOP AT it_tab.
        LOOP AT it_ekko WHERE lifnr = it_tab-lifnr.
          c = c + 1.
        ENDLOOP.
        it_tab-c = c.
        MODIFY it_tab TRANSPORTING c.
        CLEAR c.
      ENDLOOP.
    ENDFORM.                    " ZF_SELECT_IT_TAB
    *&      Form  ZF_BUILD_FIELDCAT
      FIELD CATALOG FOR FIRST SCREEN
         -->P_I_FIELDCAT  text
    FORM zf_build_fieldcat  USING    p_i_fieldcat TYPE slis_t_fieldcat_alv.
      REFRESH p_i_fieldcat.
      DATA: l_fieldcat TYPE slis_fieldcat_alv.
      CLEAR l_fieldcat.
      l_fieldcat-col_pos = '1'.
      l_fieldcat-fieldname = 'LIFNR'.
      l_fieldcat-tabname = 'IT_TAB'.
      l_fieldcat-key = 'X'.
      l_fieldcat-emphasize = 'C410'.
      l_fieldcat-seltext_l = 'VENDOR CODE'.
      l_fieldcat-outputlen = 20.
      APPEND l_fieldcat TO p_i_fieldcat.
      CLEAR l_fieldcat.
      l_fieldcat-col_pos = '2'.
      l_fieldcat-fieldname = 'NAME1'.
      l_fieldcat-tabname = 'IT_TAB'.
      l_fieldcat-emphasize = 'C410'.
      l_fieldcat-seltext_l = 'VENDOR NAME'.
      l_fieldcat-outputlen = 20.
      APPEND l_fieldcat TO p_i_fieldcat.
      CLEAR l_fieldcat.
      l_fieldcat-col_pos = '3'.
      l_fieldcat-fieldname = 'C'.
      l_fieldcat-tabname = 'IT_TAB'.
      l_fieldcat-emphasize = 'C410'.
      l_fieldcat-seltext_l = 'PO COUNT'.
      l_fieldcat-outputlen = 10.
      APPEND l_fieldcat TO p_i_fieldcat.
    ENDFORM.                    " ZF_BUILD_FIELDCAT
    *&      Form  ZF_DISPLAY_ALV_LIST
      CALLING FUNCTION FOR ALV GRID DISPLAY
    -->  p1        text
    <--  p2        text
    FORM zf_display_alv_list .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = 'Z8AS_SHADOW_ALV_INTERACTIVE'
         i_callback_user_command           = 'USER_COMMAND'
         is_layout                         = i_layout
         it_fieldcat                       = i_fieldcat
         it_events                         = i_eventcat
        TABLES
          t_outtab                          = it_tab
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ZF_DISPLAY_ALV_LIST
    *&      Form  BUILD_SORT
    SORTING OUTPUT BY PURCHASE ORDER AND LINE ITEM
         -->P_I_SORTINFO  text
    FORM build_sort  USING    p_i_sortinfo TYPE slis_t_sortinfo_alv.
      REFRESH p_i_sortinfo.
      DATA: l_sortinfo TYPE slis_sortinfo_alv.
      CLEAR l_sortinfo.
      l_sortinfo-spos = '1'.
      l_sortinfo-fieldname = 'LIFNR'.
      l_sortinfo-tabname = 'IT_VENDOR'.
      l_sortinfo-up = 'X'.
      l_sortinfo-group = 'UL'.
      APPEND l_sortinfo TO p_i_sortinfo.
      CLEAR l_sortinfo.
      l_sortinfo-spos = '2'.
      l_sortinfo-fieldname = 'EBELN'.
      l_sortinfo-tabname = 'IT_VENDOR'.
      l_sortinfo-up = 'X'.
      l_sortinfo-group = 'UL'.
      APPEND l_sortinfo TO p_i_sortinfo.
    ENDFORM.                    " BUILD_SORT
    *&      Form  BUILD_EVENTCAT
         -->P_I_EVENTCAT  text
    FORM build_eventcat  USING    p_i_eventcat  TYPE slis_t_event.
      REFRESH p_i_eventcat.
      DATA: i_event TYPE slis_alv_event.
      CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
        EXPORTING
          i_list_type     = 0
        IMPORTING
          et_events       = p_i_eventcat
        EXCEPTIONS
          list_type_wrong = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR i_event.
      READ TABLE p_i_eventcat WITH KEY name = slis_ev_user_command INTO
      i_event.
      IF sy-subrc = 0.
        MOVE 'USER_COMMAND' TO i_event-form.
        APPEND i_event TO p_i_eventcat.
      ENDIF.
    ENDFORM.                    " BUILD_EVENTCAT
    *&      FORM USER_COMMAND
    FORM user_command USING p_ucomm TYPE sy-ucomm
                               p_selfield TYPE slis_selfield.
      CASE p_ucomm.
        WHEN  '&IC1'.
          READ TABLE it_tab INTO wa_tab INDEX p_selfield-tabindex.
          IF p_selfield-fieldname = 'LIFNR'.
            vendor = p_selfield-value.
            PERFORM zf_vendor_details.
            PERFORM zf2_build_fieldcat USING i2_fieldcat.
            PERFORM zf_display_grid.
          ENDIF.
          CLEAR p_selfield.
      ENDCASE.
    ENDFORM.                    " ZF_USER_COMMAND
    *&      Form  ZF_VENDOR_DETAILS
    THIS FORM IS USED FOR MOVING DATA FROM IT_TAB TO IT_VENDOR
    -->  p1        text
    <--  p2        text
    FORM zf_vendor_details .
      CLEAR wa_ekko.
      CLEAR it_ekko.
      REFRESH it_vendor.
      LOOP AT it_full INTO wa_full WHERE lifnr = vendor.
        MOVE :
              wa_full-lifnr TO wa_vendor-lifnr,
              wa_full-ebeln TO wa_vendor-ebeln,
              wa_full-ebelp TO wa_vendor-ebelp,
              wa_full-menge TO wa_vendor-menge,
              wa_full-wemng TO wa_vendor-wemng.
        APPEND wa_vendor TO it_vendor.
        CLEAR : wa_vendor.
      ENDLOOP.
    ENDFORM.                    " ZF_VENDOR_DETAILS
    *&      Form  ZF2_BUILD_FIELDCAT
    THIS FORM IS USED FOR CATALOG SCREEN 2
         -->P_I_FIELDCAT  text
    FORM zf2_build_fieldcat  USING    p_i_fieldcat TYPE slis_t_fieldcat_alv.
      REFRESH p_i_fieldcat.
      DATA: l2_fieldcat TYPE slis_fieldcat_alv.
      CLEAR l2_fieldcat.
      l2_fieldcat-col_pos = '1'.
      l2_fieldcat-fieldname = 'LIFNR'.
      l2_fieldcat-tabname = 'IT_VENDOR'.
      l2_fieldcat-key = 'X'.
      l2_fieldcat-emphasize = 'C410'.
      l2_fieldcat-seltext_l = 'VENDOR CODE'.
      l2_fieldcat-outputlen = 20.
      APPEND l2_fieldcat TO p_i_fieldcat.
      CLEAR l2_fieldcat.
      l2_fieldcat-col_pos = '2'.
      l2_fieldcat-fieldname = 'EBELN'.
      l2_fieldcat-tabname = 'IT_VENDOR'.
      l2_fieldcat-key = 'X'.
      l2_fieldcat-emphasize = 'C410'.
      l2_fieldcat-seltext_l = 'PURCHASE ORDER NUMBER'.
      l2_fieldcat-outputlen = 20.
      APPEND l2_fieldcat TO p_i_fieldcat.
      CLEAR l2_fieldcat.
      l2_fieldcat-col_pos = '3'.
      l2_fieldcat-fieldname = 'EBELP'.
      l2_fieldcat-tabname = 'IT_VENDOR'.
      l2_fieldcat-key = 'X'.
      l2_fieldcat-emphasize = 'C710'.
      l2_fieldcat-seltext_l = 'PO ITEM'.
      l2_fieldcat-outputlen = 20.
      APPEND l2_fieldcat TO p_i_fieldcat.
      CLEAR l2_fieldcat.
      l2_fieldcat-col_pos = '4'.
      l2_fieldcat-fieldname = 'MENGE'.
      l2_fieldcat-tabname = 'IT_VENDOR'.
      l2_fieldcat-key = 'X'.
      l2_fieldcat-emphasize = 'C410'.
      l2_fieldcat-seltext_l = 'PO QTY'.
      l2_fieldcat-outputlen = 20.
      APPEND l2_fieldcat TO p_i_fieldcat.
      CLEAR l2_fieldcat.
      l2_fieldcat-col_pos = '5'.
      l2_fieldcat-fieldname = 'WEMNG'.
      l2_fieldcat-tabname = 'IT_VENDOR'.
      l2_fieldcat-key = 'X'.
      l2_fieldcat-emphasize = 'C450'.
      l2_fieldcat-seltext_l = 'QTY RECIEVED'.
      l2_fieldcat-outputlen = 20.
      APPEND l2_fieldcat TO p_i_fieldcat.
      CLEAR l2_fieldcat.
    ENDFORM.                    "ZF2_BUILD_FIELDCAT
    *&      Form  ZF_DISPLAY_ALV_LIST
          text
    -->  p1        text
    <--  p2        text
    FORM zf_display_grid .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = 'Z8AS_SHADOW_ALV_INTERACTIVE'
      I_CALLBACK_PF_STATUS_SET          = ' '
        i_callback_user_command           = 'USER_COMMAND1'
         it_fieldcat                       = i2_fieldcat
         it_sort                           = i_sortinfo
    IMPORTING
        TABLES
          t_outtab                          = it_vendor
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "ZF_DISPLAY_GRID
    *&      FORM USER_COMMAND1
    FORM user_command1 USING p_ucomm TYPE sy-ucomm
                               p_selfield TYPE slis_selfield.
      CASE p_ucomm.
        WHEN  '&IC1'.
          READ TABLE it_vendor INTO wa_vendor INDEX p_selfield-tabindex.
          IF p_selfield-fieldname = 'WEMNG'.
            po_item = wa_vendor-ebelp.
            PERFORM zf_grn.
            PERFORM zf3_build_fieldcat USING i3_fieldcat.
            PERFORM zf1_display_grid.
          ENDIF.
      ENDCASE.
    ENDFORM.                    " ZF_USER_COMMAND
    *&      Form  ZF3_BUILD_FIELDCAT
    FIELD CATALOG FOR THIRD SCREEN
         -->P_I3_FIELDCAT  text
    FORM zf3_build_fieldcat  USING    p_i_fieldcat  TYPE slis_t_fieldcat_alv
      REFRESH p_i_fieldcat.
      DATA: l3_fieldcat TYPE slis_fieldcat_alv.
      CLEAR l3_fieldcat.
      l3_fieldcat-col_pos = '1'.
      l3_fieldcat-fieldname = 'EBELN'.
      l3_fieldcat-tabname = 'IT_GRN'.
      l3_fieldcat-key = 'X'.
      l3_fieldcat-emphasize = 'C410'.
      l3_fieldcat-seltext_l = 'P.O. NO'.
      l3_fieldcat-outputlen = 20.
      APPEND l3_fieldcat TO p_i_fieldcat.
      CLEAR l3_fieldcat.
      l3_fieldcat-col_pos = '2'.
      l3_fieldcat-fieldname = 'EBELP'.
      l3_fieldcat-tabname = 'IT_GRN'.
      l3_fieldcat-key = 'X'.
      l3_fieldcat-emphasize = 'C410'.
      l3_fieldcat-seltext_l = 'P.O.ITEM'.
      l3_fieldcat-outputlen = 20.
      APPEND l3_fieldcat TO p_i_fieldcat.
      CLEAR l3_fieldcat.
      l3_fieldcat-col_pos = '3'.
      l3_fieldcat-fieldname = 'BWART'.
      l3_fieldcat-tabname = 'IT_GRN'.
      l3_fieldcat-key = 'X'.
      l3_fieldcat-emphasize = 'C410'.
      l3_fieldcat-seltext_l = 'MOVEMENT TYPE'.
      l3_fieldcat-outputlen = 20.
      APPEND l3_fieldcat TO p_i_fieldcat.
      CLEAR l3_fieldcat.
      l3_fieldcat-col_pos = '4'.
      l3_fieldcat-fieldname = 'MENGE'.
      l3_fieldcat-tabname = 'IT_GRN'.
      l3_fieldcat-key = 'X'.
      l3_fieldcat-emphasize = 'C410'.
      l3_fieldcat-seltext_l = 'GR QUANTITY'.
      l3_fieldcat-outputlen = 20.
      APPEND l3_fieldcat TO p_i_fieldcat.
      CLEAR l3_fieldcat.
    ENDFORM.                    " ZF3_BUILD_FIELDCAT
    *&      Form  ZF1_DISPLAY_GRID
          text
    -->  p1        text
    <--  p2        text
    FORM zf1_display_grid .
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
       EXPORTING
         i_callback_program                = 'Z8AS_SHADOW_ALV_INTERACTIVE'
         it_fieldcat                       = i3_fieldcat
    IMPORTING
        TABLES
          t_outtab                          = it_grn
    EXCEPTIONS
      PROGRAM_ERROR                     = 1
      OTHERS                            = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ZF1_DISPLAY_GRID
    *&      Form  ZF_GRN
          text
    -->  p1        text
    <--  p2        text
    FORM zf_grn .
      CLEAR wa_eket .
      CLEAR it_eket.
      REFRESH it_grn.
      LOOP AT it_vendor INTO wa_vendor WHERE ebelp = po_item.
        IF sy-subrc = 0.
          READ TABLE it_ekbe INTO wa_ekbe  WITH KEY
              ebeln = wa_vendor-ebeln
              ebelp = wa_vendor-ebelp.
          IF sy-subrc = 0.
            IF  wa_ekbe-bwart = '101'.
              MOVE: wa_ekbe-ebeln TO wa_grn-ebeln,
                    wa_ekbe-ebelp TO wa_grn-ebelp,
                    wa_ekbe-bwart TO wa_grn-bwart,
                    wa_ekbe-menge TO wa_grn-menge.
              APPEND wa_grn TO it_grn.
              CLEAR wa_ekbe.
              CLEAR wa_grn.
            ELSE.
              MESSAGE e001.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " ZF_GRN
    Reward points if helpful .
    Regards,
    Amber S

  • EPM 11.1.2.2 Interactive Reporting Email Notifications

    The URL we give to our users to access Workspace contains a virtual host record. The URL does not contain the actual hostname of the machine.
    So rather than http://serverA/workspace/index.jsp, the URL is something like http://interactivereporting/workspace/index.jsp.
    This works great, however, after setting up SSO using Kerberos, we noticed that the emails being sent for scheduled job notifications from Interactive Reporting contain the servers hostname in the URL (http://serverA...) rather than http://interactivereporting.
    The kerberos configuration for SSO is using the virtual host name (HTTP/interactivereporting) for the principal, so they cannot connect to the application using the server name.
    Is there any way to change the URL in the email notifications so that the virtual host name is in the URL rather than the server name?
    In the EPM System Configurator there is an option to "Configure Logical Address for Web Applications". I did configure this to use the virtual host record.
    Any suggestions are appreciated.
    Thanks!

    Harish, this is very valuable information here that is worth a lot of consulting dollars. :-)
    On server 1, just install and configure the Framework and IR
    On server 2, just install and configure the IR
    On server 3, just install and configure the web component
    When I did the above, I ran into the small "defect", which is the APPLICATION ID created on Web does not match the APPLICATION ID on the Framework on server 1 because it's installed separately. Oracle insisted that is not the "best practice", but the solution is to update the APPLICATION ID on server 3 in the repository to match the original APPLICATION ID, and then it works.
    I forget the defect number and have to look it up. Or call Oracle Support and they know exactly what to do.
    Good luck.

  • Saved interactive reports

    Joel has a nice writeup about how saved public interactive report settings are handled when applications are moved around.
    Some questions...
    Since the IDs of all of the application meta data have changed, all of your users' customized reports in the previous version of the application are forever left orphaned until they're cleaned up by an internal APEX batch process
    1. Which batch process is this referring to? One of the jobs in dba_scheduler_jobs setup during the install process? Which one exactly? Is there any documentation on all the jobs installed and what each one does?
    2. Is there a way to run these jobs manually as a one-off/adhoc activity without waiting for their scheduled run? I tried logging in as SYSTEM, setting the security_group_id and running apex_040000.wwv_flow_maint.daily_maintenance and apex_040000.wwv_flow_cache.purge_sessions but that didn't seem to do anything that I could tell. Do they have to be run as SYSDBA?
    Upon import of a new version of the application, all meta data associated with application 645 is first deleted except the Customized Interactive Reports. In essence, these are left "dangling" until the new application 645 is installed.3. I found that when an application is deleted using the Builder Delete Application wizard, even the saved interactive reports are deleted. I am not sure I see why this is so. An application could be deleted in error and restored from source control but the user saved IR settings are gone for ever! May I suggest that the wizard be changed to not delete the saved reports?
    Thanks

    Bump

  • Interactive reporting role ---

    Hi,
    We are having issue in Interactive reporting that , I can not see the job description/information in workspace when my team member schedule the job in workspace.
    It is happening with my team member when I schedule a job even though both have same privileges.
    We both have roles like " content manager and Schedule Manager ".
    What would be the right role to see schedules of the jobs of the each other.
    Thanks,
    Ganesh

    Which version are you using? I know I had a problem in HPS 8.5 and earlier just like you describe. It's entirely possible that this oddity still exists.

  • 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

  • Web Analysis vs. Interactive Reporting

    <p>What is the difference between those two?</p><p> </p><p> </p>

    <p>I will see if I can explain.</p><p> </p><p>As pointed out my "bksinha", web analysis in hyperionanalyzer and interactive reporting is brio/hyperionintelligence.</p><p> </p><p>Differences</p><p> </p><p> </p><table cellspacing="1" cellpadding="1" border="1" width="100%"><tr><td width="50%"><b>Web Analysis</b></td><td width="50%"><b>Interactive Reporting</b></td></tr><tr><td width="50%">Good for ad-hoc analysis</td><td width="50%">Good for canned reporting</td></tr><tr><td width="50%">Very user friendly and small learning curve. Userscan themselves create reports easily.</td><td width="50%">More of a technical tool and requires technicalresource to be set up.</td></tr><tr><td width="50%">No scheduling</td><td width="50%">Schedule reports</td></tr><tr><td width="50%">Cannot email reports</td><td width="50%">Schduled reports can be emailed</td></tr><tr><td width="50%">Simple installation and configuration comapred toInteractive reporting.</td></tr></table><p> </p><p>There would be more difference and maybe other people canchip-in</p><p> </p>

  • Open document from interactive report

    Application Express version 4.0.2.00.07.
    In apex I am trying to accomplish the following:
    1. create a link to a pdf or Word document stored on local network using the file browse button.
    2. store the link to that file in my table but not store the actual document in the oracle table.
    3. open the document from link in interactive report.
    My dba does not want to store anymore documents into oracle because of performance issues we are experiencing with current applications that do this. Does anyone know the where to find sample code that will accomplish this task or will load the linked document into the oracle table but delete the document from the blob when the document is closed.

    You're probably looking to use the BFILE functionality - a pointer to a LOB on the filesystem.
    Try looking at some of the following sources for guidance
    http://docs.oracle.com/cd/B10501_01/appdev.920/a96591/adl12bfl.htm
    APEX BFILE
    http://monkeyonoracle.blogspot.com.au/2009/10/storing-images-outside-oracle-xe-with.html
    Scott

  • Questions on Interactive Report Icons

    When I created an Interactive Report, rectangular icons have been automatically created on the left side of the report on every line.
    When clicked one of the icons, it displays the details of the line in vertical order.
    Here are my questions:
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?
    2. How can I hide the icons?
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?
    Thanks,
    Guy

    Hello
    1. When I've hidden some columns in the interactive report and clicked the icon, it does not display hidden column details. But I want to hide those columns only in the report but displays all details when the icon is clicked. How can I do this?You can create another region, or page that will show your row description by identifier or rowid. You can do this by changing Link Column type to "Link to Custom Target"
    2. How can I hide the icons?Go to Interactive Report -> Link Column -> Link Column change to (Exclude Link Column)
    3. How can I use the icons not to display line details but to direct to an editable page to edit the same details?The same as answer 1.
    Best Regards, Kostya Proskudin!

  • Interactive Report view is empty

    Hi,
    I'm on CRM 7.0 EHP3. I'm encountering empty report criteria and display when open the Campaign effectiveness and all other interactive report page. Please see the screen shot below. There is no error message on the screen, as well as ST22.
    I've configured the interactive report and ran the configuration wizard /CRMBW/CONFIG_WIZARD successfully and no error found.
    Also the roles SAP_CRM_OR_ADMIN, SAP_CRM_OR_CONFIG and SAP_CRM_OR_USER and SAP_ALL are given to the user in both clients.
    Please let me know what could be the causes.
    Thanks in advance.
    cheers,
    julius

    Okay, problem seems solved. I don't know if it is a bug or a feature... (: Anyway, this view selects data from threads that had been created from a portal application. And if you create threads from WC_Collaboration server admin console, there's no data will be selected with FORUMCRAWLER_VW view. Sorry, have no time to check SQL query for those DB view, may be this behaviour is reasonable.
    Edited by: Insomnium on 17.01.2013 2:33

  • Interactive report column filters to display differently than column values

    Greetings...
    We use images a lot in our interactive reports to provide a visual representation to a status, or something locked for update, or what-have-you. By default, when a user clicks the column heading of a column which contains images, the drop-down list that shows up displays the actual images, which is nice for the user to identify exactly which thing they want to filter on. The problem is when the user selects on of the options in the filtering drop-down, the resulting condition that is displayed under the interactive report search bar is the HTML code of the image. I'd like something else to display there because showing the user the HTML code is atrocious.
    I didn't think what I want is possible, but then I came across the Page Locks page within ApEx (page 4000:291 in ApEx 4.0.1) which displays a list of all the pages of an application and whether they are locked or not. It also allows you to bulk lock or bulk unlock a bunch of pages. That page uses an interactive report with a column called "Status" which contains images that represent whether the page is locked or not. When you click the "Status" column heading to filter, instead of seeing the images of an open and closed lock, you see the words "Page Locked" and "Page Unlocked." And even better... when you select on of them, the condition that is displayed to the user is very user-friendly.
    Can someone tell me how this is done so I can replicate it in my own apps?
    Shane.

    Why not create the IR using the text you require e.g. 'Lock', 'Unlock' and then use JQuery to replace the text in the report with the image you want. All the filters should then show the plain text and the report will display the image. e.g.
    http://apex.oracle.com/pls/apex/f?p=46801:1
    Here's what I did:
    Firstly make sure the IR has a region template.
    Then create a Dynamic Action with the following attributes:
    1. Advanced
    2. Event: After Refresh
    3. Selection Type: Region
    4. Region: [select the IR Region]
    5. Action: Execute JS Code
    6. Fire on page load: [checked]
    7. Code:
    $('td [headers="TEST"]').each(function(index) {
      if ($(this).text() == 'Lock') {
        $(this).empty().html('<img src="/i/htmldb/icons/locked_small.gif" alt="Lock" />');
      else {
        $(this).empty().html('<img src="/i/htmldb/icons/unlocked_small.gif" alt="Unlock" />');
    });Where TEST is the column name.
    That's it, this may also be of interest:
    http://simonhunt.blogspot.com/2011/10/adjusting-interactive-report-column.html
    I hope it helps
    Shunt

Maybe you are looking for

  • How can I insert text in a photo?

    How can I insert text onto a photo?  Before Lion used Command T. Have not installed Page or Numbers. Have Microsoft for Mac.

  • Links on DVD menu aren't working.

    Hi, I recorded a short Camtasia video showing how a chunk of the links on my DVD menu aren't working. I can't figure out what's going on. I cannot click on anything past "Marianna Ingraham", including "Main Menu". I burned a disc image and a hard cop

  • Photoshop CS6 missing from launchpad

    OK, this has been making me crazy for quite a while now..... System Info: MacBook Air 13-inch, Mid 2012 Processor  2 GHz Intel Core i7 Memory  8 GB 1600 MHz DDR3 Graphics  Intel HD Graphics 4000 Serial Number  irrelevant Software  OS X 10.9.4 (13E28)

  • Report Title

    Hi, I have created replacement path variable in the report tiltle description and able to get fiscal period 2011001 but not able to get 001.2011 - 005.2011. I need range to display with query title description name. Like this ABC 001.2011 - 005.2011.

  • Regarding ARIS

    Hi, I am new to ARIS, I have just installed ARIS locally on my laptop. Can any one give me a scenario/tutorial or some exercise on modeling or business architect which will help me to understand the tool better . Thanks, Shiv