Concept of Interactive Report by click on filed displaying next screen
Hi,
I want to know the concept of Interactive report i have work on simple and ALV reports, as per my present requirement of vendor outstanding balance i have made a report as per my requirement i have data in 3 final tables itab1 itab2 itab3,
itab1 have all the data related to vendor bills line item wise, itab2 have the data only as per vendor means for one vendor one entry adding all the line item amount in one row, itab3 have the data as per reconcile account
in my requirement firsti want to display itab3 and after this if vendor click on any reconcile account itab2 to be display only those record as per selected reconcile account further to this on next screen if user click on any vendor system should disply the itab1 record as per selected vendor from second screen.
regards,
zafar
Hi
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND' " This is also maintained below just check further down
is_layout = gs_layout
i_callback_pf_status_set = 'SET_PF_STATUS' " This form is maintained below just check further down
it_fieldcat = gt_fieldcat[]
i_save = gc_a
tables
t_outtab = ist_final[].
form set_pf_status using rt_extab type slis_t_extab. "#EC CALLED
set pf-status 'ZPP_NCO_STATUS_PTEI' excluding rt_extab.
endform.
form user_command using p_ucomm type sy-ucomm "#EC CALLED
wa_selfield type slis_selfield . "#EC CALLED
case p_ucomm.
* When user clicks on the Download button
when '&DOWNLOAD'. " after you double click check the sy-ucomm (it is ONLY to the best of my knowledge )
" again Use The ALV FM or continue with your coding here
" wa_selfield contains the Line along with the contents of values of First Tab you can check them in Debug.
Similary continue with Third Internal Table
endform.
Similar Messages
-
Possible to exclude interactive report column from single row display?
hi -- I have an interactive report that I've added a column to (in addition to the table columns that are selected).
The added column is a link to a form for editing a single row. This column/link is in addition to the default link
that goes to a single row view. So, a row of the report has 1) the single row view link, 2) the Edit link,
3) the columns in the table.
The edit link column is named "Edit" (so Edit appears above the "pencil" link icon). Problem is that when the
user goes to the single row view, the Edit column is displayed. (I've set the label in the view to a blank space,
and the value is null (displayed as "-" in the single row view)... but it's generally ugly, and adds that nonsensical
line to the single row view.
Is there any way to never display that column in the single row view, but always display it in the report?
I've considered putting the edit link on the first column of the table... but I don't like that the link will move
if the user changes the column order. It seems it should always be at the left of the row, like the single row view
link.
Thanks,
CarolPlease disregard this thread. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
Thanks,
Carol -
Adding Floating Header to Interactive Report
Hi All,
I am using an Interactive Report in Oracle Apex to display few reports which have lot of observations.
I want to display the floating header(display of coloums) when i am scrolling through all the records in the report.
Is this possible in apex..?
If not, Please let me know is there any alernative way to do this.
Regards,
Sandeep ReddyThis is a great plugin concept and something we've been wanting to integrate into a few of our apps. Thanks to SkillBuilders for putting it together,
We're testing it out now and we are having a couple of issues. I'm not sure if these are bugs or if we have something set wrong.
1. Once the plugin is installed the column headers don't align properly with the column data. For each column of data the header moves a little bit to the left of where the data is. This alignment problem builds upon itself so eventually, headers are aligning with the wrong data columns and the last couple of columns of the report don't look like they have headers at all since it shifted so far to the left.
2. When we have a report with multiple pages of data and we click the link to the next page on the bottom of the report, the header stops floating. So, once we are on the next page the header is stuck right in the center of the report when we scroll up or down. So when we are on the top of the report it looks like there is no header.
Has anyone else run into these issues?
Thanks
Brian -
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,
GuyHello
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 - 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 -
Greetings.
I am using APEX 4.0.2
I have an interactive report. When I try to change it to Icon view, I receive the following error:
ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression
Is there something I am doing wrong?
Regards,
Bill ChadbourneHello
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! -
Using XSL-FO for Interactive Report PDF printout
I am using XSL-FO, Apache FOP and use FO Designer to produce a PDF from SQL Based Report (not IR). This is working fine.
How can use the same concept for Interactive Report. I can not see how to make IR to use XSL-FO and Apache FOP.
It looks that IR is only working for BI Publisher. Am I right?Interactive Reports currently only support the built-in default XSL-FO layout, i.e. there are only limited customization options available. Report Queries (see Shared Components) and Classic Reports can either use the default XSL-FO Layout, or can be associated with RTF or XSL-FO based templates. We plan to extend printing support for Interactive Reports in a future version of Oracle Application Express to provide similar features as is currently available for Report Queries and Classic Reports.
Regards,
Marc -
Interactive Report does not maintain / remain on current page
Fellow APEX gurus,
In my APEX application (APEX 4.0), I have an Interactive Report that displays rows of data and each row has an EDIT link which on clicking pops up a Form (Dynamic HTML Page) on top of the Interactive Report Report.
The problem is -- when on the Interactive Report page, when I navigate to next page of records (Page 2 or above), and EDIT a row on that page, the resulting Form pops up correctly on top of the Interactive Report, however, in the background, the Interactive Report navigates back to Page 1.
There is only one default branch on the Interactive Report page and I have "Save State before branching" checked.
How do I maintain the current Page and not allow APEX to navigate back to the First Page of the Interactive Report?
Thanks,
EdMini,
I already had the Reset Pagination Unchecked. I did uncheck the "save state before branching" but the behavior was the same.
Once again, I have only one "Unconditional" Branch on this page with the following settings:
reset pagination for this page - unchecked
include process success message - checked
save state before branching - checked
Anything else to look for?
Thanks,
Ed. -
Interactive report: Can I exclude a particular column from single row view?
Hi -- I posted on this yesterday (Possible to exclude interactive report column from single row display?
a bit anxious for suggestions, I guess!
I've added a column with edit-link functionality to my interactive report query (that is, the link
is not attached to the database data... it's an additional column and shows an icon). It's also
in addition to the default single row view link. (We need both.)
Unfortunately, the Edit link column shows up in the single row view. I've pared it down as much
as I can: the label is empty, and the null value shows as "-". But an extra row with "-" is pretty
ugly. Is there a way to always, completely exclude this column from the single row view?
I know I could put the edit link on a data column, but:
1) I want the link to always be to the left of the data (and the user can re-order columns)
2) when the user doesn't have edit privileges, the link will need to be disabled or just not
be displayed, and I think that would be a problem if the link were on the data. (true?)
Thanks,
CarolPlease disregard this thread, and the one it refers back to. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
Thanks,
Carol -
Interactive Report, Image display on download.
hi all
I have an interactive report with an image column displayed with a case statement (below)
CASE
WHEN APP.RENEWAL_DATE < SYSDATE
THEN <--img src="#IMAGE_PREFIX#FNDCANCE.gif"-->
WHEN APP.RENEWAL_DATE > SYSDATE
THEN <--img src="#IMAGE_PREFIX#Fndokay1.gif"-->
ELSE <--img src="#IMAGE_PREFIX#wwv_small_help.gif"-->
END CRB_Valid,
when i download this for printing (as pdf / xls / rtf) i just get the <--img src="#IMAGE_PREFIX#FNDCANCE.gif"--> text in the report column. i assume this is to do with the URL being outside of an APEX app but im no HTML boffin can anyone tell me how i reference the image so it shows up on the reports? or is there a better way of acheiving the above?
- SolHi,
You can use v('IMAGE_PREFIX') in your SQL statement:
CASE
WHEN APP.RENEWAL_DATE < SYSDATE
THEN '<img src="' || v('IMAGE_PREFIX') || 'FNDCANCE.gif">'
WHEN APP.RENEWAL_DATE > SYSDATE
THEN '<img src="' || v('IMAGE_PREFIX') || 'Fndokay1.gif">'
ELSE '<img src="' || v('IMAGE_PREFIX') || 'wwv_small_help.gif">'
END CRB_Valid,Andy -
How can I select 2 options in Interactive reports
Hi Friends
I have a doubt about Interactive reports/ ALV interactive reports. Is there any option to select multiple selections in interactive reports. If I am displaying in a screen CustNo, Name, Country.
I want to see order details of that customer in another screen using AT Line-Selection. Can I select multiple customer nos at a time and also can I see those order details whom I selected over in first list.
Please send me reply ASAP if there is any option with suitable example.
Thanks
Praveen.Check out this sample. It uses two ALV grids. On the first one you can do multiple selection, hit the continue buttons and it will throw another ALV with those material/plant records. Implement the following program. Create screen 100 and 200. One each screen create a custom container called ALV_CONTAINER(screen 100) and ALV_CONTAINER2(screen 200). Create the gui status for both. Don't forget to create a "CONTINUE" button on the gui-status 100.
report zrich_0006.
tables: mara.
type-pools: slis, icon.
* Internal Tables
data: begin of ialv occurs 0,
matnr type mara-matnr,
maktx type makt-maktx,
end of ialv .
data: begin of ialv2 occurs 0,
matnr type mara-matnr,
werks type marc-werks,
end of ialv2.
* Miscellanous Variables
data: index_rows type lvc_t_row,
index like line of index_rows.
data: alv_container type ref to cl_gui_custom_container,
alv_container2 type ref to cl_gui_custom_container,
alv_grid type ref to cl_gui_alv_grid,
alv_grid2 type ref to cl_gui_alv_grid,
row_table type lvc_t_row with header line,
ok_code like sy-ucomm,
layout type lvc_s_layo,
fieldcat type lvc_t_fcat,
fieldcat2 type lvc_t_fcat.
select-options: s_matnr for mara-matnr.
start-of-selection.
select mara~matnr makt~maktx
into corresponding fields of table ialv
from mara
inner join makt
on mara~matnr = makt~matnr
where mara~matnr in s_matnr
and makt~spras = sy-langu.
sort ialv ascending by matnr.
call screen 100.
* Module status_0100 OUTPUT
module status_0100 output.
set pf-status '0100'.
set titlebar '0100'.
data: lt_exclude type ui_functions.
* Create Controls
create object alv_container
exporting container_name = 'ALV_CONTAINER'.
create object alv_grid
exporting i_parent = alv_container.
* Populate Field Catalog
perform get_fieldcatalog.
* Optionally restrict generic functions to 'change only'.
* (The user shall not be able to add new lines).
perform exclude_tb_functions changing lt_exclude.
* Set selection mode to "D" -- Multiple Lines
layout-sel_mode = 'D'.
call method alv_grid->set_table_for_first_display
exporting
is_layout = layout
it_toolbar_excluding = lt_exclude
i_structure_name = 'IALV'
changing
it_outtab = ialv[]
it_fieldcatalog = fieldcat[].
endmodule.
* Module USER_COMMAND_0100 INPUT
module user_command_0100 input.
case sy-ucomm.
when 'BACK' or 'CANC'.
perform free_containers.
if sy-subrc = 0.
set screen 0.
leave screen.
else.
leave program.
endif.
when 'EXIT'.
perform free_containers.
leave program.
when 'CONTINUE'.
* Retrieve selected rows from ALV grid
clear index_rows. refresh index_rows.
call method alv_grid->get_selected_rows
importing
et_index_rows = index_rows.
* Do something with those selected rows here
loop at index_rows into index.
read table ialv index index-index.
if sy-subrc = 0.
select * appending corresponding fields of table ialv2
from marc
where matnr = ialv-matnr.
endif.
endloop.
perform free_containers.
leave to screen 200.
endcase.
endmodule.
* Form FREE_CONTAINERS
form free_containers.
if not alv_container is initial.
call method alv_container->free.
clear: alv_container.
free : alv_container.
endif.
if not alv_container2 is initial.
call method alv_container2->free.
clear: alv_container2.
free : alv_container2.
endif.
endform.
* Form Get_Fieldcatalog - Set Up Columns/Headers
form get_fieldcatalog.
data: ls_fcat type lvc_s_fcat.
data: columnno(3) type n value '0'.
refresh: fieldcat.
clear: ls_fcat.
ls_fcat-reptext = 'Material Number'.
ls_fcat-coltext = 'Material Number'.
ls_fcat-fieldname = 'MATNR'.
ls_fcat-ref_table = 'IALV'.
ls_fcat-outputlen = '18'.
ls_fcat-col_pos = 1.
append ls_fcat to fieldcat.
clear: ls_fcat.
ls_fcat-reptext = 'Material Description'.
ls_fcat-coltext = 'Material Description'.
ls_fcat-fieldname = 'MATKX'.
ls_fcat-ref_table = 'IALV'.
ls_fcat-outputlen = '40'.
ls_fcat-col_pos = 2.
append ls_fcat to fieldcat.
endform.
* Form Get_Fieldcatalog2 - Set Up Columns/Headers
form get_fieldcatalog2.
data: ls_fcat type lvc_s_fcat.
data: columnno(3) type n value '0'.
refresh: fieldcat2.
clear: ls_fcat.
ls_fcat-reptext = 'Material Number'.
ls_fcat-coltext = 'Material Number'.
ls_fcat-fieldname = 'MATNR'.
ls_fcat-ref_table = 'IALV2'.
ls_fcat-outputlen = '18'.
ls_fcat-col_pos = 1.
append ls_fcat to fieldcat2.
clear: ls_fcat.
ls_fcat-reptext = 'Plant'.
ls_fcat-coltext = 'Plant'.
ls_fcat-fieldname = 'WERKS'.
ls_fcat-ref_table = 'IALV2'.
ls_fcat-outputlen = '4'.
ls_fcat-col_pos = 2.
append ls_fcat to fieldcat2.
endform.
* Form EXCLUDE_TB_FUNCTIONS
form exclude_tb_functions changing pt_exclude type ui_functions.
* Only allow to change data not to create new entries (exclude
* generic functions).
data ls_exclude type ui_func.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_copy_row.
append ls_exclude to pt_exclude.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
append ls_exclude to pt_exclude.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_append_row.
append ls_exclude to pt_exclude.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_insert_row.
append ls_exclude to pt_exclude.
ls_exclude = cl_gui_alv_grid=>mc_fc_loc_move_row.
append ls_exclude to pt_exclude.
endform.
* Module status_0200 OUTPUT
module status_0200 output.
set pf-status '0200'.
set titlebar '0200'.
* Create Controls
create object alv_container2
exporting container_name = 'ALV_CONTAINER2'.
create object alv_grid2
exporting i_parent = alv_container2.
* Populate Field Catalog
perform get_fieldcatalog2.
call method alv_grid2->set_table_for_first_display
changing
it_outtab = ialv2[]
it_fieldcatalog = fieldcat2[].
endmodule.
* Module USER_COMMAND_0200 INPUT
module user_command_0200 input.
case sy-ucomm.
when 'BACK' or 'CANC'.
perform free_containers.
if sy-subrc = 0.
set screen 0.
leave screen.
else.
leave program.
endif.
when 'EXIT'.
perform free_containers.
leave program.
endcase.
endmodule.
Regards,
Rich Heilman -
Doubt in creating interactive report
hi friends,
while creating interactive report i was unable to display the output.bt in my program there is no error
let me explain my program first.
i have created three tables with three internal table name.
first name contains 4 fields with id as foreign key
second table contains 2 fields with id as foreign key
third table contains 2 fields with id as foreign key.
on seeing the output i can see only first table contents,i was unable to see the second & third table contents.
if possible anybody give the syntax for that report.
kindly solve my problem.
thanks
revathy.Hi revathy,
Find the follwing code for interactive report and award points if useful
*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 <> 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. -
Pre populating search in interactive report
Hi Folks
I an using an interactive report which returns a very large amount of data, which means that just accessing the report page can take 10 to 15 minutes and as you can imagine the users are not very happy. So, I was wondering if it is possible to set an interactive report so that is does not return anything when entering the page but only returns when a search is submitted?
I thought of maybe having a page inbetween access the interactive report and the link to the report where you could somehow enter your search term and submit it to then pre-populate the search field in the interactive report....I am sure there must be an easier way...any ideas?
Thanks
LynnDo you need all of the features of an interactive report? You could add a text field and set your query to look at the value in the next field via a standard SQL report.
In your current interactive report are you trying to display all rows at once? Even if you query on specific values in the search bar is your result set taking a long time? -
Download Interactive Report data does not match on-screen data
Hi,
I have a page which has a process which runs a query and returns a random % of rows from a table, and saves this into a collection.
Then, based on the random rows, I want to select data from another table, where the rows match certain columns in the collection.
I have created a query to select the data I want, and have it displayed in an Interactive Report region.
The data on the screen is fine, but when I go to 'Dowload' the data to csv or excel from the Interactive report, the data is different.
I have also created a normal report region with the same query, and when I download it from here, it works fine, so I know it has nothing to do with the query.
Any ideas?
Amanda.
The process details are:
Process Point: On Load - Before Regions
Run Process: Once per page visit
Then in the Interactive report query is something like:
Select ..
from
DATA_TABLE c
select
c001 User_Id,
c002 Account_No,
c003 Transaction_Date
from htmldb_collections where collection_name='PX_COLLECTION'
*) d*
where
c.user_id = d.user_id AND
c.account_no = d.account_no AND
c.transaction_date = d.transaction_dateHi,
This is because of web caching. You should invalidate the page caching in the access tab of page properties or you just change the page url with a dummy paramater like this
http://domain/portal/page?_pageid=6,1,6_11&_dad=<dad>&_schema=<schema>&1=1
Here &1=1 is a dummy parameter
This will invalidate the cache and the page will be refreshed.
Thanks,
Sharmila -
Interactive report run pl/sql by clicking on link column
Hi!
How can I run pl/sql script by clicking on a link column of an interactive report?
AndrasEDIT : Oh sorry don't saw the date, I'm a little late...
Hi,
if you want a link for each row, an other solution is to include the link column in your query, which would be more customizable, ie :
select
COLUMN1,
COLUMN2,
'<ahref="f?p=&APP_ID.:6:&APP_SESSION.::NO::" onclick="your_function('||YOUR_ID_COLUMN||');return false;">link or picture</a>' as "link",
COLUMN3;
from
...As you see, you will have to include the ID (primary key) column to your report ("hidden") to identify the row clicked when calling your function.
If you want to use the Link Column property in the report attributes, you will have to call you js function in the "URL" field like that :
javascript:your_function('#YOUR_ID_COLUMN#');
Yann.
Edited by: Yann39 on 17 sept. 2010 02:41
Maybe you are looking for
-
Unable to open pdf created with Acrobat Pro using Adobe Reader X
Files created with some Adobe Professional applications such as Acrobat Pro ensure the file is small by excluding font information from the file. Simple pdf creation applications embed the font in the file, which makes for transportability between a
-
Can I keep my muffin to myself?
I noticed that JWS puts all muffins in the same directory for all users of a Windows machine (at least that seems to be the case on Win2k). Doesn't this represent a problem on machines that are shared by multiple people? With the proliferation of Win
-
Why is it when iphone contacts send texts to me they go to imessage instead of sms?
. m
-
Identity Lookup Dialog (JDev) doesn´t found the realm
Hi I´m creating a BPEL process with a Human Task. When I edit the .task file, open the Identity Lookup Dialog on JDeveloper (to choose the task owner) and select a Integration Server Connection (which points to a BPEL Server on a Linux box), no realm
-
After major problems with my i-pod, I decided to restore it and re-install i-tunes. Well, I can't even restore it because I get "Firmware update failure. Disk write error." Please help.