on 02-10-2011 7:32 PM
I am running the pre-upgrade script and there is a section that looks like this:
check_info('Check for SAP BW system');
BEGIN
sap_bw := FALSE;
FOR obj IN (SELECT OWNER FROM DBA_TABLES WHERE TABLE_NAME = 'RSADMINA' and owner like 'SAP%' and length(owner) = 6) LOOP
display_trace('RSADMINA-owner: ' || obj.owner);
BEGIN
BEGIN
EXECUTE IMMEDIATE 'SELECT bwmandt from ' || obj.owner || '.RSADMINA ' INTO sap_bwmandt;
EXCEPTION
WHEN OTHERS THEN NULL;
END;
display_trace('BW Mandt: ' || sap_bwmandt);
display_trace('Length(BW Mandt): ' || nvl(length(ltrim(sap_bwmandt, ' ')),0));
--if length(sap_bwmandt) > 0 then
if nvl(length(ltrim(sap_bwmandt, ' ')),0) > 0 then
sap_bw := TRUE;
sap_bw_status := 'YES';
else
sap_bw := FALSE;
sap_bw_status := 'NO';
end if;
END;
END LOOP;
EXCEPTION
WHEN NO_DATA_FOUND THEN
sap_bw_status := 'UNKNOWN';
END;
I AM upgrading a BW system. Why did this return a FALSE? is this something I need to be concerned about?
Currently running 10.2.0.4 on HP-UX 11.31
Hi,
if you browse table RSADMINA in SE16, what is the value in field BWMANDT?
It should be set if your System is BW.
The script obviously thinks this value to be empty.
Do you have a MCOD system and may be multiple SAP% Users in the DB?
Volker
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am not at a system right now, so I can't check the script myself.
Note 1431793 - Oracle 11.2.0: Upgrade Scripts
has an attachment, which might be outdated.
If you upgrade to 11.2.0.2 this script should come from the latest SBP in it's most recent version.
From what I see there, it is just logging information and not doing any changes to the DB.
(no insert, update or delete in the script)
So I'd change in
owner like 'SAP%' and length(owner) = 6) LOOP
the 6 to a 5 and proceed (of course, I take no warranty
But if you are uncertain, you should log a call.
Volker
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.