Select Checked interactiv report

Hallo,
i want to use checkbox in a interactiv report and want to save
the selected rows in a textarea.
There is a sample hier:
http://htmldb.oracle.com/pls/otn/f?p=31517:95:1334818268761982::NO
But in the sample there was used a Tabular form and I use a interactiv Report
and it doesen´t work with the interactiv report.
If i select some rows and press butten "pick records" the Textarea get
no value, it is empty.
Could anybody help me.
Thanks.

Hi,
I'm using checkboxes in IR and didn't have any problem with that. If you attached checkbox into statement (apex_item.checkbox (1, a.ID)) then you just need button and process.
That is my process:
It delete only selected checkbox users...
DECLARE
v_count NUMBER;
BEGIN
v_count := NULL;
FOR i IN 1 .. apex_application.g_f01.COUNT
LOOP
SELECT COUNT (*)
INTO v_count
FROM users
WHERE userid = :app_user AND ID = apex_application.g_f01 (i);
IF (v_count = 0)
THEN
DELETE FROM users
WHERE ID = apex_application.g_f01 (i);
COMMIT;
DELETE FROM privs
WHERE user_id = apex_application.g_f01 (i);
COMMIT;
:p16_msg := 'User delated.';
ELSE
:p16_msg :=
'Operation failed.';
END IF;
END LOOP;
END;
As you see it simple but depond what you really need..
Thx

Similar Messages

  • How to Check the report is Finished while calling a report from Forms 6i

    Dear All,
    I am Calling a report from oracle forms 6i, after runing report in " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"
    I need to copy the pdf to store it in another place once the report is generated.
    My Problem is : that i want ot Check first the report has generated after " Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);" is executed ? How to check the report is generated ot not?
    As i tried to use the below procedure after "Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);"" but his does not work... nothing happens
    {code}
    PROCEDURE FPC_COPY_REPORT (p_report_name varchar2) IS
         repid REPORT_OBJECT;
         v_rep VARCHAR2(100);
         rep_status varchar2(20);
         lv_id varchar2(1000);
    BEGIN
    repid := find_report_object('AMTP_995.RDF');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
         if rep_status = 'FINISHED' then
         message('Report Completed'); message('Report Completed');
         else
              message('Error when running report.');           message('Error when running report.');
         end if;
    END;
    {code}
    Any Help

    actually My code is this:
    declare
         ln_alert          number;
         pl_id               ParamList;
         lv_report_name varchar2(10000);
         lv_path  varchar2 (100) := 'C:\';
         lv_shared_path  varchar2(1000);
         lv_copy_file varchar2(10000);
      cursor cr_dir_path IS
      select v_dir_path
      from md_directory
      where v_dir_code ='SHR';
      lv_file_name varchar2(1000);
    BEGIN
      open cr_dir_path;
      fetch cr_dir_path into lv_shared_path;
      close cr_dir_path;
    lv_report_name :=  lv_path||:fn_cntl.nb_ref_no||'_M08600000_'||to_char(sysdate,'YYYYMMDD-HHmmss')||'.pdf';
      if ffn_check_fields  THEN
         pl_id := Get_Parameter_List('LAI');
             IF NOT Id_Null(pl_id) THEN
                 Destroy_Parameter_List( pl_id );
              END IF;             
              pl_id := Create_Parameter_List('LAI');
           if :fn_cntl.nb_report_name ='MMAT_REPORT'
                then
                     if :fn_cntl.nb_report_desc ='EXPORT'
                          then
                         Add_Parameter(pl_id, 'PARAMFORM',TEXT_PARAMETER, 'NO');
             Add_Parameter(pl_id, 'DESTYPE',  TEXT_PARAMETER,'File');
            Add_Parameter(pl_id, 'DESNAME',  TEXT_PARAMETER, lv_report_name);
            Add_Parameter(pl_id, 'DESFORMAT',TEXT_PARAMETER,'PDF');
            Add_Parameter(pl_id, 'p_mat_no',TEXT_PARAMETER, :fn_cntl.nb_mat_no);   
            Add_Parameter(pl_id, 'p_ref_no',     TEXT_PARAMETER, :fn_cntl.nb_ref_no);
            Add_Parameter(pl_id, 'p_verified_by',TEXT_PARAMETER, user);
                     Run_Product(REPORTS,:fn_cntl.nb_report_name,ASYNCHRONOUS, RUNTIME, FILESYSTEM,pl_id, NULL);
          DECLARE     
               repid REPORT_OBJECT;     v_rep VARCHAR2(100);     rep_status varchar2(20);BEGIN
                         /* REP_OBJ= REPORT OBJECT CREATED UNDER REPORT NODE AT FORM */
             repid := find_report_object('MMAT_REPORT');      v_rep := RUN_REPORT_OBJECT(repid);
                        rep_status := REPORT_OBJECT_STATUS(v_rep);          
          if rep_status = 'FINISHED' then
              message('Report Completed');          message('Report Completed');
             --copy_report_object_output(v_rep,'c:\local.pdf');
             -- host('netscape c:\tlocal.pdf');     
         else          message('Error when running report.');
                                          message('Error when running report.');     
         end if;
                 END;
         end if;
      end if;
           if :fn_cntl.nb_report_desc ='EXPORT'
                then
                  error_handler('This report will be Storde in ' ||lv_report_name||' and '||lv_shared_path|| ' Location',3);
                     lv_copy_file :='copy '||' "'||lv_report_name||'" "'||lv_shared_path||'"';
                     host(lv_copy_file,no_screen);
                  error_handler('Report Has been Generated Sucessfully.',3);
           end if;
        end if;
    END;I will try first the another solution you have replied perviously... and will let you no the results... thanks a lot...

  • Creating Selection screen in Report Painter

    Good day everyone,
      Does anyone know how I could create a selection screen in Report Writer? Thanks!
    >Christian<

    Hi,
    Simple Parameters  or Selec-options statements will suffice.
    Eg : Parameters : p_matnr type mara-matnr.
           select-options : s_matnr for mara-matnr.
    In selection screen, you may have selec-options, parameters, check boxes, radio buttons etc.
    Regards,
    Sujatha.

  • Adhoc Query : Error during selection; check the selection conditions

    Hi
    We have a report set-up and which we want to run using our adhoc query report tcode S_PH0_48000513
    The report, has a few different selection criteria in it to look at all action IT screen data in the system for ee's in specific personnel areas. There is also a criteria to allow us to paste in specific employee numbers we are interested in. The issue I am facing is that over about 3000 ids, the system automatically returns me a message when I click on the Output button to run the report which states:
    Error during selection; check the selection conditions
    Message no. PAIS206
    I am not sure why this is happening. The selection criteria are fine and the other day I ran the report and I experienced no issues. The report ran successfully. Now though, if I try and paste in all the ids I am interested in (about 8000) I get this message straightaway.
    Can anything be done to overcome this issue?
    Any advice would be much appreciated.
    Nicola

    Hi
    The message in full is:
    Error during selection; check the selection conditions
    Message no. PAIS206
    Diagnosis
    A runtime error occurred during dynamic selection.
    System response
    The runtime error will be caught; no short dump will be created. This error should not occur as a rule. However, very large select statements may trigger the runtime error SAPSQL_STMNT_TOO_LARGE or DBIF_RSQL_INVALID_RSQL. There is no way to prevent this happening. In this case, the error can only be caught.
    Procedure
    Check the selection conditions to see whether the error was caused because the option "Import from text file" included too many objects in the "Multiple selection" dialog. If this is so, you must limit the number of individual values.

  • Check print report PaymentAmountText field gets spaces while using RPAD Fn

    Hi,
    In the check print report we are using the PaymentAmountText field to print the amount in text.
    After printing the remaining spaces should be filled with '*'
    I used the below command
    <?xdofx:rpad(PaymentAmountText,100,'*')?>
    But the output is as follows:
    Twenty-Five       Pounds    And      Fifty     Pence
    Only***********************************************
    There is a huge space between two words.
    So please suggest some ideas to remove the space between two words.

    There is a huge space between two words.
    So please suggest some ideas to remove the space between two words.
    you can use normalize-space(tag_name) like
    Result - <xsl:value-of select="normalize-space('Initial     werwe rrr r     r')"/>
    and result as
    Result - Initial werwe rrr r r
    also look at Re: Problem with Rpadding in RTF

  • Check Registry Report

    Experts,
               Hi all, I have a client who is wanting to run a check registry report and wants to use the print date or creation date. If you have any suggestions please let me know. Thanks!
    Jeff Haldeman
    Support One

    Hi Jeff,
    If you want to customize system query, you can catch it by profiler.
    Open SQL Server Management Studio.
    From Menu select Tools -> SQL Server Profiler
    Create a New Trace by selecting File -> New Trace
    Then click on the report in SAP B1. By the SQL Trace, you can find out the System Query in the Trace Window.
    Thanks,
    Gordon

  • AP:selected payment schedules report "Credit reduces payment amount  below

    Hi all:
    I have a PPR reject one Debit memo with reason "Credit reduces payment amount below zero" at first and shows out in report "selected payment schedules report" as Unselected Scheduled Payments.
    PPR Pay through date: 28-Nov-2011
    Issued Debit Memo date: 28-Oct-2011.
    But when change the Pay through date of PPR to 28-Nov-2012.
    Then this issued Debit Memo can be selected and processed.
    Any idea about this issue?
    Your reply will be very appreciated.
    Thank you
    Beryl
    Edited by: user10937857 on Dec 13, 2011 1:40 AM
    Edited by: user10937857 on Dec 13, 2011 7:01 PM

    Hi:
    Thank you for your kindly reply.
    I have already checked these 3 notes. for the setup one, customer has checked ,the setup is correct.
    For the other patch solution notes.
    If this issue is a bug issue, then why when they extend the PPR Pay through date to next year, then this Credit memo can be selected and processed?
    Confusing.
    Any idea about this?
    Thank you very much

  • Display the Customer/Vendor Name in the Check Register Report

    Just would like to ask if its possible to display the Customer/Vendor Name in the Check Register Report? The format simply have the Customer/Vendor Code on the said report.  Is there a work around on this?
    Thanks...

    Llowen,
    You may develop a Query like this
    SELECT T0.CheckNum, T0.PmntNum, T0.VendorCode, T0.VendorName,  T0.TaxDate, T0.CreateDate, T0.PrnConfrm, T0.CHECKSUM FROM OCHO T0
    WHERE T0.Canceled = 'N' AND (T0.CheckDate BETWEEN  '[[%0]]' AND '[[%1]]') OR (T0.CheckNum BETWEEN '[[%2]]' AND '[[%3]]')
    Suda

  • AT SELECTION-SCREEN stops report

    Hello,
    I run a report using the AT SELECTION-SCREEN stmt.
    Below AT SELECTION-SCREEN is an IF ... ELSE block. Within that block the report checks, whether the user input (made in a SELECT-OPTIONS) complies some requirements.
    I check for example, if that what the user types in matches a defined string...
    But if i use an AT SELECTION-SCREEN, the report does not continue after execution after that!
    It returns to the selction screen...
    How can I achieve, that the report continues with execution...?
    Thx,
    holger

    Hi Holger,
    1. This is the default behaviour.
    2. For report purpose execution,
       the event is
       START-OF-SELECTION ( and not at selection-screen)
    3. However u CAN ACHIEVE this by :
       after all validations , use the syntax
       LEAVE TO LIST-PROCESSING.
    4.  I tried the same at my end,
       its working fine.
    5. However, if u use step 3,
       there will be a problem :
       after the execution of report,
      it wil get HANG. ie. it won't then
      get back using the toolbar buttons.
      U may try it for yourself.
    6. Bottom line is:
       use
      START-OF-SELECTION (FOR FINAL EXECUTION OF THE REPORT)
    Regards,
    Amit M.
    Message was edited by: Amit Mittal

  • Selection inputs in report designer

    Hello Friends,
    Need some help .
    I am currently working on BI7 and there is one requierment for Report Designer.
    Actaully user is looking for the selection creteria after execution of the report like
    I have executed the report designer application with the company code 5060 ,
    then I should be able to the see the selection creteria , where as I am able to see the data.
    In this case ,I am able to see the data but could not guess that what was the my selection creterai like we get in Bex Query or in Bex Anaylyzer.
    So please let me know how can we check the selection input which we have given or how can we display selection input in Report designer ?
    Is there any specific settion , please advice .
    Thanks in advance.
    Regards

    Hi,
    all the values in a selection screen are variables, and in the report designer is't possible to add the variables of a query, so I think it must be possible to add your selection.
    But this is only possible if you first execute the report to the web and not directly to PDF...
    First add a report section with different rows and columns, and then drag and drop the variables...
    Greatz
    Joke

  • Dynamic selection button on report RCATS_APPROVE_ACTIVITIES

    Hi,
    I made a copy of the program RCATS_APPROVE_ACTIVITIES with all its components, and the dynamic selection button on the selection screen doesn't work like the standard.
    In my researches, I found that the dynamic selection that the standard program uses is associated to the logical database 'PNP', but the logical database that the programs uses is 'PNPCE', and that's the dynamic selection that my program copy is showing.
    Does any one have an idea how this happens and how to solve?
    Thanks.
    Sónia

    Hi Sonia,
    You program is using dynamic selection screen which actually is the selection screen of your logical database. You can see that thru tcode SE36-> PNP->click on selection check box. You will see the code of selection screen. This selection screen is called in standard program and since you have copied the standard program, your program is also showing the same selection screen. LDB can be called in standard program thru Function module LDB_PROCESS.
    In case you want to remove some of the selection screen fields of LDB from your report, you can do so in the
    'at selection-screen output' event by looping at the selection screen variables and stopping unwanted fields from display.
    You need to check the group name and the field name of the fields you want to disable and use it in the below code accordingly.
    e.g.
    at selection-screen output.
    loop at screen.
    if screen-group2 = 'DBS'.
          screen-active    = 0.
          screen-invisible = 1.
    endif.
    modify screen.
    endloop.
    Cheers,
    Vikram
    Please reward for the helpful replies!!

  • Multiple selection in interactive reports

    hi,
    how can we do multiple selection in interactive reports using check box?
    my first list will have a list of account numbers along with the check box. if few check boxes are clicked then the other fields from the table for the checked account numbers . kindly help me with this.

    Hi,
    REPORT zbcd .
    data : BEGIN OF ITAB OCCURS 0,
            VAR1(4) TYPE C,
            VAR2(4) TYPE c,
           END OF ITAB,
           LINE1 TYPE I,
           VAR3(4) TYPE C,
           VAR4(4) TYPE C,
           FLAG TYPE C,
           CURRENT TYPE I.
    data : BEGIN OF WA OCCURS 0,
           XYZ(100) TYPE C,
           END OF WA.
    MOVE: '1234' TO ITAB-VAR1,
          'ABCD' TO ITAB-VAR2.
    APPEND ITAB.
    MOVE: '5678' TO ITAB-VAR1,
          'EFGH' TO ITAB-VAR2.
    APPEND ITAB.
    MOVE: '9999' TO ITAB-VAR1,
          'IJKL' TO ITAB-VAR2.
    APPEND ITAB.
    SET PF-STATUS 'BUTTONS'.
    *HERE PF-STATUS CONSIST OF PUSHBUTTON WITH USERCOMNAD 'DISP'.
    LOOP AT ITAB.
    WRITE: / FLAG AS CHECKBOX, ITAB-VAR1, ITAB-VAR2.
    ENDLOOP.
    DESCRIBE TABLE ITAB LINES LINE1.
    REFRESH ITAB.
    CLEAR ITAB.
    CURRENT = 0.
    CLEAR: VAR3, VAR4.
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'DISP'.
    DO LINE1 TIMES.
    CURRENT = SY-INDEX + 2.
    READ LINE CURRENT LINE VALUE INTO wa.
    IF wa-XYZ(1) EQ 'X'.
      WRITE: wa-XYZ+2(4) TO VAR3,
             wa-XYZ+7(4) TO VAR4.
      WRITE: VAR3 TO ITAB-VAR1,
             VAR4 TO ITAB-VAR2.
      APPEND ITAB.
    ENDIF.
    ENDDO.
    ENDCASE.
    THEN U SECONDARY LIST VALUE SELECTION TAKES PLACE
    SELECT * FROM MARA INTO TABLE ITMARA FOR ALL ENTRIES IN ITAB WHERE MATNR = ITAB-MATNR.
    LOOP AT ITMARA.
    WRITE:-----FIELDS TO BE DISPLAY IN OTHER LIST...
    ENDLOOP.
    *NOTE :-1.PLEASE EXECUTE ABOVE PROGRAM WITH OUT CHANGES IN DEBUG MODE TO CLEARLY UNDERSTAND. 
    2.ALSO U CAN MOVE ABOVE ITAB REQUIRED FIELD VALUES INTO ONE OF INTERNAL TABLE(BY LOOPING) WHICH IS LIKE SELECTOPTIONS MARA-MATNR(ie TB_MATNR) AND USE*
    (AND INSTEAD OF VAR1 AND VAR3 U CAN PLACE THE MATNR)
    SELECT * FROM MARA INTO TABLE ITMARA WHERE MATNR IN TB_MATNR.*
    Edited by: Vijay Mekala on Feb 1, 2008 5:16 PM

  • Check Links reports orphan files that do exist

    With CS3 9, I ran a Check Links for Entire Current Local Site
    and it is reporting orphaned files that are definitely being linked
    to. The problem is demonstrated by a SWF with 5 thumbnail images,
    each linking to a .htm file. All 5 .htm files are in the same
    folder, same URL aside from the filename and the SWF works fine...
    but Check Links reports that 3 of the 5 .htm files are orphans. Has
    anyone seen this problem? Any suggestions?

    > I'm not sure what you mean by search sitewide to find
    each filename.
    > There are
    > many files that are only linked to from within SWFs
    Ugh. I can't imagine....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "pixsoft" <[email protected]> wrote in
    message
    news:gi13sp$psn$[email protected]..
    > I'm not sure what you mean by search sitewide to find
    each filename.
    > There are
    > many files that are only linked to from within SWFs. I
    sent Adobe an
    > example
    > with 2 SWF that each contain 5 links to existing files.
    If you select one
    > file
    > and Check links > Selected files, it reports 5 All
    links, 5 OK. With the
    > other
    > files it reports 2 All links, 2 OK... so the 3 "missing"
    links result in 3
    > orphaned files when you do a Check Links Sitewide. The
    files are not
    > orphaned
    > and should not be deleted. It reports almost 300
    orphaned files but there
    > is
    > no way to tell which are really orphaned except by
    deleting files one at a
    > time, running the SWF and testing each link to see if it
    has been broken,
    > then
    > restoring the file if it was required...
    >
    > I'm sure that I sent this bug report to Adobe over a
    year ago and never
    > heard
    > anything. It could be that some SWF reference links in a
    way that DW
    > can't
    > see, but they all use the same approach as far as I
    know.
    >

  • HTML links from Full Check Accessibility report do not open the corresponding PDF links

    I regularly generate full Check accessibility reports for the PDF user guides I create in MSWord. However, when I click the links in the HTML file/report generated, they are supposed to link/highlight the corresponding errors in the PDf file. Instead, I get an error message that "There was an error opening this document. Bad parameters."
    How can I get the links to work so I know which section in my PDF has the error (inaccessible items).
    Thanks

    I understand you are creating HTML reports and then using them to find errors/view the PDFs. 
    Is this a new problem or  have you always had problems with the links?  If it's a new problem, what has changed on your system?
    Can you view other PDFs in your browser? 
    Have you moved any of the files since you created the report -- as you may know the HTML report references a specific lcoation on your hard drive and if you moved the PDF after creating the report, it may not be able to find the file.

  • Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer

    I have connected TABULAR Model to Excel, and in the pivot the filter is on multiple dimensions. When doing the drillthrough action it gives error - Error: Show Details cannot be executed when multiple items are selected in a report filter field or in a slicer
    Is there any workaround to this error?  so that drillthrough can be done even with multiple selection.

    Hi Vikas,
    The reason behind the error message requires the knowledge on what happens at the backend. When you perform a drill-through action, a query is sent to Analysis Services. This query is expressed in a query language called Multi-Dimensional Expression (MDX).
    Since the MDX language doesnot support drill-through command against a set (collection of tuples) an error is persisted. 
    For now, there is no workaround as it is a limitation of the underlying language that is generating the query.
    When multiple items are selected you lose the ability to drill-down on individual metrics. To resolve you must either:
    1. Select a single Item.
    2. Select all items.
    Hope this helps!
    Please mark as Answer if this helps! Thanks, Rajasekhar.

Maybe you are looking for

  • IPad Wi-Fi + 3G is connected to Wi-Fi 3G turned off can't connect.

    I have the original iPad and have owned it for quite a while. This seem to have started within the last few weeks. It may have something to do with the upgrade to 4.3.1, I don't know. But I have been told by AT&T twice now in about three weeks that I

  • How to restrict header text changes in sales order level

    Dear Experts, how to restrict header text changes in sales order level change mode thanks

  • Speed measurement with PCI6601

    I am building an application for measuring two linear encoders ( micrometers ) and one quadrature encoder for measuring speed of one motor. At the moment I can read the two linear encoders with the "position measurement" option for the PCI6601. But I

  • Kensington Security Locks don't Fit into Kensington Security Slot

    Hello all, I'm just about to go back to college and I have this new MBP. Considering my dorm is in an uptown manhattan brownstone, I'm kinda worried about my MBP's security. So I decided to use a cable lock as a mild theft deterrent when I leave to s

  • Help: JSP Error

    Hi ! Can anyone help to describe the problem: I have .jsp page that connects to Oracle DB and selects some data from it. (DB NLS_LANG = win1251, client charset=win1251). Some times (I dont find any dependences) I receive the following: Exception: jav