Professional Documents
Culture Documents
Sap Pi Xi Notes PDF
Sap Pi Xi Notes PDF
SAP Process Integration 7.3 has lot of new things including Java only installation option via advanced
adapter engine eclipsed based design environment, Central Monitoring Dashboard via solution manager
and enhanced local monitors.
Answer: This object enables to transfer message to the mapping trace if the trace level set
correspondingly then the trace is visible to message monitoring.
Answer: SAP Net Weaver provides an open integration and application platform and permits the
integration of the Enterprise Services Architecture. Exchange Infrastructure (XI) is an Integral part of SAP
Net weaver. Position of XI is in the process integration layer of Net weaver stack.
Answer: This object enables you to cache the value that you want to read again when you next call any
user-defined function that is in the same message mapping.
4. What is a Container?
Answer: This object enables you to cache the value, which you want to read again when you next call
the same user-defined function.
Answer: 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'.
Answer:
a) Remove Contexts: - remove all higher level contents of the source level message in order to map with
the target message field. So you can get the node contexts removal.
b) Split by value: - Insert Context change for an element split by value is some as counter part of remove
context. Here instead of delivering the context you can insert a context change in the source value
queue.
c) Collapse contexts: - Copies first values of the all contexts to one context empty context are replaced
by empty string.
d) Copy Value: - 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.
e) Create if: - It will create a target node or element based on some condition.
f) Exists: - Function to determine whether a particular source field exists in instance to be processed. If it
does it gives true or else false.
h) Replace value: - Replace the value I with the value that you desired in the dialogue for function
properties.
i) Sort: - Sorts all values of the multiply occurring inbound field with in the existing or set context.
Answer:
a) Container
b) Global Container
c) Mapping Trace.
PI 7.1 Features
High volume support-Local processing in AAE & Message Packaging
XML Validation
WS-RM
Direct point-point communication
Service Interface with Operations
Folders & Function Libraries
Parameterized mapping
Graphical Support -RFC & JDBC Lookups
Importing SQL Tables Meta Data
Principal Propagation - SAML1.1
Replacing the SAP XML Toolkit with JDK 1.5 tool kit
CCBPM-Step Groups & User decision Step
Local SWCVs for Testing purposes
Copy Entire XML tree
PI 7.3 Features
Single stack ESB capabilities through AAEX
o Up to 60% less energy consumption
o Lower footprint, easy maintenance
o 1h installation*, HW requirements*
o comp. to double stack, 90 sec restart*
Major Improvements for
o Reduced cost of operations via increased fault tolerance
o Design governance
o Publish & Subscribe scenarios
NWDS-based editors for creating and editing service interface and data type
Support to use Eclipse based editors for viewing ES Repository content
Web-based UI to enable quick access to ESR objects
User defined payload search in message monitoring
Directory Increased productivity and richer connectivity on AAE
IDoc-and HTTP-adapters in AAE
HTTP adapter with support of GET method
Multi-mapping message split on AAE
Large (binary) file-to-file transfer
Configurable JDBC message size limits
Time-out config. per comm. channel
Java proxy generation in NWDS
Automated Transport for Schema Validation
Increased Integration Directory API support
Publish and subscribe messaging for JMS Topics
WS-RM based interoperability with Microsoft .NET 3.5, 4
Centralized monitoring via SAP Solution Manager 7.1
o Good morning page
o Monitor multiple PI domains
o Reduced time for root cause analysis
Queues balancing
Improved fault tolerance
o Blacklisting
o Optimization of cache refresh
o Optimized message processing
o Safe Mode during startup
o Optimization of EOIO handling
o Optimized technical acknowledgements
Limitations of AAEX
No support of ABAP mapping and CCBPM
1. What are the main difference of SAP PI release PI 7.11 and 7.3 ?
2. What is ICO?
3. What are Setting required in both ECC and PI system for make use Proxy communication over
Advanced Adapter engine?
3. Can we use IDOC and HTTP adapter without Integration engine in PI 7.3?
Whenever business critical error occurs, the responsible parties should be determined and
informed immediately. SAP Alert Management play an important role in these scenarios.
In this blog I am trying to explain the steps that are involved in the alert management. Also I am
trying to explain some frequently asked questions on alert management.
Step 1:
Enter the Transaction Code 'ALRTCATDEF', go to change mode and enter your alert category.
( The definition of Alert Category - Alert Category contains various properties and other
specifications that define the alerts within that category. The category defines the conditions
when a specific alert is sent to whom.)
Step 2:
Create container element which we will later use to compose the text of our alert message.
Step 3:
In this step we use the above variables from the container to create an alert message
Example Text:
The error: &SXMS_ERROR_CODE& which occured in a message &SXMS_MSG_GUID& from
the interface &SXMS_FROM_SERVICE&.
Step 4:
The next step is to add the recipients for the message.
Step 5:
Go to Runtime workbench then choose alert configuration and then create the Alert Rule.
Step 6:
Test the Alert by giving wrong entry in the scenario. Then check in the Alert inbox for the error
message. You can use the Tcode ALRTINBOX or got RWB and then Alert inbox.
What is SAP PI Enterprise Service Repository? What is Life Cycle Management in SAP PI ESR?
Advantages of SAP PI SOAP adapter over SAP .Net Connector - SAP PI FAQs
SOAP is text based, it is able to move more easily across the firewalls than IIOP, ORPC or JRMP. SOAP is
based on XML, which is standard driven rather than vendor driven. Potential adaptors are less likely to
fear vendor lock in with SOAP. Finally we can say that SOAP can be picked up by different transport
protocol and delivered in different ways. For example, when used with HTTP it can be delivered to a web
server, when used over FTP it can be deposited directly into a file system and when used with SMTP it
can be delivered to a user's mailbox.
Advantages of SAP PI HTTP adapter over SOAP adapter?
HTTP adapter directly runs on Integration Engine. Whereas the SOAP adapter runs on the Adapter
Engine. So it will take more time when compared to HTTP. Also HTTP is good in performance to SOAP.
Unless the business requirements needed we can go with HTTP when compared with SOAP.In case of
SAP PI SOAP adapter, only message can be sent and in case of http adapter, some authentication can be
sent along with the message.
1. Advantages or Comparison between SAP XI PI SOAP adapters over XI PI HTTP adapter?
SAP PI XI Interview Question
When you need to Send Data to XI from a Web service, your SOAP adapter is used. HTTP adapter is used
when you want to post a HTTP request message from a web application to XI.
Some remote clients or web services providers are only able to communicate by means of SOAP
messages. SOAP adapter uses a helper class to instantiate and control these SOAP Components.
The SOAP adapter receives a message from the remote client or web services provider, converts the
SOAP protocol in to the XI message protocol (SOAP with Header enhancements) and then sends the
message to the integration server to be processed further.
To forward messages to a receiver remote client or web services provider, the SOAP adapter receives
the message from the integration server, converts it to the SOAP message, and then sends it to the
remote client or web services provider.
What is SAP Data Archiving? - SAP Data Archiving Interview Questions & Answers
1. What is SAP Data Archiving?
Data archiving refers to the removal of application data from the SAP system and storing of the data in
an archive file (at least one file). Archiving is done using specific archiving programs, which are based on
archiving objects. The archiving objects in turn are based on business objects.
Data archiving in one sentence: Data archiving helps you control your data growth and your system
performance.
Difference between SAP PI 7.0 and PI 7.1? - What is new in SAP Process Integration 7.1 ?
SAP PI 7.1 has a lots of new features. Here I am discussing the major differences between SAP PI 7.1 and
PI 7.0. You can add more points if I missed out something as Comments.
1. Universal Description, Discovery, and Integration (UDDI) 3.0compliant services registry for runtime
management of enterprise services.UDDI server is shipped with SAP Web AS, that is implemented to
UDDI v2 specifications. SAP WebAS provides the capability to publish and query webservices in
UDDIRegistry
2. Enterprise Services Repository as a central storage location for enterprise service definitions and
lifecycle management data for all enterprise services (Concept of Folders : Folders can be created under
a namespace. As you will notice, mulitple folders can be created under the same namespace. And,
folders can be created within folders.)
<script
</script
3. Enterprise Service Oriented Architecture (ESOA), Global Data Types, Modeling Tool Concept.
4. Improved support for standards such as Web Service Reliable Messaging (WS-RM), WS Policy, Security
Assertion Markup Language (SAML).
7. Enhancement for Mapping (Eg. Re-usable User Defined Functions, Look-up function reads multiple
fields, Specify mapping parameters at configuration time, Synchronous DB RFC lookups, Message
Packing etc.)
8. Extended support for high volume scenarios
9. Business Activity Monitoring for process definition of milestone monitoring (event correlation).
10. Improved SAP NetWeaver Administrator support for central configuration and administration of
both mediated and point-to-point scenarios.
12. Process editor modeling enhancements: step groups, integrated alert management and configurable
parameters.
15. WS-BPEL 2.0 adoption (Preview and implementation BPEL4People, BPLE-SPE Simple User Defined
Functions can be configured directly in the process.)
SAP PI 7.1 Mapping Enhancements - Graphical Variable - Share User Defined Functions - Part
1
Graphical Variable in PI 7.1
Graphical Variable is new enhancement in SAP Process Integration 7.1 Mapping. SAP PI 7.1 Mapping -
Graphical variable will replace a lot of previously development effort for global variables.
How to define a Graphical variable in PI 7.1 Mapping?
It is very easy to define a Graphical Variable in SAP PI 7.1 mapping. Right click on the root node of the
target message in the message mapping then select "Add Variable". Give a name for this variable. Then
Assign the values to the variable. Then map the Graphical variable to an element in target message.
Share User Defined Functions in Message Mapping PI 7.1
In the new enhancement in PI 7.1 allows you to share the user defined function. But the only restriction
is that the library containing the UDFs has to be in the same Software Component Version (SWCV) as the
message mapping. Therefore, if we wish to share the library in more than 1 SWCV, then we will need to
create dependencies in the System Landscape Directory (SLD).
How to create User defined Function and Share it?
Right click on the Namespace and select New -> Then select Function Library -> Enter Name and then
click create.
In the following screen:
Click on the "+" in "Functions and Java Area".
Enter the function name, ".
Enter "" as the Title.
Enter the java code.
Save and Activate
Now, we can use the UDF, "", just as though we had developed it in the message mapping locally.
SAP PI 7.1 Mapping Enhancements - Graphical Variable - Share User Defined Functions - Part
1
Graphical Variable in PI 7.1
Graphical Variable is new enhancement in SAP Process Integration 7.1 Mapping. SAP PI 7.1 Mapping -
Graphical variable will replace a lot of previously development effort for global variables.
How to define a Graphical variable in PI 7.1 Mapping?
It is very easy to define a Graphical Variable in SAP PI 7.1 mapping. Right click on the root node of the
target message in the message mapping then select "Add Variable". Give a name for this variable. Then
Assign the values to the variable. Then map the Graphical variable to an element in target message.
Share User Defined Functions in Message Mapping PI 7.1
In the new enhancement in PI 7.1 allows you to share the user defined function. But the only restriction
is that the library containing the UDFs has to be in the same Software Component Version (SWCV) as the
message mapping. Therefore, if we wish to share the library in more than 1 SWCV, then we will need to
create dependencies in the System Landscape Directory (SLD).
How to create User defined Function and Share it?
Right click on the Namespace and select New -> Then select Function Library -> Enter Name and then
click create.
In the following screen:
Click on the "+" in "Functions and Java Area".
Enter the function name, ".
Enter "" as the Title.
Enter the java code.
Save and Activate
Now, we can use the UDF, "", just as though we had developed it in the message mapping locally.
SAP XI PI
1. BPM Process Steps
2. Check Channel Available
3. SAP XI Ariba Integration
4. iWay Adapters for SAP XI
5. Seeburger Adapters for SAP PI
Business Content
Mapping Templates within Enterprise Services Repository
Message Library for Enterprise Services Repository
Huge message catalog with EDI XML schemas
Communication Protocols
OFTP/ISDN, P7 / X.400, VAN FTP
Application Adapters
Ariba Baan Broadvision
Clarify JDE One World XE (*) JDE World (*)
i2 Lawson Microsoft CRM
Manugistics Oracle Applications (*) Peoplesoft (*)
QAD MFG Pro Siebel (*) Vantive
Ariba (NASDAQ: ARBA) is a software and information technology services company located in Sunnyvale,
California.
Ariba, Inc. (Ariba), incorporated in September 1996, is a provider of on-demand spend management
solutions. The Company provides spend management solutions, which allows enterprises to take a step-
by-step approach with products and services that work together. Its solutions combine on-demand
software and services to help companies automate the procurement process. Ariba operates in three
geographic segments: North America; Europe, Middle East and Africa (EMEA), and Asia-Pacific (APAC).
Ariba Spend Management Solutions
The Companys Ariba Spend Analysis Solutions provides enterprises with a set of products and services
that allows enterprises to identify and prioritize savings opportunities and enable decision-making. Ariba
Sourcing Solutions allows enterprises to identify top suppliers across a range of categories to negotiate
procurement terms, leverage and aggregate spend, implement practices and manage procurement
contracts. Ariba Contract Management Solutions enables enterprises to streamline and automate the
contract process from contract creation to compliance management. Ariba Procurement and Expense
Solutions delivers applications and services for requisitioning and procurement across all types of spend.
Ariba Invoice and Payment Solutions enable enterprises to streamline and automate paper-intensive
invoicing and payment processes. Ariba Supplier Management Solutions provides enterprises with a set
of products and services to optimize buyer-supplier interactions throughout the spend management
lifecycle.
Ariba Spend Analysis Solution modules include Ariba Spend Visibility, Ariba Analysis and Ariba Data
Enrichment. Ariba Spend Visibility module presents spend data for analysis. The offering includes project
management services, data enrichment services and Web-based access to dashboards and pre-packaged
reports that help identify sourcing and compliance opportunities. Ariba Analysis module delivers a view
of spending activities across all suppliers, divisions and purchased goods or services. Dashboards help
purchasing and sourcing professionals identify and realize significant spend reductions. Ariba Data
Enrichment module facilitates spend analysis by normalizing and classifying real spend data from an
enterprises various data systems. Ariba Sourcing Solution modules include Ariba Sourcing On-Demand,
Ariba Sourcing, Ariba Supplier Performance Management and Ariba Category Playbooks.
Ariba Category Playbooks module enables sourcing and procurement professionals to drive their
activities programmatically by project management, knowledge management and resource
management. The Companys modules include Ariba Contract Management, Ariba Contract Workbench
and Ariba Contract Compliance. The Ariba Procurement and Expense Solution offerings allow customers
to manage the procurement process from requisition, through ordering, receiving, invoice reconciliation
and payment. Its modules include the integrated Ariba Procure-to-Pay module, Ariba Buyer, Ariba
Category Procurement, Ariba Travel and Expense, and Ariba Procurement Content. Ariba Procure-to-Pay
is its Web-based procurement and expense module. The Ariba Invoice and Payment Solution offerings
allow customers to automate the invoice management process. Its modules include the integrated Ariba
Invoice and Payment module and Ariba Invoice and Settlement.
SAP Integration
You can easily integrate Ariba by using SAP Process Integration.
Let us take a situation or requirement where we need to remove all the leading zeroes. Suppose the the
Product ID field containing an integer. But the source system send this integer with leading zeroes.
eg. 000000000123456789
Standardizes on the technology integration layer that would be used for connectivity between all
systems
Achieve a central monitoring of message flow, instead of having to monitor several systems
Could not execute statement for table/stored proc. "PROC_MAT" (structure "Mat_Stmt") due to
com.microsoft.sqlserver.jdbc.SQLServerException: Could not find stored procedure "PROC_MAT".
Solution
This error occured at SAP PI 7.11 due to the non-existence of the Stored Procedure at the database
level. Verify the SQL server Database and resend the message.
Import SQL Table metadata in SAP PI 7.1 Mapping Enhancements - Graphical Support for
JDBC and RFC Lookups
In SAP PI 7.1 we can import SQL Meta data. In the earlier version of SAP Netweaver Process Integration
you can import IDOC and RFC Metadata from the R/3. The only requirement is that we have to have a
JDBC receiver communication channel.
The first step is to create a message mapping parameter within the Signature tab. The parameter should
be an 'Import' parameter and have Category 'Adapter' and Type 'RFC'. Then select the Category
"Conversion" from Standard Function at the below of mapping editor. Select the RFC Lookup and Insert
in to the Data Flow Editor. Now do the settings for RFC lookup within the properties. Select the
parameter to be used for the lookup, then Select the relevant RFC function module that will be used for
the lookup. The left column represents the RFC Request message and the right column represents the
RFC Response message. Now the RFC lookup setup is complete and you can use in Mapping.
If you use the Sender IDOC Adapter Packaging (Enhancement Package 1 (EhP1) New feature) SAP PI/XI
does not split them anymore.
here is the sample from where you can see the message size
You can also save the payload in Notepad and see the size.
Example
Suppose you want to create target field depending on existence of source field. For example If you are
working on IDOC to File scenario and you need to create a target node when the source field exists.
Then use combination of function createIf and exists and map it to target field. Check first existence of
source field by using exists then use createif and in condition map this to target field.
collapseContexts() in SAP PI
collapseContexts() is one of the Node Function in SAP PI Mapping. collapseContexts()copies the first
value from all contexts to one context. Empty contexts are replaced with an empty string. It simply
removes all the context changes in between any two elements in a queue. It is similar to remove context
but it selects only the first value from each context. This can be useful if an upper-level node is to be
created each time a lower-level node exists.
<h3>What is the difference between SAX and DOM Parsing in SAP PI Java Mapping?</h3>
SAX Parses node by node, does not store the XML in memory, we cannot insert or delete a node and Top
to bottom traversing. While DOM Stores the entire XML document into memory before processing,
Occupies more memory, we can insert or delete nodes and traverse in any direction.
<h3>What are the five methods are used when SAX parsing the XML documents?</h3>
startDocument
endDocument
startElement
endElement
characters
Could multiple instances of an integration process be running at the same time? If so, how does a
message find its way to the correct instance?
Send message within an integration process to 8 receivers at the same time, how can I do this?
How does integration process kill itself? What are other possibilities?
What are the different types that a container element can be based on? Can container elements be
based on dictionary structure MARA?
What is an Xpath?
Which ABAP proxy, in or outbound has code you can type in?
With an optional node what is the cardinality? How do you make sure the subordinate's fields get
mapped?
What is it WSDL? Where do you find it in DR? Does Is used in Java or ABAP Proxy?
What is the sender communications channel? If error during inbound or outbound binding, where do
you look to solve?
What is URI, URL, and URN and what are their difference?
To perform content based routing, two places it can be done, what are the two places?
Message Mapping, advanced user function, can you test for context changes, if yes how?
What are the two XSLT tags, previously that could not be used in XI Why?
Using a simple user defined function how can you send trace information to be monitored?
What is logging / trace? Properties of an Async message? Inbound XI message has problem, where do
you look for solution?
What format can JDBC adapter communicate in? If communications with JDBC using XML format, what
are 4 actions you could do?
Installing PCK what platforms can you install it on? How does PCK and adapter framework engine differ?
Properties of the PCK who developed it? What is it similar too? Does it support B2B?
In simple mapping - one source results in 4 identical target messages, with regarding cardinality what is
the problem?
Tell me how to handle the error in BPM (transaction to monitor the errors).
If I have a sender and multiple receivers how do i send single sender to multiple receivers and also adv
and disadv of BPM
Can i import any number of idocs from R/3 and is there any way to get the idocs with importing from
R/3
If I have 100 files in a folder, if XI comes and picking the files from the folder, while picking 50 files
connection was lost in between and they are remaining 50 files are there to pick, in this scenario what
happens after connection established XI will collect remaining 50 files or again it starts from first.
What is Persistence? What is SLD explain and difference between Technical system and business system
and how do u assign it to IR and ID? Explain me about FCC?
What are different design times components used by XI? What services does the integration server
provide?
What is XI domain?
Describe the alert functionality of the runtime workbench? Name different monitoring functions of the
runtime workbench?
Web application server 6.2 has an integration engine. Why is this so?
Related Links:
http://help.sap.com/saphelp_nw73/helpdata/en/cc/be413f7c8c4f978b7c755a4bc957d8/content.htm
http://help.sap.com/saphelp_nw73/helpdata/en/7b/ebc8b9e34b434d9f3e80ef6776d77a/content.htm
http://help.sap.com/saphelp_nw73/helpdata/en/34/66c81241874285851e2497aa6f0573/content.htm
You can now create further availability times, or change or delete existing availability times. You can also
copy
What is new in PI 7.3?
SAP Process Integration 7.3 has lot of new things including Java only installation option via advanced
adapter engine eclipsed based design environment, Central Monitoring Dashboard via solution manager
and enhanced local monitors.
XML validation To check the structure of a PI message payload. The structure check is performed using
saved data types. You activate the validation in the collaboration agreement. Monitoring and
administration takes place in message monitoring of the RWB and in the Integration Engine.
In the previous versions you need to add the schema in the specified file directory of the server. But in
7.3 just activate the validation in collaboration agreement or in the integrated configuration in the
Integration Directory. This will automatically do the validation. Whenever a sender agreement, receiver
agreement, or an integrated configuration with enabled XML validation is activated, the corresponding
XSD for the sender or receiver interface is sent to the Runtime and stored in the persistent cache. The
cache is located on the central or de-central AAE.
How can you avoid the file to be picked up by receiver while SAP PI channle is still writing it?
When configuring the receiver fiel adapter, use "use temporary file" as write mode when you want to
avoid your file to be picked up by receiver while PI channel is still writing it.
Obviously larger the file, more chances you have that this issue could occur.
A WSDL document which describes a web service. A WSDL binding which describes how the service is
bound to a messaging protocol, particularly the SOAP messaging protocol.
Add to this collection a pattern which is commonly called the document/literal wrapped pattern and you
have five binding styles to choose from when creating a WSDL file. Which one should you choose in my
scenario?
The style has nothing to do with a programming model. It merely dictates how to translate a WSDL
binding to a SOAP message. Nothing more. You can use either style with any programming model.
RPC style web service are easier to create and are usually synchronous in nature. RPC encoded web
services are easiest create but offers least control in terms of usage of custom data types, validation
and interoperability. RPC encoded web service are slower in performance because of added overheads
of marshalling and un marshalling.
Click on the Lock Overview from the Lock and cache Administration menu.
Select the object which is locked
Click on the Button Remove Selected Locks
I created the Software component version in SLD. Now I wanted to start build the Integartion Repository
(ESR ) part of it, Usually in older version you have a menu in the "tool" menu called "Trasfer SWCV from
SLD". But 7.1 version onwards it changed.
Right click in the Design objects tab in ESR and then it will open a new window for creating new object.
Select the "Software Component Version" under Work Areas.
Here you have 2 options like Local software component version and Import from from SLD.
Selct Import from from SLD
Click on the Display button
Select the Software Component Version from the lIst
Click on the Import Button.
We investigated about the issue. The original response tab contain the message from the target. But it is
not in the Response tab. My investigation gave me some indication that the payload developed by java
mapping is not matching with the actual structure in proxy. This is was the reason. I changed the Java
mapping and tested again both Response, Original Response tab contain message..
BPC was a product of outlooksoft and SAP has taken over this.The versions of SAP BPC 5.1, 7.0 (
Netweaver and Microsoft version)
No, with that you would know how the data is stored. You have to make plans by using historical data
also.
BPC 5.1 is on the market now. In first quarter of 2010 BPC netweaver version 7.0 will come up.
Example
---------
If only sales planning - 4-6 months
If it is supply chain - 4- 6 months
Currency Translation
Intercompany elimination
7. Billing rate?
Xcelsius
Crystal Reports
As consultant you have to take care the securities in BPC. securities up to the record level.