Need Help calling Dynamic Action from Link in Interactive Report
Hello I have an Interactive Report. I would like to have a Dynamic Action called when the user selects a row (Clicks a Link).
I am running Application Express 4.0.2.00.07 on Oracle 11gR1.
Any help would be great.
Hi VANJ,
Sorry for the poorly written original post. I will be much more specific.
I have a Interactive Report on page 40. That report has a column named X_UID that is a link back to page 40 and sets a text item named P40_X_UID in a Region we will call "Form X" with the value of the column. That page refresh also then calls a Automated Row Fetch process to fetch all the values needed for the rest of the page items in the "Form X" region. Also "Form X" region has a conditional display on to only display when P40_X_UID is not null.
What I would like to do:
When the user clicks on link in the IR for X_UID instead of the "Form X" region becoming visible I would like to become modal. I am trying to use a Plug-In named "ClariFit Simple Modal - Show". I have it working with a Dynamic Action when you click a Page Item. But I would like to to work when the link is clicked and the data populated.
I hope that helps some.
Similar Messages
-
How to create a dynamic action from link column in classic report
I Have an apex page that display a modal window utilizing jquery. In the modal window I have a classic report with a link column that I want to capture its click event.
I was thinking I could create a dynamic action with selection type=jquery selector. Not for sure if I need to do anything on link column and do not know the syntax
for jquery selector. Would appreciate any help or direction???Thank you for your response. I am very new to Jquery so don't understand all that well.
What I did:
I created a dynamic action
Event: Click
Selection Type: jQuery Selector
jQuery Selector: tdheaders
Created True Actions
I created an alert to see if this is being executed.
Alert 'I made it here'
What I have:
I created a report region with the following query:
Select empno, ename, 'SELECT' from emp
where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
or :P2_SEARCHPU is null)
I created 'SELECT' column as Link Column
Report Attributes
Link Text Select
Target Page in this Application
Page 2
Region Header
<div id="ModalForm2" title="Employee List" style="display:none">
Region Footer
</div>
This report is displayed in a modal form when a button is clicked.
Code for modal window in Page Header
<script type="text/javascript">
$( function() {
$('#ModalForm2').dialog(
{ modal : true ,
autoOpen : false ,
buttons : {
Cancel : function() {
closeForm2();
function openForm2()
$('#ModalForm2').dialog('open');
function closeForm2()
$('#ModalForm2 input[type="text"]').val('');
$('#ModalForm2').dialog('close');
</script>
I am trying to capture the click event on the link column of the report in the modal form. I want to pass a couple of column values
back to the main form and close the modal window. I do not want to do the submit that happens if I click on the link column and link back to the main page(2)
If I let the submit to happen, all other entered fields are cleared on my main form.
Just don't understand the jQuery selector. I have no problem catching the button clicks on the modal form. -
Hi Experts,
I have a requirement to create Additional Payments for two wage types 591 and 691 for a particular Employee subgroup and for three personnel areas whenever a person is hired. I have written the code like this
400 *BEK047.01 RECURRING PAYM 591 / 691
401 P PSPAR-MASSN='01'
402 P P0001-PERSK='AA'
403 P P0001-WERKS='037'
404 P P0001-Werks='039'/X
405 P P0001-WERKs='041'/X
406 I INS,0014/D
407 W P0014-LGART='0591'
408 W P0014-BETRG='109'
409 W P0014-ZANZL='1'
410 W P0014-ZEINZ='012'
411 W P0014-ZDATE=P0001-BEGDA
412 W P0014-BEGDA=P0001-BEGDA
414 W P0014-ENDDA=P0001-ENDDA
Apparently above code doenst work . I removed the OR condition and write the code three times for diff personnel area and that works. So i wanted to know what is wrong in above code. Also when records are created they should be defaulted with the amount mentioned in the code i.e. 109 .....but somehow some other value is coming which i havent entered.
Please help
Regards,
Navneet.Dear Navneet
your dynamic action shows that you want to default the valued in the Recurring Payment and Deductions but not the Additional Payments. Usually the Indicator /X is used with the condition is endup with Logical OR.
Try out the following values and test
IT FC Num Indi Variable Function Part
0001 04 101 P T001P-MOLGA='40'
0001 04 102 P P0000-MASSN='01'
0001 04 103 P P0001-PERSK='AA'
0001 04 104 P P0001-WERKS='037'
0001 04 105 P P0001-WERKS='039'
0001 04 106 P P0001-WERKS='041'
0001 04 107 I INS,0014,,,(P0001-BEGDA),(P0001-ENDDA)/D
0001 04 108 W P0014-LGART='0591'
0001 04 109 W Q0014-BETRG='109'
0001 04 110 W P0014-ZDATE=P0001-BEGDA
0001 04 111 W Q0014-ZANZL='1'
0001 04 112 W Q0014-ZEITX='Months'
If the above coding is not working, Tryout individually for every condition seperately starting from 3rd line and followed by I like followes.
0001 04 101 P T001P-MOLGA='40'
0001 04 102 P P0000-MASSN='01'
0001 04 103 P P0001-PERSK='AA'
0001 04 107 I INS,0014,,,(P0001-BEGDA),(P0001-ENDDA)/D
0001 04 108 W P0014-LGART='0591'
0001 04 109 W Q0014-BETRG='109'
0001 04 110 W P0014-ZDATE=P0001-BEGDA
0001 04 111 W Q0014-ZANZL='1'
0001 04 112 W Q0014-ZEITX='Months' -
Need help calling a method from an immutable class
I'm having difficulties in calling a method from my class called Cabin to my main. Here's the code in my main if(this is where i want my method hasKitchen() from my Cabin class)
System.out.println("There is a kitchen.");
else
System.out.println("There is not a kitchen.");
}and here's my method from my Cabin class:public boolean hasKitchen()
return kitchen;
}You should first have an instance of Cabin created by using
Cabin c = ....
if (c.hasKitchen()) {
System.out.println("There is a kitchen.");
} else {
System.out.println("There is not a kitchen.");
} -
Need help scrolling dynamic content from XML
I am trying to make a photo gallery and I have succeed in
importing the pictures from XML into Flash. There are still two
problems:
1. The content is loading into a movieclip and I tried to
place a scroll pane on the stage to adding scrolling capabilities.
I set the parameters to control the movieclip that holds the
thumbnails but it is not making a scroll bar. I can see the
pictures inside of the scroll pane but it will not scroll to show
the rest of the pictures.
2. I can not figure out how to space the thumbnails evenly. I
made a variable and multiplied the x position of each picture by it
but there are large differences between landscape and portrait
pictures.
Thanks for the helpYou need to switch from using loadMovie to using the
MovieClipLoader object. This object has a listener called
"onLoadInit" that allows you to get the size of your photo when it
comes in, but before it appears on stage, so that you can adjust
its placement. Check out the help docs for info on usage.
WL -
Problem in calling dynamic actions in BDC
Dear All,
I have created a subroutine which is called when an entry is made in IT0015 for a particular wagetype. So I have used dynamic actions to serve the purpose.
But the entries in IT0015 are made through a BDC, and I am facing in calling dynamic actions through BDC. I have tried the following code:
DATA: opt TYPE ctu_params .
DATA: zmode TYPE c VALUE 'N',
zupd TYPE c VALUE 'A'.
opt-dismode = zmode.
opt-updmode = zupd.
opt-defsize = 'X'.
opt-nobinpt = 'X'.
******While calling transaction in BDC
CALL TRANSACTION 'PA40' USING g_t_bdc
OPTIONS FROM opt
MESSAGES INTO g_t_messtab.
But this does not work, it only calls the first screen of tcode PA30 and only populates the PERNR in that.
Please suggest how do I rectify this problem.
Regards,
KanupriyaHi Marcin,
When I call PA30 without using options i.e.:
CALL TRANSACTION 'PA30' USING BDCDATA MODE 'A' UPDATE 'S'.
then, the BDC works perfectly and calls all the required screens correctly.
But when I use:
CALL TRANSACTION 'PA30' USING bdcdata
OPTIONS FROM opt
MESSAGES INTO messtab.
then, it shows me only the first screen of PA30 and stops there.
Also, if I hard code a break-point in my subroutine and save an entry in PA30, then the subroutine stops at the breakpoint. But if I call PA30 with SHDB transaction, then the code does not stop at subroutine which means the subroutine is not being called with SHDB.
Please suggest why this is occuring.
Regards,
Kanupriya -
I need to call main window from a Standard program
I need to call main window from a Standard program for SAP Script. I have wrote the code like this but it is not working. Kindly help me on that.
FORM OPEN_AND_START_FORM
FORM open_and_start_form.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
device = 'PRINTER'
dialog = space
form = 'ZOTC_SLI'
language = print_co-spras
OPTIONS = pr_options
EXCEPTIONS
canceled = 01
device = 02
form = 03
OPTIONS = 04
unclosed = 05.
CHECK sy-subrc IS INITIAL.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'.
ENDFORM. "OPEN_AND_START_FORM
FORM CLOSE_AND_END_FORM_FORM *
FORM close_and_end_form.
CALL FUNCTION 'END_FORM'.
ENDFORM. "CLOSE_AND_END_FORMHi,
FORM CLOSE_AND_END_FORM_FORM *
FORM close_and_end_form.
CALL FUNCTION 'END_FORM'.
change this to CALL FUNCTION 'close_FORM'.
as you are not using the start_form
you can use End_form
i hope you understand now
ENDFORM. "CLOSE_AND_END_FORM
reward points if helpful.
thanks & regards,
venkatesh -
Possibility of calling standard actions from a java program
Hi ,
I am working for a project where customer wants to have option of saving orders as draft only and later convert to order if need be. However since we do not want many drafts to reside on server there is a need to delete these at a specified time. For draft orders I am using order templates since they stay in the database without getting converted to orders. Now I do not know how to go about the deletion part.
i need to write a program that would run on the server and which would fetch the templates (drafts) that have been created till a particular time and call the delete action of the template. Now the question is how do i call these actions from a java program where this java program will have to run on the server end (ie will be a backend process).
Please suggest.
Thanks
Roopalihello roopali,
you can create a separate thread that will run your
code that will check for stale drafts and delete them.
it is just like a session management program but here
we will be looking over the drafts and not the session
objects.
now if you want the invocation of the action from another
program, a socket program would suffice but opening ports
will cause you network connections thru firewall.
if you can make use of HTTP servlet as your service
provider e.g., you can then just pass some action params
to invoke it.
regards
jo -
Need help moving videos/photos from Galaxy S4 to iMac
need help moving videos/photos from Galaxy S4 to iMac
Samsung's utility Kies is awful
Hlpe pleasedid this
import photos from android to mac
got this, try it
http://www.phototransferapp.com/help/android/transfer_photos_from_your_android_t o_your_mac/
or use the first link to try some of the google hits for ways to get photos from android devices into osx -
I need help to transfer CS4 from a dead G5 to a new Macbook Pro. Can't find my program discs but purchased CS4 in 2008 and have record of it.
Sounds like you got it installed and activated. Don't forget your updates.
Adobe - Photoshop : For Macintosh
Gene -
I need help to create idoc from scrach.
i need help to create idoc from scrach.
Swamy Katta,
Please read "[the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]" before you post any further, and confirm that you have read them?
=> Search first, ask questions later please!
Julius -
I need help burning a cd from keynote
I need help burning a cd from keynote for a slideshow presentation on a tv
Hi,
Not quite sure what you're after here, so I might need a bit more info.
You have a presentation in Keynote and want to export this in some format that will allow you to display it on a TV screen. Is this right? Do you want to retain all your interactivity or do you just want to show it as a simple 'kiosk' presentation? What will the presentation on CD be played from and how will it connect to the TV?
Probably the easiest solution is to create a DVD of your presentation. To do this export the presentation from Keynote as a Quicktime Movie by going to File>Export and selecting the Quicktime pane. You'll need to make a few choices about how the slides are advanced and the final quality. Convert the exported movie to a DVD in iDVD or better still Toast, if you have it. You wont need menus or any fancy stuff, just set up the movie to play as soon as the disk is inserted.
To optimise the Movie, keep Keynote animations to a minimum and limit slide transitions to simple dissolves. The resulting Movie should be a fair representation of the original Keynote presentation.
Alastair. -
Need to call a repaint from another class
I need to call a repaint from another class, but since I can't make the paint() method a static one, it will not let me access the repaint method, any ideas? thanks guys
Conorok here's a very basic idea of whats goin on...
<code>
MainFrame class (in which the paint method resides)
public void paint()
// draw lines
// opens an instance of the settings window
void procSettings_actionPerformed(ActionEvent e)
if(procRunning)
procRunning = false;
timer.stop();
procPaused = true;
procSettings s = new procSettings();
s.setSize(370, 467);
s.setLocationRelativeTo(null);
s.setResizable(false);
s.setVisible(true);
ProcSettings class
if(certain condition)
// reset the lines of the graph
// REPAINT <--- I want to know how to call this repaint, MainFrame.repaint() does not work
thanks -
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 -
Calling a BSP from a BW web report RRI
Hi,
I am calling a BSP from a BW Web Report to Report Interface and during the call all users have to authenticate themselves. It is not an option to turn authentication off for audit purposes but is there any way of performing automatic authentication?
Both the web report and BSP are on the same BW instance.
Any help would be greatly appreciated.
Regards
Paul.Just activate SSO2 for your application servers. Some time ago there was a good <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/ com.sapportals.km.docs/documents/a1-8-4/SSO%20Overview.pdf">article</a> on this here on SDN. Keep in mind that browser must accept cookies.
Maybe you are looking for
-
Time Machine has stopped working - ideas?
A couple of days ago Time Machine stopped working on my iMac. It continues to try to backup, but each time gives the following error message - "The backup was not performed because an error occurred while copying files to the backup disk. The proble
-
Universe Connection - SQL 2000 to 2005 upgrade
We are using Designer 11.5.0.0 and have a Universe that is designed as Secured Type, OLEDB connection to a SQL Server 2000 Server/Database and WEBI reports have been developed using this Universe. The plan is to upgrade to SQL Server 2005 and there w
-
Windows 8 bugcheck (133) on T430 & W530 with Intel Centrino Advanced-N 6205 AGN
I have bought both T430 (Windows 8) & W530 (Windows 8 Pro) this ThanksGiving. I have seen both machines crashed when I waked them up from S3. I analyzed the crash dumps, all point to Intel wireless link driver NETwew00.sys. Repro steps: 1. Leave the
-
Windows XP hangs on boot, computer heats up
Hi, I recently had my Nvidia card replaced in my Mac Book Pro, OSX 10.4.11 and since then tried to boot up Windows XP with Bootcamp. Windows XP hangs on booting and the computer heats up incredibly quickly. Does anyone know why I can't boot in Window
-
Hi, Please help me