Professional Documents
Culture Documents
SAP PI Availability Checks - SAP BASIS Tuts PDF
SAP PI Availability Checks - SAP BASIS Tuts PDF
Home SAP HANA ABAP Java SAP PI SAP BW OS Administration HANA Tutorials.com
MORE
Below are the few basic tests we can perform to validate the availability of SAP PI systems. These testes will confirm that
all the required building blocks of SAP PI are working .
3. Connectivity check.
3.1 SLD availability check.
3.2 RFC connections.
6.Advanced Checks
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 1/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-Log on at OS level and go to /sapmnt/<SID>/profile directory (at UNIX level) and execute following command.
jsmon pf=<SID>_DVEBMGS<XX>_<hostname>
for example if your SID is PIP and the instance is DVEBMGS10 and hostname is sappipci then the command would be
jsmon pf=PIP_DVEBMGS10_sappipci
JSMON is available starting SAP PI 7.1, for earlier release use JCMON tool.
-Once you get below mentioned screen enter "P V" in the command prompt(shown in red).
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 2/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-"P V" is for process view, this will show you all the process running , you should see all the sever nodes running with all
the services like HTTP,P4 etc (Shown in red).
1.2 Verify all server nodes are up and running- using NWA.
If you do not have access at OS level you can also use SAP NetWeaver Administrator (NWA) tool to monitor the
process availability.
- Enter following URL in browser and log in with the user with administration access profile.
http://<hostname>:5<xx>00/nwa for example http://sappipci.company.com:51000/nwa where the instance number
is 10.
- Now go to "Operation management" -> "Systems" -> "Start & Stop" as shown below.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 3/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-now you should see all the instances,verify all the process are in running status and should be green. (shown in red box).
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 4/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
Now click on the highlighted tools (Integration builder and Enterprise Service Builder) one at a time,and verify that tools
are launching without any problem.
We will check the availability of SLD via ABAP stack in following steps.
-Log on to the ABAP stack of PI and execute transaction SMQR, verify all the PI related queues(XB*) are registered or not.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 5/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
if the queues are not registered go to transaction SXMB_ADM ->Integration Engine -> Administration -> Manage
Queues and select "Register Queues"
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 6/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
2.2 ICM availability.
By this test it will be confirmed that the ICM is running fine.
-Log on to the ABAP stack of PI and execute transaction SMICM , you will get below screen.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 7/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
Verify that the ICM status is "Running" and the current /Peak threads/connections/queue entries are below then the
maximum value.(Should not be more than 60-70% of Max)
-Execute this ICM step on all servers.
3. Connectivity check.
3.1 SLD availability check.
SAP PI is heavily dependent on SLD , so its very important that SLD problems are detected early and should be resolved
ASAP.Below test will check the availability of SLD for the ABAP stack of PI.
These steps can be executed for any ABAP system which rely on SLD for any sort of functionality.
-Log on to the ABAP stack of PI and execute transaction SLDCHECK. You should get a web browser opened with option to
log in to SLD. Log in with Dialog user and see if the the SLD status is running by following the red box shown int the below
screenshot.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 8/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-Once you verify that the status is running , now go to the ABAP screen where you executed SLDCHECK
transaction.You should see similar screen like below:
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 9/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-In the section “Properties of RFC destination SAPSLDAPI” there should be the statement “RFC Ping successful” (As
shown above)
-In the section “Calling function LCR_LIST_BUSINESS_SYSTEMS” there should be the statement “Function call
terminated successfully” and you should be able to see a list of a few business systems.(As shown above).
-In the section “Calling function LCR_GET_OWN_BUSINESS_SYSTEM” there should be a statement “Function call
terminated successfully” and you should see the business system of the integration server.(shown beolow)
-In the section “Calling function LCR_GET_BS_DETAILS” there should be a statement “Function call terminated
successfully”. Check if the URL given in this section corresponds to http://<hostname>:5<xx>00/sap/xi/engine?
type=entry (shown below)
-In the section “Properties of RFC destination LCRSAPRFC” there should be the statement “RFC Ping successful”(shown
below).
-In the section “Calling function EXCHANGE_PROFILE_GET_PARAMETER” there should be the statement “Function call
terminated successfully”.(shown below).
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 10/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
3.2 RFC connections.
RFC conection are very important for SAP PI functioning, below are the RFC destination you should check via
transaction SM59.
- AI_RUNTIME_JCOSERVER
-AI_VALIDATION_JCOSERVER
-LCRSAPRFC (also checked via SLDCHECK)
-SAPSLDAPI (also checked via SLDCHECK)
- INTEGRATION_DIRECTORY_HMI
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 11/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
First four RFC in the list are TCP-IP Connection(type T) , you can view the registered program/configuration in the JAVA
stack of SAP PI(shown below).
Here you can identify various Jco's with the register program ID, if any of the TCP-IP RFC is not working on ABAP stack , abo
for troubleshooting.
- AI_RUNTIME_JCOSERVER
Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry under JCo RFC
provider for the J2EE Engine.This RFC is used for the mapping run time, value mapping,
and the exchange profile
.
-AI_VALIDATION_JCOSERVER
Points from the Integration Server to the XML validation service. The program ID corresponds to the entry configured for the
destination on AS Java (used for XML validation).
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 12/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-LCRSAPRFC
The RFC destination LCRSAPRFC is required for the connection to the System Landscape Directory (SLD). It is used to
read the exchange profile.
-SAPSLDAPI
The RFC destination SAPSLDAPI is required for the connection to the SLD. It is used by the ABAP API.
For all the above RFC you should get similar screen output(shown below) when you perform connection check in SM59.
- INTEGRATION_DIRECTORY_HMI
This RFC is of type H (HTTP Connection to ABAP System) , this RFC is used to update cache. You should get 'HTTP
response 500' as the output of connection check ,
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 13/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-Go
to "Component Monitoring " ->"choose ‘All’ from the drop down menu of the field “Component with Status”" ->press"”
-now press "Start Test" ,You should get similar screen like below.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 14/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-if its not showing green then you can trigger cache refresh from menu option "Runtime Cache" - "Start delta cache
refresh".
Please do not trigger "Full cache refresh" in production system when the messages are getting processed.
- Enter following URL in browser and log in with the user with administration access profile.
http://<hostname>:5<xx>00/rwb for example http://sappipci.company.com:51000/rwb where the instance number is
10.
-Go
to "Component Monitoring " ->"choose ‘All’ from the drop down menu of the field “Component with Status”" ->press"”Disp
you can ignore component like Business Process Engine if you are not using that component in your company.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 15/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-It is important for PI to get all components registered with SLD,you can verify this registration using the "SLD
Registration" tab of RWB.
look for the status of various components and verify that its all green. I you see any red entry check the availability of that
component and try to re-register the component.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 16/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
6.Advanced Checks
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 17/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-Execute transaction SPROXY and press the connection test button( shown in below screen), You will get a pop up with
various reports highlighted in RED.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 18/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-Click on highlighted reports , SPROX_CHECK_IFR_ADDRESS should give you the status: OK: address maintained.
-Click on highlighted test reports SPROX_CHECK_HTTP_COMMUNICATION should give you the information that the
communication is working.
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 19/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
-Click on highlighted test report SPROX_CHECK_IFR_RESPONSE should give you a following output.
Reference
RFC:
http://help.sap.com/saphelp_nwmobile71/helpdata/en/be/6e0f41218ff023e10000000a155106/content.h
http://help.sap.com/saphelp_nwpi71/helpdata/en/8f/770f41218ff023e10000000a155106/content.htm
Cache:
http://help.sap.com/SAPHELP_NWpi71/helpdata/EN/46/afa9f713994e68e10000000a155369/content.h
http://scn.sap.com/docs/DOC-16146
WS-RM
http://help.sap.com/saphelp_nwpi71/helpdata/en/46/abbc05ba0c2a7fe10000000a1553f6/content.htm
BPE
Note 1143732 - BPE-TS: Troubleshooting Guide ccBPM in PI 7.1
SLD
http://help.sap.com/saphelp_nwpi71/helpdata/en/78/20244134a56532e10000000a1550b0/content.htm
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 20/21
8/8/2019 SAP PI Availability Checks - SAP BASIS Tuts
SAP
SAP BASIS , SAP ADMINISTRATION , BASIS , SAP BASICS .
www.sapbasistuts.com/home/sap-pi/sap-pi-administration/sap-pi-availability-checks 21/21