Interactive Report question - report list question

Hi!
I was wondering if I turn off the option to show report as tabs is there a possibility to make another page with list of reports created by current logged in user with an option to click on the name of the report and the IR region shows the saved report?
With regards,
PsmakR

Hi Imran,
Basically we can have one basic list and 20 interactive lists.
Once when we reached to 20th list then it goes to shortdump.
So, inorder to avoid that we can modify the system field
SY-LSIND.
Just see this example and try this. I hope this will be useful for you.
REPORT  ZSAMPLE1111.
data: begin of itab occurs 0,
        matnr like mara-matnr,
        mtart like mara-mtart,
        mbrsh like mara-mbrsh,
        end of itab.
data: begin of jtab occurs 0,
      maktx like makt-maktx,
      spras like makt-spras,
      end of jtab.
select matnr mtart mbrsh into table itab from mara up to 10 rows.
loop at itab.
write:/ itab-matnr, itab-mtart, itab-mbrsh.
hide itab-matnr.
endloop.
at line-selection.
select maktx spras into table jtab from makt where spras = 'EN' .
case sy-lsind.
when '1'.
loop at jtab.
write:/ jtab-maktx, jtab-spras.
endloop.
when '20'.             * changes see here.
sy-lsind = 1.
when others .
write:/ 'name',sy-lsind.
endcase.
I hope this will be helpful for you.
<REMOVED BY MODERATOR>
Cheers,
Swamy kunche
Edited by: Alvaro Tejada Galindo on Apr 15, 2008 4:01 PM

Similar Messages

  • How to Create Interactive report lists for the gross sales, credit ....

    How to Create Interactive report lists for the gross sales, credit returns, and gross weight for the               customer for the current year and comparing the same with that of the previous year for the same period.....
    plz tell me steps to accomplish this....plz ...give me the detail description..plz......many many thnx in advance...

    Hi raja,
    Display a checkbox , customer number on the basic list and also set a GUI STATUS  on the basic list.....
    Select the customer by checking the checkbox and click on the button you create in the GUI status....
    Write the desired code to be displayed in
    AT USER-COMMAND even checking the sy-ucomm....
    so this would make you to into interactive list...
    Hope this would help you.
    Regards
    Narin Nandivada

  • SAP CRM Interactive Reports List

    Hi,
    Can anyone help me in getting the list of ' SAP delivered CRM Interactive Reports'
    Thanks
    Ravi

    Hope you are looking for CRM - Interaction Channel Analyses. reports
    Check the below link
    http://help.sap.com/saphelp_bic735/helpdata/en/ee/be7e4050336e1de10000000a1550b0/frameset.htm
    Check the report names
    Channel Mgt.: Activity History
    Channel Mgt.: Activities, Opportunities, and Sales Orders by Cou
    Channel Mgt.: Closed Activities
    Channel Mgt.: Expected Sales volume
    Channel Mgt. : Lead Funnel Analysis
    Channel Mgt.: Opportunity Funnel Analysis
    Channel Mgt.: Quotation Funnel Analysis
    Channel Mgt. : Sales Pipeline Analysis
    Channel Manager Partner Base

  • Interactive reports list

    &#61656;     Reports: I want to jump from 2nd detail list to 10th list. Is it possible? How?
    &#61656;     Suppose Iam in 10th list , I want to move to 3nd list directly? How?

    Hi
    Interactive Reports
    As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers.
    And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
    We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21).
    Events associated with Interactive Reports are:
    AT LINE-SELECTION
    AT USER-COMMAND
    AT PF<key>
    TOP-OF-PAGE DURING LINE-SELECTION.
    HIDE statement holds the data to be displayed in the secondary list.
    sy-lisel : contains data of the selected line.
    sy-lsind : contains the level of report (from 0 to 21)
    Interactive Report Events:
    AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
    AT PFn: For predefined function keys...
    AT USER-COMMAND : It provides user functions keys.
    TOP-OF-PAGE DURING LINE-SELECTION :top of page event for secondary list.
    MAX we can go for 20 SECONDARY LIST AND ONE BASIC LIST TOTAL 21
    sy-lsind EQ 5.
    sy-lsind = 9.
    endif.
    Ex:
    REPORT demo_list_interactive_2 .
    START-OF-SELECTION.
    WRITE: 'Basic List, SY-LSIND =', sy-lsind.
    AT LINE-SELECTION.
    IF sy-lsind = .5
    sy-lsind = 9.
    ENDIF.
    WRITE: 'Secondary List, SY-LSIND =', sy-lsind.
    I just gave an example at this link for filling and retrieving data to a text editor.
    Save the text from Text Editor to customised table
    reward if usefull.

  • What is difference between interactive list and interactive reports?

    what is difference between interactive list and interactive reports?

    hi check this..
    interactive report/list means any input(double click or single click or user command ) on the screen will results a new screen with the corresponding fields....this is upto 20 levels only check this..
    report .
    start-of-selection.
    write:/ 'this is the source list'.
    at line-selection .
    if sy-lsind = 1 .
    write:/ ' this is the 1st list'.
    elseif.
    if sy-lsind = 2 .
    write:/ ' this is the 2 list'.
    if sy-lsind = 3 .
    write:/ ' this is the 3 list'.
    if sy-lsind = 4 .
    write:/ ' this is the 4 list'.
    if sy-lsind = 5 .
    write:/ ' this is the 5 list'.
    if sy-lsind = 6 .
    write:/ ' this is the 6 list'.
    if sy-lsind = 7 .
    write:/ ' this is the 7 list'.
    if sy-lsind = 8.
    write:/ ' this is the 8 list'.
    if sy-lsind = 9 .
    write:/ ' this is the 9 list'.
    if sy-lsind = 10 .
    write:/ ' this is the 10 list'.
    endif.
    regards,
    venkat

  • Interactive report with detail sub-report on the same page

    Hi all,
    I'm fairly new to APEX, sorry if my question is too obvious. I'm using Apex 4.0.2 on top of Oracle 11.2.
    I have an interactive report listing the content of a table. Since there are many columns in that table I would the report to show only a few identifying columns and the complete record currently selected being displayed using another report in a separate region on the same page.
    The "Link Column" on the interactive report does almost that except that it jumps on another page; I would like to simply have a sub-report updated with the selected data instead of a new page displayed. Does anyone know how to do that?
    Thanks for your help,
    Chris

    Chris,
    this sounds like what I normally do in my referential data.
    I use the wizard to create "form with report"
    I make sure that both regions (the form and the report) will be set on the same page number
    then I check/change the order of the regions (report first, form second)
    then I set the form to display in column 2
    regards,
    Richard
    P.S. the report only shows enough columns to recognize the records. the form shows all records

  • ABAP Interactive report

    Hi,
    What is Interactive report?
    what are the specific statements you write when do u write interactive Report??
    Thanks in advance.

    Hi,
    t helps you to create easy-to-read lists. You can display an overview list first that contains general information and provide the user with the possibility of choosing detailed information that you display on further lists.
    What are the uses of interactive reporting?
    The user can actively control data retrieval and display during the session. Instead of an extensive and detailed list, you create a basic list with condensed information from which the user can switch to detailed displays by positioning the cursor and entering commands. The detailed information appears in secondary lists.
    What are the event key words in interactive reporting?
    Event Keyword Event
    AT LINE-SELECTION Moment at which the user selects a line by double clicking on it or by positioning the cursor on it and pressing F2.
    AT USER-COMMAND Moment at which the user presses a function key.
    TOP-OF-PAGE DURING Moment during list processing of a
    LINE-SELECTION secondary list at which a new page starts.
    What is secondary list?
    It allows you to enhance the information presented in the basic list. The user can, for example, select a line of the basic list for which he wants to see more detailed information. You display these details on a secondary list. Secondary lists may either overlay the basic list completely or you can display them in an extra window on the screen. The secondary lists can themselves be interactive again.
    How to select valid lines for secondary list?
    To prevent the user from selecting invalid lines, ABAP/4 offers several possibilities. At the end of the processing block END-OF-SELECTION, delete the contents of one or more fields you previously stored for valid lines using the HIDE statement. At the event AT LINE-SELECTION, check whether the work area is initial or whether the HIDE statement stored field contents there. After processing the secondary list, clear the work area again. This prevents the user from trying to create further secondary lists from the secondary list displayed.
    How to create user interfaces for lists?
    The R/3 system automatically, generates a graphical user interface (GUI) for your lists that offers the basic functions for list processing, such as saving or printing the list. If you want to include additional functionality, such as pushbuttons, you must define your own interface status. To create a new status, the Development Workbench offers the Menu Painter. With the Menu Painter, you can create menus and application toolbars. And you can assign Function Keys to certain functions. At the beginning of the statement block of AT END-OF-SELECTION, active the status of the basic list using the statement: SET PF-STATUS ‘STATUS’.
    What is interactive reporting?
    A classical non-interactive report consists of one program that creates a single list. Instead of one extensive and detailed list, with interactive reporting you create basic list from which the user can call detailed information by positioning the cursor and entering commands. Interactive reporting thus reduces information retrieval to the data actually required.
    Can we call reports and transactions from interactive reporting lists?
    Yes. It also allows you to call transactions or other reports from lists. These programs then use values displayed in the list as input values. The user can, for example, call a transaction from within a list of change the database table whose data is displayed in the list.
    What are system fields for secondary lists?
    SY-LSIND Index of the list created during the current event (basic list = 0)
    SY-LISTI Index of the list level from which the event was triggered.
    SY-LILLI Absolute number of the line from which the event was triggered.
    SY-LISEL Contents of the line from which the event was triggered.
    SY-CUROW Position of the line in the window from which the event was triggered (counting starts with 1)
    SY-CUCOL Position of the column in the window from which the event was triggered (counting starts with 2).
    SY-CPAGE Page number of the first displayed page of the list from which the event was triggered.
    SY-STARO Number of the first line of the first page displayed of the list from which the event was triggered (counting starts with 1). Possibly, a page header occupies this line.
    SY-STACO Number of the first column displayed in the list from which the event was triggered (counting starts with 1).
    SY-UCOMM Function code that triggered the event.
    SY-PFKEY Status of the displayed list.
    How to maintain lists?
    To return from a high list level to the next-lower level (SY-LSIND), the user chooses Back on a secondary list. The system then releases the currently displayed list and activates the list created one step earlier. The system deletes the contents of the released list. To explicitly specify the list level, into which you want to place output, set the SY-lsind field. The system accepts only index values, which correspond to existing list levels. It then deletes all existing list levels whose index is greater or equal to the index specify. For example, if you set SY-LSIND to 0, the system deletes all secondary lists and overwrites the basic list with the current secondary list.
    What are the page headers for secondary lists?
    On secondary lists, the system does not display a standard page header and it does not trigger the event. TOP-OF-PAGE. To create page headers for secondary list, you must enhance TOP-OF-PAGE: Syntax TOP-OF-PAGE DURING LINE-SELECTION. The system triggers this event for each secondary list. If you want to create different page headers for different list levels, you must program the processing block of this event accordingly, for example by using system fields such as SY-LSIND or SY-PFKEY in control statements (IF, CASE).
    How to use messages in lists?
    ABAP/4 allows you to react to incorrect or doubtful user input by displaying messages that influence the program flow depending on how serious the error was. Handling messages is mainly a topic of dialog programming. You store and maintain messages in Table T100. Messages are sorted by language, by a two-character ID, and by a three-digit number. You can assign different message types to each message you output. The influence of a message on the program flow depends on the message type. In our program, use the MESSAGE statement to output messages statically or dynamically and to determine the message type.
    Syntax:REPORT <rep> MESSAGE-ID <id>.
    What are the types of messages?
    A message can have five different types. These message types have the following effects during list processing:
    .A (=Abend):
    .E (=Error) or W (=Warning):
    .I (=Information):
    .S (=Success):
    What are the user interfaces of interactive lists?
    If you want the user to communicate with the system during list display, the list must be interactive. You can define specific interactive possibilities in the status of the list’s user interface (GUI). To define the statuses of interfaces in the R/3 system, use the Menu Painter tool. In the Menu Painter, assign function codes to certain interactive functions. After an user action occurs on the completed interface, the ABAP/4 processor checks the function code and, if valid, triggers the corresponding event.
    What are the drill-down features provided by ABAP/4 in interactive lists?
    ABAP/4 provides some interactive events on lists such as AT LINE-SELECTION (double click) or AT USER-COMMAND (pressing a button). You can use these events to move through layers of information about individual items in a list.
    What is meant by stacked list?
    A stacked list is nothing but secondary list and is displayed on a full-size screen unless you have specified its coordinates using the window command.
    Is the basic list deleted when the new list is created?
    No. It is not deleted and you can return back to it using one of the standard navigation functions like clicking on the back button or the cancel button.
    What is meant by hotspots?
    A Hotspot is a list area where the mouse pointer appears as an upright hand symbol. When a user points to that area (and the hand cursor is active), a single click does the same thing as a double-click. Hotspots are supported from R/3 release 3.0c.
    What is the length of function code at user-command?
    Each menu function, push button, or function key has an associated function code of length FOUR (for example, FREE), which is available in the system field SYUCOMM after the user action.
    Can we create a gui status in a program from the object browser?
    Yes. You can create a GUI STATUS in a program using SET PF-STATUS.
    In which system field does the name of current gui status is there?
    The name of the current GUI STATUS is available in the system field SY-PFKEY.
    Can we display a list in a pop-up screen other than full-size stacked list?
    Yes, we can display a list in a pop-up screen using the command WINDOW with the additions starting at X1 Y1 and ending at X2 Y2 to set the upper-left and the lower-right corners where x1 y1 and x2 y2 are the coordinates.
    What is meant by hide area?
    The hide command temporarily stores the contents of the field at the current line in a system-controlled memory called the HIDE AREA. At an interactive event, the contents of the field are restored from the HIDE AREA.
    When the get cursor command used in interactive lists?
    If the hidden information is not sufficient to uniquely identify the selected line, the command GET CURSOR is used. The GET CURSOR command returns the name of the field at the cursor position in a field specified after the addition field, and the value of the selected field in a field specified after value.
    How can you display frames (horizontal and vertical lines) in lists?
    You can display tabular lists with horizontal and vertical lines (FRAMES) using the ULINE command and the system field SY-VLINE. The corners arising at the intersection of horizontal and vertical lines are automatically drawn by the system.
    What are the events used for page headers and footers?
    The events TOP-OF-PAGE and END-OF-PAGE are used for pager headers and footers.
    How can you access the function code from menu painter?
    From within the program, you can use the SY-UCOMM system field to access the function code. You can define individual interfaces for your report and assign them in the report to any list level. If you do not specify self-defined interfaces in the report but use at least one of the three interactive event keywords. AT LINE-SELECTION, AT PF<nn>, OR AT USER-COMMAND in the program, the system automatically uses appropriate predefined standard interfaces. These standard interfaces provide the same functions as the standard list described under the standard list.
    How the at-user command serves mainly in lists?
    The AT USER-COMMAND event serves mainly to handle own function codes. In this case, you should create an individual interface with the Menu Painter and define such function codes.
    How to pass data from list to report?
    ABAP/4 provides three ways of passing data:
    ---Passing data automatically using system fields
    ---Using statements in the program to fetch data
    ---Passing list attributes
    How can you manipulate the presentation and attributes of interactive lists?
    ---Scrolling through Interactive Lists.
    ---Setting the Cursor from within the Program.
    ---Modifying List Lines.
    How to call other programs?
    Report Transaction
    Call and return SUBMIT AND RETURN CALL TRANSACTION
    Call without return SUBMIT LEAVE TO TRANSACTION
    You can use these statements in any ABAP/4 program.
    What will exactly the hide statement do?
    For displaying the details on secondary lists requires that you have previously stored the contents of the selected line from within the program. To do this, ABAP/4 provides the HIDE statement. This statement stores the current field contents for the current list line. When calling a secondary list from a list line for which the HIDE fields are stored, the system fills the stored values back into the variables in the program. In the program code, insert the HIDE statement directly after the WRITE statement for the current line. Interactive lists provide the user with the so-called ‘INTERACTIVE REPORTING’ facility. For background processing the only possible method of picking the relevant data is through ‘NON INTERACTIVE REPORT’ . After starting a background job, there is no way of influencing the program. But whereas for dialog sessions there are no such restrictions.
    How many lists can a program can produce?
    Each program can produce up to 21 lists: one basic list and 20 secondary lists. If the user creates a list on the next level (that is, SY-LSIND increases), the system stores the previous list and displays the new one. Only one list is active, and that is always the most recently created list.
    FALSE.
    *& Report ZLAXMI_REPORT6 *
    REPORT ZLAXMI_REPORT6 .
    tables: mara,
    makt,
    marc,
    mard.
    data: begin of it_mara occurs 0,
    matnr like mara-matnr,
    end of it_mara.
    data: begin of it_makt occurs 0,
    maktx like makt-maktx,
    matnr like makt-matnr,
    end of it_makt.
    data: begin of it_marc occurs 0,
    werks like marc-werks,
    matnr like marc-matnr,
    end of it_marc.
    data: begin of it_mard occurs 0,
    lgort like mard-lgort,
    labst like mard-labst,
    speme like mard-speme,
    matnr like mard-matnr,
    end of it_mard.
    data: begin of it_final occurs 0,
    matnr like mara-matnr,
    maktx like makt-maktx,
    werks like marc-werks,
    lgort like mard-lgort,
    labst like mard-labst,
    speme like mard-speme,
    end of it_final.
    selection-screen: begin of block b1 with frame title text-001.
    select-options: s_matnr for mara-matnr.
    selection-screen: end of block b1 .
    start-of-selection.
    perform get-data.
    perform write_data.
    end-of-selection.
    at line-selection.
    perform sec_list.
    *& Form get-data
    text
    --> p1 text
    <-- p2 text
    FORM get-data .
    select matnr
    from mara
    into table it_mara
    where matnr in s_matnr.
    if sy-subrc = 0.
    select maktx
    matnr from makt
    into table it_makt
    for all entries in it_mara
    where matnr = it_mara-matnr.
    endif.
    ENDFORM. " get-data
    *& Form write_data
    text
    --> p1 text
    <-- p2 text
    FORM write_data .
    loop at it_makt.
    write:/ it_makt-matnr, it_makt-maktx.
    endloop.
    ENDFORM. " write_data
    *& Form sec_list
    text
    --> p1 text
    <-- p2 text
    FORM sec_list .
    case sy-lsind.
    when '1'.
    perform basic_1.
    endcase.
    ENDFORM. " sec_list
    *& Form basic_1
    text
    --> p1 text
    <-- p2 text
    FORM basic_1 .
    select werks
    matnr
    from marc
    into table it_marc
    for all entries in it_makt
    where matnr = it_makt-matnr.
    if sy-subrc = 0.
    select lgort
    labst
    speme
    matnr
    from mard
    into table it_mard
    for all entries in it_makt
    where matnr = it_makt-matnr.
    endif.
    *clear it_makt.
    *clear it_mard.
    read table it_marc with key matnr = it_mara-matnr binary search.
    read table it_mard with key matnr = it_mara-matnr binary search.
    clear it_marc.
    clear it_mard.
    move:it_makt-matnr to it_final-matnr,
    it_makt-maktx to it_final-maktx.
    move: it_marc-werks to it_final-werks,
    it_mard-lgort to it_final-lgort,
    it_mard-labst to it_final-labst,
    it_mard-speme to it_final-speme.
    append it_final.
    *loop at it_final.
    write:/ it_final-matnr, it_final-maktx,
    it_final-werks,
    it_final-labst, it_final-speme.
    *endloop.
    ENDFORM. " basic_1
    regards,
    Omkar.

  • 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!

  • Two short questions on Interactive reports

    Hello,
    I have two questions on passing filter to an Interative report
    1) the text that I send to the filter can contain commas. Is it possible to work around this? (comma is interpreted as splitting the filter values)
    e.g. f?p=104:19:::NO:19,RIR:IR_BUS1_NAME,IR_IS_OPEN:*Corporate, Other and Eliminations*,Yes
    %2C%20other%20and%20eliminations,No,Yes
    --> in this case it get messed up when passing to the IR page.
    2) anyone know if it is possible to send a IN parameter to an interactive report?
    Brgds
    Christian

    1 \value\ should do the trick
    2 Yes, I think so (only done it with ordinary reports and too lazy to check right now!).
    Build your string of value1,value2.. in an item then use the &ITEM. syntax in the SQL
    HTH,
    Chris

  • Apex 3.1. Interactive Report. Questions and Problems.

    Hello!
    First of all I'd like to say Interactive Report is a really really brilliant feature, it covers exactly that points which we were missing in previous releases of Apex. Only this single feature makes Apex 3.1 release most significant for us since may be HTML DB 1.6. So much much thanks!
    So I have some questions about Interactive Report (IR):
    1) About "Save Report" feature. It is possible there to save own version of report layout or overwright the default settings. There is also possibility to completelly disable this function. So the question is it possible to disable only the ability to overwright the default report but give the ability to save own reports. It would be reasonable since too smart or too dum users can break the default layout of report and break the work for other users which don't use this function at all. At the same time the possibility to save own reports
    is absolutelly perfect
    2) Search. I'm from Germany and we have some national non-english symbols. The IR can't perform seach correctly if we use words with such symbols. Example word "Bestätigt" is interpreted by IR as "Bestätigt". At the same time the words are correctly displayed in reports and in interface. We have correct NLS_LANG, we have imported the lang_de.sql , and our own self-made search on simple reports works ok. What's to do?
    3) Charts in IR. Is there some data volume limits for Chart in IR ? sometimes we get the message "Loading XML...100%" during chart rendering and then happens nothing. In log file of Apache there is no any error messages...
    Thanks in advance,
    Alex

    Hi Alex,
    Glad to hear you're putting interactive reports to use, we put in a lot of time trying to get them right (at least for their first release).
    1) The "Save As Default Report Settings" option is only available for Developers, so you can only see it if you already see the developer toolbar at the bottom of the page. Standard end-users can't see this, so they can't save over your default report settings.
    2) That's right, the character set of the DAD needs to be AL32UTF8.
    3) A maximum of 1000 chart points will be returned, but you should not get this error. Can you describe the columns you are charting and the chart settings?
    - Marco
    Message was edited by:
    MAdelfio

  • Interactive Reporting 11.1.2.1 Questions

    I have a few questions regarding Interactive Reporting 11.1.2.1 after being unable to find anything out researching extensively here and in multiple blogs, search engines, readme's, admin guides, etc.
    I have not had training in IR yet....my going to training is dependent on several things, one being able to use the IPad with these IR reports.
    - I noticed I am only able to create a database connection file through the desktop IR studio client interface. For the web client, no luck. Would this be correct?
    - Would viewing IR reports and drilling into dimensions work through Workspace on an IPad? Or is there another way to view IR reports on an IPad?
    Any info provided would be extremely helpful and appreciated.
    Thanks- C

    FYI, Safari is not a supported browser for 11.1.2.2 and before. If I recall when I last tested it - I believe I was able to log in, but none of the objects or menus worked, so you could't do anything.
    Financial Reporting is supported, in the latest release (11.1.2.3.):
    Apple:
    iOS5, iOS6:      Financial Reporting only support Native Browser only     
    Android:
    3.x, 4.x:      Financial Reporting only support Native Browser Only     
    Not 100% sure what that exactly means and will have to setup an environment to test.
    It also seems the documentation is supported on Safari though.
    Regards, Iain
    Added FR details: on May 22, 2013 4:01 AM

  • Interactive Reports - SQL Source Question

    Background
    Apex 3.1 is installed on Oracle 10g instance on local machine but all data is stored on a remote machine on Oracle 9 & 10 instances.
    This data is also used by another piece of software, which directly manipulates the data.
    The Apex Application that I am developing is to be used as a Quick Find/KPI Reporting tool and is setup to utilise DBLinks and Synonyms.
    Within the remote data, we have a mapping table that contains user specific alias' for field names, which the users set using the other piece of software. There can be up to 5 mappings per table field each defined as LNG01, LNG02,etc.
    In order to provide the same field Alias' in the Apex application, I have created a PL/SQL function to return the field alias and return a string value containing the final SQL.
    Problem
    In standard reports, this would work correctly as you could return a SQL statement in a string and it handled it with no problems.
    However, due to Interactive Reports not supporting this, I have tried to find code to pass in the string SQL Statement to return a TABLE or PIPELINED datasource.
    The string SQL statement will vary for each time it is used so the string SQL statement is effectively built as dynamic SQL
    This causes as problem as I will never be able to define the ROWTYPE for a type TABLE variable as the field names will not be constant.
    Can you tell me if there is any way to create a SQL source that could be used for the Interactive Report based on dynamic SQL?
    Alternatively, if you can provide any alternatives to finding a solution I would be most grateful.
    Apologies if this question has been posted before.
    Thanks in advance.
    Stuart

    Stuart,
    You could:
    1) Create page items, one for each dynamic column header (e.g. P1_OBJECT_NAME_HEADER, etc).
    2) Create a page process, to run when the page is loaded, that populates each item with the appropriate text. This can pull the column header text from your remote source.
    3) Use a static query as your interactive report source:
        select objname,
               objuniqueid,
               objtypecode,
               objsitearea,
               objdesc,
               objdesc2,
               objlocationid,
               objcommission
          from cdoweb_om4) Edit the interactive report attributes -- use APEX substitution string syntax to reference the item values (e.g. "&P1_OBJECT_NAME_HEADER." without the quotes) instead of static column headers.
    For more information on using substitution strings:
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/concept.htm#BEIFGFJF
    - Marco

  • Basic question in interactive reporting

    Hi
    I'm a kid in IR, I installed IR Studio 9.3.1 , and I even installed IR web Client from workspace, Can anyone tell me how to login in to web client, I mean I need web address. If my question is wrong ...let me know how IR works , where you develop(I guess obviously in studio) , is there any webadress like planning.
    I appreciate if any one give some basic Idea.
    Thanks
    M.V

    You do not need to "log-in" to webclient. As I suppose (you installed webclient) you are allready logged in to workspace and you only need to import an interactive reporting document (bqy) into workspace. after that you just have to rightclick on the file in your workspacefolder and choose if you want to open the document in html or in webclient. when you choose the client, the plugin will open and you can use many of the functions you also have in the studioclient. in html you only have very few options of editing.
    regards,
    Marius
    Message was edited by:
    user619911

  • Question on interactive report

    hello sir in interactive report in output we click on customer feild it open a secandary list. it display a data.if customer is not having any order,then it show some message. tell me how i wil do it

    Hi,
    Try this..
    DATA: BEGIN OF ITAB1 OCCURS 0,
    KUNNR TYPE KUNNR,
    END OF ITAB1.
    DATA: BEGIN OF ITAB_DETAIL OCCURS 0,
    KUNNR TYPE KUNNR,
    VKORG TYPE VKORG,
    END OF ITAB_DETAIL.
    ITAB1-KUNNR = '123'.
    APPEND ITAB1.
    ITAB1-KUNNR = '1234'.
    APPEND ITAB1.
    ITAB_DETAIL-KUNNR = '123'.
    ITAB_DETAIL-VKORG = '1000'.
    APPEND ITAB_DETAIL.
    LOOP AT ITAB1.
    WRITE: / ITAB1-KUNNR.
    HIDE ITAB1-KUNNR.
    ENDLOOP.
    AT LINE-SELECTION.
    LOOP AT ITAB_DETAIL WHERE KUNNR = ITAB1-KUNNR.
    WRITE: / ITAB_DETAIL-VKORG.
    ENDLOOP.
    IF SY-SUBRC <> 0.
    MESSAGE S208(00) WITH 'NO RECORD FOUND'.
    ENDIF.
    CLEAR: ITAB1-KUNNR.
    Thanks,
    Naren

  • Another Interactive Report Question

    Hi guys!
    Is it possible to create link which filters Interactive Report? I would like to create a report on one page which contains all the user saved interactive reports and then if another users clicks one, page changes to a page with an interactive report and the saved report opens?
    With regards,
    PsmakR

    I'm referring to this help text in Advanced attributes - "If saved versions of the report exist, this specifies if they should be displayed as tabs. Turn tabs off if you want to create a separate page with a list of reports.". This is my goal - separate page with reports with on click page redicrection to saved report.
    Im looking through help file and found this:
    Report ID Item
    This attribute enables you to send a user directly to a saved view of the report that they have saved. You specify an item whose value stores the report ID of the saved view. Report ID's can be retrieved from the APEX_APPLICATION_PAGE_IR_RPT view.
    Has anyone played with this? Is it working?
    Please help...
    With regards,
    PsmakR

  • Question - Resetting Interactive Reports on Different Pages

    Hi,
    I currently have 5 pages, each with an Interactive Report. Page 1 contains column links with filters to the other 4 pages.
    Once a user has clicked a column link with the relevant column filtered on the Interactive Report on the other page, the only way I can see for the user to reset each Interactive Report is to manually reset the report on each page.
    Is there any way to perform the "RIR" or "CIR" clear cache setting on all the Interactive reports for a delimited list of pages via one button click?
    Thanks in advance,
    - Stuart

    Hi Simon,
    The scenario could be that the user clicks on 3 different column links on page 1 and the Interactive Reports on those linked pages are filtered. The user is happy with the information and decides that he/she wants to look for completely different data within the Interactive Report on page 2 (3 or4).
    When they go to that page, it is still filtered based on the column link. To reset the report, they need to manually select Reset from IR menu. This would need to be done for each of the other pages with previously filtered reports.
    The Reset I am looking to perform is almost like when each page is visited. It would be similar to performing a clear page cache on multiple pages and you pass the page number as a parameter from one button click using a PL/SQL block. i.e.
    BEGIN
    APEX_UTIL.CLEAR_PAGE_CACHE('1');
    APEX_UTIL.CLEAR_PAGE_CACHE('2');
    APEX_UTIL.CLEAR_PAGE_CACHE('3');
    END
    Ideally, if there was some way to do something similar for all or specific Interactive reports then it would reduce the number of clicks made by the user.
    The application is to be aimed at users, who need to get information with as few clicks as possible.
    - Stuart

Maybe you are looking for