Rep-771 There exist uncompiled program unit(s).

hi ,
i am using 10g when i run my reports , some reports giving this error message
rep-771 There exist uncompiled program unit(s).
REP-1247: Report contains uncompiled PL/SQL.
REP-1247: Report contains uncompiled PL/SQL.
i have compiled my reports number of times and also these are properly running when i run them from reports builder but when i try to run them from menu above errors occured.
please can someone help me
thanks
Najeeb

I got the problem resolved by myself. I looked at the "showjobs" and found that the blobdestination output type was actually recognized. All the error messages (when running the url) had nothing to deal with the new output type. Here is the trick.
In addition to specifying the DESNAME=http://username:password@host:port/sid for the output destination, you also need to specify the userid userid=username/password@database_name in the same url in order for the report to run.
Thanks.
Andy

Similar Messages

  • URGENT: REP-1249: There exist uncompiled program unit(s).

    Hi all,
    We just had a problem in our production environment one report suddently started giving the following error:
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1249: There exist uncompiled program unit(s).
    REP-1249: Column 'C_original_buyer' has no PL/SQL formula.
    We have a similar report in french and it works fine...
    We have recompiled the report so its does not make sense the error we get.
    And also the pl/sql formula for the c_original_buyer is there and is compiled and it does not contain errors.
    Does anyone have a clue of what this could be ?
    Its in our production environment so if you know anything please reply a soon as possible.
    Any help is appreciated.
    Cheers,
    Carl

    Hi all,
    We just had a problem in our production environment one report suddently started giving the following error:
    Enter Password:
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1249: There exist uncompiled program unit(s).
    REP-1249: Column 'C_original_buyer' has no PL/SQL formula.
    We have a similar report in french and it works fine...
    We have recompiled the report so its does not make sense the error we get.
    And also the pl/sql formula for the c_original_buyer is there and is compiled and it does not contain errors.
    Does anyone have a clue of what this could be ?
    Its in our production environment so if you know anything please reply a soon as possible.
    Any help is appreciated.
    Cheers,
    Carl

  • REP-0736: There exist uncompiled program unit(s).

    Hi All,
    I have a custom report, it contains two libraries FARSV and FADOLIF, When I compile it from FA_TOP, it compiles successfully onto the server but when I compile it from Custom_Top, it gives errror
    REP-0736: There exist uncompiled program unit(s).
    What might be wrong?

    961040 wrote:
    Hi All,
    I have a custom report, it contains two libraries FARSV and FADOLIF, When I compile it from FA_TOP, it compiles successfully onto the server but when I compile it from Custom_Top, it gives errror
    REP-0736: There exist uncompiled program unit(s).
    What might be wrong?Please see (A Custom Report Fails with REP-0736: There exist uncompiled program unit(s). [ID 369627.1]).
    Thanks,
    Hussein

  • REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains

    Hello,
    i have the following problem when i first run this Report i have :
    REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL.
    many other reports i have having this problem pls help
    Abdetu..

    Any help pls...?
    i still experience the problem..?
    i found out the forulam that causes the problem as it is :
    ==========================================
    function CF_PREVIOUS RETURN Number is
              V_MATERIAL_HEIGHT1 NUMBER(40);
              V_MAX_SERIAL NUMBER(40);
              V_MAX_DATE DATE;
    BEGIN
              IF :SERIAL > 1 THEN
                   BEGIN
                                       SELECT MAX(SERIAL)-1
                                       INTO V_MAX_SERIAL
                        FROM PLN_TANK_TRANSACTION
                        WHERE TRANSACTION_DATE = :TRANSACTION_DATE
                        AND TANK_CODE = :TANK_CODE
                        AND MATERIAL_CODE = :MATERIAL_CODE;
                             EXCEPTION
                        WHEN NO_DATA_FOUND THEN V_MAX_SERIAL := 0;
                             END;
                        BEGIN
                             SELECT NVL(MATERIAL_HEIGHT,0)
                             INTO V_MATERIAL_HEIGHT1
                        FROM PLN_TANK_TRANSACTION
                        WHERE PLN_TANK_TRANSACTION.TRANSACTION_DATE = :TRANSACTION_DATE
                        AND PLN_TANK_TRANSACTION.TANK_CODE = :TANK_CODE
                        AND PLN_TANK_TRANSACTION.SERIAL = V_MAX_SERIAL
                        AND PLN_TANK_TRANSACTION.MATERIAL_CODE = :MATERIAL_CODE;
                   EXCEPTION
                        WHEN NO_DATA_FOUND THEN
                        V_MATERIAL_HEIGHT1 := 0;
                   END;
              ELSE --IF :SERIAL =  1 THEN
                        BEGIN
                             SELECT MAX(TRANSACTION_DATE)
                             INTO V_MAX_DATE
                   FROM PLN_TANK_TRANSACTION
                   WHERE TRANSACTION_DATE <=:TRANSACTION_DATE
                   AND TANK_CODE = :TANK_CODE
                   AND MATERIAL_CODE = :MATERIAL_CODE;
                        EXCEPTION
                        WHEN NO_DATA_FOUND THEN
                        V_MAX_DATE := NULL;
                        END;
                             BEGIN
                                  SELECT NVL(MATERIAL_HEIGHT,0)
                                  INTO V_MATERIAL_HEIGHT1
                                  FROM PLN_TANK_TRANSACTION
                                  WHERE SERIAL = V_MAX_SERIAL
                                  AND TRANSACTION_DATE = V_MAX_DATE
                                       AND TANK_CODE = :TANK_CODE;
                             EXCEPTION
                        WHEN NO_DATA_FOUND THEN
                        V_MATERIAL_HEIGHT1:= 0;
                             END;
         END IF;
         RETURN (V_MATERIAL_HEIGHT1);
    END;
         ------------------------------------------------------------------------------------------

  • REP-1247: There exist uncompiled program unit(s).

    i can't run the report aganinst App Serv
    REP-1247: There exist uncompiled program unit(s). REP-1247: Report contains uncompiled PL/SQL.
    Pls help
    Abdetu..

    Hello
    i found out where is the problem by testing each formula well the problem was exactly in the datatype width of the formula itself and the variabgle i declared was n't match with the columns on the db
    thanks,
    Regards,
    Abdetu..

  • Report- 0736 uncompiled program units

    i have report .rep file build and compiled on oracle report 6.0.11.0.3 and trying to run on 6.0.8.8.3 version.
    It is working file .But when i am trying to recompile on the older version whuch is 6.0.8.8.3 it is showing error REP-0736 there exist uncompiled programm units.
    I have to convert more than 500 report .how can i do it.
    is it require to rewrite or it may work by changing the only the Report builder version.Because the runtime version is working fine.
    i need help please help ....

    hi
    You can not compile rep.
    Problem may be due to some invalid objects in database. or you must be using 'select * ' in the query and the table structure might have been changed after u generated the rep.
    or check is there any objects invalid which are used by report.
    Regards
    chaluve

  • REP-1247: Report contains uncompiled PL/SQL.

    Hi learned friends
    I have created a batch script that runs rdf generates pdf reports for me at each eod run.
    The report errors out:
    REP-0736: There exist uncompiled program unit(s).
    REP-1247: Report contains uncompiled PL/SQL.
    This is the command i execute:
    /udd001/app/oracle/product/dev60/bin/rwrun60 userid=/ report=/udd001/app/mu_tosd/ci/reports/GT0009R.rdf paramform=no destype=file batch=yes desformat=pdf mode=bitmap desname=/udd001/app/mu_tosd/ci/eodreport/GT0009R.pdf nonblocksql=no
    Now I have compiled all (Ctrl+Shift+K) successfully.
    Thanks a mil guys

    Hi,
    1) did you save the compiled reports?
    2) is the connect string you use to compile the reports with the same as the connect string you use when you run your reports in your batch?
    hope this helps,
    E.

  • Encountered REP-1247: Report contains uncompiled PL/SQL

    Hi All,
    I am facing an issue where I have created a formula column inside the invoice RDF report but when I run the report this is errored with the below message ,I do have compile the formula column properly and i have also compiled the complete rdf properly .
    REP-0736: There exist uncompiled program unit(s).
    MSG-00100: DEBUG: AfterPForm_Trigger +
    MSG-00100: DEBUG: Multi Org established.
    MSG-00100: DEBUG: AfterParam_Procs.Get_Country_Details
    MSG-00100: DEBUG: AfterParam_Procs.Switch_On_Debug
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_Low
    MSG-00100: DEBUG: AfterParam_Procs.Get_Trx_Number_High
    MSG-00100: DEBUG: AfterParam_Procs.Get_Tax_Option
    MSG-00100: DEBUG: BeforeReport_Trigger.Build_Where_Clause
    MSG-00100: DEBUG: P_Choice: SEL
    MSG-00100: DEBUG: Choice is other than ADJ, setting ORDER BY.
    MSG-00100: DEBUG: AfterPForm_Trigger -
    REP-1247: Report contains uncompiled PL/SQL
    When I removed the formula column ,report is running succesfully .Any hint would be very helpfull ,please give your thoughts .Thanks in advance .
    Thanks
    Pratap

    Hi Paul
    This error usually means that the user that is running the report does not have the required privs on tables or packages used in the report. Solution: Open the report in reports builder. Set the runtime properties (Role) that is assigned to the report. Connect as the user running the report on the same database instance as your run environment. Compile the report (Shift-Ctrl-K). This should show you where the error lies.
    Regards
    Logan

  • Program units (Package) as global variable

    Hi all,
    Report 10g, generate PDF on the web.
    I need to manage some informations as rowtype.
    So, I defined a program unit as Package Spec VAR and defined v1 tablename%rowtype. When fired the trigger After Parameter Form run a procedure that populate the VAR.v1 and so I can use this information inside the column formula or format trigger without read the table many times.
    I try on client / server and all is ok.
    I try on the web and the package spec not work good. Exist some rule or bug about it?
    I try to move the package on the DB as Stored Procedure and so the report is ok.
    Thank you in advance.

    But in report builder is it possible to use global variable define as rowtype?
    I have some doubts about it.
    About my problem I want add an example to understand better the situation:
    As program unit I defined:
    PACKAGE VAR IS
    vTab0001 tab0001%rowtype;
    END;
    FUNCTION TAB0001_GET (pCom number) RETURN tab0001%rowtype IS
    vTab0001rec tab0001%rowtype;
    BEGIN
    Select *
    into vTab0001rec
    from tab0001
    where t0001soc = pCom;
    return (vTab0001rec);
    Exception when others Then
         return (null);
    END;
    About the After Parameter Form trigger:
    var.vTab0001 := tab0001_get(:company_code);
    With the srw.message(12345, var.vTab0001.t0001soc) check the value in all the report.
    In client/server all it is ok.
    In web I received the error
    REP-0069: Internal error
    REP-57054: In-process job terminated:Terminated with error:
    REP-1418: 'cf_1formula': Passed null arguments to SRW.MESSAGE.
    So, I have the evidence that the var.vTab0001.t0001soc is null.
    Can you help me to find a way?
    Is there someone that had this case in report builder?

  • Report error : REP-771: and ORA-12162:

    Hi , i run report and it terminated with error message
    The report terminated with error:
    REP-771: A fatal PL/SQL error occurred in program unit afterpform.
    ORA-12162: TNS:net service name is incorrectly specified
    does anyone know how to fix this issue
    thx

    ORA-12162: TNS:net service name is incorrectly specified
    $ oerr ora 12162
    12162, 00000, "TNS:net service name is incorrectly specified"
    // *Cause:  The connect descriptor corresponding to the net service name in
    // TNSNAMES.ORA or in the directory server (Oracle Internet Directory) is
    // incorrectly specified.
    // *Action: If using local naming make sure there are no syntax errors in
    // the corresponding connect descriptor in the TNSNAMES.ORA file. If using
    // directory naming check the information provided through the administration
    // used for directory naming.
    $How do you connect to the database ? Did you try connecting from Sql*Plus using the same connection string ? Result ?

  • Alert window on opening a form with dup. program unit in form and PLL

    Can anyone help here? I'm upgrading a large system from forms 4.5 to forms 6i (yes, we're behind). I use an attached library for about two dozen procedures. In some cases, some of the procedures have been overriden in the Form. When I open the form in the forms designer, I get the alert message: "A Program Unit XXXXX already exists. Continue creation?"
    This happens where the program unit in the library was overriden in the form. I presume since the form program unit will be found first at execution time that this message is nothing to worry about. Indeed, I have had no failures related to this yet.
    Can anyone verify that this is the normal functioning of Forms 6i? Or is there a way to turn this off?
    Thanks,
    Jim

    Hi
    If you are using SAP Business One PL 19 or above you can try the following for opening a form
    Dim formType As SAPbouiCOM.BoFormObjectEnum
                'default: fo_None
                Dim strUDOObjectType As String
                Dim strObjectKey As String
                'For UDO objects, set the system form enum to be "fo_UserDefinedObject" at first.
                formType = BoFormObjectEnum.fo_UserDefinedObject
                strUDOObjectType = "myUDO"
                'UDO type
                strObjectKey = "udoKey"
                'Code
                Dim oForm As SAPbouiCOM.Form = oApp.OpenForm(formType, strUDOObjectType, strObjectKey)
                'For system objects. set system form enum for "BusinessPartners" at first.
                formType = BoFormObjectEnum.fo_BusinessPartner
                strUDOObjectType = "testUDO"
                'Will be ignored in this case.
                strObjectKey = "C00001"
                'primary key of "BusinessPartners" object.
                oForm = oApp.OpenForm(formType, strUDOObjectType, strObjectKey)
                If oForm Is Nothing Then
                    'No form opened with the input parameters, add your own logics here...
                Else
                    'Form opened successfully, do your own work here...
                End If
    Summary Column is available in 8.81 only
    Hope this helps
    Regards
    Arun

  • Could not find program unit being called

    We're facing a development problem, which while it isn't stopping us from working, but it's seriously slowing down our progress. It goes something like this ...
    We have a ColdFusion interface to an Oracle PACKAGE, "package A". "Package A" invokes "package B", and "package B" invokes "package C". We're actively working on "package C", the last in the chain, and then testing those changes from the ColdFusion interface.
    Everytime we run a CREATE OR REPLACE on "package C" (we've tried both compiling only the BODY, as well as the SPEC and the BODY), we get the following error from ColdFusion when we test from the interface:
    ORA-06508  PL/SQL: Could not find the program unit being calledIf we wait a bit, everything starts working again. Note that while we are waiting, "package C" is not being recompiled. So it's functioning fine. Our best guess is that there something happening due the connection pooling process in place. Maybe ... if you're lucky enough to latch onto a new connection, then the error doesn't appear? But, if you connect to a session that was present when "package C" was recompiled, then you get the ORA-06508? These connections are using a JDBC driver.
    I guess I expected to get the ORA-04061 error ("Existing state of the package has been discarded"), and that is coming up more rarely than the ORA-06508, but the "could not find the program unit" is just stopping our efforts until everything starts working again.
    I found some suggestions online (http://www.orafaq.com/forum/t/14555/2/) which claim that the SHARED POOL should be flushed and that will help with this error, but I'm not sure I need to bring an A-bomb to a fist-fight. Plus, these PACKAGES aren't huge, so I'm not sure we're encountering the memory limits focused upon in those other posts:
    package A: 1533 lines
    package B: 1015 lines
    package C: 1842 lines
    Anyone have a suggestion for us to follow-up on? Like I said, we're not dead in the water, but this is getting pretty frustrating.
    Thanks,
    --=Chuck

    I think the problem is related to the connection pooling. If you have 5 persistent sessions held open by the application server say C1, C2, ... C5 then if you have called the package from C1 , C2, and C3 then if the package is recompiled the session copy of the package variables and records no longer matches the package and an error is issued. But if the call is made from C4 or C5 it works since the work in storage areas are all initialized from the new version of the package.
    In the old days (7.x, 8.0) I remember seeing a Package State has changed message but recently at least on AIX we see the Program Unit not found when this happens. We used to see this message only if we could not load the package into the shared pool due to memory issues.
    Anyhow we bounce one of our Web based applications to avoid this program. That is the local customer has us stop the application, make the change, revalidate packages, and restart so they never see the error since with a large connection pool significant time can pass between the change and an error being encountered.
    In theory you should just be able to reissue the package procedure call since the first call should have resulted in the work in storage being re-initialized.
    HTH -- Mark D Powell --

  • Needed program unit to translate number as currency to string

    HI All,
    Can you please tell me if there is existing program unit that i can use to translate number as currency to string
    Ex:
    i have numbeer like 110.5 and currency code EGP
    i need the program unit to return
    Only One Hundred Ten Egyptian Pound (s) and Fifty Piaster (s)
    for ococourse if the EGP is USD it'll return dollar instead of egyptian pound
    Thanks you

    Yeah i already did so and i got the function and used it my problem just in the currency translation for decimals
    that means when i need to translate 100.5 EGP
    one hundred Egyptian Pounds and fifty piasters
    i can now translate to one hundred Egyptian Pounds and fifty but what about the piasters
    i think i had to create a table that contains a currency code and the corresponding currency translation piasters , cents , ...etc
    so i think i'll have to search on google about the currency transaltion for the decimal point currency i hoped there is a tabke in the e-business suite contains it as it exists for the currency code

  • PDE-PEP006 Encoded Program unit has an unknown format.

    Hi All:
    I am using Form builder [32 Bit] Version 6.0.8.23.2 with Oracle 10g.
    I tried to open a form in form builder which is also created in Form 6i, system return following error:
    PDE-PEP006 Encoded Program unit has an unknown format.
    and form opened, but the coding of all triggers, and program units was not there, although the triggers and program units exists and can be seen but without coding.
    Please also tell me can I convert the form into text format thru command prompt?
    What could be the reason?
    Thanks
    Hassan

    Francois
    The only way to get the "new" pl/sql code is to open
    the new version and copy the code, then paste it in
    the old version's builder.
    You mean to say that open the new version form in new version builder? or in old version?
    Thanks
    Hassan

  • Program unit with an "*" beside it

    Hi
    I have a form (6i) with some program units.
    All of them are listed with a plus sign ([+]) in the object navigator, except one that has no plus sign, and has an "*" beside its name.
    If I execute the compile all command, the "*" disappears and the [+] appears. But even if I save the form, when I open it again the same thing happens.
    Some could explain me why this behaviour? Something related to a dependency to another object?
    Thanks

    Correct, there must be a dependancy somewhere. The * indicates that the PU is uncompiled for some reason.
    If this happens whenever you open the form then it's probabaly because of some circular dependancy

Maybe you are looking for

  • Built-in iSight Camera with iMovie

    Since my upgrade to Mavericks, I've never been able to use the camera from my Macbook in iMovie. Because when I wanna import video (or record), it says "No Device Connected." Is this a problem? Thank you in advance.

  • ITunes crashed won't launch

    After using Norton Utilities 8.0 my iTunes crashed and won't launch. Already ran Apple disk utility and repaired disk permissions. The following was in the iTunes.crash.log: Command: iTunes Path: /Applications/iTunes.app/Contents/MacOS/iTunes Version

  • Cannot see video, I get green screen and can only hear the contents

    I've unintalled flash player and adobe shockwave and re-installed it again but I am getting the same problem. Video is not working. I dont know what to do.

  • Serial number not recognized by Apple website. Need help to get a charger replaced.

    I have a MacBook Pro (Build13A603) that recently started having trouble charging. It looks like there is a short in my power adapter. I purchased it from a Best Buy, and my extended warranty from there has already run out. I do not have Apple Care. I

  • Email notification icon won't disappear

    Dear Nokia Team, I use my 5800XM to read my emails on my Gogglemail-Account via Mail for Exchange. I got the common problem, that the "new mail"-notification icon on the top-right corner of the screen won't disappear, although all emails ar marked as