Profile Parameters - Default Profile e Instance Profile

Os parâmetros podem estar na default profile ou na instance profile. Estes arquivos estão configurados como a figura abaixo:


Antes de um processo SAP ler o parâmetro da profile, realiza a seguinte verificação:
  • Verifica se o parâmetro existe na instance profile
  • Caso não exista, o processo verifica se o parâmetro está configurado na default profile.
Se o parâmetro não for encontrado em ambos profiles, o valor padrão para o parâmetro será usado para a inicialização do ERP.

Se possível, tenha certeza de que o parâmetro esteja configurado apenas na default ou na instance profile.

Fonte

http://help.sap.com/saphelp_nw04/helpdata/en/c4/3a615d505211d189550000e829fbbd/frameset.htm

Abraços

Error reading BR*Tools profile

Problema


maq01:oratst 8> brtools
BR0651I BRTOOLS 7.20 (23)
BR0252E Function fopen() failed for '/oracle/TST/102_64/dbs/initTST.sap' at location BrInitSapRead-1
BR0253E errno 2: No such file or directory
BR0159E Error reading BR*Tools profile /oracle/TSA/102_64/dbs/initTST.sap

BR0280I BRTOOLS time stamp: 2012-08-24 16.09.02
BR0654I BRTOOLS terminated with errors



Solução

Verifique se o arquivo init<SID>.sap esta com o SID correto, caso não esteja altere-o.

maq01:oratst 18> mv initPPP.sap initTST.sap


maq01:oratst 19> brtools
BR0651I BRTOOLS 7.20 (23)

BR0280I BRTOOLS time stamp: 2012-08-24 16.11.22
BR0656I Choice menu 1 - please make a selection
-------------------------------------------------------------------------------
BR*Tools main menu

 1 = Instance management
 2 - Space management
 3 - Segment management
 4 - Backup and database copy
 5 - Restore and recovery
 6 - Check and verification
 7 - Database statistics
 8 - Additional functions
 9 - Exit program

Standard keys: c - cont, b - back, s - stop, r - refr, h - help
-------------------------------------------------------------------------------
BR0662I Enter your choice:


Abraços

Instalando pacote de idiomas no IE


Problema



Solução

- Para resolver o problema do Internet Explorer (IE) em inglês, basta instalar o pacote de idioma em português.


- Faça download do pacote IE9-Windows6.1-LanguagePack-x64-ptb.msu.



OPatch failed with error code 73

Problema

maq01:oratst 18> $ORACLE_HOME/OPatch/opatch lsinventory
Invoking OPatch 10.2.0.4.3

Oracle Interim Patch Installer version 10.2.0.4.3
Copyright (c) 2007, Oracle Corporation.  All rights reserved.


Oracle Home       : /oracle/TST/102_64
Central Inventory : /oracle/oraInventory
   from           : /etc/oraInst.loc
OPatch version    : 10.2.0.4.3
OUI version       : 10.2.0.4.0
OUI location      : /oracle/TST/102_64/oui
Log file location : /oracle/TST/102_64/cfgtoollogs/opatch/opatch2012-08-22_10-35-42AM.log

List of Homes on this system:

  Home name= TSB_102_64, Location= "/oracle/TSB/102_64"
  Home name= OraDb11g_home1, Location= "/oracle/TST/112_64"
Inventory load failed... OPatch cannot load inventory for the given Oracle Home.
Possible causes are:
   Oracle Home dir. path does not exist in Central Inventory
   Oracle Home is a symbolic link
   Oracle Home inventory is corrupted
LsInventorySession failed: OracleHomeInventory gets null oracleHomeInfo

OPatch failed with error code 73

Solução

maq01:oratsa 32> cd $ORACLE_HOME/oui/bin
maq01:oratsa 33> ./attachHome.sh
Starting Oracle Universal Installer...

No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
The inventory pointer is located at /etc/oraInst.loc
The inventory is located at /oracle/oraInventory
'AttachHome' was successful.


Obs: Se a instalação for originada de um restore, edite o script attachHome.sh e altere os SID dos diretórios.


Abraços

Configurando parâmetros que iniciam com underline

Para alterar um parâmetro no Oracle que possua underline, siga o exemplo.

ALTER SYSTEM SET "_DISABLE_SELFTUNE_CHECKPOINTING"=TRUE;

Abraços

ITSMobile Error 500

Após a configuração do serviço ITSMobile na SICF, devemos testa-lo.
Durante o teste recebemos a seguinte mensagem de erro:
  • ITS_ERRMSG_EXCEPTION
  • HTTP 500 - Internal Server Error 


Solução
Crie o serviço na SE80 e publique-o.

Abraços

Listar todas as impressoras e status

Para listar as impressoras com seus status, execute o comando a seguir.

#enq -AW

maq01@root:/:#enq -AW

Queue                Dev            Status       Job Files              User         PP   %  Blks  Cp Rnk
-------------------- -------------- --------- ------ ------------------ ---------- ---- --- ----- --- ---
printer01             @winserver     READY
printer01:
printer01:                          Windows LPD Server
printer01:                               Printer \\192.168.2.10\printer01
printer01:
printer01: Owner       Status         Jobname          Job-Id    Size   Pages  Priority
printer01: ----------------------------------------------------------------------------


A saída do comando exibe a lista de impressoras com seus status e se existe algum arquivo na fila.

Listar Profiles

Para listar as profiles já criadas no Oracle, execute a instrução a seguir.

SELECT * FROM dba_profiles
 ORDER BY profile;




Nesta instrução o Oracle retorna todas a profiles criadas e suas configurações.

Abraços

Screen Painter Code Function

Após a configuração do SAP ITSMobile, o Abaper precisa realizar alguns ajustes no programa.
Para que o programa consiga efetuar as operações básicas no browser, se faz necessário a configuração de funções nos botões.
Segue um link no site da SAP com a lista dos códigos das funções.

SAP Code Function

Abraços

Alterando a senha do usuário system


Aplicável
Oracle 10g

Solução
- Entre no sqlplus.

maq01:oratst 7> sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.4.0 - Production on Mon Aug 20 09:35:18 2012

Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, Data Mining and Real Application Testing options

SYS@TST>

- Execute a instrução passw username  para alterar a senha.


SYS@TST>passw system
Changing password for system
New password:
Retype new password:
Password changed
SYS@TST>


Abraços