Important SAP PI Tcodes (Process Integration Transaction Codes) – SAP XI Tcodes

SAP PI Tcodes ‘post list the main important Transaction Codes in SAP Process Integration. It includes specific tcodes for SAP PI and some usefull cross-tcodes like for Queue and IDoc.

SAP PI Tcodes : General

The Most important SAP PI (Process Integration or XI) Transaction Code are:

SXMB_IFR Start Integration Builder
SXI_CACHE  XI Runtime (from IB) cache
SXI_SUPPORT Test all the Repository and Directory Objects
SXDA_TOOLS Post files to AL11 folders

SAP PI Monitoring Tcodes

In order to Monitor the SAP Process Integration Message and system, consider the following SAP PI Monitoring Transaction Codes:

SMICM ICM Monitor
SXMB_MONI Integration Engine – Monitoring
SXI_MONITOR XI: Message Monitoring
SXMB_MONI_BPE Process Engine – Monitoring
SMGW Gateway Monitor
ST06 Operating System Monitor. cpu memory filesystem machine status
SM37 Job Monitoring
ST03 workload.
SM21 System logs
SXMS_SAMON Monitor for Sync/Async Communication messages
SMMS Message Server Monitor

SAP PI Tcodes for Message Packaging

Message Packaging can be managed by the following SAP PI Tcodes :

PI Tcodes Message Packaging Tcoes in SAP PI
SXMS_BCM define Configuration types
SXMS_BCONF Global Package Configuration
XMSPKSTATCNF Package Statistics Configuration
XMSPKSTATMON Package Statistics Monitoring

SAP XI Tcodes for Administration

When it comes to SAP XI Administation, you can use the following SAP PI Administration Tcodes:

Administration Description
SXMB_ADM Integration Engine – Administration
SXMS_MONI_DB Persistence Layer Analysis
SXMB_ADMINIntegration Engine Administration and Monitoring & Integration Engine parameters
SWELS BPM trace
SXMS_MONI_JOB Job Overview
AL08 list logged in users
AL11 SAP Direcories
PFCG Roles
SCC4 Client Administration
SU01 User Maintenance
SU10 User Maintenance – Mass Changes
AL08 Show logged on users

SAP PI Alerts Tcodes

Alerts Tcodes in PI Description
ALRTCATDEF Alerts Configuration
ALRTDISP Display of Alerts Created
ALRTINBOX BSP alert inbox
ALRTPROC  Process Alerts

CCMS Tcodes for SAP PI

CCMS Tcodes Description
RZ21 Monitoring : Prperties & Methods
RZ20 CCMS Monitor Sets
GRMG Generic Request and Message Generator

SAP PI Configuration Tcodes

Configuration Tcodes Description
SLDAPICUST SLD API Customizing
RZ10 edit system profile

Check also Most Useful SAP EDI Transactions (SAP Idocs Tcodes) & SAP EDI Tables

SAP Idoc Tcodes for Process Integration

For more information on EDI in SAP check the following articles:

SAP Idoc Configuration Tocdes

WE20 Partner Profiles
WE21 port definition
BD82 Maintain partner profile automatically
BD54 Logical System Creation
BD64 Maintain distribution  model
BD71 Distibute customer model
SALE Create  Logical System
WE31 Segment Creation at Transaction
WE30 Create IDOC (Basic IDoc Creation)

SAP Idoc Adapter Tcodes

If you want to use SAP PI (Process Integration) with Idocs, it is usefull to have the SAP IDoc Adapter Transaction Codes:

Idoc Adapter Tcodes Description
IDX1 idoc adapter
IDX2 idoc metadata
IDX5 monitor idoc adapter

EDI Monitoring Tcodes in SAP

The main SAP EDI Monitoring Tcodes are:

WE02 Idoc display
WE05 Idoc list
WE07 Idoc statistics
SM58 QRFC (SOMETIMES idocs coluld not leave the SAP sending system)
SM50 Processes (are there enough in case of masss load)
SMQ2 Inbound Queues

 SAP ALE Administration

SALE Define ALE logical system
WE20 Partner Profile
WE21 IDoc port
WEDI Mainatain menu for EDI related activities
BALE Main menu for ALE related activities

 Idoc Definition

WE31 Segment editor
WE30 Idoc editor to create and extend Idoc type
BD53 Reduce Idoc types for master data
WE60 Idoc documenataion (structure and segment definition)
WE61 Idoc documenataion (control &  data and status records)

SAP IDoc Testing Tcodes

One the SAP IDoc Process is done, the next step is to test the SAP IDoc Processing.
Use the following SAP IDoc Testing Transaction Codes:

WE19 Test tool for IDOC
WE12 Create an inbound into an outbound
WE16 Process an incoming Idoc file
WE17 Process an incoming status file

 Reprocessing IDocs Tcodes

In order to reprocess a SAP IDocs, you can either one of the following Transaction Codes:

BD87 Outbound
BD88 Inbound

Idoc Packaging Tcodes in SAP

IDXPW to activate the IDOC message package
IDXP to monitor the message packages

SAP Search IDoc Tcodes

If you want to search an Idoc from a value of field segment of the IDoc, you may consider the following Tcoes for Search IDoc:

WE09 Search for IDocs by Content

Check the following article for the Most Useful SAP EDI Transactions (SAP Idocs Tcodes) & SAP EDI Tables.

Queues

If the mesasge or the Idoc is not fullfilled or lost you may check the Queues (inbound or OutBound Queue) to check the issue.
The main Transacion Codes for Queues in SAP (PI included) are:

SMQ1  qRFC monitor – outbound message queue
SMQ2 qRFC monitor – inbound message queue
SMQ3 save queue entry for qRFC monitor
SMQS to register the destination in QOUT scheduler
SMQR to register the queue

RFC Tcodes for SAP XI

The main Transaction code for RFC (Remote Function Call)  in SAP are:

SM58 Asynchronous RFC Error Log
SM59 RFC Destinations

SAP PI Tcodes Related Troubleshooting

Sometimes, to troubleshoot a PI (Process integration Issue), you may check the following SAP Tcodes :

SLDCHECK Test SLD Connection
ST22 ABAP dump analysis
SM21 Online System Log Analysis
SM50 Work process overview
ST11 Error Log Files
SM20 Analysis of Sequrity Audit Log

Usefull SAP PI Tcodes

AL11 Directory listing
SE09/SE10 Change Request(Transport Organiser)
SE11 Data dictionary
SE37 mantain funcion modules
SICF http server configuration
table TSTC sap transactions codes
table TSTCT transaction descriptions
STMS transports management
SPAM apply ABAP support packages
SPAU manage objects after apply support packages
SE01 manage change requests
SM12 Table locks
SE38 ABAP Editor
SE11 ABAP Dictionary
SPROXY ABAP Proxy Generation
SE80 Object Navigator
ABAPDOCU ABAP Documentation and Examples
SE24 Class Builder
RZ70 SLD Data Supplier
SE16 Data Browser
SE93 Maintain Transaction Codes
SM30 Call View Maintenance
SM02 System Messages
SWF_XI_PBUILDER for Detail BPM Process
SWF_XI_CUSTOMIZING transaction to check prerequisites for integration processes.
WEOUTQUEUE to start the queue processing
SWF_XI_ADM_BPE Start or Stop BPE
SWF_XI_ADM_BPE_DISP Display BPE Status
SXI_MAPPING_Test Test ABAP Mapping

Source: XI Transaction Codes

Further Reading for SAP Netwearver PI

If you want to go deeper into SAP Process Integration ( XI for the Old name and PO for Process Orchestration for the New one), chec the following SAP Books:

Sab125

Hi. I have been working as SAP Technical and functional for a decade. Through this blog, I am trying to share with you my experience. Hopefull, it makes your ways easier path ...Sab

Leave a Reply

Your email address will not be published. Required fields are marked *