Saturday, 23 August 2014

SAP Executables

Here is a list of SAP executables that you may find on your SAP systems. If you know of SAP exe files missing in from list, please leave a comment:
R3check                     This is a tool that can check Cluster-Tables for errors.
R3ldctl                        The tool for exporting all table structures to the file system during an OS/DB-Migration.
R3load                        The table import & export tool of SAP during Installation, Upgrade and Migration.
R3szchk                     The tool for determine the sizes of the different tables in the target database during the import in an OS/DB-Migration.
R3ta                             Split large tables for export and import
R3trans                      This is the tool, that does the real work for tp. tp controls the import and export of changes and r3trans does them using scripts, that were generated from tp.
R3trans_164-20000978.SAR     R3trans_164-20000978.SAR’ is a compressed archive with the latest version of R3trans from the SAP Service Marketplace, used when we patched the
 kernel.
SAPCAR                         SAP Compression and Archiving program
SAPEXEDB_159-20000976.SAR     Compressed file containing DB Dependent executables
SAPEXE_159-20000978.SAR     Compressed file containing the Database Independent executables
cfw                         GUI Control Framework for Abap Objects
cleanipc                     Cleans Inter-Process Communications Memory
db2jcllib.o                 Rsdb/db2jcl_library parameter
db2radm                     Used to configure DB2Connect
dbadaslib.o                 Part of lib_dbsl – database dependent SQL handler
dbdb2pwd                     Create an encrypted DB2 Password File
dbdb2slib.o                 Part of lib_dbsl – database dependent SQL handler – DB2
dbsdbslib.o                 Part of lib_dbsl – database dependent SQL handler
dev_sapstart                 Log file for starting sap
dipgntab                     Activation and adjustment of the nametabs with the ABAP Dictionary.
disp+work                     Dispatcher & Workprocess – “The complete Kernel” – Here the complete ABAP is processed …
Dpj2ee                         Dispatcher for
 Java
dpmon                         Used to get the process overview of an instance in text mode.
dsrlib.o                     Distributed Statistics Records
Dw_gui.o                     Dependent module for Disp+work
Dw_mdm.o                     Dependent module for Disp+work
Dw_stl.o                     Dependent module for Disp+work
Dw_xml.o                     Dependent module for Disp+work
Dw_xtc.o                     Dependent module for Disp+work
Eg2mon                         Monitor program for Extended Global Memory Segments (only for support)
Em2mon                         Monitor program for Extended Memory management (only for support)
emmon                         
Test program for Extended Memory
enqt                         Check and Monitor the Enqueue Lock Table
enrepserver                 SAP Enqueue Replication Server
enserver                     SAP Enqueue Server
ensmon                         Enqueue Server Monitor Programs to monitor the enqueue server and the enqueue replication servers.
Es2mon                         Programs to monitor the enqueue server and the enqueue replication servers.
esmon                         Program to monitor the enqueue server and the enqueue replication servers.
estst                         Test program for the Extended Memory Segments (only for support)
evtd                         This program is able to trigger events within the SAP system. The tp tool uses this feature. It can be used as trigger for self-written interfaces as well.
exe_db2.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
gateway.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
gw.properties                 Gateway processes
gwmon                         Program gwmon (at
 operating system level) or SAP transaction SMGW monitors the SAP Gateway.
gwrd                         Program gwmon (at operating system level) or SAP transaction SMGW monitors the SAP Gateway.
icm.properties                 Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
icmadmin.SAR                 Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
icman                         Tool to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
icmbnd                         Program to bind ports with numbers from 0 to 1023
icmon                         Internet Communication Manager (ICM) used for HTTP(S), SMTP based communication used to monitor and manage the Internet Communication Manager (ICM) from the SAP System (transaction SMICM).
instance.lst                 List of database-independent executables. These executables are valid for all database systems used by the SAP system.
instancedb.lst                 List of database-dependent executables. These executables can only be used with a particular database system.
ipclimits                     Reports IPC memory available to SAP at the OS level
j2eeinst.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
jcmon                         Program to monitor and manage Java processes
jcontrol                     Program to control Java processes
jenqulib.jar                 Java Enqueue Library
jlaunch                     Program starts the Java processes
jlogunzip.jar                 Java Classes used to unzip archives (used from the sapstartsrv)
jperflib.jar                 J2EE client Jar file
jstartup.jar                 Java Startup Frame Work jar file
jstartupapi.jar             J2EE
 Engine Monitoring API
jstartupimpl.jar             J2EE Monitoring
ldap_rfc                     LDAP Connector
ldappasswd                     Store LDAP directory user and password
ldapreg                     LDAP Registration Service
lgtst                         Program to test the message server
libicudata30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libicui18n30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libicuuc30.a                 ICU Common Library – Part of the RFC SDK and are used for RFC connections.
libjenqulib.o                 Part of the RFC SDK and are used for RFC connections.
libjmon.so                     JMON Shared Library – Part of the RFC SDK and are used for RFC connections.
libjperflib.so                 Part of the RFC SDK and are used for RFC connections.
libregex.o                     Part of the RFC SDK and are used for RFC connections.
librfcum.o                     Dynamic Load Library – Part of the RFC SDK and are used for RFC connections.
libsapcsa.o                 CSA Shared Library – Part of the RFC SDK and are used for RFC connections.
libsapsecu.o                 SECU Shared Library – SAP seculib library used for default encryption. It’s referenced in the j2ee startup logs in the work directory.
libsapu16.so                 Part of the RFC SDK and are used for RFC connections.
libsapu16_mt.so             Part of the RFC SDK and are used for RFC connections.
mdxsvr                         MDX Parser for RFC
memlimits                     The program memlimits lets you determine how much swap space is currently available in the host system.
msclients                     Shows running instances registered in the Message Server
msg_server                     Main Message Server
 executable
msmon                         Message Server Monitor Utility
msprot                         Monitor Message Server at the OS level
niping                         Program to test the SAP network layer and the SAProuter
rfcexec                     The tool to start other programs from within SAP (ABAP) on the OS level via the gateway on any other (or the same) server.
rfcexec.sec                 The tool to start other programs from within SAP (ABAP) on the OS level via the gateway on any other (or the same) server.
rfcping                     Ping the RFC layer
rscparulib.o                 Dynamic shared library with code page converter
rscpf2f                     Check installed locales for given list of languages.  (Created for installation tools. Possibly unused.)
rscpf3f                     Find possible system code pages for given list of languages.                (Created for installation tools. Possibly unused.)
rscpf_ars                     Test program for code page
 conversion, language handling and locales in combination with ‘rscparulib.o’.  (only for support)
rscpf_db                     Test program for code page conversion, language handling and locales. This program will connect to database and  also attached to shared memory of an instance if possible.  (only for support)
rslgcoll                     Central System Logging Collector
rslglscs                     Show the Syslog specific parts of the shared memory  segment ‘SCSA’. (mainly for support)
rslgsend                     Central System Logging Sender
rslgview                     View SAP Log at the OS level
rstrcscs                     Program creates a common memory segment for the SCSA, locates the trace switches block within it and initializes the trace switches block.
rstrfile                     R/3 system trace file tool
rstrlscs                     The command “rstrcscs r” removes that common memory segment again.
rstrsscs                     The command “rstrsscs” allows change to the switch settings in the trace switches block within the SCSA.
rsyn.bin                     For each kernel version of the R/3 System, there exists an appropriate file rsyn.bin which contains the ABAP/4 syntax description.  It describes what to do when compiling an ABAP statement
sapccm4x                     CCMS Agent for Abap
sapccmsr                     CCMS Agent for Java
sapcontrol                     ’sapcontrol’ is used to stop/start/monitor the sap instances (for example, from the sapmc).
sapcpe                         This checks that the local executables are up to date each time an SAP instance that uses local executables is started.
sapcpeft                     Parameter file used by sapcpe
sapcpp46.o                     Virus Scan Adapter files (Note 964305)
sapdbmrfc                     RFC for SAPDB connections
sapevt                         This program is able to trigger events within the SAP system. The tp tool uses this feature. It can be used as trigger for self-written interfaces as well.
sapexec                     Call SAP Function Modules
sapftp                         FTP Client, that can be used from within the SAP system (from ABAP) to communicate with other FTP servers.
saphttp                     HTTP Client, that can be used from within the SAP system (from ABAP) to communicate with other HTTP servers – e.g. for interfaces.
sapiconv                     Program for the conversion of text files
sapkprotp                     Relocate a Content Server Repository
saplicense                     The Tool for the installation of a new SAP License. This is needed when the license expires e.g. because of a hardware change.
sapmanifest.mf                 Text file that contains the kernel patch level and is read by the JSPM (Java Support Package Manager).
sapmanifestdb.mf             Text file that contains the database kernel patch level and is read by the JSPM (Java Support Package Manager).
sapmscsa                     SCSA Administration
saposcol                     The SAP Interface to the Operating System for Performance Data. The Operating System Collector collects CPU Usage, Disk Performance, Paging etc.
sapparar                     Reads the SAP Profile
sappfpar                     This tool can be used for checking the profiles after changes and before restarting the SAP system.
saproot.sh                     Script to set Root permissions necessary for some kernel programs
saprouter                     The program for the Router Connection from customers to SAP and vice versa.
sapsecin                     Generation of the PSE (Personal Security Environment)
sapstart                     Starts SAP processes
sapstartsrv                 Starts SAP processes
sapuxuserchk                 The program xuser is a tool from maxdb which stores the logon information to the DB.  This utility program called by sapcontrol which is a program that uses the web service APIs of the ABAP and Java startup framework to control an instance from the command line.
sapwebdisp                     The SAP Web dispatcher is used for load balancing for a setting up an SAP Internet scenario. It is the only application that needs to be located in the DMZ. Everything “behind” this can (and should) be located in your intranet. So, only one port on one IP address needs to be opened to internet and the SAP Web dispatcher can handle the traffic with the different SAP instances.
sapxpg                         Program that starts programs on an external host. The tool for starting OS commands from within SAP Systems.
scs.lst                     The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
scsclient.lst                 The ‘*.lst’ files are text files used by sapcpe to determine which files to compare/copy on instance startup.
semd                         A Test Tool used to verify semaphore operations.
servicehttp                 The port number where the server should listen for HTTP requests.
shmd                         Related to Shared Memory
showipc                     Checks shared memory segments
sldreg                         SLD registration program
sldreglib.o                 SLD registration program
ssfrfc                         Secure Store and Forward (SSF)
startdb                     Program to start the database
startj2eedb                 Program to start the database (Java)
startrfc                     The tool is a very easy SAP command line interface to start all of the implemented function modules of SAP systems.
startsap                     Program to start SAP
stopdb                         Program to stop the database
stopj2eedb                     Program to stop the database (Java)
stopsap                     Program to stop SAP
tp                             The Transport Tool. This program coordinates the complete import and export of program and table changes made within the SAP system in order to transport them through the complete System Landscape.
vscan_rfc                     Virus Scan Adapter files (Note 964305)
wdispadmin.SAR                 Web Dispatcher Administration Interface archive program
wdispmon                     Web Dispatcher Monitor program
webdispinst.lst             Web Dispatcher Administration Interface list
xml63d.o                     Virus Scan Adapter files (Note 964305)


SAP Tools

1. SAPUp: Are standard SAP upgrade tools coming in two flavors:    
     a.     For ABAP Stack – SAPup
     b.   For JAVA Stack - SAPJup
          It consists of two programs:
         a.  Upgrade program – performing the upgrade
         b.    Control program - so called GUI to upgrade process (Upgrade GUI of SDT GUI)
                           
Upgrade GUI is user interface where you can see the upgrade phases/progress via roadmap steps. With this tool you can perform Combined Upgrade (CU) and Unicode Conversion (UC) as well.

       2. SAP Enhancement Package Installer (SAP EhPi): Primarily used for Enhancement package (EhP) installations. EhP are aimed to enhance functionality of SAP Business Suite 7 and higher and SAP NetWeaver 7.0 and higher based systems. Used for systems based on both ABAP and JAVA Stacks. Moreover you can upgrade dual stack based system via synchronized procedures. You can also use SAPehpi for SAP Support Packages only.

SAP introduced its enhancement package strategy for SAP ERP as a means to simplify the way customers manage and deploy new software functionality. Customers can electively implement these software innovations from SAP and activate the software upon business demand. As a result, customers can isolate the impact of software updates and bring new functionality online faster through shortened testing cycles.
Learn here
 more about the enhancement package concept which is the first of its kind in the industry, offering customers greater long-term value and an easier methodology for managing software innovations.
 
 When is the best time to install an enhancement package?
SAP strongly recommends installing the enhancement package for SAP ERP when performing a regular SP stack implementation. The installation of enhancement packages and the application of the SP stack should be done together in one queue in the SAP add-on installation tool (known as transaction SAINT) or the SAP enhancement package installer. This reduces the downtime and manual effort for the whole installation procedure. In addition, you can leverage synergies concerning modification adjustment as well as regression testing for all software components at that time. 


Note: Effectively as of 21.4.2011 SAPehpi 7.10 is replaced by Software Update Manager (SUM) see below.


3. Software Update Manager – SUM (Software Logistics Toolset) – Software logistics tool for different kinds of implementation processes.

The Software Update Manager 1.0 is the tool for system maintenance:
·                     Release upgrade (major release change)
·                     System update (EHP installation)
·                     applying Support Packages (SPs) / Support Package Stacks
·                     applying Java patches
·                     correction of installed software information
The term update is the generic term for all of these activities, and it is used in the SUM documentation as well.
SUM is used for all SAP Net Weaver based systems, so systems either based on AS ABAP, or AS Java, or based on a dual-stack system.

Successor of other tools

The Software Update Manager replaces tools for upgrade, update, and implementing SPs:
·                     SAPehpi: SAP Enhancement Package Installer
·                     SAPup: tool for upgrading ABAP-based systems
·                     SAPJup: tool for upgrading Java-based systems
·                     JSPM: Java Support Package Manager
·                     CEupdateManager: tool for updating Composition Environment systems
·                     SolManUp: tool for updating and upgrading SAP Solution Manager systems
·                     SUM 1.0 SP10 is available since March 2013
  
     4. SPAM / SAINT / JSPM: tools to be used for installation and upgrade of add-on, Support Packages, subsequent installation of additional technical usages of EHPS. Coming again in two flavors:    
a.    For ABAP Stack – SAINT and SPAM
b.    For JAVA Stack - JSPM 

SPAM and SAINT are hosted directly by ABAP AS and therefore are platform in depended.

SPAM: Support Package Manager.
If you are upgrading the patches of your existing components to the latest or to your required patch level, we will do it by using SPAM.
Ex: SAP_BASIS is on pl 9 .for upgrading this to latest(pl 13 or 14)
We will do this from SPAM.

SAINT: Add-On Installation Tool

If you want to install a new component in your system, which is not there in the system we will do this by SAINT.
For ex: ST-PI is not existing in your system want to install then u need to install the add-on for that component by SAINT.
After the installation you have to patch this to latest by using SPAM.

If you want to upgrade the release of the component we have to perform this by using SAINT.
Ex: PI_BASIS is on 2003_1_640 if u want upgrade this to 2004_1_640 then u need to perform this by using SAINT


       5. Application Specific Upgrade (ASU) – Tool hosted by ABAP Stack to collect all before / after upgrade activities, tasks etc.

Speaking of not only tools but even about upgrade methodology there is an initiative within SAP started: Near Zero Downtime for ERP. The purpose is to reduce downtime of ERP system while upgrade. It uses technologies like synchronizing of software changes between system and its copies – delta reply (workbench from System Landscape Optimization (SLO)).

SPAD Device

SPAD Device formats contain comands that are used to set features like font, font size, character set, orientation, margins, and vertical/horizontal spacing. If you are using SAPWIN, some common commands are:
\e%SAPWIN%: change to SAPWIN command set
\eWxxx;: change to character set xxx
\eFFONTNAME;: set to font FONTNAME
\ePP;: set to orientation P (Portrait)
\eSxxxX: set fontsize to zzz (where 200 = 10.0 pt, 240 = 12.0 pt)
\elx;: set vertical 
spacing to x lines per inch
\ecxx.y;: set horizontal spacing to xx.y (e.g. 12.0) 
chars per inch
\eMTxxx;: set 
top margin to xxx (where 567 = 1.0cm)
\eMLxxx;: set left 
margin to xxx (where 567 = 1.0cm)

Tuesday, 19 August 2014

Handy OSS Notes For Troubleshooting

Handy OSS Notes For Troubleshooting

1686144-Dual Stack split 2.0 SP2 for system based on SAP Netweaver
795699 -Customizing default error messages for HTTP
1495260- filtering ID mgmt requests for AS Java
1653343 -update/upgrade for SAP EHP1 forNW7.30
870871-License key installation
1686928- growing alert backlog can result in oom
1493528-deployment error during deployment on 7.30
1332726-Troubleshooting wizard -NWA
1620515-System copy
1553301- 7.20 ExT kernal usage
1591607-sap kernal
1654426-remote support
1655335 -usage of splitting dual stack systems
1453112-CCMS agents and kernal patches
1636252-installing 7.20 kernal
871394-optional j2ee services
1528990- upgrade to NW7.30
842635-Session mgmt
1437105-OS Limits for SAP Instance
1234847-lock exception
88416 -memory
1717846 -SLD Registration
1332726-Troubleshooting wizard
1715441--Deploy SDA File
1771192 -Log  trace config
1551721-- EP Performance tuning
1738258-System copy
1759707- import kernal patch
1602004 -ext code66
1628335-exit code 1501
1658911 --- 11113
1658950 - -2
943602 -Analysis of Errors within startup java


.

Sunday, 17 August 2014

TSV_new* dump

TSV_TNEW_;._NO_ROLL_MEMORY; NO_MEM; NO_MEMORY; RESIZE_EM_ALLOC_ERROR, Storage class PERM. This problem mostly occurs if background jobs are active with large amounts of data.

Increase the swapspace or decrease the SAP extended memory .

Increase the swap space or decrease the SAP Extended Memory. If the swap space already corresponds to the SAP recommendations, 1.5 to 2 GB may still be required. There should always be several hundred MB of free swap space available. You can reduce the maximum swap space need of the SAP System by reducing the value of parameterabap_heap_area_total. You can also distribute the load onto several application servers and increase the roll area. Check if the maximum process size (operating system parameters) is sufficient.

Sunday, 10 August 2014

How to Remove locked entries in SAP ( SM12) )

How to Remove locked entries in SAP ( SM12) 


In a system when ever a user performs any update on any table for that period of time a lock on that particular field of that table is created so that no other user can update that table as user one is doing update on that table.
And Suppose during the update user session get terminated due to some error then this lock entry remains on that field. 
SM12 : Remove locked entries [TCODE]
I am sure many of you have faced this problem:




This occurs when the report/program is locked by the actions of certain user. One can surely ask the user to come out from that program or revoke the locked entries created.

To remove the lock entries , one must use Tcode SM12.
  


Just specify the username if you want to see all locked entries of a particular user and execute. All the lock entries corresponding to the particular user is displayed. 




Now you can delete any lock entry created.