• USA : +1 973 910 5725
  • INDIA: +91 905 291 3388
  • info@tekslate.com
  • Login

SAP PI Interview Questions and Answers

SAP PI Interview Questions

1) 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:

a) People Integration

b) Process Integration

c) Information Integration

d) Application Platform.

2) 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.

Features:
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.

3)  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

4) What are the integrations in net weaver?

People integration, information integration, process integration and application platform.

5) What are the components in net weaver? 

Mobile infrastructure, enterprise portals, biw and MDM, sap xi (integration broker and bpm) WEB AS.

6) What is the message flow in SAP XI?

Inbound handling, receiver determination, interface determination, channel determination, mapping, outbound handling.

7) What are routing rules?

Receiver determination rules and interface determination rules (includes mapping assign).

8) What are the quality of services, which comes under asynchronous process?

Exactly once and exactly once in order.
 

9) 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

10) What the central administration transaction to manage the alerting? 

ALRTCATDEF.

11) What are the tools used by runtime to monitor?

ccms (computer center management system), pmi (process monitoring infrastructure)   and alert frame work.

12) When will we go for BPM?

a) Error Handling

b) Splitting of messages

c) Combining of messages

d) Message Persistency.

13) Why integration engine?

Processing messages, mapping, routing, guaranteeing quality of service.

14) 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’.

15) 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.

Desired to gain proficiency on SAP PI? Explore the blog post on SAP PI Training
 to become a pro in SAP PI.

16) 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.

17) 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

18) 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

19) What are the SAP XI Components?

a) Integration Builder

b) Integration Server

c) System Land Scape Directory

d) Runtime Work Bench.

20) 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.

21) How to Monitoring of BPM?

SXMB_MONI_BPE

22) What are the stacks available in XI?

1) Java stack

2) ABAP Stack

23) 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.

24) End_to_End monitoring?

1) If you want to monitor message processing steps in a number of SAP Components.

2) If you want to monitor the path of individual messages through these SAP Components from start to end.

25) 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.

26) What are the transaction codes in XI?

SXMB_IFR – Starting Builder

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

27) What are the functions are used in graphical mapping?

a) Conversions

b) Boolean

c) Node Functions

d) constant

e) date

f) Text

g) static

h) arithmetic

28) 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.

29) 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.

30) When we use XI Adapter?  

Basically XI adapter is used in case of ABAP and JAVA proxies.

Interested in mastering SAP PI Certification? Learn more about SAP PI Tutorials
 in this blog post.

31) What is Message Mapping?

Message Mapping is used to transform your Source XML into the target XML structure.

32) 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.

33) What are the Steps required to configure a scenario?

1. 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.
2. 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.
3. 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.
4. Interface Determination: The stage where the Inbound Interface and the Interface mapping program are defined. Conditional Interface determination is also possible.

34) 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.

35) What are the BPM tcodes?

SWF_XI_ADM_BPE
SWF_XI_ADM_BPE_DISP
SXMB_ADM_BPE
SXMB_MONI_BPE

36) 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 ur scenario

SWEQADM – Check Events

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.

37) What is cache and how many types of Caches are there in XI and what are their purposes?

There are Two Types:

1)     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.

2)   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.

38) 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.

39) 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.

40) 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.

41) 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.

42) What is cache monitoring?

Cache monitoring displays objects that are currently in the runtime cache of either of the following receives of cache data.

43) what are the Monitoring available in Runtime Work Bench?

1) Component monitoring

2) Message monitoring

3) End-to-End monitoring

4) Alert Configuration

5) Cache monitoring

6) Index administration

Summary
Review Date
Reviewed Item
Useful SAP PI Interview Questions To Revise
Author Rating
5

“At TekSlate, we are trying to create high quality tutorials and articles, if you think any information is incorrect or want to add anything to the article, please feel free to get in touch with us at info@tekslate.com, we will update the article in 24 hours.”

0 Responses on SAP PI Interview Questions and Answers"

Leave a Message

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

Site Disclaimer, Copyright © 2016 - All Rights Reserved.