Note 1054131 - Invalid DB objects after upgrade
HI,
We performed a migration from SAP 4.6C/Oracle9i.solaris to SAP 4.6C/Oracle10g/HPUX.
Now we need to upgrade SAP4.6C/Oracle10g/HPUX to ECC6.0.
As a prerequisite, I have checked the note
Note 1054131 - Invalid DB objects after upgrade
And I ran the script
SQL> SELECT OWNER, OBJECT_NAME, OBJECT_TYPE FROM DBA_OBJECTS
2 WHERE STATUS='INVALID'
3 AND
4 OWNER='SYS';
OWNER
OBJECT_NAME
OBJECT_TYPE STATUS
SYS
DBMS_REPCAT_FLA
PACKAGE BODY INVALID
SYS
DBMS_REPCAT_MAS
PACKAGE BODY INVALID
OWNER
OBJECT_NAME
OBJECT_TYPE STATUS
SYS
DBMS_REPCAT_UTL2
PACKAGE BODY INVALID
SYS
DBMS_REDEFINITION
OWNER
OBJECT_NAME
OBJECT_TYPE STATUS
PACKAGE BODY INVALID
All the invalid objects are package body, can anyone help me how to proceed with this, can I proceed my upgrade to ECC 6.0 or do I need to delete the package body.
If I want to delete the package body,can you pl give me the commands and also post which whether I need to execute any steps
Pl help
Thanks
Senthil
Hi,
I guess you are talking about the Oracle Upgrade and not ECC Upgrade, as following are the pre-requisites for an ECC upgrade.
Making Database-Specific Preparations for Oracle
1. Check the value of parameter shared_pool_size:
4 Preparation
Making Preparations at the Database Level
Oracle 9.2: Check the value in file $ORACLE_HOME/dbs/init<SID>.ora.
Oracle 10.1 and higher:
select NAME, VALUE from v$parameter where name=shared_pool_size;
select NAME, VALUE from v$parameter where name=shared_pool_reserved_size;
If the value is lower than 150 MB, increase it to at least 150 MB (400 MB is better), and restart the
database.
2. Log on as user <sapsid>adm at the operating system level.
3. Log on to the database as the Oracle user system with sqlplus
4. Check the resource quotas of the database user SAPR3 or SAP<SAPSID>:
Oracle error 1536 can occur during the upgrade if the resource quotas of database user SAPR3
orSAP<SAPSID> are limited. Make sure that these quotas are unlimited. Check whether the table
DBA_SYS_PRIVS contains one of the following entries:
grantee=SAPR3/SAP<SAPSID>,privilege=UNLIMITED TABLESPACE,adm=YES
grantee=SAPR3/SAP<SAPSID>,privilege=UNLIMITED TABLESPACE,adm=NO
To do this, enter the following SQLPLUS statement:
select * from dba_sys_privs where grantee = SAPR3/SAP<SAPSID>;
If this entry does not exist, enter the SQLPLUS statement:
grant unlimited tablespace to sapr3/SAP<SAPSID>;
5. Log off from the database with the command quit.
6. Only if using the dictionary managed tablespaces function:
Make sure that the storage parameters MAXEXTENTS and NEXT have the correct values for certain tables and indexes. Otherwise, they may overflow during the upgrade. The Oracle-specific upgrade SAP Note contains the tables and the required minimum values.You can display the current settings with BRSPACE. The index names are not constant. However, you can also determine these names with BRSPACE. SAP Note 11777 describes how to change the parameters NEXT and MAXEXTENTS.
7. Only valid for: SAP R/3 3.1I
Make sure that parameter OPTIMIZER_MODE is set to OPTIMIZER_MODE=RULE.
For Oracle 9.2, check and, if necessary, edit the following Oracle profile:
$ORACLE_HOME/dbs/init<SAPSID>.ora
For Oracle 10.1. and higher, use the following statements:
Sqlplus /nolog
Connect /as sysdba
Alter system set OPTIMIZER_MODE=RULE scope=spfile;
8. Only if you do not switch off archiving during the upgrade:
If you want to leave brarchive running during the upgrade to avoid archiver stuck situations (brarchive -f ...), proceed as follows:
a) Create a temporary copy of brarchive:
4 Preparation
4.23 Making Preparations at the SAP System Level
cp /usr/sap/<SAPSID>/SYS/exe/run/brarchive /tmp
b) Start brarchive as user ora<sapsid> from the temporary directory /tmp/brarchive -f ...
c) After the upgrade, delete the copy of brarchive.
This procedure avoids upgrade errors caused by the program files being overwritten during the upgrade.
9. If your database version is already higher than the minimum version for the new release, we recommend that you exchange the DBA tools (such as BRSPACE) for the upgrade. The Database Software Oracle DVD for the database contains the up-to-date tools that you unpacked on the current kernel when you migrated the database. After you execute PREPARE, unpack this archive again into the exe subdirectory of the upgrade directory. This overwrites the DBA tools optimized for the minimum required database version with the tools best suited to your database version.
And if you are talking about an Oracle Upgrade then you just need these to compare once you have upgraded to 10g.
3.9 Checking for Invalid Database Objects
This optional step lets you check if there are any invalid database objects before the database upgrade to Oracle database 10g starts. After the upgrade it helps you distinguish database objects that have become invalid due to the upgrade process from those that were already invalid to start with.
Procedure
1. Execute the following commands:
SQL> spool invalid_objects
SQL> select unique object_name, object_type, owner from dba_objects where status
= 'INVALID';
SQL> @?/rdbms/admin/utlrp.sql
SQL> select unique object_name, object_type, owner from dba_objects where status
= 'INVALID';
SQL> spool off
A list of invalid objects before the upgrade is now generated.
2. Check the list of invalid objects after the upgrade.
If any objects in the list from before the upgrade are also in the list of invalid objects after the upgrade, you can be sure that this is not due to the upgrade process.
Regards,
Suhas
Similar Messages
-
I am not able to change the object after upgrade(SPAU Activity).
HI All,
I am not able to change the object after upgrade(SPAU Activity). Please any one can tell what is the reason with below details.
You are not authorized to make changes
Message no. 37202
Diagnosis
You have no authorization for the authorization object 'S_DEVELOP', which would allow you to change the screen concerned.
There is also a second possibility:
You want to edit a modified SAP screen in a customer system after an upgrate (SAP transport). The screen remains locked for editing until the new SAP version and the customer version have been aligned (Transaction SPAU).
System Response
Authorizations are assigned to users in profiles. Profiles are stored in the user master record.
Procedure
Comsult your system administrator.
Thanks in Advance,
Mahesh DevershettyHi,
Does the user who would like to change the screen have the authorisation
for S_DEVELOP in his profile? Please run transaction /NSU53 after the
failed authorisation. You will get an information which authorisation
is missing.
Additional please check if you have open entries in transaction SPAU for
that object.
If you couldn´t solve the issue I need an user to analyse it in your
development system.
That user needs all authorisation for development and has to be
registrated as developer.
The system uses the authorization object S_DEVELOP for Workbench objects
can you please check your user master record whether it contains the
required autorization or not.
Please also ensure that modification adjustment is turned on as per note:
197600 Switching the Modification Assistant off and on
Aidan -
Can not import SVG in FrameMaker after upgrading CS from 3.X to 6.0
We have upgraded Adobe Design CS from 3.x to 6.x. After the installation, everything worked in normal except one problem - we could not import svg in all FrameMaker software. This problem occurs in the CS6 version installed on those computers. Please comments!
Thanks in advance for your help!Hi
Generally while doing upgrade some Object gets inactive to activate that we do few steps, those steps are called post upgrade. this is the one of the step in post upgrade activity. what this will repair the objects after upgrade.
Generally we run the Program RSUPGRCHK through SE38 after upgrade, the output of the program will show the inactive objects. collect those objects and repair through RSD1 and then recheck again with the same program.
Regards,
M Kalpana. -
Problem: this mac is not reading an excell file after upgrading to yosemite. My Mac is from 2009, it use to work perfectly but it wasn´t able to open some apps, thats why i upgrade it. Now it once i donwload the zip it appears with an ".ods" extension
i even already download a link
http://www.microsoft.com/en-us/download/confirmation.aspx?id=44026
which i read on another support page... but it doesnt allowed me to install it cause it says that i already have the disk of this program....
Im afraid to erase it and not being able to get it back...
What can i do!??
Thanks in advance for this kind answer!!!fsolution wrote:
Problem: this mac is not reading an excell file after upgrading to yosemite... Now it once i donwload the zip it appears with an ".ods" extension...
If the "it" refers to a compressed (zipped) spreadsheet that you downloaded, the ".ods" extension is used by LibreOffice and probably OpenOffice (which are free versions of MS Office) for spreadsheets, which would suggest that wherever you're getting that "Excel" file from has switched to one of those programs. I've tried opening an .ods file from LibreOffice using MS Office 2013 for Windows and it does open though with a warning that some things have been changed. I don't know if Office for Mac can normally open .ods files. But if your need is to just open .ods files, take a look at LibreOffice. -
my Iphone5 does not show the picture location after upgrading to ios 7.0.4 - why?
I change Settings>Privacy>Location Services>Camera to OFF and then ON and the locations start to appear !!!!.
It seems to be Apple bug.
Thanks for you efforts -
My ipod touch version 4.2.1 is not recognized by Windows 7 after upgrading i tunes to 11.2. I have gone through all the trouble shooting suggestions twice
Did it work with previous ii.x version?
If you have iTunes 11 turn on the Sidebar. Go to iTunes>View and click on Show Sidebar. You can also do a Crtl+S to show the sidebar. The sidebar is where Devices appears. and Control+B to show the Menu bar
Did you do everything here:
iOS: Device not recognized in iTunes for Windows
Including
Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
New cable and different USB port?
Runs this and see if the results help with determine the cause
iTunes for Windows: Device Sync Tests
Try on another computer to help determine if computer or iPod problem -
iTunes music not playing in iPhoto slideshow after upgrading to Maverick....Why?
Yes, the tracks were purchased in the iTunes store. I'm sure that DRM is the culprit. Seems like an obvious answer now that I think about it.
Thanks for the help.
Mark -
Automation error element not found in vb6 2147319765 after upgrading the os
Hi we had updated our OS to windows 7 from XP.Previously we had an application in XP which is built on Vb 6 .The application throws an error message like Automation error --element not found with error code 2147319765 .The application shows the same error
message even after I ran the application in XP compatability mode.
The application is using data from other servers and all the servers are windows server 2003.
muneerDouble post:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/229b4e46-9bcb-411e-901e-fec376dc36da/automation-error-element-not-found-in-vb6-2147319765-after-upgrading-the-os
This forum is about VB.Net. If your question is about a VB6 project, have a look here:
Where to post your VB 6 questions
Armin -
iTunes does not work om iPhone 5 after upgrade to iOs7. App store is available without problems. do somone have a tip?
Check Settings > General > Restrictions, and check out Contacts toward the bottom under the privacy restrictions.
That sounds like the probable cause you cannot add contacts.
Regarding the iCloud behavior, that sounds like it got huge (35,000) because of incorporating other contacts (from social media, perhaps). Also contacts sync has nothing to do with iCloud behavior. The whole idea of keeping your contacts in the cloud is that once you change them on one device, they change everywhere. Specific syncs are not relevant. -
I can not use ipad smart cover after upgrade ios 7.
I can not use ipad smart cover after upgrade ios 7. It makes reboot again again...if i cover up ipad with smart cover. i never had this problem before. please fix this bug!!!!
Change your iPod DNS to 8.8.8.8
That should work. Cheers -
Outgoing calls not working on iphone 4S after upgrading to ios 6.0.1
outgoing calls not working on iphone 4S after upgrading to ios 6.0.1.
It always says call back ...
incoming is working
i tried number of sim cards from different networks but same issue
tries resetting network settings but it also didnt workedJust counter-check the following settings.
1. Settings>General>Set Side Swith To: Rotation Lock
2. Make sure side switch is not in lock position
3. If necessary do a reset a few more times -
"TypeError: undefined is not an object" after upgrading to 2014.1.1
I'm seeing the error: "TypeError: undefined is not an object (evaluating 'cpoint.getSymbolElement') in an _upgraded composition which is causing points and tooltips to not appear in the loaded composition.
Edge Animate version 2014.1.1
Mac OS 10.10.1
Safari 8.0.2, Chrome 40.0.2214.94, Firefox 35.0.1
This issue only began happening after upgrading to 2014.1.1
No changes were made to my computer and I've tested it on other computers with the same result
Here is the upgraded composition which is not working: http://inlightmedia.com/edge-interactive-svg-maps_upgraded/
Older composition which correctly shows the pins and tooltips: http://inlightmedia.com/edge-interactive-svg-maps/
Zip files of both compositions: Zip file
I am very much an Edge and JavaScript rookie and have been modifying this project (which was created by someone else who is no longer supporting it) to suit my needs. Any help getting this to work in the new version of Edge would be greatly appreciated.
Thanks,
JansenHi,
It comes from compositionReady, line #34:
You wrote: var cpoint = sym.createChildSymbol("point", "stage");
and it was: var cpoint = sym.createChildSymbol("point", "Stage");
stage must be capitalized: Stage. -
Invalid Objects after upgrading 12.1.3
Hi,
I upgraded my EBS version to 12.1.3 from 12.1.2. And the database is 11.1.0.7, OS is RHEL 5.0.
After upgrading im getting some invalid objects of 272 that i mentioned below..
i did all the steps for the fix this ,
1. Ran utlrp.sql script in $ORACLE_HOME/rdbms/admin
2. Compiled the apps schema in adadmin on apps ties
3. Re-link options
4. SQL> @$FND_TOP/patch/115/sql/fndptmus.pls
SQL> @$FND_TOP/patch/115/sql/fndptmub.pls
5. SQL> ALTER PACKAGE BODY ASO_OPP_QTE_PUB COMPILE;
ALTER PACKAGE BODY ASO_OPP_QTE_PUB COMPILE
ERROR at line 1:
ORA-00922: missing or invalid option
INVALID OBJTCTS:
ASO_QUOTE_PUB_W
ASO_SECURITY_INT
ASO_QUOTE_HEADERS_PVT
MSC_SCH_WB
PJM_INQUIRY
OKL_REVERSE_CONTRACT_PVT
INV_OBJECT_GENEALOGY
OE_DELAYED_REQUESTS_UTIL
HXT_RETRO_PROCESS
OKL_PROCESS_TMPT_SET_PVT_W
OKL_TRANS_CONTRACTS_PVT_W
OKL_CONTRACT_PVT
OKL_FUNDING_PVT
OKL_GENERATE_ACCRUALS_PVT_W
OKL_PROCESS_TMPT_SET_PUB
OKL_GENERATE_ACCRUALS_PVT
OKL_AM_ASSET_DISPOSE_PVT
OKL_BLK_AST_UPD_PVT
OKL_CONTRACT_BOOK_PVT
OKL_KBK_APPROVALS_WF
OKL_CS_WF
OKL_FUNDING_WF
OKL_LA_JE_PVT
OKL_INSURANCE_POLICIES_PVT
OKL_INTEREST_CALC_PVT
OKL_AM_BTCH_EXP_LEASE_LOAN_PVT
OKL_LOSS_PROV_PVT
OKL_MISC_TRANS_PVT
OKL_MASS_REBOOK_PVT
OKL_AM_LEASE_LOAN_TRMNT_PVT
OKL_AM_LOAN_TRMNT_PVT
OKL_AM_LEASE_TRMNT_PVT
OKL_RELEASE_PVT
OKL_CONTRACT_REBOOK_PVT
OKL_AM_QUOTES_WF
OKL_REV_LOSS_PROV_PVT
OKL_AM_RECYCLE_TRMNT_PVT
OKL_SPLIT_CONTRACT_PVT
OKL_SPLIT_ASSET_PVT
OKL_TRANS_CONTRACTS_PVT
OKL_AM_TERMNT_QUOTE_PVT
OKL_CS_TRANSFER_ASSUMPTION_PVT
OKL_PROCESS_TMPT_SET_PVT
OKL_TRANSACTION_PVT
OKL_VARIABLE_INTEREST_PVT
OKL_COPY_CONTRACT_PUB_W
OKL_PROCESS_TMPT_SET_PUB_W
WIP_SF_CUSTOM_ATTRIBUTES
AS_SALES_LEAD_OPP_PVT
ASO_OPP_QTE_PUB
OPI_POR_EXPECTED_RCPT_MV
OPI_POR_BACKORDER_SUM_MV
OPI_POR_OVERDUE_RCPT_MV
OKL_CS_PRINCIPAL_PAYDOWN_PVT
AST_UWQ_WRAPPER_PKG
AST_UWQ_OLIST_WORK_ACTION
OKL_AM_CNTRCT_LN_TRMNT_PVT
OKL_AM_TERMINATE_INV_AGMT_PVT
OKL_INVESTOR_INVOICE_DISB_PVT
OKL_PERIOD_SWEEP_PVT
OKL_SEC_AGREEMENT_PVT
IGS_FI_CREDIT_PVT
CSC_ACTION_ASSEMBLER_PVT_W
OZF_EARNING_SUMMARY_MV
ImportExport
ImportExport
WWV_FLOW_LIST_OF_VALUES_DATA
WWV_FLOW_LISTS_OF_VALUES$
WWV_FLOW_GENERIC
WWV_FLOW_FIELD_TEMPLATES
RE_PROFILER
FFP58914_01010001
FFP58915_01010001
FFP58920_01010001
FFP58919_01010001
OKL_BPD_TERMINATION_ADJ_PVT
OKL_STREAM_MIGRATION_PVT
FFP60324_01010001
FFP58887_01042004
FFP58888_01042004
FFP58870_01042004
FFP53720_01011990
FFP58885_01042004
FFP51846_01011990
FFP60964_01012000
OKL_AM_BAL_WRITEOFF_PVT
OKL_LA_SALES_TAX_PVT
OKL_AM_TERMNT_VENDOR_PRG_PVT
WIP_WS_DL_UTIL
OZF_CUST_FUND_SUMMARY_MV
FFP61156_01010001
FFP61138_01010001
FFP61170_01010001
FFP61152_01010001
FFP61124_01010001
FFP61277_01011951
SYS_PLSQL_233217_87_1
FFP61440_01011990
FFP52982_01010001
WMS_WAVE_PLANNING_PVT
FFP61511_01012000
FFP61532_01011990
OKL_MULTIGAAP_ENGINE_PVT
XLA_00707_AAD_C_000026_PKG
XLA_20065_AAD_C_000030_PKG
FSAH_DUPLICATE_PKG
XLA_00707_AAD_C_000044_PKG
OKL_INTERNAL_BILLING_PVT
OE_ITEMS_MV
MSD_DEM_OBI_DEMANTRA_MV
FFP62356_01012000
Any solution for this..??.
Thanks,
vasanthHi,
SQL> show errors
Errors for PACKAGE BODY OKL_MULTIGAAP_ENGINE_PVT:
LINE/COL ERROR
0/0 PLS-00907: cannot load library unit APPS.OKL_TCN_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCN_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCL_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCL_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
LINE/COL ERROR
0/0 PLS-00907: cannot load library unit APPS.OKL_TCN_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCN_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCN_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCN_PVT (referenced
LINE/COL ERROR
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCL_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
0/0 PLS-00907: cannot load library unit APPS.OKL_TCL_PVT (referenced
by APPS.OKL_TRX_CONTRACTS_PVT)
656/4 PL/SQL: Statement ignored
832/10 PL/SQL: Statement ignored
944/10 PL/SQL: Statement ignored
LINE/COL ERROR
971/10 PL/SQL: Statement ignored
1049/10 PL/SQL: Statement ignored
1150/10 PL/SQL: Statement ignored
1226/28 PL/SQL: Item ignored
1227/28 PL/SQL: Item ignored
1228/28 PL/SQL: Item ignored
1229/28 PL/SQL: Item ignored
i didnt get any errors before following that Metalink ID... it replied no errors
Now only im getting errors...
there is no errors in alert log file...
Thanks,
vasanth -
Invalid objects after upgrade to 11gR2 database in 11i
Hi All
we have prod instance of 11i with 10gR2 database.
Currnetly we have upgraded database to 11gR2.
After upgrade to 11gR2 we have foung lot of "FPA" Invalids.
Please share your views. how to validate this invalids
Regards
ShaikPlease see these docs/threads.
Error PLS-00801: Internal Error [1401] When Compiling Invalid Apps Objects [Doc ID: 784179.1]
Difference between UTLRP.SQL - UTLIRP.SQL - UTLIP.SQL? [Doc ID: 272322.1]
Many db objects error after Upgrate EBS 12.1.1 to EBS 12.1.2(7303033)
Thanks,
Hussein -
I have a question regarding compiling object after database upgrade
I am upgrading E-BS database from 9i to 10g and i came across two different method to compile objects after the upgrade.
the first solution is using the dbua built in option to compile all objects however this method takes about 14 hours
the second solution is using the script utlrp.sql which is located in <ORACLE_HOME>/rdbms/admin/ this method takes 6 hours on the same database
i am wondering why one is taking so long Vs the other on. which one is recommended and whyYou can use both methods. Duration of recompiling depends on count of invalid objects and how much cpu resources are available.
I'm not sure what tehnique is used in dbua, but I think it is the same utlrp.sql.
Looked at documentation, it says it is the same:
http://download.oracle.com/docs/cd/B28359_01/server.111/b28301/software003.htm#BABEAGDG
Selecting Recompile invalid objects at the end of upgrade is equivalent to running the Oracle_home/rdbms/admin/utlrp.sql script, which is used to recompile stored PL/SQL and Java code.
Edited by: Laura Gaigala on May 4, 2009 5:06 PM
Maybe you are looking for
-
How to Use a table UI for input ?
Hi All , I just want to ask how to use a Table UI in webdynpro ABAP to insert , change and delete rows ?? and can we give a drop down facility in table columns ? . This is really urgent . Thanks in advance. Regards, LAS
-
Request for Quotation in 8.81
Hi - With the Request for Quotation from multiple vendors in the A/P area of 8.81, do you know if the replies to the RFQ get stored in SAP or do they need to be entered manually? Also, what are the changes to RFQ from previous releases of SAP Busines
-
Hello, Is there a way of copying an individual plot from View or Report to the clipboard please? (I know you can copy the whole Report page to the clipboard). Thank you, Martin Solved! Go to Solution.
-
Hi we are trying to do a system copy of a ABAP/ Java Addin - 70 SR3 from one system to another. We took the sapinst option for Central BASED on ABAP and JAVA We took the save restore option. We are curretly stuck at the step Migration Export. Looki
-
Netflix display error with Safari 8/OSX 10.10 Yosemite
I am having an issue with playing Netflix content through Safari since upgrading to Yosemite. Specifically, Netflix will start to play the content and then display an error after a few seconds. The error reads "Whoops, something went wrong... display