ORACLE error 20001 in FDPSTP

Hi
In select statement i used view TPC_ORDER_REPORT_V
Previously report runs without error,
but i have changed view i.e. removed one column from this view , and when try to run it gives following error
**Starts**17-JAN-2013 13:25:06
ORACLE error 20001 in FDPSTP
Cause: FDPSTP failed due to ORA-20001:
ORA-06512: at "APPS.APP_EXCEPTION", line 72
ORA-06512: at "APPS.TPC_ORDER_REPORTS_PKG", line 715
ORA-06512: at line 1
The SQL statement being executed at the time of the error was: S
Can anyone help me to resolve it
Thanks,
Sunil
Edited by: 973411 on Jan 16, 2013 10:44 PM
Edited by: 973411 on Jan 16, 2013 10:45 PM

Hi Kishore,
I have executed your query
select * from dba_objects where status='INVALID' and object_name='TPC_ORDER_REPORTS_PKG';
Result : Blank record
Means not any row fetch. I have checked executing following query.
select * from dba_objects where status='VALID' and object_name='TPC_ORDER_REPORTS_PKG';
result:
OWNER     OBJECT_NAME     SUBOBJECT_NAME     OBJECT_ID     DATA_OBJECT_ID     OBJECT_TYPE     CREATED     LAST_DDL_TIME     TIMESTAMP     STATUS     TEMPORARY     GENERATED     SECONDARY
APPS     TPC_ORDER_REPORTS_PKG          571808          PACKAGE     1/13/2011 8:53:20 PM     1/7/2013 6:10:40 AM     2013-01-07:06:10:40     VALID N     N N
APPS     TPC_ORDER_REPORTS_PKG          571811          PACKAGE BODY     1/13/2011 9:18:15 PM     1/15/2013 8:02:03 PM     2013-01-15:20:02:03     VALID     N     N     N
Hence I sure package is valid .......
Edited by: 973411 on Jan 21, 2013 4:05 AM
Edited by: 973411 on Jan 21, 2013 4:06 AM

Similar Messages

  • Error in running request: ORACLE error 20100 in FDPSTP

    Got following error when running a concurrent manager job:
    ORACLE error 20100 in FDPSTP
    Cause: FDPSTP failed due to ORA-20100: File o0002562.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512
    From the request logfile:
    APPPRSPR module: Payment Process Manager
    ORACLE error 20100 in FDPSTP
    Cause: FDPSTP failed due to ORA-20100: File o0002562.tmp creation for FND_FILE failed.
    You will find more information on the cause of the error in request log.
    ORA-06512: at "APPS.FND_FILE", line 410
    ORA-06512: at "APPS.FND_
    Any idea?
    Thanks

    We discussed this issue many times in the forum before; please go through old threads and it should be helpful in fixing this issue -- https://forums.oracle.com/forums/search.jspa?threadID=&q=ORA-20100&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • About Multi-ORG for EBS R12.1.1 .. Oracle error -20001 ORA-20001 APP-FND-02

    I have two questions:
    1. If I have only single organization, Do I need to set up multi-org? We will be using AR, AP, and GL modules only.
    2. Is there any step-by-step process to set up multi-org?
    I am getting error: "Oracle error -20001 ORA-20001 APP-FND-02901. You do not have access to any operating unit. Please check if your profile option MO:Security Profile includes any operating unit or the profile option MO: operating unit is set has been detected in MO_GLOBAL_INIT" when I access any form for Entry.
    Thanks

    1. If I have only single organization, Do I need to set up multi-org? We will be using AR, AP, and GL modules only.Yes.
    2. Is there any step-by-step process to set up multi-org?https://forums.oracle.com/forums/search.jspa?threadID=&q=MultiOrg&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    I am getting error: "Oracle error -20001 ORA-20001 APP-FND-02901. You do not have access to any operating unit. Please check if your profile option MO:Security Profile includes any operating unit or the profile option MO: operating unit is set has been detected in MO_GLOBAL_INIT" when I access any form for Entry.Does this happen to all responsibilities?
    Please see the steps in (ORA-20001: APP-FND-02901 Errors Encountered When "Requests" Tab is Selected from PFT or EPF [ID 859072.1]) to set the profile option at the responsibility level for the responsibility you are trying to access.
    Thanks,
    Hussein

  • ORACLE error 29282 in FDPSTP

    hi
    i have this code with me ,a custom code which wrked fine till i added few lines of code for sequence number generation(eg 2010-0001, ie YYYY-xxxx format)
    CREATE OR REPLACE PROCEDURE Nap_Create_Job (ERRBUF OUT VARCHAR2,RETCODE OUT NUMBER,P_Job_Number VARCHAR2
    )IS
    BEGIN
    DECLARE
    g_eam_wo_relations_tbl0 Eam_Process_Wo_Pub.eam_wo_relations_tbl_type;
    g_eam_wo_relations_rec Eam_Process_Wo_Pub.eam_wo_relations_rec_type;
    g_eam_op_rec0 Eam_Process_Wo_Pub.eam_op_rec_type;
    g_eam_op_rec1 Eam_Process_Wo_Pub.eam_op_rec_type;
    g_eam_op_tbl2 Eam_Process_Wo_Pub.eam_op_tbl_type;
    g_eam_op_network_rec0 Eam_Process_Wo_Pub.eam_op_network_rec_type;
    g_eam_op_network_rec1 Eam_Process_Wo_Pub.eam_op_network_rec_type;
    g_eam_mat_req_rec0 Eam_Process_Wo_Pub.eam_mat_req_rec_type;
    g_eam_mat_req_rec1 Eam_Process_Wo_Pub.eam_mat_req_rec_type;
    g_eam_di_rec0 Eam_Process_Wo_Pub.eam_direct_items_rec_type;
    g_eam_di_rec1 Eam_Process_Wo_Pub.eam_direct_items_rec_type;
    g_eam_res_rec0 Eam_Process_Wo_Pub.eam_res_rec_type;
    g_eam_res_rec1 Eam_Process_Wo_Pub.eam_res_rec_type;
    g_eam_res_inst_rec0 Eam_Process_Wo_Pub.eam_res_inst_rec_type;
    g_eam_res_inst_rec1 Eam_Process_Wo_Pub.eam_res_inst_rec_type;
    g_eam_op_tbl0 Eam_Process_Wo_Pub.eam_op_tbl_type;
    g_eam_op_tbl1 Eam_Process_Wo_Pub.eam_op_tbl_type;
    g_eam_op_network_tbl0 Eam_Process_Wo_Pub.eam_op_network_tbl_type;
    g_eam_res_tbl0 Eam_Process_Wo_Pub.eam_res_tbl_type;
    g_eam_res_inst_tbl0 Eam_Process_Wo_Pub.eam_res_inst_tbl_type;
    g_eam_sub_res_tbl0 Eam_Process_Wo_Pub.eam_sub_res_tbl_type;
    g_eam_res_usage_tbl0 Eam_Process_Wo_Pub.eam_res_usage_tbl_type;
    g_eam_mat_req_tbl0 Eam_Process_Wo_Pub.eam_mat_req_tbl_type;
    g_eam_di_tbl0 Eam_Process_Wo_Pub.eam_direct_items_tbl_type;
    g_out_eam_wo_relations_tbl Eam_Process_Wo_Pub.eam_wo_relations_tbl_type;
    g_out_eam_wo_rec Eam_Process_Wo_Pub.eam_wo_rec_type;
    g_out_eam_wo_tbl Eam_Process_Wo_Pub.eam_wo_tbl_type;
    g_out_eam_op_tbl Eam_Process_Wo_Pub.eam_op_tbl_type;
    g_out_eam_op_network_tbl Eam_Process_Wo_Pub.eam_op_network_tbl_type;
    g_out_eam_res_tbl Eam_Process_Wo_Pub.eam_res_tbl_type;
    g_out_eam_res_inst_tbl Eam_Process_Wo_Pub.eam_res_inst_tbl_type;
    g_out_eam_sub_res_tbl Eam_Process_Wo_Pub.eam_sub_res_tbl_type;
    g_out_eam_res_usage_tbl Eam_Process_Wo_Pub.eam_res_usage_tbl_type;
    g_out_eam_mat_req_tbl Eam_Process_Wo_Pub.eam_mat_req_tbl_type;
    g_out_eam_di_tbl Eam_Process_Wo_Pub.eam_direct_items_tbl_type;
    g_eam_wo_rec1 Eam_Process_Wo_Pub.eam_wo_rec_type;
    g_eam_wo_rec2 Eam_Process_Wo_Pub.eam_wo_rec_type;
    g_eam_wo_rec3 Eam_Process_Wo_Pub.eam_wo_rec_type;
    g_eam_wo_tbl0 Eam_Process_Wo_Pub.eam_wo_tbl_type;
    g_eam_wo_tbl1 Eam_Process_Wo_Pub.eam_wo_tbl_type;
    g_eam_wo_tbl2 Eam_Process_Wo_Pub.eam_wo_tbl_type;
    g_eam_wo_res_usg_tbl0 Eam_Process_Wo_Pub.eam_res_usage_tbl_type;
    l_return_status     VARCHAR2(1);
    l_msg_count         NUMBER;
    P_Date              DATE     ;
    g_eam_wo_usg_rec1 Eam_Process_Wo_Pub.eam_res_usage_rec_type;
    g_eam_wo_usg_rec2 Eam_Process_Wo_Pub.eam_res_usage_rec_type;
    L_Asset_Activity_id           NUMBER;
    L_OPERATION_SEQ_NUM           NUMBER;
    v_loop_counter               NUMBER := 10 ;
    L_Inv_Item_Id                 NUMBER;
    l_Foam                        NUMBER;
    v_COUNT_J                     NUMBER := 0 ;
    l_Qty                         NUMBER;
    l_dept                        NUMBER;
    l_rig                         VARCHAR2(130);
    V_CELL                        VARCHAR2(13);
    l_well                        VARCHAR2(130);
    l_field                       VARCHAR2(130);
    l_job                         VARCHAR2(130);
    Att_Field              VARCHAR2(130);
    Att_Well              VARCHAR2(130);
    Att_Rig                       VARCHAR2(130);
    Att_lab_test_No               VARCHAR2(30);
    Att_Client                    VARCHAR2(300);
    Att_contract                  VARCHAR2(30);
    Att_material_order_type       VARCHAR2(30);
    Att_service_order_type        VARCHAR2(30);
    l_rig_Value               NUMBER;
    Att_Field1                 VARCHAR2(30);
    Att_Well1                  VARCHAR2(30);
    Att_Rig1                   VARCHAR2(30);
    Att_Job_type               VARCHAR2(30);
    Att_Job                    VARCHAR2(30);
    V_OPN_JOB_DESC              VARCHAR2(60);
    Field_Distance             NUMBER;
    L_Sum_Pound                NUMBER;
    L_Sum_Cement               NUMBER;
    L_Cnt                      NUMBER;
    L_Sum_Pound_Amount         NUMBER;
    L_Sum_Cement_Amount        NUMBER;
    L_Slurry_Vol               NUMBER;
    L_Sum                      NUMBER;
    L_ITEM_count               NUMBER;
    L_ITEM_count1              NUMBER;
    V_wip_entity_id            NUMBER;
    V_Run_API                  NUMBER:=1;
    V_Invoice_no               VARCHAR2(20);
    CURSOR C1 IS
    SELECT  job  ,    ORG_JOB_NUMBER   job_number,    job_type,      entry_date,      class_code    cell
              FROM xxnp_opn_joblog_001
              WHERE ORG_JOB_NUMBER   =  p_job_number
              and Rownum =1 ;
    CURSOR  C3  IS
            SELECT  Distinct
                  SUBSTR (   DTL.DATA_DESCRIPTION ,1,240)    DATA_DESCRIPTION
            FROM   XXNP_OPN_JOBLOG_DATA_009  DTL  ,
                   XXNP_OPN_JOBLOG_001       MST
            WHERE
                       MST.OPN_JOBLOG_001_ID = DTL.OPN_JOBLOG_001_ID
             AND       ORG_JOB_NUMBER   =  p_job_number;
    BEGIN
           BEGIN
         SELECT    ENTRY_DATE  , Field, well , rig, CUSTOMER_NAME,contract, MATERIAL_ORDER_TYPE,SERVICES_ORDER_TYPE ,job_type,job , CLASS_CODE
         INTO      P_Date , Att_Field,Att_Well,Att_Rig,Att_Client,Att_contract, Att_material_order_type,Att_service_order_type,Att_Job_type,Att_Job ,v_CELL
         FROM      XXNP_OPN_JOBLOG_001
         WHERE     ORG_JOB_NUMBER   = P_Job_Number
         and Rownum =1 ;
         EXCEPTION WHEN OTHERS THEN
            V_Run_API   := 0 ;
           Fnd_File.Put_Line(FND_FILE.LOG,  'Inset Correct Job Number for this Request ' ) ;
       END;
       BEGIN
         SELECT department_id INTO l_dept
         FROM BOM_DEPARTMENTS
         WHERE DEPARTMENT_CODE = 'OPERATIONS';
        EXCEPTION WHEN OTHERS THEN     l_dept := 0;
       END;
    If  v_CELL  is  null then
       Fnd_File.Put_Line(FND_FILE.LOG,  'Inset Cell Number for this Job ' ) ;
       V_Run_API   := 0 ;
    End if ;
    IF V_Run_API <> 0 then
                    g_eam_wo_rec1 := NULL;
                    g_eam_wo_rec1.transaction_type := Eam_Process_Wo_Pvt.G_OPR_CREATE;
                    g_eam_wo_rec1.batch_id := 1;
                    g_eam_wo_rec1.header_id := 1;
                    g_eam_wo_rec1.wip_entity_id := NULL;
                    g_eam_wo_rec1.wip_entity_name := P_job_number;
                    g_eam_wo_rec1.Asset_Activity_Id := L_Asset_Activity_id;
                    g_eam_wo_rec1.organization_id := 104;
                    g_eam_wo_rec1.asset_group_id := 31759;
                    g_eam_wo_rec1.asset_number := 'NAPESCO OPERATIONS';
                    g_eam_wo_rec1.rebuild_item_id := NULL;
                    g_eam_wo_rec1.rebuild_serial_number := NULL;
                    g_eam_wo_rec1.maintenance_object_source := 1;
                    g_eam_wo_rec1.maintenance_object_type := 1;
                    g_eam_wo_rec1.maintenance_object_id := 346;
                    g_eam_wo_rec1.parent_wip_entity_id := NULL;
                    g_eam_wo_rec1.manual_rebuild_flag := NULL;
                    g_eam_wo_rec1.owning_department := 1;
                    g_eam_wo_rec1.description := 'Created From Job Log';
                    g_eam_wo_rec1.class_code := V_CELL ;
                    g_eam_wo_rec1.status_type := 3;
                    g_eam_wo_rec1.date_released := P_Date  ;
                    g_eam_wo_rec1.firm_planned_flag := 2;
                    g_eam_wo_rec1.scheduled_start_date := P_Date;
                    g_eam_wo_rec1.requested_start_date :=  P_Date;
                    g_eam_wo_rec1.scheduled_completion_date := P_Date;
                    g_eam_wo_rec1.material_issue_by_mo := 'N';
                    g_eam_wo_rec1.priority := 10;
                    g_eam_wo_rec1.issue_zero_cost_flag := 'Y';
                    g_eam_wo_rec1.po_creation_time := 1;
                    g_eam_wo_rec1.job_quantity := 1;
                    g_eam_wo_rec1.notification_required := 'N';
                    g_eam_wo_rec1.Attribute1 := Att_Well;
                    g_eam_wo_rec1.Attribute2 := Att_Rig;
                    g_eam_wo_rec1.Attribute4 := Att_Client;
                    g_eam_wo_rec1.Attribute5 := Att_contract;
                    g_eam_wo_rec1.Attribute6 := Att_material_order_type;
                    g_eam_wo_rec1.Attribute7 := Att_service_order_type;
                    g_eam_wo_rec1.Attribute8 := Att_Field;
                    g_eam_wo_rec1.Attribute9 := Att_Job_type;
                    g_eam_wo_rec1.Attribute10 := Att_Job;
                    g_eam_wo_tbl0(1) := g_eam_wo_rec1;
                    Eam_Process_Wo_Pub.PROCESS_WO
                    ( p_bo_identifier => 'EAM'
                    , p_api_version_number => 1.0
                    , p_init_msg_list => TRUE
                    , p_commit => 'N'
                    , p_eam_wo_rec => g_eam_wo_rec1
                    , p_eam_op_tbl => g_eam_op_tbl2
                    , p_eam_op_network_tbl => g_eam_op_network_tbl0
                    , p_eam_res_tbl => g_eam_res_tbl0
                    , p_eam_res_inst_tbl => g_eam_res_inst_tbl0
                    , p_eam_sub_res_tbl => g_eam_sub_res_tbl0
                    , p_eam_res_usage_tbl => g_eam_res_usage_tbl0
                    , p_eam_mat_req_tbl => g_eam_mat_req_tbl0
                    , p_eam_direct_items_tbl => g_eam_di_tbl0
                    , x_eam_wo_rec => g_eam_wo_rec2
                    , x_eam_op_tbl => g_out_eam_op_tbl
                    , x_eam_op_network_tbl => g_out_eam_op_network_tbl
                    , x_eam_res_tbl => g_out_eam_res_tbl
                    , x_eam_res_inst_tbl => g_out_eam_res_inst_tbl
                    , x_eam_sub_res_tbl => g_out_eam_sub_res_tbl
                    , x_eam_res_usage_tbl => g_out_eam_res_usage_tbl
                    , x_eam_mat_req_tbl => g_out_eam_mat_req_tbl
                    , x_eam_direct_items_tbl => g_out_eam_di_tbl
                    , x_return_status => l_return_status
                    , x_msg_count => l_msg_count
                    , p_debug => 'Y'
                    , p_output_dir => '/usr/tmp'
                    , p_debug_filename => 'eambo24.log'
                    , p_debug_file_mode => 'w'
                     --------------------------------------------------- inserting Operation------------------------------------- -----------------------------------
                     FOR I IN  C3 LOOP
                    g_eam_op_rec1.header_id := 1;
                    g_eam_op_rec1.ROW_id := 1;
                    g_eam_op_rec1.batch_id := 1;
                    g_eam_op_rec1.WIP_ENTITY_ID :=g_eam_wo_rec2.wip_entity_id;
                    V_wip_entity_id     :=g_eam_wo_rec2.wip_entity_id;
                    g_eam_op_rec1.ORGANIZATION_ID :=  104  ;
                    g_eam_op_rec1.OPERATION_SEQ_NUM :=  v_loop_counter    ;
                    g_eam_op_rec1.DEPARTMENT_ID  :=  l_dept     ;
                    g_eam_op_rec1.DESCRIPTION :=  I.DATA_DESCRIPTION    ;
                    g_eam_op_rec1.START_DATE := SYSDATE ;
                    g_eam_op_rec1.COMPLETION_DATE := SYSDATE ;
                    g_eam_op_rec1.OPERATION_SEQUENCE_ID := v_loop_counter  ;
                    g_eam_op_rec1.TRANSACTION_TYPE:= 1;
                    v_loop_counter := v_loop_counter +10 ;
                    g_eam_op_tbl2  (1) := g_eam_op_rec1 ;
                    Eam_Process_Wo_Pub.PROCESS_MASTER_CHILD_WO
                    ( p_bo_identifier => 'EAM'
                    , p_api_version_number => 1.0
                    , p_init_msg_list => TRUE
                    , p_commit => 'N'
                    , p_eam_wo_relations_tbl => g_eam_wo_relations_tbl0
                    , p_eam_wo_tbl => g_eam_wo_tbl2
                    , p_eam_op_tbl => g_eam_op_tbl2
                    , p_eam_op_network_tbl => g_eam_op_network_tbl0
                    , p_eam_res_tbl => g_eam_res_tbl0
                    , p_eam_res_inst_tbl => g_eam_res_inst_tbl0
                    , p_eam_sub_res_tbl => g_eam_sub_res_tbl0
                    , p_eam_mat_req_tbl => g_eam_mat_req_tbl0
                    , p_eam_direct_items_tbl => g_eam_di_tbl0
                    , x_eam_wo_tbl => g_eam_wo_tbl1
                    , x_eam_wo_relations_tbl  => g_out_eam_wo_relations_tbl
                    , x_eam_op_tbl => g_out_eam_op_tbl
                    , x_eam_op_network_tbl => g_out_eam_op_network_tbl
                    , x_eam_res_tbl => g_out_eam_res_tbl
                    , x_eam_res_inst_tbl => g_out_eam_res_inst_tbl
                    , x_eam_sub_res_tbl => g_out_eam_sub_res_tbl
                    , x_eam_mat_req_tbl => g_out_eam_mat_req_tbl
                    , x_eam_direct_items_tbl => g_out_eam_di_tbl
                    , x_return_status => l_return_status
                    , x_msg_count => l_msg_count
                    , p_debug => 'Y'
                    , p_output_dir => '/usr/tmp'
                    , p_debug_filename => 'eambo26.log'
                    , p_debug_file_mode => 'w'
                    END LOOP ;
    End if ;
    /*NEWLY ADDED ON 8TH FEB FOR SEQ NUM*/
    Begin
             Select
                     to_char (sysdate , 'RRRR') || '-' || nvl (lpad ( to_char ( max (  to_number ( ( substr ( attribute7 ,   6,  instr ( substr ( attribute7 , 6 ),'-')-1 )) ) )+1  ) , 4,'0'),'0001')
                        into V_Invoice_no
                       From (
                       Select ATTRIBUTE7  from  OE_HEADERS_IFACE_ALL where ATTRIBUTE7 is not null union All
                       Select ATTRIBUTE7  from  OE_ORDER_HEADERS_all where ATTRIBUTE7 is not null
                     where substr ( ATTRIBUTE7,1,4 )   = to_char (sysdate , 'RRRR') ;
              Exception
                    when others then
                   select   to_char (sysdate , 'RRRR')||'-0001'  into  V_Invoice_no    from dual  ;
           End  ;
            INSERT INTO WIP_DISCRETE_JOBS
              (ATTRIBUTE14 )
          VALUES
               (V_Invoice_no  );
      ------   Material creation
      Napesco_Work_Order_Api_Res   (  p_JOB_NUMBER     ,    g_eam_wo_rec2.wip_entity_id     ) ;
      ------   services  creation
       Napesco_Work_Order_Api  (  p_JOB_NUMBER     ,    g_eam_wo_rec2.wip_entity_id     ) ;
       UPDATE   wip_discrete_jobs
       SET   CREATION_DATE =  P_Date
       WHERE  wip_entity_id =   v_wip_entity_id
       AND ROWNUM =1 ;
       UPDATE XXNP_OPN_JOBLOG_001
       SET      WO_FLAG = 'Y'  ,
                WO_date = SYSDATE
       WHERE     ORG_JOB_NUMBER  = P_Job_Number ;
           Fnd_File.Put_Line(FND_FILE.LOG, 'Work Order ' || P_job_number || '  Successfully    ' ) ;
    END LOOP;
    END  ;
    /just to be clear this is the code i included
    /*NEWLY ADDED ON 8TH FEB FOR SEQ NUM*/
    Begin
             Select
                     to_char (sysdate , 'RRRR') || '-' || nvl (lpad ( to_char ( max (  to_number ( ( substr ( attribute7 ,   6,  instr ( substr ( attribute7 , 6 ),'-')-1 )) ) )+1  ) , 4,'0'),'0001')
                        into V_Invoice_no
                       From (
                       Select ATTRIBUTE7  from  OE_HEADERS_IFACE_ALL where ATTRIBUTE7 is not null union All
                       Select ATTRIBUTE7  from  OE_ORDER_HEADERS_all where ATTRIBUTE7 is not null
                     where substr ( ATTRIBUTE7,1,4 )   = to_char (sysdate , 'RRRR') ;
              Exception
                    when others then
                   select   to_char (sysdate , 'RRRR')||'-0001'  into  V_Invoice_no    from dual  ;
           End  ;
            INSERT INTO WIP_DISCRETE_JOBS
              (ATTRIBUTE14 )
          VALUES
               (V_Invoice_no  );but i am getting this error
    Enterprise Asset Management: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    NAPESCO_CREATE_JOB module: NAP Create Work Order
    Current system time is 10-FEB-2011 11:44:37
    **Starts**10-FEB-2011 11:44:38
    ORACLE error 29282 in FDPSTP
    Cause: FDPSTP failed due to ORA-29282: invalid file ID
    ORA-06512: at "SYS.UTL_FILE", line 774
    ORA-06512: at "APPS.EAM_ERROR_MESSAGE_PVT", line 1987
    ORA-06512: at "APPS.EAM_ERROR_MESSAGE_PVT", line 1197
    ORA-065
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Exceptions posted by this request:
    Concurrent Request for "NAP Create Work Order" has completed with error.
    Concurrent request completed
    Current system time is 10-FEB-2011 11:44:42
    kindly guide me
    thanking in advance

    hi
    i just found out ever since i added my peice of code to the already wrking fine concurrent pgm this error is showing
    so i figure the prob is with my peice of code which i added
    i require a sequence number generation
    ie YYYY-0001 format till 9999
    say a job is registered in the year 2011 on feb 2 the sequence wud be 2011 -0001
    on feb 3 for another job it wud be 2011-0002
    well this wht i tried
    /*NEWLY ADDED ON 8TH FEB FOR SEQ NUM*/
    Begin
    select to_char (sysdate , 'RRRR')||'-0001' into V_Invoice_no from dual ;
    End ;
    INSERT INTO WIP_DISCRETE_JOBS
    (ATTRIBUTE14 )
    VALUES
    (V_Invoice_no );but will it increment from 0001 to 0002
    kindly guide me
    thanking in advance
    Edited by: makdutakdu on Feb 10, 2011 1:56 PM

  • URG: ORACLE ERROR 6502 IN FDPSTP IN PICK SELECTION LIST GENERATION

    Dear All,
    I'm on 11.5.7 on Linux.
    My problem is with WSHPSGL: Pick Selection List Generation that ends with error when launched from transactions form.
    The program end with the following error:
    Oracle Shipping: Version : 11.5.0 - Development
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    WSHPSGL module: Pick Selection List Generation
    Current system time is 14-NOV-2002 11:26:13
    **Starts**14-NOV-2002 11:26:14
    ORACLE error 6502 in FDPSTP
    Cause: FDPSTP failed due to ORA-06502: PL/SQL: numeric or value error:
    character to number conversion error
    ORA-06512: at line 1
    If we launch the report trough OM Superuser - Shipping - Release Sales Orders -
    Release Sales Orders, there's no error.
    Has anyone have this kind of error? How can we solve it?
    Any help would be greatly appreciated.
    Thanks in advance
    FG

    EBS is 11.5.10.2
    OS is OEL 5.3.
    It was running fine until yesterday.But its giving error today.
    error log shows exception in Release_Batch_SRS procedure.
    exact code is ---
    ++++++++++++++++++++++++
    IF G_CONC_REQ = FND_API.G_TRUE THEN
    l_ret_code := FND_CONCURRENT.SET_COMPLETION_STATUS('ERROR','');
    errbuf := 'Exception occurred in Release_Batch_SRS';
    retcode := '2';
    END IF;
    ++++++++++++++++++++++
    Thanks,
    Rakesh

  • ORACLE error 29283 in FDPSTP

    Hi Team.
    We have a DB 11.1.0.07 ON HP-UX 11.23 64 Bits. and wr have this error;
    ORACLE error 29283 in FDPSTP
    **Starts**27-SEP-2013 12:05:10
    ORACLE error 29283 in FDPSTP
    Cause:  FDPSTP failed due to ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "APPS.FLC_OPM_INTERFACE", line 119
    ORA-06512: at line 1
    Generando archivo: /homeoa/proaut2/PROD/OP/OPM130927120510.dat
    Invalida Operacion
    Guido

    938302 wrote:
    Hi Team.
    We have a DB 11.1.0.07 ON HP-UX 11.23 64 Bits. and wr have this error;
    ORACLE error 29283 in FDPSTP
    **Starts**27-SEP-2013 12:05:10
    ORACLE error 29283 in FDPSTP
    Cause:  FDPSTP failed due to ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE", line 536
    ORA-29283: invalid file operation
    ORA-06512: at "APPS.FLC_OPM_INTERFACE", line 119
    ORA-06512: at line 1
    Generando archivo: /homeoa/proaut2/PROD/OP/OPM130927120510.dat
    Invalida Operacion
    Guido
    [oracle@localhost ~]$ oerr ora 29283
    29283, 00000, "invalid file operation"
    // *Cause:  An attempt was made to read from a file or directory that does
    //          not exist, or file or directory access was denied by the
    //          operating system.
    // *Action: Verify file and directory access privileges on the file system,
    //          and if reading, verify that the file exists.

  • ORACLE error 1847 in FDPSTP while running concurrent program

    When I try to run concurrent program getting below error
    ORACLE error 1847 in FDPSTP
    Cause: FDPSTP failed due to ORA-01847: day of month must be between 1 and last day of month
    ORA-06512: at line 1
    Parameters
    Org_id number
    Date select sysdate from dual;
    Executable
    PROCEDURE call_iptp15c (
    p_operating_unit_in IN ap_invoices_all.org_id%TYPE,
    p_start_date_in IN DATE,
    ERROR_BUF OUT VARCHAR2,
    RETCODE OUT VARCHAR2
    What would be the reason for this.

    Hi,
    Please mention the application release along with the database version and OS.
    Is this a custom or seeded concurrent program?
    Please make sure you use a valid date format -- Note: 19171.1 - OERR: ORA 1847 day of month must be between 1 and last day of month
    Thanks,
    Hussein

  • ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set

    ORA-20001: Oracle error -20001: ORA-20001: Oracle error -14552: ORA-14552: cannot perform a DDL, commit or rollback inside a query or DML has been detected in fnd_global.set_nls.set_parameter('NLS_LANGUAGE','AMERICAN'). has been detected in fnd_global.set_nls.
    this error generates everytime when i run a apex application
    i did call the package in session state with  dbms_session.set_nls('NLS_LANGUAGE','AMERICAN'); but still it shows the error in the report any solution please

    Hi Amrit
    Can you put the FND_GLOBAL calls in a pre map trigger/process rather than as part of the map?
    Cheers
    David

  • How to handle an Oracle error

    I want to handle an Oracle Error in my code where the "execute immediate" statement comes to play.
    My code goes against several tables
    ID_TABLE_08
    ID_TABLE_07
    ID_TABLE_06
    If table does not exist in database (ie: ID_TABLE_05) I get : Oracle Error ORA-0942 table or view does not exist.
    How can I capture and handle this error so
    1. The code will continue to run getting the next value
    2. The bad record still will get written in to a table called bad_table.
    v_year := TO_CHAR (pp_eff_dtg (indx), 'yy');
    BEGIN
    EXECUTE IMMEDIATE
    'SELECT DISTINCT ID_number
    FROM ID_TABLE_'|| v_year||'
    WHERE NAME = :NAME
    AND EFFECTIVE_DATE = : EFFECTIVE_DATE
    INTO v_ID_number
    USING pp_NAME (indx),
    pp_eff_dtg (indx);
    GOTO END_LOOP;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    GOTO INSERT_ADD_RECORD;
    END;
    Thank you for your help!

    if you want to handle a specific oracle error number you can also declare an exception, match that exception to the error number and handle it.
    Like this (not syntax checked)
    declare
      e_table_does_not_exist exception;
      pragma exception_init (-942,e_table_does_not_exist); -- I hope I got the parameters in the right order
    begin
       EXECUTE IMMEDIATE('select * from ID_TABLE_'|| v_year||' where ...');
    exception
       when e_table_does_not_exist then -- handle specific error
           raise_application_error(-20001,'The table ID_TABLE_'|| v_year||' could not be found. Next time enter a valid year!');
    end;

  • Oracle Error -1031 Encountered

    Hi,
    I have a requirement wherein i had to make a function call which is stored inside a package body. This function call can either be done using Command Line(In Linux) or from the Application Front End. When i run the function call from the command line, i do not get any issue but when i do the same from the UI, i have been facing an error given below:
    "ORA-20001: Formula EXT_FRENCH_DUE_EMPLOYEE_DATA_100100001362281, line 90, Oracle error -1031 occurred."
    I think it has got something to do with the privileges. Correct me if i'm wrong...
    If someone can help me out, it would be very helpful
    Thanks in advance
    Sriharsha Ramavarapu

    Hi,
    Sorry froo delay in replying.. here is script..
    i:\oracle\product\10.2.0\db_1\bin\exp full=y userid=system/manager@ccportal file='i:\backup\backupn.dmp' consistent=y log='i:\backup\backupn.log
    But unfortunately today's log i cud not find any errors. Export completed successfully without warnings..
    Regards,
    Arun

  • APP-DT-34605:Oracle error ORA-4098 occured while writing to PER_ALL_ASSIGNM

    We have Upgraded DB from 10.2.0.2 to 10.2.0.5 having same Apps version 11.5.10.2,
    we have seen below issue upon upgrade,
    While updating any information in Assignment i.e. Assignment Status getting following error.
    APP-DT-34605:Oracle error ORA-4098 occured while writing to PER_ALL_ASSIGNMENTS_F
    How to overcome these errors, please advise,
    RM

    Please see these docs.
    PERWSHRG: Updating Assignment Gives Error APP-DT-34605 ORA-6510 [ID 286294.1]
    Update Employee Assignment Details Cause Error: APP-DT-34605-- ORA-20001 occurred writing to PER_ALL_ASSIGNMENTS_F [ID 793451.1]
    APP-DT-34605 Error When Saving on Assignment Form [ID 829292.1]
    Receive APP-DT-34605 Error When Updating an Existing Payment Method [ID 780090.1]
    ORA-06508 PL/SQL Could Not Find Program Unit Being Called: "APPS.PAY_PAY_SHD" [ID 1170903.1]
    Thanks,
    Hussein

  • Map oracle error

    Is there a way to map Oracle error to display a friendly error message to users?
    For example, instead of displaying:
    ORA-00001: unique constraint (GDB.INT_UK) violated
    Have it map to some thing like:
    Customer Id must be unique. The customer you try to add is already in the database.

    The HTML DB Edit Process page has 3 boxes
    1. Source - Put your source code here
    2. Success message
    3. Error message
    Any unhandled exception in your PL/SQL code will cause HTML DB to go to an error page and show that error message (sqlerrm)
    If you dont want that, handle all exceptions in your code either using named exceptions or predefined exceptions, map it to whatever user-friendly error message you want and put that in the Error message box.
    So, for example, if my process source is
    declare
    file_not_found exception;
    pragma exception_init(file_not_found,-20000);
    invalid_format exception;
    pragma exception_init(invalid_format,-20001);
    begin
      :P7_ERROR_MESSAGE := 'Successfully executed';
      mypkg.myproc(...);
    exception
    when file_not_found or invalid_format then
        :P7_ERROR_MESSAGE := sqlerrm;
    end;And then, in process error mesage, I have #SQLERRM# (not really expected since I am handling all known errors in the code itself), the success message has &P7_ERROR_MESSAGE.
    This way, I get a error page only when a totally unexpected error is raised.
    Hope this helps
    Thanks

  • Capturing oracle error codes into a variable

    Hi
    Can someone show me how it is possible to save an Oracle defined error code into a variable? What I am trying to do is when a stored procedure fails an Oracle error is raised, such as ORA-xxxx, then pass this code into variable to be saved into a log.
    How do I achieve this?

    user633278 wrote:
    How do I achieve this?Function SQLCODE in PL/SQL exception handler returns error code. SQLERRM returns message:
    SQL> declare
      2      x number;
      3  begin
      4      x := 1/0;
      5    exception
      6      when others
      7        then
      8          dbms_output.put_line('Error code: ' || SQLCODE);
      9          dbms_output.put_line('Error message: ' || SQLERRM);
    10  end;
    11  /
    Error code: -1476
    Error message: ORA-01476: divisor is equal to zero
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Oracle errors in Weblogic Error logs appear in non english

    We have a problem with weblogic error logging. Specifically, in a managed server's log file, Oracle errors such as ORA-XXXX show in Greek, not English. We are assuming
    that this is because the timezone is Europe/Athens. However, the weblogic application server runs with user.language=en, user.country=US. What's more, there are 4 application servers and 2 of them have this problem. The oracle database is accessed via weblogic datasources.
    Oracle database server Setup: Oracle Server 11gR2 running on Oracle Linux 64 bit, timezone set to Europe/Athens
    Weblogic Server: Weblogic 10.3.5 running on Oracle Linux 64 bit, timezone set to Europe/Athens
    The managed server, according to jrockit, the jvm runs with the following language related system properties:
    user.language=en, user.country=US, user.timezone=Europe/Athens
    The question is: How do we tell oracle / weblogic to log english text for the ORA errors?
    Thanks,
    Chris

    I digged in the weblogic installation directory and it seems like the domain configuration wizard messed up the jdbc configs for the data sources.
    The config xml files for the data sources in the /domain root/config/jdbc directory had oracle driver but the test query was for pointbase. I double checked from the database.xml file in the init-info directory and corrected the entry in the datasource config xmls and voila!.. the errors were gone.
    I am not sure if this was the right approach and whether i have solved the issue or simply patched it.. so I am keeping the question open. If any one has any inputs I will be grateful.
    If the mods/admins feel that the thread should be marked as solved I will surely do so.
    Thanks.

  • [SOLVED] FRM-40508:ORACLE error: unable to INSERT record

    Hi all,
    I have migrated this form from 4.5 to 10g (Version 10.1.2.0.2 ). This form inserts a record into the database table when all the fields in the form are filled and a button Save is presed.
    At the time when I press the Save button, I get this error. FRM-40508:ORACLE error: unable to INSERT record
    So I went on to see the "Display Error" from help and found to be the database error, inserting into a table.
    The error message is ORA-00932: inconsistent datatypes: expected DATE got NUMBER
    The form where I press Save button has 3 date fields and I checked the properties of them and they are Date only.
    I also generated to object list report and tried to find some answer, but no use.
    Please help me in debugging this form.
    Edited by: Charan on Aug 18, 2011 4:05 PM

    I think you need to get a description of the table and compare all the "database" columns in the form with the ones in the database table to see that the types match. Somewhere there's a mismatch. Also check the block(s) "query data source columns" and see if there's any
    columns in there that the type does not match the table. (check the sizes of things too while you're at it.)

Maybe you are looking for

  • Why don't additional downloaded lens profiles show up in LR5?

    Hi everyone! My name is Kai and this is my first post here. Normaly I find an answer to all my questions by reading already existing discussions. But this time I wasn't lucky... Hopefully this is not a stupid question. I downloaded lens profiles for

  • N86 8MP... ANY GENIUS PLZ HELP

    i HAVE ONE PROBLEM WITH N86 8MP, WHENEVER I M GOING TO OVI STORE OR EMAIL OR ANY OTHER APPLICATION ACCESSING NETWORK CONNECTION, MY PHONE STARTS RELOADING AND RESTARTS ITSELF. pLZ HELP WHAT IS PROBLEM AND HOW TO SOLVE IT. DR.MUKHTAR ALI. [email prote

  • Service-Based Invoice Verification indicator setup automatically

    Hi, How to get the Service-Based Invoice Verification indicator setup automatically when a user tries to create a PO. There is no service master being setup for the sevices carried out. Bascially the requisiitons are created through Projects based on

  • Create one order sales document with reference to multiple quotations bapi

    Hi, I use SD_SALESDOCUMENT_CREATE for create sales document, but now i need create one sales document with multiples quotations , but i dont know which fields i fill or if another bapi can do this. i appreciate your helps.

  • Flash problems with Youtube HELP!

    I am trying to see an ad on youtube. However, only the audio portion is broadcast through the PC - no visual. I have uninstalled and reinstalled flash. The flash on my PC passed the test at the adobe site. No one at my office has a clue as to why thi