壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1995|回复: 1

主题: ORA-01403 Posting in General Ledger

[复制链接]
发表于 2008/2/10 23:18:39 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
Problem Description
-------------------
You are trying to run General Ledger Posting and you see that the program is
completed with an error.
When you go into view my concurrent requests and view the request log the
request log has the following error message.
_______________________________________________
Oracle General Ledger: Version : 9.0.9 - Development
Copyright (c) Oracle Corporation 1979, 1991. All rights reserved.
GLPPOS module: Posting
SHRD0030: glpmpi() encountered an error returning from errexit:
SHRD0042: Error in ROUTINE: glpmpi, status: 0
SHRD0043: ERROR:
***************************************************
sqlcaid:   sqlabc: 0  sqlcode:  1403  sqlerrml: 25
sqlerrmc:
ORA-01403: no data found
sqlerrp:   sqlerrd: 0 0 0 0 152 0
sqlwarn:           sqltext:  
*****************************************************
SHRD0044: Process logging off database and exiting ...
PPOS0064: Posting exited with error status
+-----------------------------------------------------+
Concurrent request completed
_______________________________________________

The Posting has been running successfully quite recently. And it is failing only
since you have applied any big application patchsets /upgraded your database /
applied interoperability patches/ applied Y2K patchsets.

Solution Description
--------------------
Contact your DBA and ask him to see if there are any invalid  objects in your
system. To check the invalid objects do the following.
    $ sqlplus system/manager
    SQL> select owner, count(*)
         from dba_objects
         where status = 'INVALID'                                
         group by owner;
If this returns any rows, then recompile those invalid objects and then run the
posting.
Please refer Note 60966.1 - Getting Rid Of Those Pesky Invalid Objects,
for help regarding Invalid Objects.
References
----------
Note 60966.1
Additional Search Words
-----------------------
Journal Entry

.
 楼主| 发表于 2008/2/10 23:19:34 | 显示全部楼层
主题:  Getting Rid Of Those Pesky Invalid Objects In Oracle Applications
  文档 ID:  注释:60966.1 类型:  TROUBLESHOOTING
  上次修订日期:  10-JAN-2008 状态:  PUBLISHED


Checked for relevance on 10-January-2008


Getting Rid Of Those Pesky Invalid Objects           
===========================================

Invalid objects may be created when running an install, an upgrade, a patch or
even some user activities.  Many of these errors and/or problems can be directly
linked to these invalid objects, so cleaning them up is very important for
problem resolution.

Follow these steps to attempt to validate the invalid objects:


Step 1
------

Use this SQL script to determine the extent of the invalid object situation:

  $ sqlplus system/manager

  SQL> select owner, count(*) from dba_objects where status = 'INVALID'                                
  group by owner;

  OWNER                            COUNT(*)
  ------------------------------ ----------
  APPS                                  218
  INV                                     1
  SYS                                     3
  SYSTEM                                  1


Step 2
------

Compile the invalid objects using one of the following three methods:

Method 1 - use the generic AD tools script adcompsc.pls

       $ sqlplus inv/inv

       SQL> @$AD_TOP/sql/adcompsc.pls inv inv ""

Method 2 - for invalid objects which are specifically owned by the # apps
schema, use the adadmin option for compiling the apps schema.

Run adadmin and choose the 'Maintain Application Database Objects' option   
from the adadmin main menu.  Next, choose the 'Compile APPS schema(s)' option
from the Database menu. This option will batch up workers to compile the
invalid objects.

Method 3 - if there are only a couple of invalid objects you can compile
each one manually.

      $ sqlplus system/manager

      SQL> alter package APPS.PTE_CORE compile;


Step 3
------

Loop back through Step one and two a couple of times if you are not successful
in dropping the number of invalid objects.


Step 4
------

If some objects are problematic, you can check the errors that the compilation
is receiving by doing the following:

      SQL> select * from dba_errors where name = 'PTE_CORE';

      OWNER    NAME      TYPE          SEQUENCE       LINE   POSITION
      TEXT
      ----------------------------------------------------------------------
      APPS     PTE_CORE  PACKAGE        1         46         36
      PLS-00201: identifier 'FND_APPLICATION.APPLICATION_SHORT_NAME' must be
      declared
      APPS     PTE_CORE  PACKAGE        2         45          3
      PL/SQL: Declaration ignored


Step 5
------

If you are getting lots of problems with 'identifier must be declared'
then you may need to check for dependencies.  Return to Steps one and two
again if needed.

Follow the dependencies until the packages are no longer dependent on each
other.

      $ sqlplus system/manager

      SQL> select owner, object_type, object_name from dba_objects where
      status = 'INVALID' and object_name in (select referenced_name
      from dba_dependencies where name = 'BAD_PACKAGE');


Step 6
------

Run the scripts for building and/or seeding the invalid objects manually.
Go to Step seven for views and triggers.

A.  Get the name of the invalid objects by using the build script which
      follows:

      $ sqlplus apps/apps

      SQL> select * from dba_source where name = 'PTE_CORE' and line = 2;

      OWNER       NAME          TYPE               LINE
      TEXT
      ----------------------------------------------------------------------
      APPS        PTE_CORE       PACKAGE            2
      /* $Header: PAPTEXXS.pls 41.0 96/10/28 23:20:01 porting ship $ */
      APPS        PTE_CORE       PACKAGE BODY       2
      /* $Header: PAPTEXXB.pls 41.3 96/10/28 23:20:00 porting ship $ */

B.  Locate the build script on the system as follows:

      $ find $APPL_TOP -name PAPTEXXS.pls
      /ora/prod/10.7/PROD/pa/4.1.20/admin/sql/PAPTEXXS.pls

      If you are on a PC, use whatever find utility is available.

C.  Navigate to that directory (recommended) as follows:

       $ cd $PA_TOP/admin/sql

D.  Run the scripts. For packages, run the #####S.pls then the #####B.pls.

        $ sqlplus apps/apps

        SQL> @PAPTEXXS.pls

        $ sqlplus apps/apps

        SQL> @PAPTEXXB.pls


Step 7
------

Locate the build script for invalid views and triggers on the system.

A.  First, locate the SQL directories for your particular schema.

      $ find $AR_TOP -name sql
      ./admin/sql
      ./sql
      ./patchsc/107/sql

    If you are on a PC, use whatever find utility is available.

B.  Find the build script, using both uppercase and lowercase versions of
    the view or trigger name for a search key.

        $ grep ra_customer_trx_partial_v ./sql/*
        $ grep ra_customer_trx_partial_v ./patchsc/107/sql/*
        arvtmaiv.sqlROMPT Creating view ra_customer_trx_partial_v
        arvtmaiv.sql:create or replace force view ra_customer_trx_partial_v
        arvtmaiv.sql:   from  ra_customer_trx_partial_v  ctp,
  
      If you are on a PC, use whatever search utility is available.

C.  Paste out the section that rebuilds the view and run it manually.

        SQL> @temp_view_rebuild_script


Additional References
=====================
Note 74660.1 Resolving Invalid Objects in Oracle Applications

Note 163265.1 Invalid Objects List Script
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/30 08:51 , Processed in 0.012459 second(s), 14 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表