ORA-06508 during nested execution

There are 3 packages in database:
- package_A with package_A.proc_AA that calls package_B.porc_BB form package B
- package_B.proc_DD with procedure that calls procedure from package_C
- I change table that is using only in package_C
- I recompile all invalid objects. All package are VALID. My weblogic server is running. I check objects timestamp with this query (in result: no rows selected):
select do.obj# d_obj,do.name d_name, u.name owner, po.obj# p_obj,po.name p_name,
to_char(p_timestamp,'DD-MON-YYYY HH24:MI:SS') "P_Timestamp",
to_char(po.stime ,'DD-MON-YYYY HH24:MI:SS') "STIME",
decode(sign(po.stime-p_timestamp),0,'SAME','*DIFFER*') X
from sys.obj$ do, sys.dependency$ d, sys.obj$ po, user$ u
where P_OBJ#=po.obj#(+)
and D_OBJ#=do.obj#
and po.stime!=p_timestamp /*parent timestamp not match*/
and do.owner#=u.user#
order by 2,1;
Then I start using my applications. I call package_A.proc_AA via WLS and I get only one error: ORA-06508: PL/SQL: could not find program unit being called
This error comes from package_A.proc_AA when database try to execute package_B.porc_BB.
There are two way to resolve problem: WLS restart or recompile package_A.
Do you have any idea why this errors occurs and why WLS restart helps while errors comes from nested execution of package_B.porc_BB?
Are there any methods to prevent this error?
Do you have any ideas?
Thanks.

Your applications are probably using cached prepared statements, which have been
corrupted/invalidated by your changing the DBMS out from under your pooled
connections. If you are going to be doing that a lot, turn the WLS pool statement
cache off. Otherwise, you can clear the pool's statement cache from the console
when you do this.

Similar Messages

  • VPD / ora-28112 during sql execution / where to find the error

    I got a ora-28112 after i activated a simple policy on a synonym. I would like to understand what the error is to correct it but i don't know where to search for a trace. I didn't find anything in alert log or in other trace files on the server. Does somebody know where the error logged ? Thanks a lot.

    not every error will generate a trace, but you can set tracing to catch every error.
    Try alter system set events '28112 trace name errorstack level 3'

  • ORA-12842: Cursor invalidated during parallel execution Database driver err

    Hi gurus,
    I have got an PL/SQL package in DWH environment and sometimes it generates the follwoing error message:
    ORA-12842: Cursor invalidated during parallel execution Database driver error...
    When I restart the process, it runs successfully.
    Any ideas about this behaviour?
    Regards
    Bernd

    More info needed.
    Which Oracle version?
    Are you running up against a known bug? Check metalink.
    Cheers,
    Colin

  • ORA-12842: Cursor invalidated during parallel execution

    Hi,
    Database version: 9.2.0.6.0
    OS : Red Hat AS 3.
    I encountered this problem lately in one of our scripts.
    The error message shows:
    BEGIN SP_RPT77B_V2(SYSDATE -1); END;
    ERROR at line 1:
    ORA-12842: Cursor invalidated during parallel execution
    ORA-06512: at "REPORTADMIN.SP_RPT77B_V2", line 273
    ORA-06512: at line 1
    Elapsed: 00:02:49.60
    Does anyone have any clues on what does this error messages means? Is there a way to rectified the problem?
    Any advise, thanks.

    Hi!
    Check the error description --
    ORA-12842 schema modified during parallel execution
    Cause: Schema modified during the parse phase of parallel processing.
    Action: No action required.
    And the other error is --
    ORA-06512 at string line string
    Cause: Backtrace message as the stack is unwound by unhandled exceptions.
    Action: Fix the problem causing the exception or write an exception handler for this condition. Or you may need to contact your application administrator or database administrator.
    Regards.
    Satyaki De.

  • Unexpected error during mapping execution

    Hello,
    we are implementing business intelligence for Siebel 8.1. Having one strange issue and hoping anybody could help us out.
    We are using OWB 10.2.0.1. Certain error appears during mapping execution LOAD_SR which basically loads service requests from Siebel DB to data warehouse.
    The mapping is using two tables as input (S_SRV_REQ and S_SRV_REQ_X) which are joined by S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID (+) using Joiner operator, because I always need extension table (S_SRV_REQ_X) rows either filled either containing only nulls (when there is no corresponding extension row). Sadly, this does not work, during execution it generates:
    Error:
    ORA-00997: illegal use of LONG datatype
    ORA-06512: at "DWH_ADM.LOAD_SR", line 32
    ORA-06512: at "DWH_ADM.LOAD_SR", line 3507
    ORA-06512: at "DWH_ADM.LOAD_SR", line 4553
    ORA-06512: at "DWH_ADM.LOAD_SR", line 9984
    ORA-06512: at line 1
    Warning:
    ORA-00997: illegal use of LONG datatype
    In summary, these join conditions generate same error as above:
    S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID (+)
    S_SRV_REQ.ROW_ID (+) = S_SRV_REQ_X.PAR_ROW_ID (+)
    S_SRV_REQ.ROW_ID = S_SRV_REQ_X.PAR_ROW_ID
    Strangely, when I use join condition S_SRV_REQ.ROW_ID (+) = S_SRV_REQ_X.PAR_ROW_ID, it works. But then right join is used and some records get rejected by joiner operation (those who do not have corresponding rows in extension table).
    Could someone help me with this issue?
    Any feedback would be greatly appreciated. Thank you for your time reading this!
    Edited by: user8872556 on Sep 28, 2011 2:21 AM
    Edited by: user8872556 on Sep 28, 2011 2:23 AM
    Edited by: user8872556 on Sep 28, 2011 2:23 AM

    We still were not able to solve this issue, would greatly appreciate any effort to help us out.

  • Ora-06508 - could not find program

    Need your HELP!!!
    ERROR:
    ORA-06508: PL/SQL: could not find program unit being called: "NZH_MAIM.NZHMF_BOREHOLE_LEVEL_EYAL"
    what is it mean? and how i fix it?

    It means that you have not deplyed the program unit and if deplyed then it failed during deployment.
    and now this error comes when same program unit is beign executed....

  • ORA-04031 during export on CTX-index

    Hi !
    I get ORA-04031 during export when an interMedia CTX-Index should get exported. The exact error message is:
    unable to allocate 4072 bytes of shared memory ("shared pool", "DBMS_SYS_SQL", "PL/SQL MPCODE", "BAMIMA: BAM Buffer")
    followed by
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: in "SYS.DBMS_SQL", line 9
    ORA-06512: in "SYS.DBMS_EXPORT_EXTENSION", line 244
    Any hints for me what I could do?
    TIA,
    Stefan

    Interesting.  You should open a  thread with a more relevant title about views with pk / fk constraints.
    I don't have a way to solve your problem --- to identify such views.
    Hemant K Chitale

  • Error during SQL execution

    Hi Experts,
    We run a report which fails frequently with the below error. Could any one help me with the solution and reasons for this error.
    Error during SQL execution: (DA0003): [Exception: DBD, ORA-01722: invalid number State: N/A] The following data providers have not been successfully refreshed: His. (DMA0007): []
    Connection or SQL sentence error: (DA0005): [Exception: DBD, ORA-12535: TNS:operation timed out State: N/A] A connection required to refresh this document is unavailable. (DA0004): [] The following data providers have not been successfully refreshed: Reservations CW. (DMA0007): []
    Many Thanks
    Regards,
    Syed

    Hi,
    The report is running for long time and it's getting failed. could you please let me know what could be the reason for this?
    And could you please tell me the reason/Solution for the first error which i mentioned before.
    Many Thanks
    Regards,
    Syed

  • FRM-40735:PRE-FORM trigger raised unhandled expception ORA-06508-SATYAM

    Hi,
    This is Sateesh, presently working on Designer migration project from Designer 2000 V1.3.2 to Designer 10g with headstart.I successfully completed the migration of repository from 1.3.2 to 6i and also migrated the headstart to 6i using simple upgrade method.After this i successfully migrated the repository from 6i to 10g and I compiled all the libraries using forms10g and then i generated all the 10g forms through designer.then 10g forms and libraries are deployed in Oracle Application Server and then we are trying to access the application then we are getting the messsage for most of the forms, i.e FRM-40735:PRE-FORM trigger raised unhandled expception ORA-06508. Can you please help me out in this regard.
    Regards
    K.Sateesh Kumar

    Yes,
    that's right. FRM-40735 is a generic error message generated in case of form failure.
    This may be as a result of failure while calling sub-programs in a form or any other problem.
    For my case I had a call to a built in Package for which the user didnt have the privileges to execute that package.
    So how did I find out?
    EXCEPTION
    WHEN OTHERS THEN
    MESSAGE('SQLERRM: ' || SQLERRM);
    exception handling does the trick. I got the real error that was causing the problem.
    Error was: SQLERRM: xxx package does not exist. This made me think in the lines of either privileges or synonym problem. I found out that the user in the db doent have the execution privileges.
    GRANT ALL ON xxxpackage TO xxxuser;
    This is a nice forum. I love it and thanks to everyone.

  • RMAN-11003: failure during parse/execution of SQL statement: alter session

    without doing any changes I have started getting the following error in the RMAN logs.
    i didnt any changes related to sort_area_size but getting the error below
    plz help guys
    RMAN logs
    =====================
    connected to recovery catalog database
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of allocate command at 12/03/2007 22:00:01
    RMAN-03014: implicit resync of recovery catalog failed
    RMAN-03009: failure of full resync command on default channel at 12/03/2007 22:00:01
    RMAN-11003: failure during parse/execution of SQL statement: alter session set sort_area_size=10485760
    ORA-00068: invalid value 10485760 for parameter sort_area_size, must be between 0 and 1

    Hi:
    It seems when you are starting RMAN it's executing some commands (one 'ALTER SESSION...'. It's seems to be a batch which has a bad value for SORT_AREA_SIZE. Find it and modify to a proper value as message shows. If you can't find start RMAN by calling directly the executable ($ORACLE_HOME/bin/rman or %ORACLE_HOME%/bin/rman.exe).

  • ORA-39126 during an export of a partition via dbms_datapump

    Hi ,
    i did export using datapump in command line everything went fine but while exporting via dbms_datapump i got this:
    ORA-39126 during an export of a partition via dbms_datapump
    ORA-00920
    'SELECT FROM DUAL WHERE :1' P20060401
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: at "SYS.KUPW$WORKER", line 6228
    the procedure is:
    PROCEDURE pr_depura_bitacora
    IS
    l_job_handle NUMBER;
    l_job_state VARCHAR2(30);
    l_partition VARCHAR2(30);
    v_sql VARCHAR2(2000);
    BEGIN
    -- Create a user-named Data Pump job to do a "table:partition-level" export
    -- Local
    select 'P'|| to_char((select min(STP_LOG_DATE) from SAI_AUDITBITACORA),'YYYYMM')||'01'
    into l_partition
    from user_tab_partitions
    where table_name = 'SAI_AUDITBITACORA'
    and rownum = 1;
    l_partition := rtrim (l_partition,' ');
    l_job_handle:= DBMS_DATAPUMP.OPEN
    operation=>'EXPORT',
    job_mode =>'TABLE',
    job_name =>'EXPORT_ORACLENSSA'
    -- Schema filter
    DBMS_DATAPUMP.METADATA_FILTER
    handle => l_job_handle,
    name => 'SCHEMA_EXPR',
    value => 'IN (''ORACLENSSA'')'
    DBMS_OUTPUT.PUT_LINE('Added filter for schema list');
    -- Table filter
    DBMS_DATAPUMP.METADATA_FILTER
    handle => l_job_handle,
    name => 'NAME_EXPR',
    value => '=''SAI_AUDITBITACORA'''
    DBMS_OUTPUT.PUT_LINE('Added filter for table expression');
    -- Partition filter
    DBMS_DATAPUMP.DATA_FILTER
    handle => l_job_handle,
    name => 'PARTITION_EXPR',
    value => l_partition,
    table_name => 'SAI_AUDITBITACORA'
    DBMS_OUTPUT.PUT_LINE('Partition filter for schema list');
    DBMS_DATAPUMP.ADD_FILE
    handle => l_job_handle,
    filename => 'EXP'||l_partition||'.DMP',
    directory => 'EXP_DATA_PUMP',
    filetype => 1
    DBMS_DATAPUMP.ADD_FILE
    handle => l_job_handle,
    filename => 'EXP'||l_partition||'.LOG',
    directory => 'EXP_DATA_PUMP',
    filetype => 3
    DBMS_DATAPUMP.START_JOB
    handle => l_job_handle,
    skip_current => 0
    DBMS_DATAPUMP.WAIT_FOR_JOB
    handle => l_job_handle,
    job_state => l_job_state
    DBMS_OUTPUT.PUT_LINE('Job completed - job state = '||l_job_state);
    DBMS_DATAPUMP.DETACH(handle=>l_job_handle);
    END;
    I've already drop and recreate the directory, granted read, write to public and to user, grant create session, create table, create procedure, exp_full_database to user, restart the database and the listener with the var LD_LIBRARY pointing first to $ORACLE_HOME/lib, and add more space to temporary tablespace.

    The basic problem is:
    Error: ORA 920
    Text: invalid relational operator
    Cause: A search condition was entered with an invalid or missing relational
    operator.
    Action: Include a valid relational operator such as =, !=, ^=, <>, >, <, >=, <=
    , ALL, ANY, [NOT] BETWEEN, EXISTS, [NOT] IN, IS [NOT] NULL, or [NOT]
    LIKE in the condition.
    Obviously this refers to the invalid statement 'SELECT FROM DUAL ...'. I also recommend, you should contact Oracle Support, because it happens inside an Oracle provided package.
    Werner

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

    Hi,
    I'm working on an Oracle Database 11g Release 11.1.0.6.0 - 64bit Production With the Real Application Clusters option.
    Since 2 weeks I'm facing problems with a job.
    The job executes
    dispatch.pk_process.check_geofence;every 2 seconds, forces to run on instance 1.
    Some time, now it's once a day, in a different moment, the job start failing returning the ORA-06508.
    The job body is:
      PROCEDURE check_geofence
      IS
        CURSOR tt IS
          SELECT id_data, id_device, id_vehicle, date_event, date_write
            FROM t_process
           WHERE id_type_process = ln_process_geofence
           ORDER BY date_event;
        id_user_ NUMBER;    
        errc_    NUMBER;
        errm_    VARCHAR2(500);
        i        NUMBER;
      BEGIN
        id_user_ := dispatch.pk_security.login_hard('process_geofence','process_geofence');
        i := 0;
        FOR t IN tt LOOP
          BEGIN
            pk_space_target.check_inout_space_target (
                   in_id_data    => t.id_data,
                   in_id_device  => t.id_device,
                   in_id_vehicle => t.id_vehicle,
                   id_date_event => t.date_event,
                   id_date_write => t.date_write
          EXCEPTION
            WHEN OTHERS THEN
              errm_ := 'process geofence: '||SUBSTR(SQLERRM, 1, 500)||' - '||DBMS_UTILITY.FORMAT_ERROR_BACKTRACE;
              errc_ := SQLCODE;
              INSERT INTO t_data_error (id_data, date_error, error_number, error_message)
                   VALUES (t.id_data, SYSDATE, errc_, errm_);
          END;
          DELETE FROM t_process WHERE id_data = t.id_data AND id_type_process = ln_process_geofence;
          i := i + 1;
          IF i mod 100 = 0 THEN COMMIT; END IF;
        END LOOP;
        id_user_ := dispatch.pk_security.logout;
      END;the error is returned while executing the procedure
    pk_space_target.check_inout_space_targetI know the ORA-06508 could happen on open connections after a recompile.
    But I did not recompile anything.
    The only solution that works is to compile package pk_space_target introducing some error (decompile it) and re-compile without the error.
    Than to the same with pk_process.
    After the last recompile, everything start to work fine again.
    Do you have any suggestion on how/what investigate?
    I cannot find any cause!!
    Thanks in advance,
    Samuel

    At the end I opend a SR and the problem was a timestamp mistmatch between 2 packages:
    Connected to:
    Oracle Database 11g Release 11.1.0.6.0 - 64bit Production
    With the Real Application Clusters option
    SQL> alter session set nls_date_format='dd-mon-yy hh24:mi:ss';
    Session altered.
    SQL> select do.name dname, po.name pname, p_timestamp, po.stime p_stime
    2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
    3 where p_obj#=po.obj#(+)
    4 and d_obj#=do.obj#
    5 and do.status=1 /*dependent is valid*/
    6 and po.status=1 /*parent is valid*/
    7 and po.stime!=p_timestamp /*parent timestamp does not match*/
    order by 2,1; 8
    DNAME
    PNAME
    P_TIMESTAMP P_STIME
    PK_EVOLUTION
    PK_SPATIAL
    15-sep-11 08:50:11 09-oct-12 10:01:32Then I re-compiled the pk_evolution, and the row disappeared:
    SQL> r
    1 select do.name dname, po.name pname, p_timestamp, po.stime p_stime
    2 from sys.obj$ do, sys.dependency$ d, sys.obj$ po
    3 where p_obj#=po.obj#(+)
    4 and d_obj#=do.obj#
    5 and do.status=1 /*dependent is valid*/
    6 and po.status=1 /*parent is valid*/
    7 and po.stime!=p_timestamp /*parent timestamp does not match*/
    8* order by 2,1
    no rows selectedThis solved the problem.
    Samuel

  • 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

  • Calling Report from Form Error ORA-06508

    Dear all,
    I want migrate from Fom6i to Oracle Developer Suite 10g (10.1).
    Folder Form = C:\APLIORA\IRS\FORM
    Folder Report = C:\APLIORA\IRS\REPORT
    I have modified file DEFAULT.ENV
    FORMS_PATH=C:\APLIORA\IRS\FORM;C:\APLIORA\IRS\REPORT
    i do not have problem call a form from form.
    but when i call report from form show error ORA-06508 : PL/SQL : could not find program unit being called ; -6508
    my procedure is
    PROCEDURE Call_Report IS
         list_id ParamList;
    BEGIN
    list_id := Get_Parameter_List('input_params');
    IF NOT Id_Null(list_id) THEN
    Destroy_Parameter_List(list_id);
    END IF;
    list_id := Create_Parameter_List('input_params');
    Add_Parameter(list_id,'MAXIMIZE',TEXT_PARAMETER,'YES');
    Add_Parameter(list_id,'ORACLE_SHUTDOWN',TEXT_PARAMETER,'YES');
    RP2RRO.RP2RRO_RUN_PRODUCT(REPORTS,'TESTREPORT.REP',SYNCHRONOUS,RUNTIME,FILESYSTEM,list_id,null);
    END ;
    Do I miss something ?
    Can any one help ?
    Thanks

    Hi,
    Thank you for your replay.
    The problem have solved.
    This my step :
    1. Install Windows XP SP2 and Form 10.1.2.0.2 on new pc.
    2. Install Jinit version 1.3.1.28.
    3. Create report server
    3. Compile form, report and pll
    4. call report from from with this procedure :
    PROCEDURE Call_Report (vFILENAME varchar2) IS
    report_id                Report_Object;
    ReportServerJob VARCHAR2(100);
    vc_rep_status      VARCHAR2(100);
    repsvr                          varchar2(21) := 'myserv';
    userid                         VARCHAR2(100);
    pass                          VARCHAR2(100);
    Host                    VARCHAR2(100);
    BEGIN
    userid          := Get_Application_Property(USERNAME) ;
    pass          := Get_Application_Property(PASSWORD) ;
    Host          := Get_Application_Property(CONNECT_STRING) ;
    report_id:= find_report_object('REPORT');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_FILENAME,vFILENAME||'.jsp');
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,repsvr);
    ReportServerJob:=run_report_object(report_id);
    vc_rep_status := REPORT_OBJECT_STATUS(ReportServerJob);
    WHILE vc_rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED', null)
    LOOP
    vc_rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
    END LOOP;
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||vFILENAME||'.jsp'||'&userid='||userid||'/'||pass||'@'||Host||'&destype=CACHE&desformat=PDF&paramform=yes','_blank');
    ELSE
    message ('Report failed with error message '|| vc_rep_status);
    END IF;
    END;
    Ok, but i have another strange error. I will post new thread.
    Thank you and regards
    Teguh S

  • Multi-level error propagation during the execution of CFM2 transaction

    Hi,
    We are implementing SAP SCM 5.0 integrated to SAP R/3 Mills IS.
    During the execution of CFM2  transaction, while  trying to activate the integration model for the object u201COrdersu201D for the very first time, the following error message appears:
    *"Multi-level error propagation carried out".*
    There are also messages related to inbound queues blocked. In the case of maintenance orders, CIF_MNT_INBOUND message shows up. While working with Production orders, CIF_ORDER_INBOUND message emerges.
    The items listed below should be taken into account:
    -The production orders that are meant to be transferred to APO are regular production orders corresponding to several products.
    -We are working with configurable materials.
    -We are working with the active model (000) and for each plant we are using 2 different planning versions.
    Regards,
    Analía Nahmías

    Dear Analía,
    The corresponding error messages issued when executing //CCR indiacted the peg-ids are missing in liveCache.
    Recommendations:                                                      
    -Run transaction /SAPAPO/OM17 to check the internal consistency between database and liveCache within SCM system. Correct the inconsistencies                                                       
    -Execute report /sapapo/cif_deltareport3 to correct the inconsistencies between ECC and SCM system                            
    Regards,
    Tibor

Maybe you are looking for