Integrating reports into form builder

When I created a form menu to display different reports, (and set the destination type to screen) I thought I was flying. After getting all my reports to be displayed in runtime, I then tried to set the destination type to printer, I set the destination name to the correct printer path, compiled successfully... Then hit a snag.
The following error is displayed in runtime:
'FRM-40378 Argument1 to builtin REPORT_OBJECT_STATUS cannot be null'
I assume it is refering to my button's triger code that displays the report:
DECLARE
repid REPORT_OBJECT;
v_rep varchar2(100);
rep_status varchar2(20);
BEGIN
repid := FIND_REPORT_OBJECT('MODULE1Q');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
if rep_status = 'FINISHED' then
Message('Report Completed');
copy_report_object_output(v_rep,'d:\DELOPEMENT\MODULE1Q.rdf');
--host('netscape d:\DELOPEMENT\MENU.rdf');
else
message('Error when running report.');
end if;
END;
Oh well, getting closer every time. Any ideas anyone?
Kind Regards
Richard Clayton

Hello,
Do you use the RBE or the reports server ?
If you use the RBE, check in the RBE Log if there is any error message .
(Menu Actions / Show log)
If you use a reports server, you can add a line:
logoption = alljob
in the <repservername>.ora file and check in the <repservername>.log file
Regars

Similar Messages

  • Embedding Crystal report in Form builder

    Hi,
    I want to call Crystal report 8.5 rpt files from my form builder application(6i)
    using activex component.
    But i don't know how to set properties programatically.
    Could any one can tell me were i could found this document.
    pls help me to sove this problem.
    Regards
    Seema Shah

    Hi !!
    I had this problem two weeks ago and i couldn't resolve it .
    So I will give U the solution :
    U must use Visual Basic.
    Indeed u need VB to call an ocx object correctelly.
    In forms u must create a document .ini that pass in parameter the dsn connection of ur forms, the sql clause, and the reportfilename.
    If U want I can give U the utility creata in VB, and all the councils for u to manage using Crystal reports.
    So mail me at [email protected] for more details.
    Best regards
    Vincent

  • Run report thru form builder

    hi
    I have a table
    EMP(empname varchar2(30),
    empno varchar2(20),
    add1 varchar2(60),
    add2 varchar2(60),
    sal number(10,2),
    comm number(10,2)
    i want create a report and
    parameter form and run it thru form builder
    can it possible i select column name in parameter as a list and report
    show data only these column
    if any solution plz help me
    with thanx

    I think you can achieve this as follows:
    set up a new parameter, say P_FIELD, with initial value of empname
    in your data model have an sql something like
    Select
    P_FIELD as field1 from EMP
    pass the column name to P_FIELD and the report will return that column

  • Get back old values into Form Building Application

    I have a database trigger that raised an error message when a record is no allowed to change/update. I would like to know how I go back to the old values and reflect these into my application.
    I use Oracle Forms Building Version 9.0.2.10.1 (Production) under Window XP system. Below is the database trigger code:
    CREATE OR REPLACE TRIGGER "DBDSCHM".AAPT_REVIEWS_BUR
    BEFORE UPDATE ON AAPT_REVIEWS
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    DECLARE
    Aaap_approved          EXCEPTION;
    BEGIN
    IF (Aapfn_List_Items_Desc(:OLD.AREV_STATUS) = 'APPROVED' AND
    :OLD.AREV_CREATED_BY = 'AAPTRF' AND
                   :OLD.AREV_MODIFIED_BY = 'AAPTRF') THEN
    RAISE Aaap_approved;
    END IF;
    EXCEPTION
    WHEN Aaap_approved     THEN                                                            RAISE_APPLICATION_ERROR(40509,'This Review cannot be modified. '||
         'AAP Approved prior to Conversion');
    END aapt_review_bur;
    SHOW ERROR

    Thanks John, but the proposed of this trigger is to prevent any user to update the records that were loader prior to the Data Loader. That is the reason that this trigger has a condition to compare the old value with the new value. Please, see the syntaxes below:
    CREATE OR REPLACE TRIGGER "DBDSCHM".AAPT_REVIEWS_BUR
    BEFORE UPDATE ON AAPT_REVIEWS
    REFERENCING OLD AS OLD NEW AS NEW
    FOR EACH ROW
    /* This trigger prevents to modify any AAP review */
    /* that was already approved PRIOR TO THE Conversion.*/
    BEGIN
    IF (Aapfn_List_Items_Desc(:OLD.AREV_STATUS) = 'APPROVED' AND
    (:OLD.AREV_CREATED_BY = 'AAPTRF') AND (:OLD.AREV_MODIFIED_BY = 'AAPTRF')) THEN
    RAISE_APPLICATION_ERROR(-20090,'This Review cannot be modified. AAP Approved prior to Conversion');
    END IF;
    END aapt_review_bur;
    What I really want is that when the above trigger fire and the user receive the raise application message meaning that the user could not updated the record. But the wrong value still show on the form and it will keep getting this error until you put back the previous value. What I really want is to be able to raise the application error and to show back any values that were tried to modify.

  • Enclosing a report into form on the web

    Hi all
    How can i enclose a report into my form ? I'm useing form 6i (web)
    Thanks

    Hi,
    see
    http://otn.oracle.com/products/forms/pdf/277282.pdf
    and
    http://otn.oracle.com/products/forms/files/frm6iReports6iWebShowDocument.zip
    Frank

  • Run report 9i from form builder 9i

    Dear all,
    I build report from report builder 9i.
    How to run this report in form builder 9i.
    Best regards,
    Jansen Hutagalung.

    Jansen,
    I really like short questions, but yours missing the point. What do you mean by running Reports from Forms builder? Do you mean how to run it from a Forms application started from Forms builder? There is a Whitepaper in teh collateral section of otn.oracle.com/products/forms that immediately makes you an expert in Forms/Reports integration
    Frank

  • Forms Builder - form not pulling the data from the DB into the datablock

    I'm working on a school project, and I'm not sure if I'm doing something wrong, or if something is wrong with my setup.
    I created a basic form, 3 fields, and ID, firstname and lastname
    the wizard connected fine, pulled the three fields into forms builder
    I setup a canvas - type content with the a form format layout of the three fields.
    saved the form.
    When I run the form and it's displayed, nothing gets pulled into the fields (all blank).
    Shouldn't it pull at least the first row from the table?
    it says it's on record 1/1
    XP, Oracle 10g, Form builder 10.1.2,
    I'm not getting any errors
    I want to get this basic form working first, before I start adding to it, and it doesn't seem to want to cooperate.
    I've done the same steps as in the tutorials....

    I did find that, if I put data in the ID, first and lastname on the form, and click Execute & Save on the Menu, it does add it to the database.
    Maybe what I'm missing, is how do I get the form to read from the database when it starts up?

  • Desname parameter works fine in Report builder but fails in Forms builder

    Hi,
    I need some help with my current task. Here is my problem.
    I am working on Oracle 10g. My reports and Forms builder version is 10.1.2.3.0.
    My objective is to use Forms builder to call a report which will direct the output directly to the printer without preview.
    First , in report builder , I use the Parameter Form builder and set Report parameter DESTYPE = PRINTER and the DESNAME automatically changes to PCL6 ( which is the network printer name I am using).
    When I run the report , the output is directed to the printer and it works just fine.
    But in Forms builder , when I call the same report, set the DESTYPE as Printer and DESNAME as 'PCL6' , it gives an error Invalid printer name 'PCL6' specified by parameter DESNAME.
    I tried searching in this forum, it says the error is due to an invalid printer name specified in the DESNAME. But if my printer name is invalid, I wonder how the same printer name works well in Report builder?
    My coding in Forms as below :
    SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESTYPE,PRINTER);
    SET_REPORT_OBJECT_PROPERTY( repid, REPORT_DESNAME,'PCL6');
    Appreciate if anyone can help. Thanks
    Regards
    Shiva

    Hi Puppethead,
    I have tried with your suggestions.
    the following condition -- did not work
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(:manager name, 'ALL', '%', NULL)))
    but for the other condition ---
    ( (mgr_name = :manager name)
    OR (mgr_name LIKE DECODE(nvl(:manager name, 'ALL'), 'ALL', '%', NULL)))
    is wrong because, :manager name cud be null, when it is null, it takes 'ALL' i.e. '%' which shud not be the case.
    if the user enters null, it has to display records with null only but with the above condition it takes '%'
    The main issue which i dont understand is, the report works fine for the first time. for the second time, the report takes null values . why is it taking null values for the second time.
    Thanks

  • Printing a report from Forms 9i

    Hi all
    I have to print a report from Forms 9i, but I can't do it directly, I have to execute it with desname = preview and then I can print it.
    I use the following sintax
    RUN_REPORT_OBJECT_PROC(repid, v_server_name,'pdf',printer,v_path,v_report,'paramform=no'|| other parameter....,v_servlet)
    where v_path is the name of the printer and run_report_object is a procedure to execute reports into forms
    I try to set v_path with the printer name on my client and on the server.. but it doesn't find it...
    Please help me,
    Thanks in advance
    Antonio

    Hi all
    have any one some information about ORARPP (Oracle Reports Remote Printing) ???
    I should print directly, my desname should be a printer.... could any one help me???
    Thanks in advance for your support...
    Antonio

  • Can I insert into a form build in FORMSCENTRAL, a Formula with the numerical data that are updated by a given formula, like in Excel?

    Can I insert into a form build in FORMSCENTRAL, a Formula with the numerical data that are updated by a given formula, like in Excel?

    Hello danna,
    please have a look there as a first step: http://helpx.adobe.com/acrobat-com/formscentral/topics.html  >>> Formula syntax for built-in functions  >>> http://helpx.adobe.com/acrobat-com/formscentral/help/formula-syntax-built-in-functions.htm l
    Hans-Günter

  • Path to XML form builder reports in Portal

    Hi Experts,
    I am facing one issue. We have few XML forms builder screens in Portal.
    Those were appearing fine but now one of them is not appearing properly.
    Please let me know under KM , where these reports are stored so that I can check whether these reports.

    Srini,
    The XML forms are under etc-xml forms.
    However, if the forms are not appearing properly, you would have to open it in XML forms builder and check.
    Assign yourself the Content Management role. Check this wiki for more details.
    http://wiki.sdn.sap.com/wiki/display/KMC/XMLFormBuilderinEP7.0
    Regards,
    Sandeep Tudumu
    Edited by: Sandeep Tudumu on Jun 14, 2010 10:16 PM
    Edited by: Sandeep Tudumu on Jun 14, 2010 10:17 PM

  • Problem in Insertion into table through After Report Parameter form trigger

    Hi All,
    I am getting problem in inserting some data into temp table through Report.
    My requirement is like that, I have to do a calculation based on user parameters, and then insert the data into the temp table. I wanted to do this into After Report Parameter form trigger function. I have done all the calculation and wrote all the insert statement in that function. There is no problem in compilation. then I am taking value from this temp table in my formula columns.
    When I run this report, it hangs, don't understand what is the problem.Can anybody help me out in this.
    Thanks,
    Nidhi

    The code is as follows:
    function AfterPForm return boolean is
    CURSOR CUR_RECEIPT(RECEIPT_NUM_FROM NUMBER, RECEIPT_NUM_TO NUMBER) IS
    SELECT DISTINCT receipt, item_no FROM xxeeg.xxeeg_1229_sp_putaway WHERE RECEIPT BETWEEN
    RECEIPT_NUM_FROM AND RECEIPT_NUM_TO ;
    V_CUR_RECEIPT CUR_RECEIPT%ROWTYPE;
    begin
    OPEN CUR_RECEIPT(:RECEIPT_NUM_FROM, :RECEIPT_NUM_TO);
    FETCH CUR_RECEIPT
    INTO V_CUR_RECEIPT;
    LOOP
    EXIT WHEN CUR_RECEIPT%NOTFOUND;
    IF V_CUR_RECEIPT.ITEM_NO = 'TEST1' AND V_CUR_RECEIPT.RECEIPT = '12' THEN
    INSERT INTO SP_TEMP
    (RECEIPT, ITEM_NO, LOCATION1)
    VALUES
    (V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
    UPDATE SP_TEMP
    SET LOCATION2 = 12
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION3 = 13
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION4 = 14
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    ELSE
    IF V_CUR_RECEIPT.ITEM_NO = 'TEST2' AND V_CUR_RECEIPT.RECEIPT = '12' THEN
    INSERT INTO SP_TEMP
    (RECEIPT, ITEM_NO, LOCATION1)
    VALUES
    (V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
    UPDATE SP_TEMP
    SET LOCATION2 = 16
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION3 = 17
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO =V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION4 = 18
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    ELSE
    INSERT INTO SP_TEMP
    (RECEIPT, ITEM_NO, LOCATION1)
    VALUES
    (V_CUR_RECEIPT.RECEIPT, V_CUR_RECEIPT.ITEM_NO, 10);
    UPDATE SP_TEMP
    SET LOCATION2 = 19
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION3 = 20
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO =V_CUR_RECEIPT.ITEM_NO;
    UPDATE SP_TEMP
    SET LOCATION4 = 21
    WHERE RECEIPT = V_CUR_RECEIPT.RECEIPT AND ITEM_NO = V_CUR_RECEIPT.ITEM_NO;
    END IF;
    END IF;
    END LOOP;
    COMMIT;
    CLOSE CUR_RECEIPT;
    return(TRUE);
    end;
    .....................................................................................................................

  • Pls Help: View Crystal Report Via Oracle Form Builder

    Hi!!
    I want to know how to view the .rpt report (report made from Crystal Report) via Oracle Form Builder. I've to do it in my project. If you know, please tell me.
    Thanks in advance,

    I don't know how does crystal reports work, and I would guess you should ask the crystal guys to help you with this. find out if they have a command line interface that you can invoke from the host command in forms.
    We can help you do it with Oracle Reports though :-)
    http://otn.oracle.com/products/reports

  • How to make Form builder 10g step into libraries *.pll while remote debug

    How to make Form builder 10g step into libraries *.pll while remote debug. It attaches fine and goes through code located in form but skips pll's. In this case I am interested in debuging CUSTOM.pll. How to step into pll's and is it possible at all?

    Is the library in the same directory or within your FORMS_PATH? Note that the runtime setting in the default.env doesn't work for the builder.
    cheers

  • Report Builder remove toolbar when running integrated report

    Hi there, 
    I am using Report Builder 3.0.
    I want to remove the toolbar (http://screencast.com/t/HDbGHZXz3vJa) when I am running some of my reports but not all of my integrated reports. Is this possible? 
    Thanks in advance :)

    Hi chesternut,
    According to your description, you want to hide the Toolbar in report manager when preview some reports. As far as I know, reporting Services provides default style (.css) files (usually in C:\Program Files\Microsoft SQL Server\MSRS%.MSSQLSERVER \Reporting
    Services\ReportServer\Styles) that define styles for the report toolbar in HTML Viewer for Report Manager. So we can modify some default settings to customize the toolbar, but these settings would affect all reports in report manager.
    In Reporting Service, we can hide Toolbar in specified reports by setting the Toolbar parameter to false as below:
    http://<servername>/reportserver?/Folder/Report&rs:Command=Render&rc:Toolbar=false
    For more information about URL access, please refer to the following article:
    http://msdn.microsoft.com/en-us/library/ms152835.aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu

Maybe you are looking for

  • Attempt to move main timeline from inside a movie clip breaks menu buttons.

    I am attempting to have the main timeline move from a stopped position over a movie clip to frame 1, where my start menu is. The code I'm using does move the timeline but in doing so it somehow breaks the 4 buttons I have in frame 1. My code in the m

  • Material Doc printout

    I did all the setting to take the printout of GR WE01 is the output type i did the settings like 1 Define Printer...at OMBR 2. Enable material doc printout at OMB5 3. Also Assign the printer to WE01 output type in OMJ3 Tcode 5. Maintain the condition

  • Commit updated data

    i have a block A of multiple records in which items are CC(number), MC(number), TOTAL. formula of TOTAL is MC+CC and it is set in property palette of TOTAL. in another block B i have a SAVE button with code "go_block('a'); commit;" if i update MC or

  • How to set summable field in ALV

    Dear ABAPers, I find report that use ALV to show the output. Using my id the field with number type is summable (using ALV sum functionality) but using other id, it can't. Does anyone know how to set this functionality? I read several posting that th

  • Oracle 10.7 nca

    Can anyone tell me what the differences are from 10.7 nca to 11.5.7? Can a Oracle 11i apps dba administer a 10.7 environment? Any help would be appreciated, thanks.