Interactive report development

hi folks, i have to generate an interactive report from  three tables ekko, ekpo, makt....in the basic list fields ebeln, bukrs, bstyp, bsart have to be displayed and if we press ebeln secondary list has to be displayed with three fields ebeln, ebelp, matnr from ekpo table... if matnr is clicked second interactive list has to be displayed with matnr, spras, maktx from makt table........thanks for ur assistance...
                                                                                regards                                                                               
john

Hi
see the sample report and change it
For basic list use EKKO table
then for first interactive use EKPO
then for 2nd interactive use MARA table
REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
LOOP AT SCREEN.
IF CUST_NO-LOW < 1 OR CUST_NO-HIGH > 5000.
MESSAGE E001(ZTJ1).
ENDIF.
ENDLOOP.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
REPORT demo_list_at_pf.
START-OF-SELECTION.
WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
AT pf5.
PERFORM out.
AT pf6.
PERFORM out.
AT pf7.
PERFORM out.
AT pf8.
PERFORM out.
FORM out.
WRITE: 'Secondary List by PF-Key Selection',
/ 'SY-LSIND =', sy-lsind,
/ 'SY-UCOMM =', sy-ucomm.
ENDFORM.
After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
Secondary List by PF-Key Selection
SY-LSIND = 14
SY-UCOMM = PF06
Example for AT USER-COMMAND.
REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
START-OF-SELECTION.
WRITE: 'Basic List',
/ 'SY-LSIND:', sy-lsind.
TOP-OF-PAGE.
WRITE 'Top-of-Page'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'TEST'.
WRITE 'Self-defined GUI for Function Codes'.
ULINE.
ENDCASE.
AT LINE-SELECTION.
SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
PERFORM out.
sy-lsind = sy-lsind - 1.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'FC1'.
PERFORM out.
WRITE / 'Button FUN 1 was pressed'.
WHEN 'FC2'.
PERFORM out.
WRITE / 'Button FUN 2 was pressed'.
WHEN 'FC3'.
PERFORM out.
WRITE / 'Button FUN 3 was pressed'.
WHEN 'FC4'.
PERFORM out.
WRITE / 'Button FUN 4 was pressed'.
WHEN 'FC5'.
PERFORM out.
WRITE / 'Button FUN 5 was pressed'.
ENDCASE.
sy-lsind = sy-lsind - 1.
FORM out.
WRITE: 'Secondary List',
/ 'SY-LSIND:', sy-lsind,
/ 'SY-PFKEY:', sy-pfkey.
ENDFORM.
When you run the program, the system displays the following basic list with a the page header defined in the program:
You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
Reward points for useful Answers
Regards
Anji

Similar Messages

  • HOW TO DEVELOP AN INTERACTIVE REPORT

    HI,
         How to Develop  an interactive report to display sales orders for particular customer, items for particular order.

    Hi,
    Look at the below sample Program for the Interactive ALV report.
    *& Report  Z_INTERACTIVE_ALV3                                          *
    report  z_interactive_alv4    no standard page heading line-size 650
    message-id zz_9838                      .
    type-pools: slis.
    *type declaration for values from ekko
    types: begin of i_ekko,
           ebeln like ekko-ebeln,
           aedat like ekko-aedat,
           bukrs like ekko-bukrs,
           bsart like ekko-bsart,
           lifnr like ekko-lifnr,
           end of i_ekko.
    data: it_ekko type standard table of i_ekko initial size 0,
          wa_ekko type i_ekko.
    *type declaration for values from ekpo
    types: begin of i_ekpo,
           ebeln like ekpo-ebeln,
           ebelp like ekpo-ebelp,
           matnr like ekpo-matnr,
           menge like ekpo-menge,
           meins like ekpo-meins,
           netpr like ekpo-netpr,
           end of i_ekpo.
    data: it_ekpo type standard table of i_ekpo initial size 0,
          wa_ekpo type i_ekpo .
    *variable for Report ID
    data: v_repid like sy-repid .
    *declaration for fieldcatalog
    data: i_fieldcat type slis_t_fieldcat_alv,
          wa_fieldcat type slis_fieldcat_alv.
    data: it_listheader type slis_t_listheader.
    declaration for events table where user comand or set PF status will
    be defined
    data: v_events type slis_t_event,
          wa_event type slis_alv_event.
    declartion for layout
    data: alv_layout type slis_layout_alv.
    declaration for variant(type of display we want)
    data: i_variant type disvariant,
          i_variant1 type disvariant,
          i_save(1) type c.
    *PARAMETERS : p_var TYPE disvariant-variant.
    *Title displayed when the alv list is displayed
    data:  i_title_ekko type lvc_title value 'FIRST LIST DISPLAYED'.
    data:  i_title_ekpo type lvc_title value 'SECONDRY LIST DISPLAYED'.
    initialization.
      v_repid = sy-repid.
      perform build_fieldcatlog.
      perform event_call.
      perform populate_event.
    start-of-selection.
      perform data_retrieval.
      perform build_listheader using it_listheader.
      perform display_alv_report.
    *&      Form  BUILD_FIELDCATLOG
          Fieldcatalog has all the field details from ekko
    form build_fieldcatlog.
      wa_fieldcat-tabname = 'IT_EKKO'.
      wa_fieldcat-fieldname = 'EBELN'.
      wa_fieldcat-seltext_m = 'PO NO.'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
      wa_fieldcat-tabname = 'IT_EKKO'.
      wa_fieldcat-fieldname = 'AEDAT'.
      wa_fieldcat-seltext_m = 'DATE.'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
      wa_fieldcat-tabname = 'IT_EKKO'.
      wa_fieldcat-fieldname = 'BUKRS'.
      wa_fieldcat-seltext_m = 'COMPANY CODE'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    wa_fieldcat-tabname = 'IT_EKKO'.
      wa_fieldcat-fieldname = 'BUKRS'.
      wa_fieldcat-seltext_m = 'DOCMENT TYPE'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    wa_fieldcat-tabname = 'IT_EKKO'.
      wa_fieldcat-fieldname = 'LIFNR'.
      wa_fieldcat-no_out    = 'X'.
      wa_fieldcat-seltext_m = 'VENDOR CODE'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    endform.                    "BUILD_FIELDCATLOG
    *&      Form  EVENT_CALL
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    form event_call.
      call function 'REUSE_ALV_EVENTS_GET'
       exporting
         i_list_type           = 0
       importing
         et_events             = v_events
    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.
    endform.                    "EVENT_CALL
    *&      Form  POPULATE_EVENT
         Events populated for TOP OF PAGE & USER COMAND
    form populate_event.
      read table v_events into wa_event with key name = 'TOP_OF_PAGE'.
      if sy-subrc eq 0.
        wa_event-form = 'TOP_OF_PAGE'.
        modify v_events from wa_event transporting form where name =
    wa_event-form.
      endif.
      read table v_events into wa_event with key name = 'USER_COMMAND'.
      if sy-subrc eq 0.
        wa_event-form = 'USER_COMMAND'.
        modify v_events from wa_event transporting form where name =
    wa_event-name.
      endif.
    endform.                    "POPULATE_EVENT
    *&      Form  data_retrieval
      retreiving values from the database table ekko
    form data_retrieval.
      select ebeln aedat bukrs bsart lifnr from ekko into table it_ekko.
    endform.                    "data_retrieval
    *&      Form  bUild_listheader
          text
         -->I_LISTHEADEtext
    form build_listheader using i_listheader type slis_t_listheader.
      data hline type slis_listheader.
      hline-info = 'this is my first alv pgm'.
      hline-typ = 'H'.
    endform.                    "build_listheader
    *&      Form  display_alv_report
          text
    form display_alv_report.
      v_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
       exporting
         i_callback_program                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
         i_callback_user_command           = 'USER_COMMAND'
         i_callback_top_of_page            = 'TOP_OF_PAGE'
         i_grid_title                      = i_title_ekko
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         = ALV_LAYOUT
         it_fieldcat                       = i_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
        i_default                         = 'ZLAY1'
         i_save                            = 'A'
        is_variant                        = i_variant
         it_events                         = v_events
        tables
          t_outtab                          = it_ekko
    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.                    "display_alv_report
    *&      Form  TOP_OF_PAGE
          text
    form top_of_page.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary       = it_listheader
       i_logo                   =
       I_END_OF_LIST_GRID       =
    endform.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    form user_command using r_ucomm like sy-ucomm
    rs_selfield type slis_selfield.
      case r_ucomm.
        when '&IC1'.
          read table it_ekko into wa_ekko index rs_selfield-tabindex.
          perform build_fieldcatlog_ekpo.
          perform event_call_ekpo.
          perform populate_event_ekpo.
          perform data_retrieval_ekpo.
          perform build_listheader_ekpo using it_listheader.
          perform display_alv_ekpo.
      endcase.
    endform.                    "user_command
    *&      Form  BUILD_FIELDCATLOG_EKPO
          text
    form build_fieldcatlog_ekpo.
      wa_fieldcat-tabname = 'IT_EKPO'.
      wa_fieldcat-fieldname = 'EBELN'.
      wa_fieldcat-seltext_m = 'PO NO.'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
      wa_fieldcat-tabname = 'IT_EKPO'.
      wa_fieldcat-fieldname = 'EBELP'.
      wa_fieldcat-seltext_m = 'LINE NO'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
      wa_fieldcat-tabname = 'I_EKPO'.
      wa_fieldcat-fieldname = 'MATNR'.
      wa_fieldcat-seltext_m = 'MATERIAL NO.'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    wa_fieldcat-tabname = 'I_EKPO'.
      wa_fieldcat-fieldname = 'MENGE'.
      wa_fieldcat-seltext_m = 'QUANTITY'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    wa_fieldcat-tabname = 'I_EKPO'.
      wa_fieldcat-fieldname = 'MEINS'.
      wa_fieldcat-seltext_m = 'UOM'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    wa_fieldcat-tabname = 'I_EKPO'.
      wa_fieldcat-fieldname = 'NETPR'.
      wa_fieldcat-seltext_m = 'PRICE'.
      append wa_fieldcat to i_fieldcat.
      clear wa_fieldcat.
    endform.                    "BUILD_FIELDCATLOG_EKPO
    *&      Form  event_call_ekpo
      we get all events - TOP OF PAGE or USER COMMAND in table v_events
    form event_call_ekpo.
      call function 'REUSE_ALV_EVENTS_GET'
       exporting
         i_list_type           = 0
       importing
         et_events             = v_events
    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.
    endform.                    "event_call_ekpo
    *&      Form  POPULATE_EVENT
           Events populated for TOP OF PAGE & USER COMAND
    form populate_event_ekpo.
      read table v_events into wa_event with key name = 'TOP_OF_PAGE'.
      if sy-subrc eq 0.
        wa_event-form = 'TOP_OF_PAGE'.
        modify v_events from wa_event transporting form where name =
    wa_event-form.
      endif.
      endform.                    "POPULATE_EVENT
    *&      Form  TOP_OF_PAGE
          text
    form f_top_of_page.
      call function 'REUSE_ALV_COMMENTARY_WRITE'
        exporting
          it_list_commentary       = it_listheader
       i_logo                   =
       I_END_OF_LIST_GRID       =
    endform.                    "TOP_OF_PAGE
    *&      Form  USER_COMMAND
          text
         -->R_UCOMM    text
         -->,          text
         -->RS_SLEFIELDtext
    *retreiving values from the database table ekko
    form data_retrieval_ekpo.
    select ebeln ebelp matnr menge meins netpr from ekpo into table it_ekpo.
    endform.
    form build_listheader_ekpo using i_listheader type slis_t_listheader.
    data: hline1 type slis_listheader.
    hline1-typ = 'H'.
    hline1-info = 'CHECKING PGM'.
    endform.
    form display_alv_ekpo.
    call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      I_INTERFACE_CHECK                 = ' '
      I_BYPASSING_BUFFER                = ' '
      I_BUFFER_ACTIVE                   = ' '
       i_callback_program                = v_repid
      I_CALLBACK_PF_STATUS_SET          = ' '
      I_CALLBACK_USER_COMMAND           = 'F_USER_COMMAND'
       i_callback_top_of_page            = 'TOP_OF_PAGE'
      I_CALLBACK_HTML_TOP_OF_PAGE       = ' '
      I_CALLBACK_HTML_END_OF_LIST       = ' '
      I_STRUCTURE_NAME                  =
      I_BACKGROUND_ID                   = ' '
       i_grid_title                      = i_title_ekpo
      I_GRID_SETTINGS                   =
      IS_LAYOUT                         =
       it_fieldcat                       = i_fieldcat[]
      IT_EXCLUDING                      =
      IT_SPECIAL_GROUPS                 =
      IT_SORT                           =
      IT_FILTER                         =
      IS_SEL_HIDE                       =
      I_DEFAULT                         =
       i_save                            = 'A'
      IS_VARIANT                        =
       it_events                         = v_events
      tables
        t_outtab                          = it_ekpo
    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.
    Regards,
    Ram
    Reward points if helpful

  • How to develop a Chart from Actions button of an Interactive Report ???????

    Hi
    I am trying to implement a chart from Actions button of an Interactive Report through frond end. I am getting the Flash Security error for this. I know we have to change the HOST variable for this. But i am not sure where exactly I do this. For a normal Flash Chart , i know that we have to do in the Region Source but for a chart from Interactive Report what do I do??????????
    Thanks
    Shruthi.

    Hi
    It seems you are using EPG.
    Replacing #HOST# works for flash charts which you create yourself but I don't think you can do it for the charts generated by Interactive Reports. To fix this issue you either need to update host variable of EPG or the best is to use Apex Listener.
    I would recommend you to use Apex Listener as it will avoid further issues if you use a Reverse Proxy with your Apex Server such as Lighttpd or Apache and use multiple Virtual Hosts etc.
    To install Apex Listener see http://download.oracle.com/otn/java/appexpress/1.1/docs/AELIG/E21058_01.pdf?AuthParam=1324310446_77b28dc5a93555586fc93c0c8804e8de
    You can use Stand Alone mode with Apex Listener as it is easy to very configure.
    Zulqarnain
    MaxApex Hosting
    http://www.maxapex.com

  • Interactive Reports - Database Hack for sharing developer saved reports

    Just this morning I posted to another thread about not being able to create and save multiple reports, but after a bit of database hacking, I've got it working in version 3.1.2.
    I take no responsibility in anything that may happen to your APEX install because of what I am about to tell you.  If you try this, you do so at your own risk.
    That's right, you CAN create multiple default views for your users.
    Background:
    <ul><li>     I created 1 interactive report.</li>
    <li>     I added criteria and saved the report with the name Report1.</li>
    <li>I modified the criteria and saved the report with a new name 3 additional times.</li>
    <li>I am now seeing 5 tabs
    <ul><li>Working Report</li>
    <li>Report1</li>
    <li>Report2</li>
    <li>Report3</li>
    <li>Report4</li>
    </ul>
    </li>
    <li>At this point, other users can not see the reports because they are private to me.</li>
    </ul>
    So, how can I make these reports public to other users?
    <ul><li>Logon to your APEX database as a user that has privileges to select and update the WWV_FLOW_WORKSHEET_RPTS table.</li>
    <li>Browse the table and find the 4 rows of the new reports that were created above.</li>
    <li>Set the SESSION_ID and BASE_REPORT_ID columns to NULL</li>
    <li>Set the APPLICTION_USER column to 'APXWS_DEFAULT'</li>
    <li>Set the STATUS column to 'PUBLIC'</li>
    <li>Set the IS_DEFAULT column to 'Y'</li>
    </ul>
    It seems to be the combination of APPLICATION_USER and IS_DEFAULT that really makes it work, but I set the other fields to make them look like the row for the working report.
    So, now after making these changes, I had two other users login to the site and look at the interactive report, and viola, 5 default tabbed reports!
    Hope this helps someone!!!
    Kris

    Hello,
    Just to stress, that the moment you do direct modifications to WWV_FLOW_WORKSHEET_RPTS (or indeed any 'internal' table) via this non-supported route you are probably making your APEX installation non-supported by Oracle (hopefully someone from Oracle can speaking officially on that).
    Even if your update works today, tomorrow, in a months time, you have still done something that you were not supposed to do.
    So, do you really want to do that in production?
    Just playing Devils Advocate.
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Unique id in interactive report

    Hello
    how can I add unique id to interactive report? This id has to remain unchanged if I move application to other workspace. I know there is interactive_report_id, but I am not sure if it stays unchanged when I will move application to other workspace.

    In the region definition.
    Attributes - Static ID:
    Enter value to identify this region. You can reference this value using the substitution string #REGION_STATIC_ID#. Referencing this value can be useful when developing custom JavaScript.http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/ui.htm#BABBEJJD

  • Interactive Report

    How to create a classical report for this requirements,
    1) purchase documents and vendor.
    2) vendor performance report that lists vendor name, materials
    Supplied and actual delivery times, payments terms and prices
    Purchase.
    3) Requisitions with details like MRP controller, release date, unit
    to Measure along with the standard details
    4) list of customer number, Credit limit To the given Customer.
    Thanks and Regards,
    Sivaguru.

    Joel,
    I have checked the report attributes and the "Save Report" checkbox is checked.
    I as a developer, can save a default report selection and this is understood.
    The problem is, when signing in as a user, no save icon is visible.
    I thought maybe it was something with the install, so I created the Demo application and if I create an interactive report there, it works fine for the end user.
    They do act differently in development modes between the two applications.
    In Demo, if I save as a developer, "Save Report" choice, I get a window where I can name the report or select from drop down, "As default Report Settings".
    In my application, if I save as a developer, "Save Report*" choice, I get a window that just states:
    "The current report settings will be used as the default for all users" and my choice is Cancel or Apply.
    The choice in developer mode is also different, one has an asterisk and the other doesn't.
    I think it might have something to do with authentication?
    The Demo application prompts for user name and password and my application doesn't have authentication because user is authenticated done before getting into the application.
    Without authentication, it probably won't save reports for each user.
    I do have access to each users id, would need to know where I can use it to tell the application this and that they are authenticated already.
    Thanks for your help,
    Rick

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Pf status in interactive report

    Hi,
    i have developed an interactive report and i have used menus to navigate from basic list to secondary lists and it worked fine.
    i tried to create two buttons in the application tool bar FORWARD and BACK to navigate in between basic and secondary lists.
    i used the same function code for both buttons and menus. now iam unable to navigate from basic list to secondary lists.
    before creating buttons on hte application tool bar the object was woking fine.
    do i need to assign seperate function code to buttons and meus.
    please let me know.

    Hi,
    Is it Possible for you to go the secondary index pages from the Primary index pages & viceversa also?
    With Regards,
    Sumodh.P

  • Problem adding column in an interactive report

    Hi all
    I am dealing with many interactive projects in my application. Sometimes I have to add a column to the interactive report. When I do so, the column doesn't appear in the interactive report...On the page I have to click on "Actions" then go to "Selected columns" and then display it ! the problem is when I logout and login again
    the column desappear again and I have to do samething again and again...Is there a way to set it appear by defaul always ???
    THank you

    Moun wrote:
    I am dealing with many interactive projects in my application. Sometimes I have to add a column to the interactive report. When I do so, the column doesn't appear in the interactive report...On the page I have to click on "Actions" then go to "Selected columns" and then display it ! the problem is when I logout and login again
    the column desappear again and I have to do samething again and again...Is there a way to set it appear by defaul always ???After adding new columns to an existing IR, you need to select them for display as a developer, and save the new report as the Primary Default.

  • Web client and desktop client not available for Interactive reporting 11.1.2.2

    Hi team,
    Currnetly we are usning EPM 11.1.2.2 , we are trying to install and configure
    Interactive reporting in Linux 64 bit system.
    we are few questions jotted below:
    Interactive reporting studio client & Interactive reporting Dashboard Development Studio client are disabled.
    post installation we are not able to see IR Client folder in <EPM HOME> location.
    while launching workspace we are not able to see the WEB Client Interactive reporting under TOOLS-->INSTALL.
    we read in a blog, which states it  Interactive reporting needs a license. whether it needs any special License for using it?
    we downloaded the Entire Dump of EPMS 11.1.2.2  from Oracle Edelivery website.
    Kindly let us know we are missing any where?
    we are strucked at this point.
    Regards
    Chinu

    If you want the 11.1.2.0 assemblies you will need to contact Oracle as they have been removed from edelivery.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Multiple event not working in interactive report

    Hi Experts,
    I am developing a interactive report used Set-PFstatus '100' , AT user-command and At line-selection in a single program.
    Here At line-selection is not working but at user-command is working fine.
    After commenting set-PF ststus '100' event at line selection is working.
    Ii want at to use at-user command and at line-selection both to work with set pf-status.
    Please help me out.

    Hi,
    You can use these events together but in case while
    creating your GUI status for your program you have
    to give Function Code 'PICK' with F2 short cut key
    because for at line selectino double click 'PICK' function
    code is trigerred.
    hope it helps,
    Regards
    Mansi

  • Interactive Report - search does not work when using custom authentication

    Apex 3.2.x
    I can authenticate fine with my custom authentication and all of my pages work okay except for one page that uses the Interactive Report feature. When I click 'Filter' then enter the column name, operation (contains, =, like, etc.) and the expression, then click the 'Apply' button, the page just re-displays and my filter information is missing?
    If I first login to Apex, select and run my application, the Interactive Report features work just fine. What's missing?

    More information:
    After login into my Apex workspace (development environment), when I display the Interactive Report and click debug I see this debug message:
    "using existing session report settings"
    When I login using my application's custom authentication and click debug I see this debug message:
    "creating session report settings as copy of public saved report"
    Based on this, it appears that my session info in not set correctly when using custom authentication... but I'm not sure what needs to be set.
    Edited by: user9108091 on Oct 22, 2010 6:44 AM

  • Clear Filter on Interactive Report

    I created an application in Application Express 4.2.0.00.27.  Four of the pages have interactive reports.  I applied the filter to the report on page 46 to show only rows with LAST_NAME LIKE ‘%JONES%’ and the rows are filtered correctly.  When I navigate to the calling page 12 and then back to page 46 the filter is still in effect.  The clear cache on the calling page 12 is checked.  Is there a property of the page or report which will clear the filter on page 46? 

    See Linking to Interactive Report in the documentation.
    To reset an interactive report in a link, use the string "RIR" in the Clear-Cache section of a URL. This is equivalent to the end user choosing the Reset option from the interactive report actions menu on the target page. The report is returned to the default report settings specified by the developer or saved by the user.

  • Dynamic Headings on Interactive Report

    Hi,
    I have an interactive report that I would like to use dynamic headings. I have looked at some of the posts here and have followed what I think is the correct way to do this, but I am still not seeing the headings I am expecting.
    I created items to hold the headings and have created a process to populate these items, that all seems to work fine, I can view the session state and see the headings.
    I added the items to the report on the Report Attributes page under "Heading". I used the substitution for the items as &P2_HEADING1.
    When I look at the report all I see for the substituted heading is &P2_HEADING1. and not the value I would expect.
    It seems I am missing a step? Any ideas?
    Thanks,
    Peter

    Hi,
    The process point should be ok.
    The only other things I can think of are either there is an error in the code (the "Session" link on the developer's toobar will show if the value is being set) or there is a space after the page item name (difficult to see on screen but can cause problems) which makes the item name different to what you expect.
    Andy

  • Search on interactive report

    is there anyway to search hidden columns? I've got a 'Comments' column that I don't need to have display, yet want the user to be able to search on it.
    Thanks in advance...
    Sorry everyone - I see I've got two posts of this same question - my bad - Monday morning and forgot I had already done it last week. Still need some help, though.
    Edited by: userRRRYB on Mar 8, 2010 7:38 AM

    EDITIED - ALBERT!
    Thanks - so I've got an interactive report and have a Title column and a link column, which is the actual path to where a document with that title is stored on our server. The folders where the docs are stored all contain a space in the name (Active Docs) and therefore a %20 gets plopped in the path. It would be easy enough to just change these folder names but I am in the process of re-developing a ton of ancient Access Databases, all of which that are still in use and contain links to these same documents. Therefore in this transition time users would not be able to get to the links while they are still using those databases. I could copy the folders with a rename for my new project deleting the spaces but this doesn't seem to be the answer. There's gotta be a way to blind the html to the space??
    Here's an example of a path I'm using:
    file://server-name/departments/Documentation/Documents/Obsolete Docs
    I've tacked on the file name in a form by taking the field that holds the path above and concatenating it with the file name so the end result looks something like
    file://server-name/departments/Documentation/Documents/Obsolete Docs/F-001.doc
    but the system sees it as file://server-name/departments/Documentation/Documents/Obsolete%20Docs/F-001.doc and therefore can't find it.
    Thanks!
    Edited by: userRRRYB on Mar 8, 2010 10:56 AM

Maybe you are looking for