Buttons in Reports OR Link with Submit

Hi,
I have a simple Report. I want a column with a X sign to delete a single row. As far as I understand, there is a form around every report called "wwv_flow". I can not submit the page via URL. It is not entering the Page Processing Section. I tried this:
select
'<img src="#IMAGE_PREFIX#delete.gif" border="0" alt="Delete the file">' "delete", w.id,
w.filename,
s.subject
from wwv_flow_files w , file_subjects s
where w.name = s.name
Is there a way to do this, or is there a way to have buttons rendered in reports for submiting and processing single rows?
Regards, Juergen

Juergen,
There are two ways I can suggest you implement this:
1) Make the delete link go to another page in your application which acts as a delete confirmation page. If you pass along the primary key of the row in question, you can create a process there to make the delete happen.
2) Similar to what you are trying to do, but in stead of trying to emulate a submit or POST, simply loop back to the same page that the report is on. The key here is to use the f?p URL syntax to set the REQUEST value, which can be inspected in a condition on a process. So, you'll have a before header process on the report page, which deletes a row based on a primary key set in P1_ID and this process is conditional on the value of REQUEST being equal to DELETE.
Sergio

Similar Messages

  • Adding button to report to link to master detail form

    I want to add a button to a report to direct me to a blank master detail form to insert a new record. I have used the following code in the additional PL/SQL code section:
    htp.formopen('PORTAL30.wwa_app_module.new_instance?p_moduleid=1271601405');
    htp.formsubmit('p_request','Create New');
    htp.formClose;
    When I click this I get 'Page Not Found'.
    But if I hit refresh I am directed to the correct form with the same url.
    Any ideas on what the issue is?
    Thanks.

    Hi,
    Check this sample code.
    tables:sscrfields. "Fields on selection screens
    selection-screen function key 1.
    selection-screen function key 2.
    Initialization.
      sscrfields-functxt_01 = 'Report'.
      sscrfields-functxt_02 = 'Exit'.
    at selection-screen.
       if sscrfields-ucomm = 'FC01'.
      perform f_alv_sub.
       elseif sscrfields-ucomm = 'FC02'.
       endif.
    Hope it helps.

  • Report in backgound with submit  instruction

    Hello,
    I have a program that submits reports depending the choise of the user,
    practically it play the role of a selector, the others produce a printing.
    If this program is executed in background I don't find the printing in the spool;
    I've tried to use the instruction SUBMIT rep ... TO SAP-SPOOL, but it doesn't
    work.
    I  Thank you in advance.                                                  Paolo

    Hi
    Try like this
      IF not sy-batch IS INITIAL.
    *-- Open a job for background scheduling
        PERFORM open_job .
    *-- Populate variant from current run into a structure which is used in
    *-- scheduling the job in background.
        PERFORM populate_variant.
    *-- Schedule the job to execute in background.
        PERFORM submit_job.
    *-- Close the job for execution
        PERFORM close_job.
        MESSAGE i000 WITH 'Report is submitted for background execution...'.
        EXIT.
      ENDIF.
    FORM open_job.
    Job open
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
                delanfrep        = ' '
                jobgroup         = ' '
                jobname          = lc_jobname
                sdlstrtdt        = sy-datum
                sdlstrttm        = sy-uzeit
           IMPORTING
                jobcount         = lv_jobcount
           EXCEPTIONS
                cant_create_job  = 1
                invalid_job_data = 2
                jobname_missing  = 3
                OTHERS           = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " open_job
    FORM submit_job .
      SUBMIT program nama
                     AND  RETURN
                     VIA JOB lc_jobname
                     NUMBER lv_jobcount.
      IF sy-subrc > 0.
        "error processing
      ENDIF.
    ENDFORM.                    " submit_job
    FORM close_job.
    Close job
      it_starttime-sdlstrtdt = sy-datum + 1.
      it_starttime-sdlstrttm = '220000'.
    *-- It is ensured that the dosent stay in queue for more than 2 days...
    *-- and in that case job is deleted form the queue..
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount                          = lv_jobcount
          jobname                           = lc_jobname
          laststrtdt                        = it_starttime-sdlstrtdt
          laststrttm                        = it_starttime-sdlstrttm
          strtimmed                         = lc_starttimeimmediate
      TARGETSYSTEM                      = ' '
      TARGETSERVER                      = ' '
       EXCEPTIONS
         cant_start_immediate              = 1
         invalid_startdate                 = 2
         jobname_missing                   = 3
         job_close_failed                  = 4
         job_nosteps                       = 5
         job_notex                         = 6
         lock_failed                       = 7
         OTHERS                            = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " close_job
    Regards,
    Satya

  • Radio Button with Submit Ready Only problem

    Hello,
    My radio button with submit ready only condition doesn't work correctly. When I click the a link on the first page
    it brings me to an update page. I have a radio button with submit, that won't open as a read only.
    It is being populated by SQL query, with the Null option selected. When I open the page I don't want the user to be able to edit the field unless they delete records associated with the field. Pretty much I want it to be disabled if the user has a record associated with it.
    Here are the queries.
    Source:
    SELECT OPLAN_IMPACTED_I
    FROM DFCY
    WHERE DFCY_SEQNO = :P12_DFCY_SEQNO
    Read only condition:
    SQL Exists query
    SELECT o.dfcy_seqno
    FROM oplan_impactd o, dfcy d
    WHERE o.dfcy_seqno = :p12_dfcy_seqno
    and :P12_OPLAN_IMPACTED_I = d.OPLAN_IMPACTED_I
    and :P12_OPLAN_IMPACTED_I = 'Yes'
    So when the page renders it's like you can change oplan, how do I make it read only when the page renders?
    Thanks,
    Mary

    Hi,
    If that is the source of the radiogroup, then it should be:
    SELECT OPLAN_IMPACTED_I d, OPLAN_IMPACTED_I r
    FROM DFCY
    WHERE DFCY_SEQNO = :P12_DFCY_SEQNOThis should return two values for each radio button - the displayed text and the returned value. If your radios do not have a returned value, then "Yes" will never be found. You can check this by loading the page and doing a View Source on it - search for RADIO and check what "value" attributes they have.
    Andy

  • Display the second report as modalform and filter with primary key value of first report when you click on first report column link

    Hi All,
    I have two reports.
    1. order report
    2. order detail report
    when you click on the order report column it display the order detail report as a modal form.
    i was done below steps.
    1. In page header i was written the below code
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
    $('#ModalForm1').dialog(
    autoOpen : false ,
    width :470,
    height: 500,
    resize :false,
    function openForm1()
    $('#ModalForm1').dialog('open');
    function closeForm()
    $('#ModalForm1 input[type="text"]').val('');
    $('#ModalForm1').dialog('close');
    </script>
    2. order report.
    3. order detail report
       select * from order_details where order_id = p_order_id;
    region header
    <div id="ModalForm1" title="Ordered Items" style="display:none">
    <p class="msg"></p>
    footer
    </div>
    4. created the hidden item in order detail report.
    5. in order report column attributes i was given link like below.
    javascript:$s('p_order_id','#order_id#');openForm1();
    when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
    problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
    can any help me to achieve above requirement.
    apex: 4.2
    oracle 11g
    Regards,
    Vijay.

    Vijay,
    Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
    javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
    Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
    Thanks!
    JMcG

  • I have an InfoPath with submit button, publish the same to form library.

    Hi All,
    i have an InfoPath with submit button, publish the same to form library.
    Now, i open the form  fill it and attach some files, when i press submit button, that attachments will go to the particular document library.
    Can any one help me out.
    Thanks in Advance!

    Hi Anil,
    According to your description, my understanding is that the attachments attached to the form were submitted to an documents library.
    By default, the attachments should be attached with the InfoPath form and will not be submitted anywhere.
    There may be some customizations on the form that is to submit the attachments to the document library.
    Please check the links below if the customizations are made in the form.
    http://www.bizsupportonline.net/blog/2010/01/upload-document-sharepoint-infopath-form/
    http://www.bizsupportonline.net/blog/2010/04/top-10-questions-infopath-file-attachments/
     Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Problem with Submit via Email Button

    When I open the PDF on my desktop and click the submit button it gives me the option of internet or desktop email program.  Both of those work fine.  But when I load the pdf onto my website, open the form from there and try to submit it neither option works.
    1.  When I click the Desktop Email Application - nothing at all happens.  (we use groupwise)
    2. When I click the internet email button it asks me to name the file but then when i try to save it i get this error: Acrobat Could not open the file XXXXXXXXX  Detailed Error: A file error has occured.
    Here is a link to the form: http://csa.niu.edu/extprograms/_pdf/arts/CSA%20Live%20Reg%20v3.pdf
    PS - Also it does not work in chrome or firefox which is annoying you have to use IE.  If you have thoughts about how to fix that I would appreciate it!  I tried lowering the adobe version from 9 to 8 which did nothing and when i lowered it to 7 it displayed but nothing worked in the form.
    Any help would be awesome! 
    Thank You!

    Here's a link with instructions on how to enable Adobe Reader as the default PDF Reader, and disable each browsers default PDF "Viewers".
    Acrobat Help | Display PDF in browser | Acrobat, Reader XI
    IE doesn't have a built in PDF Viewer, and other browser's PDF Viewers such as Chrome and FF, don't allow submissions.
    Note: Adobe Reader users need to have the form's usage rights extended so Adobe Reader users can submit PDF format. Otherwise, Adobe Reader users are limited to submitting data formats only (FDF, XML, XFDF, XDP), not the whole PDF.
    Also: For compatibility and security reasons you should set the submit button URL to point to a server-side script such as PHP or ASP.net, and bypass client-side email software.
    For examples on how to submit to a server-side script check out the following:
    http://www.pdfemail.net/examples/

  • Clicking on any hyper link or submit button shows a 'failure to load' URL message in the console in IE11

    Hi
    I am getting a console error message 'failure to load' while clicked on any hyperlink or submit button. This is only occurring in IE11 browser. why this is happening
    please find the attached screenshots from below url.
    http://screencast.com/t/BoUad8Vy
     and also there is open thread in "asp.net" forum. below is the url for the discussion.
    http://forums.asp.net/p/2022919/5820962.aspx?Clicking+on+any+hyper+link+or+submit+button+shows+a+failure+to+load+URL
    Thanks
    Pradeep

    Hi Viorel
    Thanks for your response,
    This is occurring in most of the websites and also you can observe the same error in "http://msdn.microsoft.com/ie" and you can observe it in IE11 browser only. please check the attached screenshot. ( http://screencast.com/t/jBez3nNpbfF )
    I have checked with different machine and get the same issue. i think my
    Internet Explorer is up to date, you can also check it once by enabling the console (F12).
    Best Regards
    Pradeep

  • Link to report an issue with Podcast update

    Someone posted a link so we could report an issue with the Podcast app the last time there were issues with an upgrade.
    I sync with my laptop iTunes. Since this latest update to the app, when I delete a podcast in iTunes on my laptop it will not delete on my i devices during a sync with my laptop. It just grays them out and leaves them on my device. It looks like I can manually delete them, but when you click the edit function to delete them, they are no longer grayed out, so you can't tell which to delete and which to keep.
    I don't do anything with the cloud, because I have limited wifi service and do most of my updating at a free wifi hotspot.
    If someone has that online link on where to report issues, I would appreciate you posting it again and this time I will save it.

    To Contact the Mac App Store Customer Service:
    http://www.apple.com/support/mac/app-store/contact.html?form=account
    To Contact iTunes Store Customer Service:
    Apple - Support - iTunes Store - Contact Us

  • Display pr which is not linked with po in report

    Hi ,
    ALL SAP EXPERTS,
    I  HAVE PREPARE A QUERY BY USING *INPUT*
    1) MATERIAL NO
    2) PLANT
    3)PROCESSING STATUS OF PURCHASE REQUISITION OR P.O.
    OUTPUT ARE
    1) PUR. ITEM NO
    2) P.R. NO
    3)QTY REQUESTED IN PR
    4 P.O. ITEM NO
    5)P..O NUMBER
    6)P.O. QUANTITY
    7) GR DOCUMENT NO
    FOR THAT I HAVE TO USED TABLES EKET,EBAN AND EKBE  BUT ISSUE IS THAT WHEN IN GOING TO RUN THE REPORT
    1) ONLY THOSE REQUISITION ARE DISPLAYED IN THE REPORTWHICH ARE LINKED WITH PO . IE. STATUS OF PR ONLY FOR 'B'
    TYPE NOT FOR 'N'
    2) ITEMS  IN PR OR P.O. DISPLAY 2 TIMES IN THE REPORT
    3) WHY THE SYSTEM IS NOT SHOWING PR, PO  WHICH HAS NO PR,PO HISTORY IN THAT REPORT I.E. OPEN PR, PO
    USERS DONT WANT TO USE STD REPORT ME5A OR ME2N THEY WANT TWO REPORT IN ONE COMPLETE REPORT IN
    SCREEN
    PLEASE KINDLY HELP TO SOLVE MY ISSUE
    THANKS IN ADVANCE
    REGARDS,
    RAHUL

    You can debug your program and check. also please check if there is any deletion indicator in PR which doesnt turn up in the report.
    in report please dont have status or PR selection field as mandatory because depending on the status/ processing PR, system may skip PR's as they may not meet required conditions.
    Raghavan

  • Associating two events with submit button using  javascript in jsp

    Hi
    How can i Associate two events with submit button using javascript in jsp. Firstly it should insert the data to database and secondly it should close the same pop-up window

    Have something like :
    <input type="submit" name="submitbtn" value="Click me" onClick="function1(); function2(); " />
    You just call both functions sequentially, it's that simple. Although using javascript to work with a database, that seems a bit tricky.

  • Acrobat form with submit button

    Have a coldfusion app that includes an acrobat form that contains a submit button.  The button submits the form to another CF page.  I'm making some fixes to this app and need to change where the form submits, currently it's going to production but i need it to go to test.  When I open the form in Acrobat 8 or Livecycle I don't see any script.  Anyone know where to change wheer this form posts?

    Not sure about LiveCycle, but here's how to do it in acrobat.
    1) Right click on Form Button -> Properties -> Actions
    You should see a list of actions associated with the button.  something like:
    - Mouse Up
           Submit a Form
    2) Select on "Submit a Form" and click "Edit" at the bottom of the screen
    3) Edit URL in "Submit Form Selections" window.

  • Firefox does not fully load Barclaycard Authentication site. It loads as far as asking for certain letters in my pasword but does not load the "Submit" button so I cannot continue with my purchase and have to switch to IE8 browser to purchase anything ov

    Firefox does not fully load Barclaycard Authentication site. It loads as far as asking for certain letters in my pasword but does not load the "Submit" button so I cannot continue with my purchase and have to switch to IE8 browser to purchase anything over the internet. Any clues?
    == This happened ==
    A few times a week
    == Couple of weeks ago

    Your UserAgent string in Firefox is totally messed up by another program that you installed, and Barclays doesn't know you are using Firefox 3.6.6 - it probably looks like IE 6.0 to that website.
    [http://en.wikipedia.org/wiki/User_Agent]
    type '''about:config''' in the URL bar and hit Enter
    ''If you see the warning, you can confirm that you want to access that page.''
    Filter = '''general.useragent.'''
    Right-click the preferences that are '''bold''', one line at a time, and select '''''Reset''''',
    Then restart Firefox

  • Select list with submit issue when they are referred in report region query

    I have a page with a reporting region. Same region also has 3 different list items and depending on the value selected in each item, the report is refreshed. All the 3 list items are "Select list submit with submit"
    Out of 3 items, 2 (say item2 and item3) are populated through dynamic LOV using the value in item1.
    Additionally, when I select a default "ALL" value in in item1, I ignore values in item2 and item3.
    With this background, I am a following issue:
    1. I select a value other than Default value in item1 which filters the report.
    2. Then I select some value in item2 which further shrinks the reports.
    3. Now if I go back to item1 and select the default "All" value, the report is not refreshed with the new values of item1, item2 and item3. But it still shows the report based on value of item2 that I selected in step2.
    How do I set the value of item2/item3 to null if value of item1 is default which is "All"
    Any word of advise will be a great help!
    Thanks,
    Girish

    Hi,
    Make two computations each with the computation text NULL; or
    Make one process with code like:
    BEGIN
    :P1_ITEM2 := NULL;
    :P1_ITEM3 := NULL;
    END;With the condition "Value of Item in Expression 1 = Expression 2"
    Expression 1: P1_ITEM1
    Expression 2: ALL
    (or whatever the return value of ALL is...remember that this is case sensitive)
    Mike

  • How to make email link with a button with AC2 in flash cs3?

    How to make email link with a button with AC2 in flash cs3?
    I wrote this, but it does not work:
    btn_emailinfo.on (release) {
    getURL("mailto:"[email protected]");
    }

    I am guessing you put that on a frame?
    If so, the syntax is as follows:
    btn_emailinfo.onRelease = function(){
    getURL("mailto:[email protected]");
    Though, if you are placing it directly on the button itself,
    the syntax is:
    on(release){
    getURL("mailto:[email protected]");
    }

Maybe you are looking for

  • Connect EP 6 SR1 to SAP R/3 46C.  Is ITS needed ?

    Hi, I'm trying to establish portal System connection to Sap R/3 46C. But the conncetion faild after pupulationg the fields. I saw in the "test connection" options: "SAP Web AS Connection", "ITS Connection", "Connection Test for Connectors", "Connecti

  • Fire fox wont open?

    I was on Firefox and I had to swtich a privacy setting to remember history instead of don't remember. In order to do that the site had to restart Firefox. Every since it restarted I am unable to open firefox. Ill click and the wheel will spin like it

  • Human Task output variables (I need help I'm in a dead end alley)

    Good evening to all. I have a human task, that receives this input in the input variable:      <element name="ReadWriteHumanTaskProcessRequest">           <complexType>                <sequence>                     <element name="numero" type="string

  • Mobile maps

    Hi! I need help for a school project. The idea of the project is that users can upload a map (an image), supply the necessary information (to be stored in a database), so that other users can download the map and view it on their mobile phones. Examp

  • Problem to activete my iphone in Sprint

    I´ve one problem to activate my iPhone 4S in Sprint carrier. I would like activate my iPhone in Unefon Mexico, but I´ve the problem with the activation. I wait that somebody respond this help message