SAP PI Interview Questions and Answers
SAP PI Interview Questions
Briefly explain about Netweaver?
SAP Netweaver provides an open integration and application platform and permits the integration of the Enterprise Services Architecture. Net weaver covers following topics:
- People Integration
- Process Integration
- Information Integration
- Application Platform.
What is SAP PI?
Process Integration is an Integral part of SAP Net weaver.The aim of PI is to integrate different versions of both SAP and non-SAP systems implemented on different flat forms (Java, ABAP, and so on). PI enables you to implement cross-system business processes.PI is based on an open architecture, makes use of open standards and offers services that are essential in a heterogeneous and complex system landscape: namely a runtime infrastructure for message exchange, configuration options for managing business processes and message flow, and options for transforming message contents between the sender and receiver systems.
The application-specific contents are transferred from the sender to the receiver in a freely defined XML schema (XML: extended Markup Language) using the Integration Engine. The structure of a message is therefore determined by the interface data structures used.
The central concept is that, during the design phase, all interfaces required are initially developed independently of a platform and made available in the form of a WSDL description (WSDL: Web Service Description Language). Using this description you can, for example, define mappings between interfaces without this having an effect on an existing system landscape. All design phase data is saved in the Integration Repository to be implemented later in a particular system landscape. In this second phase, the configuration phase, you can select components, interfaces, and mappings saved in the Integration Repository that are appropriate for your system landscape and business processes, and assign them to each other in logical routing. The data resulting from this configuration process is saved in the Integration Directory and you can call and evaluate it from the runtime of the PI.
PI enables you to do the following:
Develop cross-system applications. You can exchange multiple system messages using the runtime infrastructure and synchronous or asynchronous communication. You can either develop new and platform-independent interfaces, or connect to existing interfaces at runtime, using adapters. Adjust message values and structures for the receiver, using mappings. - Centrally maintain the message flow between logical systems in the system landscape, using .- Connect the logical receiver to a technical system, using Services; this system can easily be switched using this abstraction level (technical routing). Describe your system landscape as the basis for the description of your cross-system business process.
Explain PI - Process Integration?
Process Integration can be used as a Middleware Engine to communicate in a distributed environment. The heart of XI is Integration Engine that is used for integrating different technologies using Standard Messaging techniques e.g XML. Different mapping tools are avilable for mapping the distributed system which can be mapped without having any expertice of Technical Details. As a real world example, XI can be helpful in integrating different banks with SAP R/3. XI Engine also support previous releases of SAP R/3 like 4.6C and have many more adapters to communicate with legacy systems.
SAP XI is an integration technology and platform for:
1. SAP and Non-SAP systems,
2. A2A and B2B scenarios,
3. Synchronous and Asynchronous communication,
4. Cross component Business Process management and it include built-in engine for designing and executing integration process (Business process).
5. The goal of SAP XI is to provide single point of integration of all systems inside and outside the corporate boundary across technologies and organizational boundaries.
6. The important feature of XI is openness, flexible and transparency to the integration process. It is based on ESA and SOA.
7. The overall key concept of SAP XI is to drive integrated business process across heterogeneous and highly dynamic landscapes in a more manageable cost effective way.
8. The basic idea is to provide runtime infrastructure which allows heterogeneous systems to be tied together with fewer connections and at the same time, in order to connect those applications and let messages flow from one application to other, have a centralized storage of integration knowledge
What are the integrations in net weaver?
People integration, information integration, process integration and application platform.
What are the components in net weaver?
Mobile infrastructure, enterprise portals, biw and MDM training Hyderabad, sap xi (integration broker and bpm) WEB AS.
What is the message flow in SAP XI?
Inbound handling, receiver determination, interface determination, channel determination, mapping, outbound handling.
What are routing rules?
Receiver determination rules and interface determination rules (includes mapping assign).
What are the quality of services, which comes under asynchronous process?
Exactly once and exactly once in order.
What are service users?
They have sapmuser roles on the abap part of the SAP web as that is available on the J2ee part as groups
What the central administration transaction to manage the alerting?
What are the tools used by runtime to monitor?
ccms (computer center management system), pmi (process monitoring infrastructure) and alert frame work.
When will we go for BPM?
- Error Handling
- Splitting of messages
- Combining of messages
- Message Persistency.
Why integration engine?
Processing messages, mapping, routing, guaranteeing quality of service.
What is Multi Cast?
You have an option of sending a message to multiple receivers and waiting for a response from the each of the receivers. This procedure of sending a message to multiple receivers and waiting for a response message is also known as 'multi cast'.
What are the Disadvantages of XSLT Mapping?
You cannot use Java APIs and Classes in it. There might be cases in your mapping when you will have to perform something like a properties file look up or a DB lookup, such scenarios are not possible in XSLT.
What is Technical System?
Technical system represents the physical system, it contains all the physical characteristics of your system for eg while creating a Technical system for your R3 system - u specify the host name, message server, OS, the clients etc.
Differences between proxies and adapters?
Proxies are interfaces, which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions. You can use proxies for systems with WAS >=6.20.
XI will communicate in native language with SAP systems via proxies. Proxies uses XML - SOAP based communication for both ABAP and Java Proxies.
Adapters will convert one format into another expected/target format. means from SAP standard formats and as well as 3rd party formats to target formats
What are the Types of Useful node functions?
RemoveContext, splitByValue, collapseContext, Copy value, createIf, exits, useOneAsMany
1. removeContexts- "There is absolutely no difference between my children or grand children or great grand children".
Material Group is sent in the item node of the source idoc but I want it in the header node of the target idoc. So I need to fool the mapping runtime that Material Group is coming in the header node of the source. removeContext exactly does that.
2. SplitByValue- "I need a different parent for every instance of me"
I will try to explain the function with the same mapping as readers can correlate well. Each instance of Itemno in the source structure should generate a target itemNo and item under a different instance of the header node in the target. As we can observe that occurrences of item in the source an target structure are different we cannot map the elements of the item node directly. We use splitbyValue to achieve the same.
3. collapseContexts- " There is just a slight difference between my children or grand children or great grand
children". Similar to removeContext but context change is replaced with "". If we need to create empty tags in the target for every context change in the source we can use it. I did not find it useful so I don't like to explain in detail.
4. copyValue-"How many ever times I occur I am copied just once"
This is not a node function but I am explaining it as it is used very frequently in real-time.
Let us take an instance of material group, which can occur as many times as the item node. But since we are mapping it to the header in the target node I just want to copy the first occurrence of material group and map it to the header node. copyValue exactly does that.
5. createif-"I have a criteria for existing".
It is used when you want to create target node or element based on some condition
What are the SAP XI Components?
- Integration Builder
- Integration Server
- System Land Scape Directory
- Runtime Work Bench.
What is an abstract interface?
Abstract interface is similar to other interface (outbound or inbound) but does not have direction. It can be used as either outbound or inbound. It is used only inside BPM. It is also called as hidden Interface.
How to Monitoring of BPM?
What are the stacks available in XI?
- Java stack
- ABAP Stack
What is the use of Exactly Once In Order (EOIO)?
Messages are delivered with the same queue names (supplied by the application) in the same sequence that they were sent from the sender system.
- If you want to monitor message processing steps in a number of SAP Components.
- If you want to monitor the path of individual messages through these SAP Components from start to end.
When would you use ABAP and Java mapping? What are advantages and disvantages of one vs. the other? Any guidelines on this?
Java mapping runs on J2EE engine, ABAP Mapping runs on ABAP Stack.I guess ABAP mapping makes more sense if you have a requirement wherein you need to perform multiple RFC classes for RFC Lookup's etc as you can do this very easily Using your ABAP Code. Java Mapping provides a easier means to use Java API's etc and it uses SAX parser which provides better performance while ABAP Mapping uses DOM Parser (I am not very sure on this though) which can cause a performance bottleneck.
What are the transaction codes in XI?
|SXMB_MONI||Integration Engine, Monitoring|
|SXI_MONITOR||XI Message Monitoring|
|SLDCHECK||Test SLD Connection|
|SLDAPICUST||SLD API Customization|
|SXMB_ADM||Integration Engine, Administration|
|SXI_CACHE||XI Directory Cache|
|SXMB_MONI_BPE||Process Engine, Monitoring|
What are the functions are used in graphical mapping?
- Node Functions
What is Xpath?
Its just path to XML tag. Path is an expression language for addressing portions of an XML document, or for computing values (strings, numbers, or boolean values) based on the content of an XML document. Path is also a specification of the XML family. Using XPath you can address any node in an XML document. XSLT implements XPath expressions to select substructures of an XML document. Using templates in XSLT you can define the mapping rules for the selected substructures.
What is DOM and SAX?
SAX is Simple API for XML, DOM is Document Object Model. SAX parser is a memoryless parser and is recommended when the XML structure is huge. DOM parser loads the entire XML into the memory and so when the XML size is to big, DOM parser is to be avoided.
When we use XI Adapter?
Basically XI adapter is used in case of ABAP and JAVA proxies.
What is Message Mapping?
Message Mapping is used to transform your Source XML into the target XML structure.
What is Value Mapping?
Converting a value in the source to another in target) Value Mapping is used for specific mapping structures / mapping rules. Example, Currency Conversion Mapping Rules. Instead of creating this conversion rule in every mapping program, you can create a VALUE mapping that is stored in a value mapping table and use this is your Message Mapping and There by save up redundant mapping logic. Also, if the conversion rate changes, if you have used value mapping, you need to make a change only in once place and result will be reflected in every mapping. If value mapping was not used , then you would have had to make the change in all mapping programs.
What are the Steps required to configure a scenario?
- Create your communication channel: The communication channel is the means using which XI gets and passes information. XI can understand only XML and so, the communication channels ( or adapters ) do the task of passing XML messages to and from XI. If the message is not in XML format, content conversion is performed at the Adapter.
- Create your sender and receiver agreement: Whenever XI is the recipient of some information, you create a sender agreement for the corresponding adapter, sender system and sender interface. Whenever XI is going to send some information to an external system, as the external system is the recipeint of the information, create a receiver agreement for the same.for IDOC and HTTP adapters, no sender agreement is required.
- Receiver Determination: In this stage, you tell XI, the recipient Interface of the scenario. You can also provide conditions on which the receiver is determined.
- Interface Determination: The stage where the Inbound Interface and the Interface mapping program are defined. Conditional Interface determination is also possible.
What is CIM?
Common Information model, XI has developed means Ans) CIM the SLD is for central repository of information about software and system in the data center, expressed in Common information model. CIM was developed by DMTF (Distributed Management Task Force). It is an industry consortium whose goal is to enable management of IT systems in distributed environment using webstandards.
What are the BPM tcodes?
What are the use of BPM patterns?
Patterns are more like example where u can refer to the IS or u can make use of those in your scenario
|RSWELOGD||Delete Event trace|
|SWEL||Display Event trace|
|SWELS||Switch on Event trace|
|SWI1||Processes and work items,|
|SWF_XI_SXPR||Restart workflow with errors|
|SWF_XI_SWI14||To find workflow log by interface name &namespace.|
|SWF_SI_SWI2_DIAG||Diagnosis process with errors.|
What is cache and how many types of Caches are there in XI and what are their purposes?
There are Two Types:
- CPA cache: - CPA cache - is your Collaboration profile agreement cache, ie to mean it will contains the cache copy of all objects created during configuration time (ID).CPA (Collaboration profile agreement )Cache-mainly for J2EE engine/Adapter engine.
- Runtime Cache:- Runtime cache - it will contain cache copies of all the objects in XI (IR/ID) and active version of all your objects during runtime.
Why do we need Web Start?
Java Web Start is used to deploy standalone java applications over the network. When it comes to XI, the Integration Repository and Directory require specific Java client software, which is stored on the Integration Server and will be automatically installed on the client side using Java Web Start. This client software can be used during design time to develop new interfaces and mappings and to configure services, routings and mappings. As it allows applications to be started from the Internet using a web browser.
If u don't gave FTP Connection details how will test the input message?
Go to component monitoring click on Test message button, there you can give the payload.
What is value mapping?
Value mapping: value-mapping function to map different representations of an object to each other. You save the mapping rules for different objects in a value mapping table.
What is context object?
Context object is alternative to XPath; this will be used to access the content of an element in message in Runtime. This will be used create in IR, and refer in Message Interface, In ID we will define where it is to be used, Based on this runtime value we can route the message processing.
What is cache monitoring?
Cache monitoring displays objects that are currently in the runtime cache of either of the following receives of cache data.
What are the Monitoring available in Runtime Work Bench?
- Component monitoring
- Message monitoring
- End-to-End monitoring
- Alert Configuration
- Cache monitoring
- Index administration
What is the use of Adapter engine AAE in PI system?
As Integration engine handles messages in XML and SOAP protocol so if business system doesn’t contain data in a specific format, Adapters are used to convert the messages specific protocol and message format required by integration engine.
When will we go for BPM?
- Error Handling
- Splitting of messages
- Combining of messages
- Message Persistency