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

Similar Messages

  • ERROR - PDE-PEP006 ENCODED PROGRAM UNIT HAS A UNKNOWN FORMAT

    I am learning Developer 2000. After attaching talbotstandar.pll library, when I try to expenad Set_Up_List procedre, I am getting this error "ERROR - PDE-PEP006 ENCODED PROGRAM UNIT HAS A UNKNOWN FORMAT". Because of this I am not able to proceed, please give me soution to get rid of this problem as soon as possible.
    My email is [email protected]

    ERROR - PDE-PEP006 ENCODED PROGRAM UNIT HAS A UNKNOWN FORMAT
    Hai friends
    i have a form developed in forms 10g and reports 10g.
    the same form when i when iam trying to open in forms 6i/reports6i,everything is getting(layout) but when i am trying to see code it was blank. why.
    can anybody help to solve this problem or can any body give me the solutions to my email
    thanks
    vas
    E-mail :[email protected]

  • PDE-PEP006 encoded program unit has an unknowen fromat error

    hi
    i have an old project made by developer 10g suit , now i work with latest release of developer 10g suit and i want to compile this project on it to run.
    i have PDE-PEP006 error when i just load the forms of the project and no code is shown , i search in many sits and this community but i could`t get out the solution .
    please what can i do in few steps to recompile the project in my new developer 10g suit, avoid losing this project and don`t Chang the release of my developer 10g suit witch i work with now , my career depends on that
    thank you

    Hi,
    As i mentioned in my previous reply,
    1. If you have minimum forms, you can open them in the previous version, delete the program units and copy paste from the latest version.Do the following steps.
    1. Take a backup of your forms.
    2. Open one set of the form in 10g.
    3. Open another set of form in 9i.
    4. Delete the trigger / program unit (not the code, delete the trigger itself, by selecting it in the object navigator and press the X icon) in the form opened in 9i builder
    5. Create the trigger manually , copy paste the code from the form opened in 10g builder.
    HTH.
    -Arun

  • Error PDE-PPU017: "The program unit source must define a Subprogram Body or Package."

    Hi,
    Wonder what the error means? I've tried to add package specs and body but still can't resolve.
    Any help will be great!
    THANX
    irene

    VANPERSIE,
    It looks like you are mixing sytax. Some of the Syntax used in a Database trigger (such as Before Insert, After Insert, etc) is specific to database triggers. Referring to :NEW and :OLD are specific to database triggers and can't be used as you are using them, unless you have data blocks names NEW and OLD. Also, when you refer to a item in a block, you must prefix the block or item name with the colon ":". Also, as aweiden points out, you define your return data type as "TRIGGER". The return type of a Function must be a valid Oracle data type. Therefore, your function should return a BOOLEAN, NUMBER, VARCHAR, or even a Ref Cursor, just to name a few. From the looks of your code, your function would simply return a value to indicate that the INSERT was successful. Therefore, you could rewrite your function something like:
    CREATE OR REPLACE FUNCTION TESTTRIG_BODY() RETURNS BOOLEAN AS
    BEGIN
       /* This example assumes you have data blocks in your form called:  NEW_BLOCK and OLD_BLOCK. */
       INSERT INTO REPORT_TABLE
          (NUM_COL, OLD_VAL, NEW_VAL)
       VALUES
          (:NEW_BLOCK.NUM_COL, :OLD_BLOCK.CHAR_COL, :NEW_BLOCK.CHAR_COL);
       RETURN TRUE;
    EXCEPTION
       WHEN OTHERS THEN
          RETURN FALSE;
    END;Also, is there a particular reason you are manually INSERTing a record versus letting Oracle Forms handle this for you?
    Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question please mark the response accordingly. Thanks!

  • PDE-PEP006 Error Unable to open laf.pll file

    I have downloaded laf.pll and all corresponding packages from blog of Francois Degrelle related to Oracle look and feel. when i am opening laf.pll it is giving error PDE-PEP006 Encoded program unit has unknown format iam opening file in oracle forms10g on windows 2000.

    <p>You can download the complete project zipped file.
    It contains text files to reconstruct the pll on any version.</p>
    Francois

  • PDE-PXC002 Program unit exception aborted due to unhandled exception (10050

    Im working on performing a new query when a user changes the value of a text item and then keys to the next item.
    Its very much in experimental stage atm but this is the code:
    BEGIN
         CLEAR_BLOCK(NO_VALIDATE);
         IF :system.block_status = 'CHANGED' THEN
              enter_query;
         END IF;     
    execute_query;
    END;
    When I run this in debugger the following warning is displayed, when I reach the line "enter_query":
    PDE-PXC002 Program unit exception aborted due to unhandled exception (100500).
    I have searched around but found nothing regarding this error message. Am I making a fundemental error here?

    Difficult to assess with the provided information - may I ask you to provide an extract of the PL/SQL code or feel free to contact us via http://pitss.com if you would like to discuss this rather over the phone. Thx MD

  • PL/SQL: Could not find program unit being called: mydb.pkg_alert (newbie)

    This is my first attempt at a pretty in debt package. All the procedures and functions work successfully on their own. When i try and put them into a package and run the package, i get these errors?
    ORA-04063: package body "mydb.PKG_ALERT" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "mydb.PKG_ALERT"
    ORA-06512: at line 6
    Here's my package:
    create or replace PACKAGE pkg_alert AS
    FUNCTION fcn_chck_dt(p_date date)
    RETURN VARCHAR2;
    FUNCTION fcn_chck_decline(p_date date)
    RETURN NUMBER;
    PROCEDURE sp_run_alert(p_date date);
    END pkg_monitor;
    Here's my package body code: Your assistance is greatly appreciated:
    create or replace
    PACKAGE BODY PKG_ALERT AS
    FUNCTION fcn_chck_dt(p_date date) return VARCHAR2 is
    --DECLARE
    v_table_name VARCHAR2(35);
         v_string VARCHAR2(1024);
         v_result number;
         v_output VARCHAR2(1024);
    v_date VARCHAR2(100);
    v_dt VARCHAR2(100);
         CURSOR c_table is
              select table_name
              from user_tab_columns
              where COLUMN_NAME = 'date'
              and table_name NOT LIKE '%BIN%';
         BEGIN
    OPEN c_table;
         loop
              FETCH c_table into v_table_name;
              exit when c_table%NOTFOUND;
              v_string:='select decode(to_date(max(date),''yyyymmdd''),'''||p_date||''',1,0)'|| ' from ' || v_table_name;
    execute immediate v_string into v_result;
    v_date:='select max(date)'|| ' from ' || v_table_name;
    execute immediate v_date into v_dt;
    if v_result=0 then
              v_output:=v_output||CRLF||v_table_name||': '||v_dt;
    end if;
    end loop;
    close c_table;
    return v_output;
    END fcn_chck_dt;
    FUNCTION fcn_chck_decline(p_date date) return NUMBER is
    --DECLARE
         v_dt NUMBER;
         v_active NUMBER;
         v_delta NUMBER;
         v_perc_delta NUMBER;
         v_old_s varchar2(1024);
         v_old_dt number;
         v_string varchar2(1024);
         v_result NUMBER;
         CURSOR c_prev IS
              select date,daily_active,
              daily_active-lag(daily_active) over(order by date),
              trunc(((daily_active-lag(daily_active) over(order by date))/daily_active)*100,2)
              from pop_stats
              where to_date(date,'YYYYMMDD') between p_date-1 and p_date
              order by date desc;
    ---bringing back two rows and all records on purpose.
         BEGIN
              OPEN c_prev;
              FETCH c_prev INTO v_dt,v_active,v_delta,v_perc_delta;
         close c_prev;
         v_old_s := 'select max(date) from alert_stats';
         execute immediate v_old_s into v_old_dt;
         if v_dt!=v_old_dt then
         insert into ALERT_stats(date,
                   daily_active,
                   daily_delta,
                   daily_delta_percent)
                        values(v_dt,
                        v_active,
                        v_delta,
                        v_perc_delta);
              end if;
         v_string:='select value from config_tbl where name=''decline''';
         execute immediate v_string into v_result;
         if v_perc_delta <= v_result then
         return v_perc_delta;
              end if;
         END fcn_chck_decline;
    PROCEDURE sp_run_alert(p_date date) IS
    --DECLARE
    v_result varchar2(1024);
    BEGIN
         insert into ALERT_stats(date)
    values(p_date);
    CRLF char(2) := chr(10)||chr(13);
    v_result :='';
    v_result := v_result||fcn_chck_dt(p_date);
    v_result := v_result||fcn_chck_decline(p_date);
    if v_result.length > 0 then
    utl_mail.send('alerts@localhost','[email protected]',NULL,NULL,
    'Alert','Alert Summary: '||v_result,'text/plain; charset=us-ascii',NULL);
    end if;
    END sp_run_alert;
    END PKG_ALERT;

    Take a look at the bolded sections of your code especialy the last line of your package spec
    create or replace PACKAGE pkg_alert AS
    FUNCTION fcn_chck_dt(p_date date)
    RETURN VARCHAR2;
    FUNCTION fcn_chck_decline(p_date date)
    RETURN NUMBER;
    PROCEDURE sp_run_alert(p_date date);
    END pkg_monitor;

  • Error : ORA-06508: PL/SQL: could not find program unit being called

    Hi
    I got surprise issue while testing my Oracle code . Let me explain first the environment detail . Our appliaction built on
    Java/J2EE(Weblogic) and backend is Oracle 11g re2 . While calling from java it call thru different user which have been provide
    synonym and exectue option for corresponding procdure ,
    I created on package EXTRACT_CUSTOMER_INFO_PK which will exract data to text file using UTL_FILE ( direcory , UTL_FILE grant is provided to DB user).
    Now this package has been called from rp_execute_procedure_pr -- Here I is the code
    CREATE OR REPLACE PROCEDURE RP_EXECUTE_PROCEDURE_PR
    i_atlas_job_schedule_fk IN atlas_job_schedule.atlas_job_schedule_pk%TYPE,
    i_job_id IN atlas_job.job_id%TYPE,
    i_parm_value IN atlas_job_schedule.parm_value%TYPE,
    o_status_code OUT NUMBER,
    o_status_mesg OUT VARCHAR2
    IS
    -------Other old code which is not relevent for this issue ----
    --------Other old code which is not relevent for this issue ----
    ----Below code I added ----
    ELSIF l_job_id = 'CUST_EXTRACT' THEN
    EXTRACT_CUSTOMER_INFO_PK.customer_report ( i_parm_value ,
                   o_status_code,
    o_status_mesg ) ;
    -- o_status_code := -99999999;
    --o_status_mesg := 'PARTHA PARTHA PARTHAcess terminated!';
    ELSE
    o_status_code := -20300;
    o_status_mesg := 'Job Id : ' || l_job_id || ' NOT found. Process terminated!';
    END IF;
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Processing End Time (GMT): '
    EXCEPTION
    WHEN eProcError THEN
    o_status_code := SQLCODE;
    o_status_mesg := SUBSTR(vMsg ||'-'||SQLERRM, 1, 200);
    WHEN OTHERS THEN
    o_status_code := -20300;
    o_status_mesg := SUBSTR(SQLERRM, 1, 200);
    update_log_auto
    ajs_rec.atlas_job_schedule_pk ,
    'Error : '||SQLERRM||' '
    update_log_auto
    ajs_rec.atlas_job_schedule_pk,
    'Processing End Time (GMT): '
    END RP_EXECUTE_PROCEDURE_PR;
    Now It compiled sucesfully . And while I did SIT then RP_EXECUTE_PROCEDURE_PR run fine and extracted txt file . But while I called it from Java procedure It gives us error like
    Error : ORA-06508: PL/SQL: could not find program unit being called 02-AUG-2012 13:16:51.
    As I told RP_EXECUTE_PROCEDURE_PR old proc and used by other proc , So I first suspect issue is newly added code or may be some grant or synonym ( Although it should not be )
    so I created public synony amd gave execute grant to my pkg to public .
    But it repeat same error .
    I did lot of R&D on my pkg but nothing happen . Finally I remane my new pkg RP_EXTRACT_CUSTOMER_INFO_PK and it works fine
    I need to know what is the RCA for it . I donot think any dependecy issue as renaming pkg is working fine .
    NB my DB user is iATLAS and Javauser is SUDEEP
    Thanks in Advance
    Debashis Mallick

    First of all If i run the main procedure in like below in my Schema it is working fine
    begin
    -- Call the procedure
    rp_execute_procedure_pr(i_atlas_job_schedule_fk => :i_atlas_job_schedule_fk,
    i_job_id => :i_job_id,
    i_parm_value => :i_parm_value,
    o_status_code => :o_status_code,
    o_status_mesg => :o_status_mesg);
    end;
    So thre is no question of parameter .... or Invalid state etc . If it is parameter or Invalid state issue it will give other error.
    Here problem is not syntax issue .
    let me give u more detail regards this issue
    1.. All objects corresponding to procedure all Valid
    2.. If I test on the proc on my schema like above code . It works fine
    3.rp_execute_procedure_pr is a old procudere which called for differner report generartion based on parameter passing . Also as extract_customer_info_pk called with in rp_execute_procedure_pr So there is no question of synonym or privilage issue for new procedure.
    4. Suprising thing is if I rename and recreate package like extract_customer_info_pk _1 or rp_extract_customer_info_pk . Which are exactly same as extract_customer_info_pk and replace those new one with extract_customer_info_pk then it work fine in my java application
    I think I make it clear the issue
    Edited by: debashisora on Aug 3, 2012 5:31 AM
    Edited by: debashisora on Aug 3, 2012 5:40 AM

  • How to use one forms fields, program units in another form.

    The whole proceessing and update is happening in one main form.
    Main form has all the fields and a reprocess button which re-creates records if they have error. Record name is the primary key.
    I have another small form, which just shows the list of record names in the system. I want a reprocess button next to each record name so that user will be able to just select any record name and press reprocess button to recreate any record data.
    There are a lot of fields in main form and program units , which are used by the reprocess button.
    Any suggestions like how to go for it?

    You can either pass all the relevant data from the Small Form to the Larger form and make it reprocess the data or you can move the Program Units to a PL/SQL Library (.pll) and attach the library to your smaller form where you can call the program units. Either option requires changes to the Larger form to enable it to process a record passed to the form as a parameter or to externalize the Forms Program Units to a library.
    Personaly, I would recommend you move the Program Units to a Library. This would enable you to use the processes in any form (that has the library attached).
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Error while compiling program unit

    Hi All,
    I am working on oracle forms 10g.
    I am getting an error "wrong no or types of arguments in call to 'COUNTCDRSTODELETE' ", while trying to compile my program unit.
    The extract of my program unit is as written below:
    PROCEDURE CALL_PCK_BACKOUT IS
    -- type bmpf_id_arr is varray(100) of bmp_files.bmpf_id%type;
    type bmpf_id_arr is varray(100) of integer;
    id_arr bmpf_id_arr := bmpf_id_arr();
    file_cnt number := 0;
    BEGIN
    GO_BLOCK('B_FILE');
    first_record;
    LOOP
         --     EXIT WHEN :SYSTEM.RECORD_STATUS='NEW';
              IF UPPER(:B_FILE.FILE_ON_OFF_IND) = 'Y' THEN
         FOR I IN ( SELECT BMPF_ID FROM BMP_FILES
                             WHERE BMPF_FILENAME = :B_FILE.BMPF_FILENAME
                             AND BMPF_PROCESSING_STATE = 'P'
                             ORDER BY BMPF_ID ASC)
         LOOP
              if file_cnt < id_arr.limit then
                   id_arr.extend;
                   id_arr(id_arr.last) := i.bmpf_id;                
                   INSERT INTO bmp_files_to_backout (file_id, job_id) values (i.bmpf_id,pkg_constants.gt_bat_code_bckout_cdr);
                   file_cnt := file_cnt + 1;
              else
                   msg_alert('You can select maximum 100 files at a time','E',FALSE);
                   RAISE FORM_TRIGGER_FAILURE;     
              end if;                                         
         END LOOP;
         END IF;
         EXIT WHEN :SYSTEM.LAST_RECORD='TRUE';
         NEXT_RECORD;
    END LOOP;
    if file_cnt = 0 then
         msg_alert('Please select at least one file in order to initiate the backout','E', FALSE);
         go_item('b_ctrl.file_name');
         RAISE FORM_TRIGGER_FAILURE;     
    end if;
    if file_cnt > 0 then
    commit;
    end if;
    -- check if the backout request has been accepted or not
    if pck_backout.CountCDRStodelete(id_arr,file_cnt) = 0 and pck_backout.AreallCDRSOpen(id_arr,file_cnt) = 0 then
         msg_alert('Backout request can be scheduled for the selected input','E',FALSE);
    elsif     pck_backout.CountCDRStodelete(id_arr,file_cnt) != 0 and pck_backout.AreallCDRSOpen(id_arr,file_cnt) != 0 then
         msg_alert('Backout request has been rejected due to maximum number of cdrs exceeded and not all cdrs belonging to open invoices','E',FALSE);
         RAISE FORM_TRIGGER_FAILURE;
    elsif     pck_backout.CountCDRStodelete(id_arr,file_cnt) != 0 then
    msg_alert('Backout request has been rejected due to maximum number of cdrs exceeded','E',FALSE);
    RAISE FORM_TRIGGER_FAILURE;
    elsif pck_backout.AreallCDRSOpen(id_arr,file_cnt) != 0 then
         msg_alert('Backout request has been rejected due to not all cdrs belonging to open invoices','E',FALSE);
         RAISE FORM_TRIGGER_FAILURE;
    end if;
    END;
    pck_backout is a stored database package. The definition of two functions used above is as given below:
    FUNCTION countcdrstodelete (
    p_bmpf_id_array IN pkarray,
    p_batch_size IN NUMBER
    RETURN NUMBER;
    FUNCTION areallcdrsopen (p_bmpf_id_array IN pkarray, p_batch_size IN NUMBER)
    RETURN NUMBER;
    where pkarray is defined as :
    TYPE pkarray IS VARRAY (100) OF INTEGER;
    Can anyone please tell me why i am getting wronf type or no of arguments error while calling the databse functions.
    I guess, it has to do with the varray field. Can you please tell me if i am using any wrong syntax??
    I request all the forms gurus to please help me with this.

    Hi Fabrio,
    I solved my problem.
    I'd to actually define pkarray as sql type rather than PL/SQL type.
    It's because oracle forms wasn't able to bind the varray defined locally in program unit with the varray defined in stored PL/SQL function.
    Once i created pkarray as sql type and removed the declaration of varray in program unit and PL/SQL code, it worked.
    Thanks for your reply though.
    Regards,
    Navnit

  • Smartform Activation[program "SAPLSUNI" has exceeded the permitted runtime]

    I was working on a smartform. For 2-3 Hrs it was working fine, whatever changes I was making were getting activated smoothly.
    Then, for some unknown reason the smatform stopped getting activated. Timeout dump is happening. But when we 'Check' the smatform, no error is coming. Still it is not getting activated.
    I checked another smarform & made some changes, activated....it got activated instantaneously. The function module of that smartform that it is showing in Environment -> Function Module Name ->  /1BCDWB/SF00000144
    But when we check SE37, it says no such module exists !!! Please help !!!!!!!!!!!!!!!!!!!!!!!
    Here is the dump :
    Runtime Errors         TIME_OUT
    Date and Time          01.06.2010 12:37:24
    Short text
         Time limit exceeded.
    What happened?
         The program "SAPLSUNI" has exceeded the maximum permitted runtime without
         interruption and has therefore been terminated.
    Error analysis
         After a specific time, the program is terminated to make the work area
         available to other users who may be waiting.
         This is to prevent a work area being blocked unnecessarily long by, for
         example:
         - Endless loops (DO, WHILE, ...),
         - Database accesses with a large result set
         - Database accesses without a suitable index (full table scan)
         The maximum runtime of a program is limited by the system profile
         parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
          time limit is
         exceeded, the system attempts to cancel any running SQL statement or
         signals the ABAP processor to stop the running program. Then the system
         waits another 60 seconds maximum. If the program is then still active,
         the work process is restarted.
    Trigger Location of Runtime Error
        Program                                 SAPLSUNI
        Include                                 LSUNIU06
        Row                                     101
        Module type                             (FORM)
        Module Name                             DELETE_FUNCTION_POOL_INCLUDES
    Source Code Extract
    Line  SourceCde
       71
       72 ENDFUNCTION.
       73
       74 &----
       75 *&      Form  DELETE_FUNCTION_POOL_INCLUDES
       76 &----
       77 *       text
       78 ----
       79 *      -->P_AREA     text
       80 *      -->SKIP_PROGREtextND
       81 ----
       82 FORM delete_function_pool_includes USING    p_area
       83                                          skip_progress_ind.
       84   DATA: l_prog LIKE trdir-name,
       85         l_incl_uxx LIKE trdir-name,
       86         l_name LIKE streenode-name,
       87         l_object LIKE euobj-id,
       88         l_area LIKE rs38l-area,
       89         l_namespace LIKE rs38l-namespace.
       90
       91   CALL FUNCTION 'FUNCTION_INCLUDE_SPLIT'
       92     EXPORTING
       93       complete_area = p_area
       94     IMPORTING
       95       namespace     = l_namespace
       96       group         = l_area
       97     EXCEPTIONS
       98       OTHERS        = 6.
       99   CONCATENATE l_namespace 'SAPL' l_area INTO l_prog.
      100   CONCATENATE l_namespace 'L' l_area 'UXX' INTO l_incl_uxx.
    >>>>>   UPDATE progdir SET edtx = space WHERE name = l_incl_uxx AND state = 'A'.
      102
      103 * Hier Michael rufen
      104   CALL FUNCTION 'RS_DELETE_PROGRAM'
      105     EXPORTING
      106       program            = l_prog
      107       with_includes      = 'X'
      108       suppress_popup     = 'X'
      109       skip_progress_ind  = skip_progress_ind
      110     EXCEPTIONS
      111       enqueue_lock       = 1
      112       permission_failure = 2
      113       reject_deletion    = 3.
      114
      115   IF sy-subrc = 0.
      116     PERFORM ed_delete_function_pool_new(sapms38l)
      117                                     USING p_area
      118                                     CHANGING sy-subrc.
      119
      120     PERFORM delete_rest_of_group USING p_area.
    Edited by: ajaybachchas on Jun 1, 2010 9:23 AM

    Hey Guys,
    For some reason, the problem automatically got resolved. First I check STXFADMI table to find entry of the FM against that smartform. When I punched the FM name of the smartform in SE37, it repeatedly said "FM does not exist". But the entry for that FM is present in the STXFADMI table. Hence I started debugging SE37 after entering the FM name. To my surprise, at the end the FM was displayed !!! After that I went to the smartform & activated, again surprised....it got activated in a flash !!!
    Can anyway justify this mystery ?
    Ajay.

  • Error in executing mappings "could not find program unit being called"

    I am trying to deploy a mapping from the control center in Oracle WareHouse Builder usign Oracle 11g . Here is what i exactly do , first I generate the mapping it goes okay with an insignificant warning .. After that I right click the mapping and click start (for exection to begin).. Eventually I get the error
    STAGES_MAP
    Error
    ORA-04063: package body "ACME_DWH.STAGES_MAP" has errors
    ORA-06508: PL/SQL: could not find program unit being called: "ACME_DWH.STAGES_MAP"
    ORA-06512: at line 1
    what does "could not find program unit being called" mean ?? I validated all my tables and its realated table and successfully deployed them ... but now the mappings is giving me trouble ??? Whas going on... I am confused.... Thansk....

    ScoobySi wrote:
    It sounds as though you've generated but haven't actually deployed the mapping to the DB? That error usually occurs when the package for the mapping is missing from the DB or the parameters have changed.
    Ignore above, just read properly, as MccM suggests try to compile package on DB to determine error. If there are no errors, refresh control center or close it and reopen it as it may be trying to call package with old set of parameters.
    Si
    Edited by: ScoobySi on Nov 30, 2010 4:20 PMExactly , I generated the mappings and then in the control center right clicking on the mappings and consider (default- create new) i deploy it. It goes ahead but tells mer there is a warning , which i already know but chose to ignore. Then i right click on the mappings again and I select start unfortunately at this point this error comes up and my DB doesnt get populated :( ...
    I am a bit new so could you kindly go step by step here , how can i compile my package on DB ??? Btw i am using toad to connect to oracle 11g , are u suggesting that using toad i should compile the package ?? if so how ?? hwo would i know the package location ??? as for the second method
    "If there are no errors, refresh control center or close it and reopen it as it may be trying to call package with old set of parameters." I doubt it will work as i already tried it. I definitely think there is a problem with the package.. i dont think there is any other problemm... I would really appreciate your help thanks...

  • ORA-06508 PL/SQL: could not find program unit being

    Hi all,
    I'm having the following problem: I have a trigger that gets fired before update of a field. The trigger source code calls a function from a package. This function calls another function.
    When the trigger was executed I got the following error ORA-06508 PL/SQL: could not find program unit being call(referring to the second function called).
    This trigger works well, but from time to time gets this error. (The database has a lot of users and there is a chance that more users fire the same trigger).
    What can I do to solve this problem as it's very inconvenient? Any suggestions?
    Thanks.

    Try running the following query:
    select *
    from
    v$db_object_cache
    where sharable_mem > 10000
    and type in ('PACKAGE','PACKAGE BODY','FUNCTION','PROCEDURE')
    and KEPT='NO'
    order by sharable_mem desc
    See which objects are taking up a lot of SGA memory, you may need to pin them to prevent fragmentation. If you see DBMS_STATS in there it means that you Oracle is dynamically collecting stats which is not good - you need to set up a background task to do that.

  • 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

  • Unable to find Program Unit error (ORA-06508)

    This problem is quite complex and difficult to explain completely. We have a situation where a program unit (called ztmessage) is duplicated ... it is in all forms modules (.fmb) and also in our message library which is attached to all forms and libraries. It is required in the form due to use of the forms generator and in the library so that all other external libraries can compile.
    Under certain situations forms appears to get totally confused and can't find the ztmessage program unit (raises ORA-06508 ... Can't find Program Unit being called ... should be calling the "form" program unit). Are there any known issues with duplicated program units?? All of this setup works fine under the 4.5 environnment but falls over in 6.0.
    null

    I suspect that this is a manifestation of Bug 612052 and it's relations.
    What you were doing in 4.5 e.g. calling back from a PLL into a piece of code in
    the form was strictly a No-No. However, it worked and lots of people used it.
    Anyway the Name resolution works differently in 6.0 and the callbacks would all go
    to the initial PU that was first bound rather than the "expected" one in the
    current form.
    In your case you are probably binding to the ztmessage PU in a form which is subsequently
    being closed and hence the reference is broken - 6508 would result.
    Anyway, that bug now has a "Fix" e.g. there is a way of restoring the 4.5 behaviour
    Simply set the environment variable FORMS60_PLSQLV1_NAME_RESOLUTION to TRUE (or YES)
    in the registry. You'll need patch 5 or 6i for this.
    The side effects will be:
    1) Performance will degrade as we have to resolve the name every time
    2) You won't be able to use the SHARE_LIBRARY_DATA flag on OPEN_FORM/CALL_FORM

Maybe you are looking for

  • How to set up AD user permisions for a CIFS share on a 7210

    Hi We have a 7210 and so far got it configured and working fine using NFS. We also wish to use CIFS for general storage on our windows network. I have added the 7210 without any problems and I can create the share and assign permissions for the root

  • Error while activating DTP

    Hi, I am trying to activate a DTP in Q. But it shows me Error Message no. RSO404 which says that an active version already exists. But when I see the DTP, the execute option is greyed out and it is inactive. How do I remove the already active version

  • Jsf 1.2 on j2ee 1.4???

    Hello, Is it possible to run jsf 1.2 (sun ri) on j2ee 1.4?? Thanks in advance, Julien.

  • Update Problems

    My 1G Itouch says it has the most recent software, despite having 2.2.1. I've checked for updates and it still won't let me update to 3.1.3.

  • How can I get Read receipt using DSN?

    Hi all, I can able to get the Delivered/Undelivered receipt using following code, but am not able to receive Read receipt. Am sure I need to add few lines to get that Read receipt. But am not get exact code to achieve that. Already I have searched lo