Control the *GO* button in interactive report
How to control the GO button in interactive report using dynamic action?
i have to press the GO button automatically using dynamic action when page item get focused.
Is it possible?
thanks and regard,
skud.
Hi skud,
Your dynamic action can capture the "Get Focus" event of your page item and then you could try creating a true action to submit the page with a specific request. Create a branch to a URL with the condition of request being equal to the one you specified before, and as target select URL and make use of the filtering of an IR by URL when linking. This is just an idea, hope you can get the result you need.
Regards,
Sergio
Similar Messages
-
Control User Specific button in ALV report
Hi,
Can anybody please suggest me how to control "USER SPECIFIC" button in ALV report layout using authorization object. I mean if you can tell me which authorization object is responsible to control the "USER SPECIFIC" button.additional info to what Lakshmi already said:-
normally the restrictions for saving layouts/display variants are done at 2 levels:
1) The developer of an ALV list first predetermines the authorization in the 'i_save' parameter within the code.
I_SAVE = ' ' -
layouts cannot be saved
I_SAVE = 'A' -
user-specific and cross-user layouts can be saved
I_SAVE = 'X' --- cross-user layouts can be saved
I_SAVE = 'U' --- user-specific layouts can be saved
2) The second level comes to us restriciting the S_ALV_LAYO which gives access to users to save global layouts if I_SAVE for that particular transaction is A or X.
for example, a report has I_SAVE= 'A', which means
it will allow to save User-specific layouts without any restrictions.
and if user has S_ALV_LAYO then he can save both User-Specific and Global Layouts(variants).
it would be better to keep this object separate. -
Hi Friends,
I want to add Button in Interactive report for each row. Is it possible to add a button.Please help me.You should add a dummy column in your report query. Make dummy column as a link and change the column attribute 'Column Link' to and image. For instance the Edit column in the following query is a button on my report.
select
'Edit',
"CUST_NO",
"CUST_FIRST_NAME",
"CUST_LAST_NAME",
"CUST_ADDRESS",
"CUST_CONTACT_PHONE_NO"
from "CUSTOMER" -
APEX 5: Problem displaying breadcrum (Create) button on interactive report
Hello There
I am trying to build a small app in APEX 5. I am taking the default 'Sample Database Application' (SDA) as an example for design.
In SDA the interactive report of Customer a breadcrumb 'Create which is displayed on the top right corner. I am trying to replicate the same in my interactive report, but in vain.
I have attached the printscreen for your reference. Could you please guide and advise me on how to get the same functionality of breadcrumb create button,etc same as in displayed in SDA into my custom app in APEX 5?
Thanks a lot for helping me out
Regards
Donhi ,
i had used like this .. it is working...
*& Form USER_COMMAND
FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
R_SELFIELD TYPE SLIS_SELFIELD.
clear : v_flag.
CASE R_UCOMM.
WHEN 'DATA'.
LOOP AT IT_TEMP.
if it_temp-checkbox = 'X'.
v_flag = 'X'.
v_pernr1 = IT_TEMP-PERNR.
*--Get compensation data and populate final internal table
refresh it_fin.
CALL FUNCTION 'Z_HR_COMP_STATEMENT'
EXPORTING
PERNR = v_pernr1
BEGDA = s_date-low
ENDDA = s_date-high
TABLES
FINAL = it_fin.
if not it_fin[] is initial.
delete adjacent duplicates from it_fin comparing pernr.
read table it_fin index 1.
move-corresponding it_fin to it_final.
append it_final.
clear it_final.
endif.
endif.
enddo.
ENDLOOP.
if not v_flag is initial.
*------ display final data
PERFORM final_display.
else.
message s000 with 'Select atleast one pernr'.
endif.
endcase.
ENDFORM. "USER_COMMAND
regards,
venkat. -
Is there a way to control the "back button"?
i've got a simple animation intro, ending with the very last
key frame being static with links. then the links will bring up
another page in the same window. but i was wondering if there was a
way in flash to control the back button to bring the user to that
very last key-frame, at the end of all the animation. thereby
skipping over the intro-animation.
also:
i have an html intro page, where you can go to the flash
introduction, or the peoples' old website, or to a Flash-Player
download window. i was wondering if there was a way to create a
link to that end key-frame in order to by-pass the animated flash
intro.
thanks for your helpgotoAndPlay(32) if you have a continuos animation after that
frame and you want to continue it; the number within the brackets
is the number of the frame you want to go to. Or else if you want
to go to a particular frame and stop there, gotoAndStop(32); -
How to increase the column size of interactive report
Hi , I am using apex 4.2 and theme 25 ..
i did not find any option to increase the column size of interactive report. where as in classic report i can do so ,,
Please guide me to achieve that.
Thank You,
Nihar NarlaNihar Narla wrote:
Hi , I am using apex 4.2 and theme 25 ..
i did not find any option to increase the column size of interactive report. where as in classic report i can do soThis can be done using CSS. Create a rule like this in the page Inline CSS property:
.apexir_WORKSHEET_DATA td[headers="COLUMN_ALIAS"] {
width: 10em;
}where COLUMN_ALIAS is the alias of the column in the report query and the width measure is whatever you require. -
Button on Interactive Report to fire a process using JavaScript
I have a requirement to trigger a process from a button on an interactive report. One of the report columns has the triggering data allowed to make the process fire. The requirement is that the button says different things based on the value from another column in report.
My button is an html button that when the process is allowed to run, is enabled and fires a javascript function. When the process is not allowed to run for the row where the button is placed, the button changes text, color and is disabled.
The switching of the HTML button is working properly. The problem is that I am not able to grab the column value from the report to submit with the onclick() event.
As best I can tell, there is not unique id tag on the report columns and the best that I am able to do is to apply one class to the button and another class to the column that contains the value that needs to be submitted on my onclick() event.
I have considered using a link column that does a submit to a URL passing in the desired value but I would lose control of the appearance of my button.
Does anyone have a suggestion?
ThanksIn debugging while clicking on back button for first time, I found that after 'Leave to screen 0' statement debugger goes to double click event of screen 100 and start processing from a statment written immediately after 'Call screen 200' statement.
Yes, that's right. The processing will be continued from next stamtement after CALL SCREEN 200. But after the PAI will finish it shoud go to NEXT SCREEN which is 0.
If that doens't work you can try leaving the screen 100 explicitly as well.
CALL SCREEN 200.
LEAVE TO SCREEN 0. "the processing will terminate screen 100 as well
Try it out.
Regards
Marcin -
Radio buttons on interactive report
Hello all,
I've added radio buttons to an interactive report. What would be the best way to submit the form when user selects the buttons?
Thanks.Hi inka,
inka wrote:
Hello all,
I've added radio buttons to an interactive report. What would be the best way to submit the form when user selects the buttons?
Thanks.
one of the way to submit the form is use apex.submit
Check the example given below
1) Assuming you have used apex_item.radiogroup to create radio buttons.
sample sql query for interactive report
select EMPNO,
ENAME,
JOB,
MGR,
HIREDATE,
SAL,
COMM,
DEPTNO,
apex_item.radiogroup(1, EMPNO) r
from EMP
2) Go to Report Attributes -> Edit Radio button column
Under Column Definition
Display Type : Standard Report Column
Under Column link -> do the changes given below
Link Text : #R# // here R is my radio button column name, so select yours radio button column name.
Target : URL
URL : javascript:apex.submit({request:'TEST',set:{'P6_HIDDEN':#EMPNO#}});
// here P6_HIDDEN is item where i am setting EMPNO to that column, if you want to set any value to any item that you want to use in process then create Hidden item with protected value no.
or if you want to show confirm message before submitting the page then use apex.confirm in place of apex.submit .
Hope this helps you,
Regards,
Jitendra -
I have created an interactive report. At the end of each line of the report I want to create a button. When pressed a process would be run updating a table with the product code that is displayed on that line of the report.
How do I go about creating buttons for each line on the report?Hello,
We don't like "cannot be done in Apex"... ?:|
So here is the (a) solution:
select "DEMO_CUSTOMERS"."CUSTOMER_ID" as "CUSTOMER_ID",
"DEMO_CUSTOMERS"."CUST_FIRST_NAME" as "CUST_FIRST_NAME",
"DEMO_CUSTOMERS"."CUST_LAST_NAME" as "CUST_LAST_NAME",
'<a id="P16_DOIT" href="javascript:doSubmit(''Go'')"><img alt="Go" src="/i/go.gif"/></a>' as "Go"
from "DEMO_CUSTOMERS" "DEMO_CUSTOMERS"And set 'Display Text as' of the last column to 'Standard Report Column'.
Of course the javascript can also call any other function - with any other parameter - you like...
Greetings,
Roel
[http://roelhartman.blogspot.com/]
You can reward this reply by marking it as either Helpful or Correct ;-) -
Help on print button for interactive report
Hi,
I have created an interactive report and have also added a print button on the button of the report (unfortunately forgot how I did it). Say my column on the reports was Col_No, Col_First_name, Col_Last_name and a print button when I pressed a would get to choose open or save a pdf file, if I opened or saved it, I would had the same info on my pdf report as above.
Since I have changed the column order meaning I have Col_No, Col_Last_name, Col_Start_Date, Col_First_name and that is working fine but when I click on the print button I will get the pervious columns.
I noticed I have created a branches to print the report, basically after processing, when button was pressed an action with f?p=&APP_ID.:0:&SESSION.:PRINT_REPORT=6259824360775969936:&DEBUG.::: is present.
I need help to fix this and I do very much appreciate any help or suggestions
-regards
ahmadiiFound the answer, thanks.
-
Adding print button to interactive report
For now I have the downloaded to PDF option checked so the user can print an interactive report via the widget.
I would like to have a print button on the report also.
Has anyone got any of the java script stuff working off of a button?Hi willjamu ,
All you should have to do is call the 'PDF' request to download the same report the drop down will create.
f?p=355:14:3381437251536222:PDF::::
I hope I was able to answer your question let me know.
Mike -
The "next" button of crystal report viewer does not work
hi
I use crystal report viewer control to show my crystal report on my aspx page.
like:
<CR:CrystalReportViewer id="CRViewer" runat="server" HasRefreshButton="False" PrintMode="ActiveX" DisplayGroupTree="False"
AutoDataBind="True"
SeparatePages="TRUE"
Height="520px"
Width="900px">
</CR:CrystalReportViewer>
however when I try to navigate to next page by click "Next" arrow button on the crystal report viewer toolbar, it only can navigate to the page 2, whatever I click the "Next" button, it still stay on page 2,
actually this report has 10 pages.
On the other hand, if I input the page number, such as 5 on the "goto" textbox, it will jump to page 5 correctly.
Could you give me any good advices to solve this problem?
Thanks.There are a few threads discussing the issue in this forum. See if these provide some guidance:
"Next Page" wont go beyond page 2 in Html Viewer (Crystal.NET for VS 2008)
Re: Crystal Reports .NET Visual Studio 2005
Problem in CrystalReportViewer
Ludek -
Buttons in Interactive Reports
Hi,
I have created a IR with columns x,y,z where y and z should retrieve the sysdate time. I have created y and z columns with HTML expression
<input type="submit" value="Start"/> and <input type="submit" value="Stop"/>.
I try to do the following when the user clicks start(i.e y) column in the report the system date should get updated/inserted in the table same way to the stop (i.e z)column.
The following trigger can retrieve the system date value
CREATE OR REPLACE TRIGGER "START_TIME"
before insert
on SESSION_STEP
for each row
begin
:new.start_time := sysdate;
end;
Whether i need to work some where on column link on column attributes?
I haven't done this before so just got stucked.
Any help is appreciated.
apex - 3.2
database - oracle 10g express edition
browser: FirefoxFound another post on the forum (using google...) and it seems to be a bug. Is this already fixed in APEX 3.2?
Re: Apex Import/Export - Losing search button template of interactive report
Regards,
Jacob -
Cancel the search in an Interactive Report
Hi ,
My Interactive Report will run for a minute or for a long time like 5 to to 10 minutes depending upon given parameters to the report.
Now I would like to cancel the report search when I made a mistake like searching on a value which willtake more time.
Please suggest how to achieve the same.
Regards,
MedaYou could try to reset the report using a page button for example. See this:
http://dpeake.blogspot.de/2008/03/advanced-interactive-reports.html
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Disable/Hide the Refresh Button in Child report
Hi All,
Our Environment is BOXI-R2;
We have a Master Report calling a Child Report (based on Open Document);
Our requirement is to hide the" Refresh Button "in the child report Layout
we tried using "hideRefresh=true"
but the child report is not responding to the above clause
Help us in this,
if this is a BUG in XI R2, let us know the Service Pack details
ThanksJoe , Thanks for your Inputs..
our master report has the aggregated Measure , when the user clicks on this , it has to open a child report (with paramters from master report).
We are aware of customizing "viewer.js " file (under BO install home) with "refreshDocIcon = null".
But is this the only solution to hide the refresh button in the child report ?
SInce its already a PRODUCTION environment, our customer won't allow to change the standard settings of the product.
Thanks
Maybe you are looking for
-
Can I buy a new power cable?
My MacBook power cable is falling appart; the plastic is wearing away and it will only charge when it's positioned in certain ways. I was wondering if there was anyway I could buy a new power cable for my MacBook and how much it would cost. I would r
-
Regarding keyfield value in payload
Hi from the sender side I am receiving a flat file with header, body,trailer. In the payload I don't have keyfied . can any one suggest me how to configure in content conversion parameters in the sender file adapter. Thanks & Regards venkat.
-
Cannot recognized USB HD through AEBS
I just got in my AEBS yesterday, after much waiting. After disconnecting my current wireless router (Belkin, which worked fine but had no USB disk port) I installed the AEBS. My family's laptops are able to access the internet just fine through the A
-
I try to manage my n97 device to sync with Ovi and after I select my device on Ovi sync service it show that I should receive a text message to save it in order to create the sync profile in my device but nothing come and I just wait more than two da
-
Unable to find top level site associated with project site
Hello! SP and PS 2013. I faced the problem with one project and its site synchronization. When user published this project at 1st time, the site wasn’t created (there were some errors), but user didn’t notice that. So, after few days when he couldn’t