Adicionando um Swap File - Linux


Supondo que o swap disponibilizado em um sistema Linux não é suficiente para sua aplicação ( por exemplo banco Oracle), existe métodos que permite soluções para contornar este tipo de problema, como descrito abaixo:

Preparação do Arquivo
Supondo que o tamanho do arquivo seja múltiplo de 1024, e você queira adicionar uma swap de 1 Gb. Usaremos o comando dd para realizar a criação desse arquivo.
dd if=/dev/zero of=/swapfile bs=1024 count=1024000
Onde: of = arquivo a ser criado bs = tamanho do bloco count = tamanho do arquivo
A saída desse comando será algo parecido com:
1024000+0 records in
1024000+0 records out
1048576000 bytes (1,0 GB) copied, 114,686 seconds, 9,1 MB/s

Formatando o arquivo para ser usado como swap
/sbin/mkswap /swapfile
A saída esse comando será:
Setting up swapspace version 1, size = 1048571 kB

Ativando o arquivo como área de swap
/sbin/swapon /swapfile

Definindo para que ele seja ativo em boot
Deve ser inclusa a linha abaixo no arquivo /etc/fstab
/swapfile               swap                    swap    defaults        0 0



O novo espaço de swap será adicionado ao swap atual.

Como criar uma iview para acessar transações no abap ou fazer a função de login SSO


Logar no portal como administrador
Em Content Administration, clicar na pasta na qual se queira criar a iview com o botão direito do mouse e escolher no menu de contexto New->iView
Escolher Iview template -> Next
Em Step 1, escolher SAP Transaction iView -> Next
Em Step 2, fornecer o nome da iView, o id da Iview e a descrição. O ID prefix não é necessário. Next.
Em Step 3, escolher SAP GUI for Windows, no caso de utilizar sapgui instalado no Windows. Next.
Em Step 4, escolher o sistema lógico previamente cadastrado, o codigo da transação que irá acessar, se houver parametros, forncer em Application Parameters. Escolher SAP Shortcut File. Next.
Finish.
Para testar, clique na iview criada. em id copiar o caminho completo, como no exemplo: 

pcd:portal_content/com.sap.teste.acessos.acessos_teste/teste
A url para acesso ficaria assim:
http[s]://servidor:porta/irj/portal?NavigationTarget=ROLES://portal_content/com.sap.teste.acessos.acessos_teste/teste


Utilizando YUM para instalar pacotes RPM


Issue
yum can be used to update or install packages for Red Hat Enterprise Linux 5 from a customised repository.

Environment
Red Hat Enterprise Linux 5

Resolution
To use yum to install or update packages from an ISO file, you will need to make your own repository. There are two methods for doing this:

Method 1
  1.  Create the folder that will hold the repository:
  1. mkdir -p /usr/share/repository

2. Create the RPM repository, and copy all the RPMs you want to use into that directory:
  1. cd /usr/share/repository
  2. createrepo .
  3. yum clean all
Note: The createrepo package needs to be installed on the system in order to run the following commands.

  3.  Create the file /etc/yum.repos.d/file.repo as follows:
  1. cat /etc/yum.repos.d/file.repo
[base] name=RHEL_5_Repository baseurl=file:///export/pacotes_rh enabled=1

  4.  Show the package list:
  1. yum list

  5.  Now you can install any packages you want, for example:
  1. yum install httpd

Lista de Transações SAP BASIS


Lista de Transações SAP BASIS

AL01 SAP Alert Monitor
AL02 Database alert monitor
AL03 Operating system alert monitor
AL04 Monitor call distribution
AL05 Monitor current workload
AL06 Performance: Upload/Download
AL07 EarlyWatch Report
AL08 Users Logged On
AL09 Data for database expertise
AL10 Download to Early Watch
AL11 Display SAP Directories
AL12 Display table buffer (Exp. session)
AL13 Display Shared Memory (Expert mode)
AL15 Customize SAPOSCOL destination
AL16 Local Alert Monitor for Operat.Syst.
AL17 Remote Alert Monitor for Operat. Syst.
AL18 Local File System Monitor
AL19 Remote File System Monitor
AL20 EarlyWatch Data Collector List
AL21 ABAP Program analysis
AL22 Dependent objects display
CREF Cross-reference
BD64
BSVW Linkage Status Update-Workflow Event
CMOD Enhancements
DB01 Analyze exclusive lock waits
DB02 Analyze tables and indexes
DB03 Parameter changes in database
DB11 Early Watch Profile Maintenance
DB12 Overview of Backup Logs
DB13 Database administration calendar
DB14 Show SAPDBA Action Logs
DB15 Data Archiving: Database Tables
DB16 DB System Check: Monitor
DB17 DB System Check: Configuration
DMIG Start Transaction for Data Migration
DB2 Select Database Activities
DB20 DB Cost-Based Optimizer: Tab. Stats
DB21 DB Cost-Based Optimizer: Config.
DB24 Database Operations Monitor
DB26 DB Profile:Monitor and Configuration
DB2J Manage JCL jobs for OS/390
DBCO Database Connection Maintenance
FILE Cross-Client File Names/Paths
NACE WFMC: Initial Customizing Screen
OAA1 SAP ArchiveLink: Maint.user st.syst
OAA3 SAP ArchiveLink protocols
OAA4 SAP ArchiveLink applic.maintenance
OAAD ArchiveLink Administration Documents
OAC2 SAP ArchiveLink: Globaldoc. types
OAC5 SAP ArchiveLink: Bar code entry
OACA SAP ArchiveLink workflow parameters
OAD0 SAP ArchiveLink: Objectlinks
OAD2 SAP ArchiveLink document classes
OAD3 SAP ArchiveLink: Link tables
OAD4 SAP ArchiveLink: Bar code types
OAD5 SAP ArchiveLink: Customizing Wizard
OADR SAP ArchiveLink: Print list search
OAM1 SAP ArchiveLink: Monitoring
OAOR SAP ArchiveLink: Storeddocuments
OARE SAP ArchiveLink:St.syst.return codes
OS01 LAN check with ping
OS03 O/S Parameter changes
OS04 Local System Configuration
OS05 Remote System Cconfiguration
OS06 Local Operating System Activity
OS07 Remote Operating SystemActivity
OSS1 Logon to Online ServiceSystem
OY18 Table history
OY08 Development Class Overview
PFCG Activity Group
PFUD Authorization Profile comparison
RLOG Data migration logging
RSRD_ADMIN Administração de Broadcasting
RZ01 Job Scheduling Monitor
RZ02 Network Graphics for SAP Instances
RZ03 Presentation, Control SAP Instances - operating mode 
RZ04 Maintain SAP Instances - operating mode 
RZ06 Alerts Thresholds Maintenance
RZ08 SAP Alert Monitor
RZ10 Maintenance of profile parameters
RZ11 Profile parameter maintenance
RZ12 Maintain RFC Server Group Assignment
RZ20 CCMS Monitoring
RZ21 Customize CCMS Alert Monitor
SA38 ABAP/4 Reporting
SAD0 Address Management call
SADC Address: Maint. communication types
SALE Display ALE Customizing
SAINT Plug-in Installation
SARI Archive Information System
SAR3 Customizing Archiving
SAR4 Define Archiving Class
SAR5 Assign Archiving Class
SAR6 Archiving Time Generator
SARA Archive management
SARL Call of ArchiveLink Monitor
SARP Reporting (Tree Structure): Execute
SART Display Reporting Tree
SB01 Business Navigator - Component View
SB02 Business Navigator - Process flow vw
SBAS Assignments to Process Model Elemts
SC38 Start Report Immediately
SCAT Computer Aided Test Tool
SCC0 Client Copy
SCC1 Client Copy - Special Selections
SCC2 Client transport
SCC3 Client Copy Log
SCC4 Client administration
SCC5 Client Delete
SCC6 Client Import
SCC7 Client Import – Post Processing
SCC8 Client Export
SCC9 Remote Client Copy
SCCL Local Client Copy
SCDO Display Change DocumentObjects
SCMP View / Table Comparison
SCOM SAPcomm: Configuration
SCON SAPconnect - Administration
SCPF Generate enterprise IMG
SCPR1 Customizing Profiles : Maintenance Tool
SCPR2 Comparing Customizing profiles
SCUA Central User Administration : Distribution Model Assigment
SCUG Central User Administration Structure Display
SCUL
SCUM Central User Administration Field Selection
SCU0 Table Analyses And Comparison
SCU1 Table Comparison - Export to Tape
SCU2 Table Comparison Against Tape
SCU3 Table History
SD11 Data Modeler
SDBE Explain an SQL Statement
SECR Audit Information System
SE01 Transport and Correction System
SE02 Environment Analyzer
SE03 Transport Utilities
SE06 Set up Workbench Organizer
SE07 Transport System Status Display
SE09 Workbench Organizer (Initial Screen)
SE10 Customizing Organizer
SE11 Data Dictionary Maintenance
SE12 Data Dictionary Display
SE13 Maintain Technical Settings (Tables)
SE14 Convert Data Dictionary tables on Database Level
SE15 Repository Info System
SE16 Display Table Content
SE17 Generate Table Display
SE30 ABAP Objects Runtime Analysis
SE32 ABAP Text Element Maintenance
SE33 Context Builder
SE35 ABAP/4 Dialog Modules
SE36 Logical databases
SE37 ABAP Function Modules
SE38 ABAP Editor
SE39 Splitscreen Editor: Program Compare
SE40 MP: Standards Maint. and Translation
SE41 Menu Painter
SE43 Maintain Area Menu
SE51 Screen Painter
SE52 Parameterized screenpainter call
SE54 Generate table view
SE55 Internal table view maintenance call
SE56 internal call: display table view
SE57 internal delete table view call
SE61 R/3 Documentation
SE62 Industry Utilities
SE63 Translation: Initial Screen
SE71 SAPscript form
SE72 SAPscript Styles
SE73 SAPscript font maintenance (revised)
SE74 SAPscript format conversion
SE75 SAPscript Settings
SE76 SAPscript: Form Translation
SE77 SAPscript Translation Styles
SE78 SAPscript: Graphics administration
SE80 Object Navigator
SE81 Application Hierarchy
SE82 Application Hierarchy
SE84 R/3 Repository Information System
SE85 ABAP/4 Repository Information System
SE86 ABAP Repository Information System
SE88 Development Coordination Info System
SE89 Maintain Trees in Information System
SE91 Maintain Messages
SE92 New SysLog Msg Maintenance as of 46A
SE93 Maintain Transaction Codes
SE94 Customer enhancement simulation
SE95 Modification Browser
SEPS SAP Electronic Parcel Service
SERP Reporting: Change Tree Structure
SEU Repository Browser
SF01 Client-Specific File Names
SFAW Field Selection Maintenance
SIAC1 Web Object Administration
SHDB Record Batch Input
SICK Installation Check
SIN1 SAPBPT: Inbox
SINA SAPBPT: Maintain Standard Config.
SLG0 Application Log: ObjectMaintenance
SLIN ABAP: Extended Program Check
SM01 Lock Transactions
SM02 System Messages
SM04 User Overview
SM12 Display and Delete Locks
SM13 Display Update Records
SM14 Update Program Administration
SM21 System log
SM23 System Log Analysis
SM28 Installation Check
SM29 Model Transfer for Tables
SM30 Call Up View Maintenance
SM31 Table maintenance
SM31_OLD Old Table Maintenance
SM32 Maintain Table Parameter ID TAB
SM33 Display Table ParameterID TAB
SM34 Viewcluster maintenancecall
SM35 Batch Input Monitoring
SM36 Batch request
SM37 Background job overview
SM38 Queue Maintenance Transaction
SM39 Job analysis
SM49 Execute Logical Commands
SM50 Work Process Overview
SM51 List of SAP Servers
SM54 TXCOM maintenance
SM55 THOST maintenance
SM56 Number Range Buffer
SM58 Asynchronous RFC Error Log
SM59 RFC Destinations (Display/Maintain)
SM60 Borrow/Return Objects
SM61
SM62
SM63 Display/Maintain Operating Mode Sets
SM64 Release of an event
SM65 Background Processing Analysis Tool
SM66 System-wide Work Process Overview
SM67 Job scheduling
SM68 Job administration
SM69 Display/Maintain Logical Commands
SMEN Dynamic menu
SMGW Gateway Monitor
SMLG Maintain Logon Group
SMLI Language import utility
SMLT Language transport utility
SMOD SAP Enhancement Management
SMT1 Trusted Systems (Display <-> Maint.)
SMT2 Trusting systems (Display <->Maint.)
SMW0 SAP Web Repository
SMX Display Own Jobs
SNRO Number Range Objects
SO02 SAPoffice: Outbox
SO03 SAPoffice: Private Folders
SO04 SAPoffice: Shared Folders
SO05 SAPoffice: Private Trash
SO06 SAPoffice: Substitutionon/off
SO07 SAPoffice: Resubmission
SO10 SAPscript: Standard Texts
SO12 SAPoffice: User Master
SO13 SAPoffice: Substitute
SO15 SAPoffice: DistributionLists
SO16 SAPoffice: Profile
SO17 SAPoffice: Delete Shared Trash
SO18 SAPoffice: Shared Trash
SO19 SAPoffice: Default Documents
SO21 Maintain PC Work Directory
SO22 SAPoffice: Delete PC Temp. Files
SO23 SAPoffice: DistributionLists
SO24 SAPoffice: Maintenance of default PC
SO28 Maintain SOGR
SO30 SAPoffice: Reorg.
SO31 Reorganization (daily)
SO36 Create Automatic Forwarding
SO38 SAPoffice: Synchr. of Folder Auths.
SO40 SAPoffice: Cust. LayoutSet MAIL
SO41 SAPoffice: Cust. LayoutSet TELEFAX
SO42 SAPoffice: Cust.Layout Set TELEFAX_K
SO43 SAPoffice: Cust.Layout Set TELEFAX_M
SO44 SAPoffice: Cust. LayoutSet TELEX
SO70 Hypertext: Display/Maint. Structure
SO71 Test plan management
SO72 Maintain Hypertext Module
SO73 Import graphic into SAPfind
SO80 SAPfind: Free Text Retrieval Dialog
SO81 SAPfind: Free Text Indexing (Test)
SO82 SAPfind: Free Text Retrieval Batch
SO95 Pregenerated Search Queries - Selec.
SO99 Put Information System
SOA0 ArchiveLink Workflow document types
SOBJ Attribute Maintenance Objects
SOLE OLE Applications
SOLI Load OLE type info
SOPE Exclude Document Classes
SOTD SAPoffice: Maintain Object Types
SOY1 SAPoffice: Mass Maint. Users
SOY2 SAPoffice: Statistics data collect.
SOY3 SAPoffice: Statistics Evaluation
SOY4 SAPoffice: Access overview
SOY5 SAPoffice: Inbox overview
SOY6 SAPoffice: Document overview
SOY7 SAPoffice: Folder overview
SOY8 SAPoffice: Mass Archiving
SOY9 SAPoffice: Inbox Reorg.
SOYA SAPoffice: Change folder owner
SP00 Spool and Relate Area
SP01 Spool Control
SP02 Display output Requests
SP03 Spool: Load Formats
SP11 TemSe Contents
SP12 TemSe Administration
SPAD Spool Management
SPAM SAP Patch Manager (SPAM)
SPAU Display Modified DE Objects
SPCC Spool Consistency check
SPDD Display Modified DDIC objects
SPHA Telephony administration
SPIC Spool : Installation Check
SPRM Current Customizing
SPRO Customizing
SQ01 SAP Query: Maintain queries
SQ02 SAP Query: Maintain funct. areas
SQ03 SAP Query: Maintain user groups
SQ07 SAP Query: Language comparison
SQVI QuickViewer
SSAA System Administration Assistant
SSCA Appointment Diary: Administration
SRZL CCMS
SSM1 Session Manager generation call
SSM5 Create Activity Group
ST01 System Trace
ST02 Setups/Tune Buffers
ST03 Performance, SAP Statistics, Workload
ST04 Select activity of the databases
ST05 SQL Trace
ST06 Operating System Monitor
ST07 Application monitor
ST08 Network Monitor
ST09 Network Alert Monitor
ST10 Table Call Statistics
ST11 Display Developer Traces
ST12 Application Monitor
ST14 Application Analysis
ST22 ABAP Runtime Error Analysis
ST22 ABAP/4 Runtime Error Analysis
ST62 Create industry short texts
STAD Single Statistical Records
STAT Local transaction statistics
STMS Transport Management System
STUN Performance Monitoring
STW1 Test Workbench: Test catalog
STW2 Test workbench: Test plan
STW3 Test workbench: Test package
STW4 Test Workbench: Edit test package
STW5 C maintenance table TTPLA
STZAC Maintain time zone act.in client
STZAD Disp.time zone activat.in client
SUMM Global User Manager
SU01 Maintain User
SU01D Display users
SU02 Maintain Authorization Profiles
SU03 Maintain Authorizations
SU05 Maintain Internet Users
SU10 Mass changes to User Master
SU11 Maintain Authorizations
SU12 Mass Changes to User Master Records
SU2 Maintain User Parameter
SU20 Maintain Authorization Fields
SU21 Maintain Authorization Objects
SU22 Auth. object usage in transactions
SU24 Disables Authorization Checks
SU25 Imports SAP Check Indicators defaults
SU26 Adjust Authorization checks
SU30 Total checks in the area of auth.
SU52 Maintain own user parameters
SU53 Display check values
SU54 List for Session Manager
SU56 Analyze User Buffer
SUPC Profiles for activity groups
SUPF Integrated User Maintenance
SUPO Maintain Organization Levels
SUIM Repository Info System
SWDC Workflow Definition
SXDA Data Transfer Workbench
TU02 Display Active Parameters
USMM C

SAP J2EE ports


These ports are used for communication with the J2EE Engine as part of the SAP NetWeaver AS. They are generated at installation time and when new cluster elements have to be created.
For the J2EE Engine, 20 ports are available for the dispatcher element and 80 are available for the server elements, since five is the maximum number of ports for a server process. Therefore, no more than 16 server cluster elements can be created on one instance.
The default J2EE Engine ports meet the following requirements:
     The port value is a number over 50000
     For each cluster element the ports begin with 50000+100*instance_number, where instance_number is a two digit number from 00 to 99 specifying the number of central instance and dialog instances.
<IMG TABINDEX=0 ALT= "Note" id="_x0000_i1027" src= "../../images/hinweis.gif">
You can see the instance number from the directory, where the J2EE Engine is installed. Under /usr/sap/<SID>, there is a directory which name contains the instance name including the instance number, for example, JC40 (where 40 is the instance number).
     For dispatcher cluster elements
The ports are created from 
50000+100*instance_number+port_index, where port_index is a number from 0 to 19 inclusive.
Dispatcher port_index Values
Index
Port Name
0
HTTP port
1
HTTP SSL port
2
IIOP Initial Context port
3
IIOP SSL port
4
P4 port
5
P4 HTTP Tunneling port
6
P4 SSL port
7
IIOP port
8
Telnet port
10
JMS port
According to the formula mentioned above and the port_index values, the dispatcher ports for the J2EE Engine are as follows (in the table below, NN corresponds to instance_number):
J2EE Engine Dispatcher Ports
Service Name
Port Number
Default Value
Range (min-max)
HTTP
5NN00
50000
50000-59900
HTTP over SSL
5NN01
50001
50001-59901
IIOP
5NN07
50007
50007-59907
IIOP Initial Context
5NN02
50002
50002-59902
IIOP over SSL
5NN03
50003
50003-59903
P4
5NN04
50004
50004-59904
P4 over HTTP
5NN05
50005
50005-59905
P4 over SSL
5NN06
50006
50006-59906
Telnet
5NN08
50008
50008-59908
JMS
5NN10
50010
50010-59910

     For server cluster elements
The ports are created from 
50000+100*instance_number+20+n*5+port_index, where n is the number of server elements from 0 to 15 and port_index is from 0 to4.
<IMG TABINDEX=0 ALT= "Note" id="_x0000_i1028" src= "../../images/hinweis.gif">
You can see the number of the server element from the installation directory of the J2EE Engine. Under <Drive>:\usr\sap\<SAPSID>\<Instance_Name>\j2ee\cluster, there are server<Server_Number> directories representing the server processes in the J2EE Engine. Their number depends on the number specified at installation time.<IMG TABINDEX=0 ALT= "This graphic is explained in the accompanying text" src="TEMPLATE_image001.gif">
The ports for J2EE Engine server3 with instance_number=15 are from 51535 (50000+100*15+20+3*5+0) to 51539 (50000+100*15+20+3*5+4).
Server port_index Values
Index
Port Name
0
Join port
1
Debug port
According to the formula mentioned above and the port_index values, the server ports for the J2EE Engine are as follows:
J2EE Engine Server Ports
Internal Port
Value
Server Join Port
For s0: 5NN20, for
s1=5NN25, for s2=5NN30….for s15=5NN95, where s0, s1, s2,..s15 shows the
number of server processes and NN isinstance_number.
Server Debug Port
For s0: 5NN21, for
s1=5NN26, for s2=5NN31….for s15=5NN96, where s0, s1, s2,..s15 shows the
number of server processes and NN isinstance_number.

Example

The port for P4 on a dispatcher element with instance_number=15 is:

ALE Related Transactions and Tables


Transaction Code       Description
WE02   Display Idoc
WE05   Idoc Lists
WE31   Create Idoc Segment
WE30   Create Basic Idoc Type
WE81   Create Logical Message Type
WE82   Assign Message Type to Idoc  Type
BD51   Maintain Function Modules (inbound)
WE57   Assignment Messages for Appl.  Objs
WE42   Create Process codes, Inbound
WE41   Create  Process codes,  Outbound
WE20   Create Partner Profile
WE21   Create Port Definition
BD59   Allocation object type -> IDoc  type
BD64   Maintenance of Distribution  Model
WE19   Idoc Test Tool
WE14   Test Outbound Processing
WE11   Delete IDocs
SM59   RFC Destinations (Display/Maintain)
SM58   Asynchronous RFC Error Log
BD75   Convert IDoc Status
WE64   Documentation message types
WE63   Documentation for Idoc Type
BD60  Additional data for message type
BD41   Dispatch IDocs for group
WE57  Assignment Messages for Appl. Objs
BD51   Maintain function modules (inbound)
BD67   Maintain methods (inbound)
WE12   Test Modified Inbound File
WE16   Test Inbound File
WE17   Test Status File
SWo1   Business Object Builder
WE40  IDoc Administration
WE56   IDoc Administration
BD61   Activate Change Pointers - Generally
BD50   Activate Change Pointers for Message Type
BD52   Activate change pointer per chng. doc.it
BD21  Select change pointer
   Related Tables
  
EDIDC  Control Record Table
EDID4  Data Record Table
EDIDS  Status Record Table
BDCP  Change Pointer Table
BDCPS  Change Pointer Status
CHDIR  Change Pointer Header
CDPOS  Change Pointer Item
EDID2  Data Record Table
EDSAPPL  IDoc Segment Application Structure
EDMSG  Logical message types

BPS T-CODES


BPS0 - Business Planning (Creating planning area, level, planning function & paramter group)
BPS_EXCEL - Excel Interface Builder
BPS_RM- Reminder Report STS
BPS_STAT0 - BPS Single Record Statistics
BPS_STAT1- BPS Single Record Status Evaluation
BPS_STS_START- Start STS Execution
BPS_TC - Maintain Status and Tracking System
BPS_TRACE- Trace for API in SEM-BPS
BPS_TRANS - Transport Planning Customizing
BPS_WB - Web Interface Builder
BPS_WEBSTART - Start Web Interfaces
BPS_WIF0 - Start Web Interface
UPSPL - Execute Generic Planning Folder
UPSPM - Edit Generic Planning Folder
UPSPMD- Display Generic Planning Folders