Update Row in report on click of button of particular row

Hi
Using Apex 4.0.
I have a requirement like there is a report which displays data on search. I have created a report with sql query. And it works correctly.
In report columns, there is one column which is having select list (static), and user should able to select value from list and update that particular row.
I have added one button and called javascript function to update value with AJAX code. However it is not returing select list value to update.
Is there any other way to implement such requirment or please suggest where i am wrong? Please advice.
Thanks

Hi,
Now page 900 works.
I did set link URL target to
javascript:void(0)link attributes
onclick="update_queue_status(this,'#EMPNO#')"javascript
<script type="text/javascript">
function update_queue_status(pThis,pEmpno){
var j=$(pThis).parents('tr:eq(0)').find('[name="f01"]').val();
var ajaxRequest=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=AP_UPD_STAT',&APP_PAGE_ID.);
ajaxRequest.addParam('x01',j);
ajaxRequest.addParam('x02',pEmpno);
var ajaxResult=ajaxRequest.get();
//alert(ajaxResult);
</script>I did also create developer user HELPER to your workspace
Regards,
Jari

Similar Messages

  • How to print PDF report by clicking a button

    Hi,
    I'm using oracle 10g developer suite. i've developed a form clicking a button calling a PDF report. But i do not want to show PDF report. i want to auto print PDF report by clicking a button.
    Plz help me.

    Just follow the Oracle reports 10g output directly to printer and you will able to print directly
    Hope this helps
    Hamid
    If response is helpful or correct mark it.

  • Add new line in ALV report on click of button...

    Dear All,
    How to add a new line for input in ALV report at runtime, on click of a button.
    Waiting for early and favorable reply.
    Regards,
    Dharmesh Vyas

    Hi,
    First of all u have to Create ur own PF-status and Assign Fcode e.g 'INSERTROW'.
    So, whenevr you will click Insertrow button it will be triggered in your User Command and then just Append the blank line in your Final Internal Table.
    And Refresh Icon will be there by default...
    To Trigger it You have to write rs_selfield-refresh = 'X'
    You can also follow the below link...
    Try it.
    Link:[http://wiki.sdn.sap.com/wiki/display/ABAP/ALVeasytutorial].
    Regards
    Arbind

  • HT4972 if you backup everything prior to update to ISO 5 then click all buttons under summary after transferring all paid apps from iPad and then I do the update, won't the restore then  just put the old OS on it.  I am sooo lost when it says the way you

    Dear iPad Wizards,
    I am a beginner. I have an ipad and I need to upgrade to ISO 5 and I have purchased APPS on my iPad.  All the warning are scaring me.  Right now all of my sync square buttons are not turned on.  One of the warnings says I will loose my apps if I don't transfer them.  I did that (with another warning).  Then it said to back up the iPad, which I did. Heck all I want to do is upgrade my version correctly.  It then makes a statement that is something like when you are updating your version, make sure you have all your apps sync set normal, but when I do that it says you will loose all apps, but what the heck is normal (I say at this point).  So, since I am so lost and don't know what to do, do I just chuck it up to a learning experience because if I now restore everything after I do the update it seems that it will restore the old ISO...Am I correct.  I was just really thrown for a loop with that statement that is highlighted and I am still no where except backed up and apps purchased transfered to itunes.  Anybody else in the world ever have this happen to them?  I am truly thankful for anyone who might be able to help me.  I am thankful in advance if anyone understands this email.  Looking forward to someone who understand. 
    With Many Thanks
    8infinity8

    To update to iOS 5.1.1, connect the iPad to your computer's iTunes and copy any purchases off the iPad to your computer via File > Transfer Purchases - you may also want to copy photos and any important documents off the iPad as well e.g. via the file sharing section at the bottom of the device's apps tab when connected to iTunes, via wifi, email, dropbox etc - they should be included in the backup, but it's best to have a copy of them outside of the backup just in case. You can then force a backup of the iPad by right-clicking the iPad 'Device' on the left-hand side of iTunes and selecting 'Backup'.
    You can then start the update by selecting the iPad on the left-hand side of iTunes, and on the Summary tab on the right-hand side clicking the Check For Updates button.
    Updating to iOS 5+ : http://support.apple.com/kb/HT4972

  • Trying to makea report run when clicking a button on a form

    I am trying to run a report by clicking a button on a form (Forms 9i)
    I have modified the registry settings for FORMS90_PATH and REPORTS_PATH to include my development directory, and now at last the report is generating. However the command to display the form in a window is not doing anything at all - no error even. Can someone please help, the trigger code for my button is displayed below:
    DECLARE
         rep_result VARCHAR2(30);
    BEGIN
         SET_REPORT_OBJECT_PROPERTY('INVENTORY_REPORT', REPORT_FILENAME, :GLOBAL.project_path || 'Inventory.rdf');
         SET_REPORT_OBJECT_PROPERTY('INVENTORY_REPORT', REPORT_DESNAME, :GLOBAL.project_path || 'Inventory.htm');
         rep_result := RUN_REPORT_OBJECT('INVENTORY_REPORT');
         --MESSAGE('Rep result: ' || rep_result);
         WEB.SHOW_DOCUMENT('file:///' || :GLOBAL.project_path || 'Inventory.htm', '_blank');
         --WEB.SHOW_DOCUMENT('file:///C:\Temp\Dev\Inventory.htm', '_blank');
    END;
    thx
    adam

    Hi,
    may be this could be helpful for you:
    You have to include the following code to execute a report:
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status Varchar2(20);
    BEGIN
    repid := find_report_object(report_name);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,report_server_name);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := report_object_status(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    if rep_status = 'FINISHED' then
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    else
    error report not exists
    end if;
    END;
    Also you have to create the report server with the command:
    "rwserver - install service_name autostart=yes
    report server name must be the same that appears in the code above
    You must add the report to run in the REPORT object type in your .fmb and put there with the same name
    The report server to install ought to be the one and only in you network to avoid mistakes...

  • How to call report by click application toolbar button?

    I need to know the way to call a report by click a button in application toolbar?
    BR,
    Ali
    Moderator message: next time, please (re)search yourself instead of asking basic questions.
    Edited by: Thomas Zloch on Aug 31, 2010 11:44 AM

    Hi Ali,
    Selection-screen function key is used to add push buttons on application tool bar.
    Syntax:
    selection-screen functuin key<num>
    Where num is ranging from 1 to 5.
    whenever application toolbat components are added using above statement,tables are defined in the structure "SSCRFIELDS" as "Functxt_01","Functxt_02","Functxt_03","Functxt_04","Functxt_05" for the related function key numbers.
    eg:
    Tables SSCRFIELDS.
    Selection-Screen pushbutton/10(10 lb1 user-command pb1.
    Selectiong-Screen Function key1.
    Selectiong-Screen Function key2.
    Selectiong-Screen Function key3.
    Selectiong-Screen Function key4.
    Selectiong-Screen Function key5.
    Initialization.
    sscrfields-Functxt_01 = 'first".
    sscrfields-Functxt_01 = 'fifth".
    At Selection-Screen.
    case sy-ucomm.
    When 'first'.
    Sumbit zreport.
    endcase.
    Hope it solves your problem.
    Regards,
    Amarnath S

  • Open PDF report on clicking a URL link

    Hello,
    I have a requirement to open a PDF report when clicking on a URL.
    Example : Open a Purchase Order PDF report when clicked on a URL from a different web based system (non APEX). I was able to open APEX pages from the web pages but i am not sure how to open a PDF report. I will have to pass PO number in the URL.
    I would really appreciate it If anyone can give me some direction. I have created PDF reports within APEX and called from within other Pages in APEX but not outside of APEX.

    Sorry I really didn't mean to be stupid ;)
    below is my requirement. We use oracle ebs and we use forms version. Our requirement is to open various PDF reports by clicking a buttons/menu in different forms with in Oracle apps forms. We have APEX developer who can create PDF reports in APEX easily but the technology on ebs side is complex to develop simple PDF in the way users want. So we were thinking if we create a PDF report in APEX..and call the apex report from ebs. Is this possible? Inow we can call other APEX web pages from EBS.

  • Add rows in app on click of button

    HI
    I am new to Apex and PL/SQL. I am developing an application in which i need following things to be done.....I have created a FORM(not a report) in which there are fields ,
    'F1' a select list,'F2' a display only field,'F3' Number field,'F4'  Display Only…. arranged in one row.Also there is a Button 'Add Item'.
    Procedure:
    When user selects item from the select list i.e. field F1...its quantity is displayed in field F2(a spec. Number)...after that user must enter a number in field F3 which should be less than number in F2....as soon as user enters number in F3 there should happen a calculation (No. form F2 - No. from F3) and the result should autopopulate in field F4........after that when user clicks on 'Add Item' button..a row containing fields F1,F2,F3,F4 should be added just below the 1st row.
    1. For the calculation part, where shall I write the code? do i need to create a validation or a dynamic action......
    2.Please help me with the 'Add Item' button ...I really dont have any idea how a row will be inserted when i click on the button
    any suggestion/logic/sample code/link to existing example are welcome...
    THANKS

    Thanks vincent....i now have a Form called 'Form on table/view' but i am stuck here
    Ill explain the problem in detail to you
    On the above form i have following fields,
    Product_name(link),Total_ordered_qty  now these fields are displayed here from table Product_list
    Step 1:
    when user clicks on product_name, user navigated to a page where there are following fields
    Item name(auto populate from product_name),ordered qty(auto populate from total_order_qty),Inspection_qty(user i/p),Remaining_qty
    Step 2:
    when user gives some number as 'Inspection qty' a java script calculates (Total_order_qty - Inspection_qty) and auto populates 'Remaning_qty' field and will click 'Proceed' button
    Now,
    I want that, on click of Proceed button a record created in Step 2 should be inserted into some table so that i can keep the track of updated record. Also if Total_order = 500  and Inspection_qty = 200 then Remaining_qty = 300 this value should get updated in Product_list table. i.e. if user logs in for the 2nd time he will see Ordered_qty = 300 in Step 1.
    Now this updated record..i want to show this under a Tracking tab so that user can see his activities.
    Do i need to write a trigger to insert a record? if yes then where to write it? or there is any other way?
    Also how am i going to calculate and display the updated values from step 2 in step 1?
    any suggestion/logic/sample code/link to existing example are welcome...
    THANKS

  • Multi row update in sql Report

    Hi All,
    I had created a Updatable SQL report , and the SQL query fetches data from four table and JOIN condition also exists.
    Currently I can Update only one row at a time but what I want is to update multiple row at same time. Is this possible without TABULAR FORM ?
    Thanks
    Dikshit

    Hi
    The whole concept of a Tabular form is that it shows a table of updatable rows. These can be modified and then when the user clicks "Update" all the rows that have been changed will be updated on the base tables.
    There is no wizard to do this any other way. However there is something in APEX called htmldb collections. These are essentially virtual tables that can hold data temporarily in memory. You could consider using a form to update each record individually, then when the user clicks "Save" it writes the updated form data to an htmldb collection. The user could then click "Update All" and all the data in the htmldb collection could be updated on the base tables.
    htmldb collections are well documented in the HTMLDB Users Guide.
    I hope this helps,
    Cj

  • OBIEE report with Click button ( want to perform some actions)

    Hi Experts,
    My users want to make adhoc changes to an OBIEE report where I want to place a click button at the bottom of the report. Once the changes are done, They want to click the button so that the most current logical sql is captured and then it takes to another http url .
    If any one have worked or has any ideas on this, Please share. Thanks in Advance.
    S

    Hi S,
    Can you elaborate on what you mean by capturing the most current logical SQL?
    What you are asking is only going to be as difficult as it is to perform the above action. The button and the navigate are simple.
    John Minkjan shows you how to make a clear button here.
    Basically you leverage the OBIEE class XUIPromptEntry minibuttonOn.
    Here's the code (NOTE: You have to change the curly brackets to angular brackets):
    {div class="XUIPromptEntry minibuttonOn"}{a href="#" onclick="return PersonalizationEditor.removeDefaultSelection(false)"}Clear{a}{div}
    You can take this and modify it slightly to fit your purpose:
    {div class="XUIPromptEntry minibuttonOn"}{a href="(URL to move to)" onclick="(javascript function that performs your task)"}Do Action Button{a}{div}
    In the above, you will put the URL you want to navigate to in the (URL to move to) area. Then in the onclick function, you're going to want to write a javascript function that captures the latest logical SQL and have OBIEE call that function.
    All that being said, this effort hinges on whether or not a javascript function can perform your task.
    If you can elaborate on what you mean, I might be able to get you started on that function.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • After updating to v. 24.0 (and restarting) ALL add-ons (regardless whether they work or not) are marked "(disabled)", and clicking Enable button does nothing

    After updating to v. 24.0 (and restarting, several times) ALL add-ons (regardless whether they work or not) are marked "(disabled)". I tried clicking "Enable" button for each add-on and nothing happened. There is only one add-on which is marked as incompatible with this version (but it was also incompatible with previous version, and so marked).
    Clicking "Update Add-ons", gives a short list of add-ons but "Install Updates" button is pale and doesn't work. I can only sort list by name or last update.
    Also, I disabled Ask Toolbar and that went well. When I click "Enable" button (button works ONLY for this add-on) it takes forever to get note: “Ask Toolbar will be enabled after you restart Firefox”, I used to get this info in seconds time before this update. (I do not really want Ask Toolbar, I just used it to see whether if I disable and then enable an add-on might do the trick.)
    Bottom line – I can not tell if add-on works (i.e. if it is enabled or disabled) unless I try using it.
    Even when I posted this question and installed Troubleshooter, it's also marked as "(disabled)"

    You're welcome
    Are this screenshots from an extension window because the built-in about:addons page looks different?

  • Problem report only print out when i click back button

    hi all..i having problem with my report print program. the problem is my report did not immediately print out when i click print button. the program require me to click back button before print out execute. please help me to solve this problem. Thank you.
    Edited by: padile on Jan 7, 2010 3:51 AM

    Hi,
    In your program, mention the following:
    DATA: gs_out_opt TYPE ssfcompop.
    gs_out_opt-tdimmed = 'X'           "Print immediately
    CALL FUNCTION lv_fname         "Smartform FM
          EXPORTING
            output_options     = gs_out_opt  
    Regards,
    Dawood.

  • Cannot click radio buttons after Windows Updates

    Hello,
    We approved the following Office updates back in December and since then, our users cannot click radio buttons in Word documents. This month, we pushed all updates stated in the following article:
    https://support.microsoft.com/en-us/kb/3025036
    We've also removed .exd files from users' computers and this still hasn't resolve our issue. This is critical for us as we use these documents across the entire organization. Please help!
    I've tested this both on Office 2013 click-to-run and Office 2010 with the same results. 2013 is the latest version and I've deleted .exd for this as well, using Fix It, script and manually.
    Update   for Microsoft Excel 2010 (KB2589348) 32-Bit Edition
    Update   for Microsoft Excel 2010 (KB2889935) 64-Bit Edition
    Update   for Microsoft Lync 2013 (KB2899507) 32-Bit Edition
    Update for Microsoft Office 2010 (KB2553140) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2589386) 64-Bit Edition
    Update   for Microsoft Office 2010 (KB2597089) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2687275) 64-Bit Edition
    Update   for Microsoft Office 2010 (KB2837602) 64-Bit Edition
    Update   for Microsoft Office 2010 (KB2883019) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2889818) 32-Bit Edition
    Update   for Microsoft Office 2010 (KB2910896) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2837654) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2881008) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2889857) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2899493) 32-Bit Edition
    Update   for Microsoft Office 2013 (KB2899510) 32-Bit Edition
    Update   for Microsoft Office Outlook 2007 Junk Email Filter (KB2899525)
    Update   for Microsoft Office Outlook 2007 Junk Email Filter (KB2920789)
    Update   for Microsoft Office PowerPoint 2007 (KB2597972)
    Update   for Microsoft OneDrive for Business (KB2899513) 32-Bit Edition
    Update   for Microsoft OneNote 2010 (KB2597088) 32-Bit Edition
    Update   for Microsoft Outlook 2013 (KB2899504) 32-Bit Edition
    Update   for Microsoft PowerPoint 2010 (KB2878251) 64-Bit Edition
    Update   for Microsoft PowerPoint 2010 (KB2880517) 32-Bit Edition
    Update   for Microsoft Visio 2013 (KB2899497) 32-Bit Edition
    Security   Update for Microsoft Excel 2010 (KB2910902) 32-Bit Edition
    Security   Update for Microsoft Office 2007 suites (KB2596927)
    Security   Update for Microsoft Office 2007 suites (KB2920790)
    Security   Update for Microsoft Office 2007 suites (KB2920792)
    Security Update for Microsoft Office 2010 (KB2553154) 32-Bit Edition
    Security   Update for Microsoft Office Excel 2007 (KB2984942)
    Security   Update for Microsoft Office Word 2007 (KB2899527)
    Security   Update for Microsoft Office Word 2007 (KB2920793)
    Security   Update for Microsoft Word 2010 (KB2899519) 32-Bit Edition

    Hi
    I have downloaded The toshiba Value added package and most of the 30 odd items have downloaded and installed but the following error messages occured
    Intel Display Driver ~~ FAILED
    AMD Display Driver ~~ FAILED
    ATI HDMI Audio Driver ~~ BAD URL
    RealTek Ausio Driver ~~ BAD URL
    Intel Wireless LAN Driver ~~ BAD URL
    Synatics Touch Pad Driver ~~ FAILED
    Toshiba Virtual Added Package ~~ BAD URL
    Toshiba System Driver ~~ BAD URL
    Toshiba Function Key ~~ BAD URL
    Toshiba ECO Utlility ~~ BAD URL
    All of the other items downloaded satisfactorily
    Can you advise me what steps to take now please as the FN key which was my original question still no longer works
    Many Thanks

  • The App Store said I needed to switch countries so I clicked the button and it switched it for me but now I can't update my apps but when I try to change it through settings it still says the country is the u.s. I don't know what to do to change it back

    The App Store said I needed to switch countries so I clicked the button and it switched it for me but now I can't update my apps but when I try to change it through settings it still says the country is the u.s. I don't know what to do to change it back

    See  >  Change your iTunes Store country
    Here  >  http://support.apple.com/kb/HT1311
    If necessary Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Open system form and select a row number on matrix by click on button

    Hi experts,
    I have to open the purchase order form and select a specific row number from the matrix by clicking a button on sales order form.
    is it possible ?
    can anyone help me to achieve it?
    Thanks in advance.
    Best regards
    Andrea

    Andrea,
    To Do? Clicking on a Button on Sales Order -> Opens a PO form, and selects the row?
    In the eventhandler of a button click if the PO is not linked to SO by SAP B1 standard functionality
    step 1. call ActivateMenu ("2305") of Sbo_application , this opens the PO form
    step 2. Change the form to Find mode
    step 3. enter po number to the Item UID "8" which is the document number.
    step 4. Send enter key, or Clikc On button UID "1" which finds the PO
    step 5.read the value from SO form, from matrix "38" line where you selected
    step 6. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    at step 5, i think you should select a line from SO matrix which you would like to open.
    IN sales order, If you used PO chekcbox on logistics tab to create the PO, you can find a direct link between PO and SO (only in docentries are linked not positions) on sales order,  Column UID 158 field name: potrgnum.  If this connection is exists, you have an easy way:
    SO form, when a user clicks on COlumn 158 (po number), you can implement an eventhandler, which
    step 1.read the value from SO form, from matrix "38" line where you selected
    step 2. use the code above to locate the line in PO (use # column for position numbers which UID is 0)
    By processing theses steps, you can build up you solution.
    Regards
    János

Maybe you are looking for

  • Dreamweaver CS4 Crashes Regularly

    Hi all, Dreamweaver is causing me a lot of headaches. Hopefully someone can shed some light on this for me. It seems to crash often, several times a day and its extremely aggravating. I'll provide as much information about the issue as I can. 24" iMa

  • Anyone knows if i-deck from Monitor Audio produces problems to the battery?

    Hi, I got an ipod nano 4th generation and, when connected to Monitor Audio i-deck ipod shows a message saying "firewire battery charge is not possible" or something like that, what I am wondering is if ipod battery could have problems because of this

  • Reader X in browser- vertical scrollbar not properly integrated

    In both Firefox 4.0beta7 and IE8 on my Windows 7 Ultimate 64-bit system, PDFs displayed in Reader X in the browser do not properly use the browser's vertical scrollbar. The browser's vertical scrollbar does not reliably indicate the position the user

  • Set path for emacs

    Hi The emacs located in /opt/sfw/bin But how to set path for that so i can use emacs or other software in any other directory. I put set path=(/opt/sfw/bin $ path) in my home dir /export/home/joanna/.cshrc but it did not work. Which file should i mod

  • [svn:fx-beta1] 6768: Fix security error when viewing source in Spark Application.

    Revision: 6768 Author:   [email protected] Date:     2009-05-08 12:39:04 -0700 (Fri, 08 May 2009) Log Message: