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

Similar Messages

  • 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-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

  • 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

  • Urgent please : program unit in htmldb

    Hi,
    if I have some code that I will repeat in the same region,
    is there in htmldb somwhere where I can store it and then
    call it with parameters (like a program unit in oracle forms)
    Thanks

    Sergio,
    Just curious, can a PL/SQL routine/process be written within an HTMLDB application which can be called from any page/process/validation from within the same application?
    In our shop, to store packages/procedures, we need to get our DBA's involved. They would make sense if they were to be called from a myriad of applications. However, if a block of PL/SQL is going to be called many times within a single HTMLDB app and used nowhere else, this would be very handy.
    Thanks Much,
    Howard

  • 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?

  • Urgent Rep - 0733 Error

    HI guys,
    I made a report on friday and today when I tried to open it , it gave me an error REP-0733. By reading the help,it tells that I am trying to create a program unit by the same name that already exists. The problem is that the report does not open up. It keeps giving the abovementioned error and then the report builder closes. I have tried converting the report but the same error comes while conversion. Rename, copy-paste etc. all the options are not working.
    Please help me out with this .
    Regards,
    Vishal

    Dear members,
    (Reports 6i c/s)
    I had the same problem: today, my report does not open.
    The thing is, I'm sure I didn't create two program units with the same name in the same report.
    BUT, I created a program unit by copying the code from another report (which was at that time open in the builder as well).
    That means that I had two program units with the same name, but in two different reports. Did Reports mix it all up ?
    Today, I did the same operation in an old copy of my report, and it worked fine.
    But now, I'd like to find a way to open my bugged report anyway, since I have unsaved modifications in it (we had a backup problem the previous days as well).
    Can anybody help ?

  • 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

Maybe you are looking for

  • How to implement complex analysis authorizations in simple way

    Hi All, I need to create some analysis authorizations with long list of single values for a characteristics. For example, we have multiple set up of company codes (APAC, EAME, AMERICAS, etc) and each set contains 150 - 200 company codes in it. Now we

  • Dynamic Parameter List questions: Length and Custom Values

    I've got a Crystal Report that I want to use Dynamic Values for. Right now... this report is simply a "SELECT stuff  FROM table" SQL query... with a parameter that the report uses to filter. I use a "Select DISTINCT value from table" to generate a li

  • Word 2007

    I am running windows 8.1 (updated) and I have Office 2007 installed. Word files will not start from Win Explorer by clicking on a file (>doc or docx) as had with previous versions. The same issue occurs when an email has a "Word doc" attached. The sa

  • Modifications in standard personnel no search help using FM RH_OBJID_REQUES

    Hi Experts , I am using the FM RH_OBJID_REQUEST for  providing seacrh help of personnel No in ABAP HR. The Standard Tabs which are displayed when pressing F4 helps are 1)Search Term 2)Structure Search 3)Organisation Assignment 4)Last name u2013 First

  • Image opened via OLE - missing colour profiles

    Hello I'm using OLE via MFC/C++ to edit an image in PhotoShop in Windows XP. To edit an image I first write it into a temporary psd file and then open this file in Photoshop using something like mpItem->CreateFromFile(fileName, clsid)- where mpItem i