Passing record group to the report...

Hi
I am using form 6i ..
I have got error while passing record group to the report
Here is the code... , I Wrote it when_button_pressed trigger
declare
     pl_id paramlist;
begin
pl_id := Get_Parameter_List('tmpdata');
     IF NOT ID_NULL(pl_id) then
          destroy_parameter_list(pl_id);
     end if;
     pl_id:=create_parameter_list('tmpdata');
ADD_PARAMETER(pl_id,'NICE_QUERY',DATA_PARAMETER,'NICE_REC' );
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
     RUN_PRODUCT(REPORTS,'E:\DEPT',SYNCHRONOUS,RUNTIME,FILESYSTEM,PL_ID);
The error is frm-47012 There is no record group with this name nice_rec......
Thanks

The error message (FRM-47012) is very specific. Do you have a Record Group defined in the Record Group Node of the Navigator called 'NICE_REC'?
Hope this helps.
Craig...
-- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!

Similar Messages

  • Passing record group (data_parameter) to reports server

    Hi Frank,
    I am using web.show_document for passing parameters to reports.
    It is working fine with text_parameter.
    Is it possible to pass record group thro' web.show_document?? If not possible,give alternate solution by example.
    Regards-
    Onkar Vidwans
    INDIA

    Hi Mandeep,
    Could you please tell me how can i pass data parameter from forms to report through run_product.

  • How to Pass Record Group to Reports Server ?

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,

    how come the online help in forms 10g says you can?
    or am I missing something.
    there is a section on it.
    >
    Passing Record Groups to Reports or Graphics
    You can pass a record group to Reports or Graphics as a DATA parameter. This DATA parameter is a special type of parameter that gives a signal to the integration code to substitute the contents of the record group whose name you give for the results of the query named by the query name you indicate.

  • How to pass record Group from Forms with DATA_PARAMETER to Reports Server

    How to pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    When we use products on run time we are using data_parameter for passing record Groups to reports via run_product but now we have to use application server and reports server for same reports.
    We met with <FRM-41214 Unable to run reports> for passing DATA_PARAMETER to reports server when used RUN_REPORTS_OBJECT.
    How can we pass record Group from Forms with DATA_PARAMETER to Reports Server using RUN_REPORT_OBJECT?
    Thanks,
    Arif

    Hi Mandeep,
    Could you please tell me how can i pass data parameter from forms to report through run_product.

  • Dynamically  populate  a  record  group  on  the  fly uisng LOV

    Hi,
    I want to create dynamically populate a record group on the fly uisng LOV.
    1. This is how the RG_BANKNAME Record Group object look like
    Object : Record Group
    Name : RG_BANKNAME
    Record Group Query : SELECT NAME, SHORT_NAME FROM C_BANKS
    2. I create the Push Button and when user click it will popup the LOV.
    DECLARE
         rg_id RecordGroup;
         errcode NUMBER;
         status BOOLEAN;
    BEGIN
         rg_id := Find_Group('RG_BANKNAME');
         IF Id_Null(rg_id) THEN
              Message('No such group: ',ACKNOWLEDGE);
              RAISE Form_Trigger_Failure;
         ELSE
              errcode :=POPULATE_GROUP(rg_id);     
              SET_LOV_PROPERTY('LV_NAME', TITLE, 'My Own LOV');
              SET_LOV_PROPERTY('LV_NAME', GROUP_NAME, rg_id);
              SET_LOV_COLUMN_PROPERTY('LV_NAME', 1 ,Title, 'NAME');
              SET_LOV_COLUMN_PROPERTY('LV_NAME', 1 ,Width, 150);     
              SET_LOV_COLUMN_PROPERTY('LV_NAME', 2 ,Title, 'SHORT NAME');
              SET_LOV_COLUMN_PROPERTY('LV_NAME', 2 ,Width, 100);     
              status := Show_LOV('LV_NAME',10,20);
              IF NOT status THEN
                   Message('You have not selected a value.');
                   Bell;
              END IF;
         END IF;
    END;
    My question is do I need to create the LOV Object name call 'LV_NAME'? since I don't have this
    create on my design times, because I thought it can be done dynamically on the fly.
    The problem is compliant that the Lov Id is not valid.
    Thanks
    David
    Edited by: user445990 on May 24, 2011 9:19 PM

    Hello,
    You request is not clear. Do you need to display the LOV or not ? In other words, what is the goal of your record group ?
    Francois

  • How to get the total record count for the report

    Hi,
    How can I get count of the total records shown in the report. When we set the report attributes, we have an option "Set Pagination from X to Y of Z"
    Does anyone know how can I get the Z value from APEX variables.
    I know we can use that query and get the count but I just want to know how we can use APEX Variables effectively.
    Thanks in advance.

    You write a loop, something like this:
    Go_block('B1');
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    First_Record;
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    Loop
      If :system.record_status in('CHANGED','INSERT') then
        -- modify the record here--
      End if;
      Exit when :System.Last_Record = 'TRUE';
      Next_Record;
    End Loop;
    First_Record;But be very careful-- If your block can fetch a large number of rows, (over 100), this loop can take a long time, and you should not use this method. The loop will continue fetching more rows from the database until all rows satisfying the query are retrieved.

  • How to group all the reports and execute like single application ?

    Hi,
    I am trying to develop some reports in Crystal Reports XIR2 , here i have Design and Preview options that is for every report i should see , how to group all the reports and execute like single application?
    any option is there to run the report
    i mean is it possible to have a home page from there have links to each report and when i click on the link corresponding report should be shown , if it is possible , How?
    Regards,
    kathyaini

    You will want to look into Crystal Reports Server, it does exactly what you describe and more:
    http://www.businessobjects.com/product/catalog/crystalreports_server/
    Download a trial of CR Server here:
    http://www.businessobjects.com/product/freetrials.asp

  • Record group in the CUSTOM.pll lib...

    Hi,
    According to the Developer's Guide (page 28-3) ...
    "You cannot use any SQL in the library. However, *you can use a record group to issue SELECT statements*, and .....".
    Is there any example, document showing this approach...????
    Note: I use EBS 11.5.10.2
    Thank you,
    Sim

    Hi ashok:
    Please check below and see its helpful:
    HOW TO DELETE OR ADD COLUMN NAMES FROM AN LOV COLUMN MAPPING [ID 1064257.6]
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10497/frm_tabular.htm
    Also please check:
    FAQ For Oracle Quality Application for Setup, Charts and Reports, and General Questons [ID 395807.1]
    Regard
    Helios

  • How to pass a value from the report to a form ( BIT OF URGENT ).

    Hi,
    I had created a "Form on a Table with Report" on the report I had remove the edit link and set one of the column feilds that functionality. Now I want to know how to pass that value that is clicked ( having hyper link ) on to the form where it runs a SQL query and then displays the reuslts on the form.
    Illustrating with an example.
    I am having these following columns on the report ( these are the results for the join statement )
    JOBNUM JOBNAME DEPTNUMBER SAL EMPNO LNAME FNAME
    In the above JOBNUM is having Hyper link as I removed the edit image.
    Now this is area I am having problem. When the user clicked on the JOBNUM then on form it should display 20 other columns( pulled from 5 other tables ) which are related to that particualr JOBNUM.
    Anybody give me a solution in which area I have to include my SQL statement and how to pass that selected value to that SQL statement.
    Cheers,
    Krishna

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • PASSING EMPTY VALUES TO THE REPORT

    Hello,
    I am having an issue with generating reports published on Crystal XI Server.
    When I do not pass any value for a parameter and try generating the report, an error is occurred which says "REPORT LINKING ERROR - There was an error in launching the viewer: empty String".
    Crystal Version 9 reports are fine even if I do not pass any value to a parameter.
    Can anyone help me out in resolving this issue?
    Thanks,
    BK.

    You may refer to the article:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/WebItrick-drillamongmultiplereports
    And you will find out the way to transfer the all value.

  • Setting the update property of the row of a records group to false IN ORACL

    hello
    i have to populate a records group with the previous records user had entered as well as enable the user to enter new record in that RECORD GROUP IN ORACLE 6I FORMS.
    I want that previous record that user had entered caN NOT BE EDIT .USER CAN SEE THESE RECORDS ONLY AND ACCORDINGLY ADD NEW RECORDS IN SAME RECORD GROUP.
    PL TELL ME HOW TO DO THIS.
    THANKS & REGARDS
    VISHAL AGRAWAL

    I also try for which u mentioned earlier but it is like selectting individual records to display in my tablular record group.
    we are using following code for fetching data and displaying it into records group and also making all fetched record disabled.
    code is given below :
    PROCEDURE fetchdata(mf char) IS
    cursor c1 is select dateofmtrl,rm1,rm2,rm3 from rawmtrl_graph
    where
    dateofmtrl between TO_DATE(TO_CHAR(ADD_MONTHS(SYSDATE, 0),'YYYYMM'),'YYYYMM') and
    TO_DATE(TO_CHAR(ADD_MONTHS(SYSDATE, + 1),'YYYYMM'),'YYYYMM') - 1 and
    mtrl_flag = mf
    order by dateofmtrl ;
    r1 c1%rowtype;
    lstrec number;
    cnt number :=1;
    BEGIN
    go_block('dtl');
         last_record;
    lstrec:=:system.cursor_record;
    for ctr in 1..lstrec
    loop
         delete_record;
    end loop;     
    first_record;
         open c1;
         loop
              fetch c1 into r1;
              exit when c1%notfound;
              if :dtl.date1 is not null then
                   next_record;
                   end if;
                   :dtl.date1:=r1.dateofmtrl;
                        :dtl.opc:=r1.rm1;
                             :dtl.ppc:=r1.rm1;
                                  :dtl.total:=r1.rm1;          
         end loop;
         close c1;
    last_record;
    lstrec:=:system.cursor_record;
    first_record;
    for ctr in 1..lstrec
    loop
    SET_record_PROPERTY(:system.cursor_record,'dtl',ENABLED,PROPERTY_FALSE);
    SET_RECORD_PROPERTY(:SYSTEM.CURSOR_RECORD, 'dtl',UPDATE_ALLOWED,PROPERTY_FALSE);
    SET_RECORD_PROPERTY(:SYSTEM.CURSOR_RECORD, 'dtl',insert_allowed,PROPERTY_FALSE)
    next_record;
    end loop;     
         first_record;
    END;
    But it is not working...
    givinng the erros that no such property for set_record_property
    pl tell me how to modify the code to disable some selected raws in a record group............

  • BI reports doesn't display all groups in the area

    Hi,
    I have a Area->Region->Center type->Center function->Sub Group hierarchy in the BI. Sub Group is not distinct and repeated across the centers. when i pick Area and Sub Group in the report,it is has to display all the Sub groups for each area. But it is not showing all the sub groups and avoiding repetitions across the areas. Any suggestion to display all the sub groups for each area.

    I found out what causing this issue. If i remove the grand total on the table view,then it is displaying all the Sub groups for each area.But we need grand total,any suggestion how to make it work with grand total.

  • Pass query to the report through form

    Hello everybody...
    I m using forms and reports 6i.
    I create query through form depends on user selection.
    Means user select specified columns from specific table. And finally i create complete query.
    Now i wanna pass that query to report builder and wants to generate automatic report depends on that query.
    Can anybody have idea how to do this?
    How to pass query from form and generate report.
    If any1 knows then please help me

    You should pass all columns but with separator character i.e.:
    supl_cd||';'|| supl_name ||';' city ||';'|| add1 ||';'|| add2 ||';'|| pincode ||';'|| country my_column
    You should also pass column names if you want and get them back using the same procedure.
    Procedure for retrieving should use instr,loop and srw.do_sql, if you don't know what is SRW built in package, then take a look in report's help. That's a pity that there is nothing similar in forms. You can use dynamic select to pass values exactly to the report's variables:
    for i in 1..10 loop
    srw.do_sql('select '||i||' into :cp_'||i||' from dual');
    end loop;
    Jakub Flejmer

  • Error when running the report

    hello,
    i am running a report, which has three parameters begin date, end date and dept full name.
    for example when i am running the report with following parameter's works fine they are 01/01/2002, 02/02/2002 and dept name is Animal Control.
    but when i am running the report with the following parameters its giving problem i.e.
    01/01/2002, 02/02/2002 and dept name is Mayor's office its not running the report says command line syntax error rep-0159.
    in the database the dept name is Like Mayor's office.
    i dont know how to convert the apostrophe to a string or what ever, to get the report.
    this is production problem.
    please do help me out.
    thanks.

    Hello!
    I guess you are running your report using rwrun60.exe, probably in batch mode.
    In such cases string parameter with single quote inside of it should be passed in a such way: rwrun60 ... paramname3='Mayor''s office' ...
    In Reports 6.0.8.11.3 it works fine.
    No problems at all if you are calling report from the Forms using run_product built-in and passing prameter list into the report.
    Regards,
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000
    http://www.brainbench.com

  • How to subscribe the report into one excel multiple sheets in ssrs

    Hi Team,
    I have a requirement where i pull my report in one excel with multiple sheets,
    1.I have a Emp_Report where i could subscribe my report into excel format,but here i want to subscribe this into multiple sheets in one excel form.
    2.Is it possible to subscribe the two reports in one excel with mulitiple sheets.i need this also.
    please guide me hw we can achive me ,so that i can start working on that .
    am using sql server 2008R2 sql server edition.
    pls help me out for this

    Hi Ychinnari,
    According to your description, you want to perform subscription for one report or two reports into multiple sheets within a Excel file.
    In Reporting Services, when we add a page break within the report, those pages will be exported into separated sheets in Excel.
    For first requirement, subscribe one report into multiple sheets in one Excel file. We can add a page break within a group, then the report will display on multiple sheets when subscribe into Excel format.
    For second requirement, subscribe one report into multiple sheets in one Excel file. You can add one report as a subreport into the main report, then add pagebreak between main report and subreport.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

Maybe you are looking for

  • Unable to open.File type not supported.

    Hi., I'm geting error while opening any files in my meory card & even sometimes im getting disk error.could someone help me on fix this issue. Nokia C6-00 Software Version : V 20.0.042

  • How can I add iCloud to mail without it choosing mobile me?

    How can I add iCloud account to mail without it choosing mobile me?

  • Other party can't head me speak; Apple won't fix. What to do?

    A few weeks ago my IPhone 4 started showing problems during phone conversations. People can't hear me speak, but I can hear them without problems. It doesn't matter if I'm using the internal microphone ornament Bluetooth headset. Rebooting/restoring/

  • Display my report instead of standard report

    Hi, How can I display my smartform report for PO in PO transaction. Currently it shows standard report. Also, please tell me how to develop PDF report for PO and display that in PO transaction. Plz help. Regards, Sriram

  • IDOC Posting Errors

    Hi All, I have written an IDOC program with IDOC type BOMORD01 and Message type BOMORD. After running the program i am getting the following statuses. 69 -  Custom segments added        69 - Segment cannot be identified 56 - /QSACLNT210/LS//BOMORD///