Idea Place for SAP NetWeaver Process Orchestration - Business Process Management

SAP NW BPM provides modeling, execution and monitoring of business processes that can span multiple systems. It not only orchestrates information between systems, but can also involve users. For example, many companies are using BPM along with MDM during the authorization process before any master data can be entered into MDM.

In the near future, BPM can optionally be installed with SAP NW PI in the same instance, increasing the usability and integration of the two products. BPM is targeted as the eventual replacement for PI’s ccBPM.

In the future, BPM will also be used to provide real-time end-to-end BAM and on-demand (cloud) execution environment.

As we use BPM today and anticipating its usage in the future, whether with MDM, PI, BAM, SAP Business Suites or whatever, we may find that there are some really nice features and also features needing improvements or missing features that can help us.

Through the idea place, we can now provide feedbacks and suggestions that can potential affect the product’s features and directions. You never know, maybe one of our ideas will become part of the product.

The idea place can be accessed at:
Idea Place for BPM
https://cw.sdn.sap.com/cw/community/ideas/sap_netweaver/sap_netweaver_process_orchestration_business_process_management

Idea Place for PI
https://cw.sdn.sap.com/cw/community/ideas/sap_netweaver/sap_netweaver_process_orchestration_process_integration

How Well Managed is your Integration Directory?

Ever came across a situation where you were trying to find out a particular configured scenario in PI Integration Directory and confused between couple of similar ones. Or searching for a Communication Channel and found that there are many channels with almost similar names with all their agreements in place. This usually happens when we are managing a real large PI implementation landscape and unfortunately (or fortunately) we have not implemented it yourself. 

The idea of this wiki is to emphasize upon the significance of having a clean Integration Directory. If the current landscape is very small but there exist possibilities of adding new scenarios, make sure to keep things clean right from start or otherwise it would be a complete mess in future. 

What all could be the reason for such a mess?

   1. We know that this new method would show much better performance. But let's keep these old ones too for a Backup solution.

Unfortunately - It remained in the same Configuration Scenario making room for confusion to all of those who will refer this in future.

2.    Transports of individual objects are done from Quality system to Production.

Unfortunately - The simple option of "Add to Scenario" was not used and the actual object was lost in the "Objects" tab instead of finding some place in "Scenarios" tab.

3.   New protocols or standards are adopted due to which the overall integration landscape has become more standardized.

Unfortunately - The traditional ones are not removed.

4.   We know this is our Production system, but sooner or later we need to test communication with other systems

Unfortunately - These objects stayed in the same Scenario where Production flows resided adding up to the mess.

5.   For communication with similar partners different mappings and objects were used. One day someone suggested, "Why to use so many mappings, use multi-mappings".

Unfortunately - The redundant mapping remains as it is.

6.   The name of business system/ service is not very appropriate, let's change it to some logical name.

Unfortunately - Many objects with old Business system name were not deleted.

7.   Company A has implemented the scenario with Method A. Company B took over and implemented Method B for better performance

Unfortunately - then haven't removed Method A configurations

There could be many other reasons for this mess which could you included by the reader
 
Let's take an example when we have to say, "Oh! What a Mess!"

Suppose we have some conditions in Interface Determination based on which different mappings are done from same source structure. Customer one day complains about the data sent in incorrect format and to solve this on high priority. We would start searching the message using our standard monitoring options, but finally would end up logging into Integration Directory for the actual processing sequence. And that was the point at which the horror begins. This horror could have many faces like

   1. The channels used looks almost similar. If I have 30-40 agreements in each scenario, do I need to open them individually to find out which channel was using which scenario?
   2. Do I need to search the "Objects" list now for the configuration that I couldn't find in "Scenarios"?
   3. Time is ticking, how to make sure that I am looking into the correct scenario?

There could be many alternatives to react here to solve the issue. However, a better approach would be demonstrating Proactive behavior by cleaning the mess in the first place and thereby avoiding any such related problems. So now our attention should be turned towards the cleaning process. Although there are no defined steps for going about this cleaning, but we can atleast have a short checklist of easy steps to make sure we tried our best to keep it clean 

Checklist of Keeping ID Clean

    * For existing confusing objects, use PI monitoring options to see if you have received any message in Production since past few months for the set of Business System/ Services and Interfaces. If there are no messages, you can delete the objects.
    * One Exception to above point comes when you have used some option in Receiver Determination like "If No Receiver is Found, Proceed as Follows". It is possible that the receiver specified in this case hasn't received any message since months. These cases have to be considered before actual Deletion of objects.
    * If there is a Backup solution in Production landscape, separate it from the existing configuration either by adding it to a new Configuration Scenario or by adding a logical name to the objects involved.
    * Above point also applies for the cases where you have test objects in Production for testing communications.
    * If you mange some Interface specific document in your landscape with details of all the objects, then updating it should be a routine before delivering the object.
    * Another point to be added in the routine should be adding the object to appropriate Configuration Scenario as soon as any Transports are performed. "Add to Scenario" is not that difficult option.
    * Adding same object to multiple Configuration Scenario won't harm as far as its logical.
    * Create an Improvement routine for your organization which should be different that the actual Development routine. One influential but simple point the Improvement routine should be removing the objects from ID as soon as the improvements are implemented.
    * Adding appropriate Description to objects will always help. However, to see the description we have to open the objects. If we have say 50 such objects, then it would be better to perform the above steps first to rely upon the description.

SAP PI 7.1 Mapping Enhancements Series: Using Graphical Variable

Introduction:
Graphical variable is a new feature in the Message Mapping tool of PI 7.1. Among many of the new features, I think this simple feature will probably be one of the most useful, if not the most used new feature in PI 7.1.

Graphical varaible will replace a lot of previously development effort for global variables. It makes the development process much easier and brings a lot of clarity on when a "global" value will be calculated.

This blog will go into the details on its advantages and usage.

Using Graphical Variable:
Let's take a look at the following mapping requirement:
  1. Assign the source's "record" count value to the "recCount" element of every row in the target.
  2. Concatenate the source's "lastName" and "firstName" to the target's "fullName".

image

Create 2 graphical variables:
  1. Right-click on the root node (target_MT) and select "Add Variable".

    image

  2. Name the variable "varNoOfRec".

    image

  3. Create another variable, "varFullName", for the target's node "rows", by right-clicking on "rows" and select "Add Variable".

    image

Assign values to the 2 graphical variables:
  1. Double-click on the variable "varNoOfRec" and assign the following mapping.

    image

    This variable "varNoOfRec" will be executed for each occurence of "target_MT". In this case, it will be executed only once, since "target_MT" is the root.

  2. Double-click on the variable "varFullName" and assign the following mapping.

    image

    This variable "varFullName" will be executed for each occurence of "record" in the target.

NOTE: With where the variable is defined, it is clear as to when it will be executed and can be used.
Use the variables in mapping:
  1. Double-click on "recCount" and drag-n-drop (do not double-click) the variable "varNoOfRec" to the mapping area and assign the following mapping.

    image

  2. Double-click on "fullName" and drag-n-drop (do not double-click) the variable "varFullName" to the mapping area and assign the following mapping.

    image

  3. Assign something to the target's "var2", it is not important what. In this case, I just assigned it the element "data2" from the source. Also, we need to assign "record" to "rows" to complete the mapping.
Verifying the mapping:
Even though the mapping shown here is quite simple, but when there is a complex structure, using variables (especially, when they have to be re-used over-n-over again) can save a lot of development and processing time.

Below is the result of the mapping. The graphical variables are not sent to the target structure. The "recCount" value for each row is only calculate once during the mapping, not for every row. The "fullName", however, is calculated for each row.

image

Blogger Labels: Series,Graphical,Variable,Introduction,Message,tool,Among,features,development,effort,advantages,usage,requirement,Assign,element,Concatenate,lastName,firstName,Create,node,Name,Double,NOTE,area,Also,result,Enhancements,variables,recCount,fullName,target_MT,varNoOfRec,varFullName,occurence

SAP PI Interview Questions SAP PI Certification Questions

Activating the Required ICF Services

The required ICF services must be activated on the central monitoring server to allow proper operation of end-to-end monitoring and alerting.

Procedure

You activate the required services by executing the report RSXMB_ACTIVATE_ICF_SERVICES in the ABAP backend of your central monitoring server.

Triggering Self-Registration of PI Components in the SLD

You perform this step to trigger the self-registration of the following PI components in the System Landscape Directory (SLD):

  • Integration Directory

  • Enterprise Services Repository

  • Runtime Workbench

  • Advanced Adapter Engine

Procedure

Perform the following steps:

  1. Start the SAP NetWeaver Administrator.

  2. Choose   Operation Management   Systems   Start & Stop   Java EE Applications  .

  3. To trigger the SLD self-registration of the Integration Directory, stop and restart the application com.sap.xi.directory.

  4. After you have restarted the application, call the URL http://<host>:<port>/dir/start/index.jsp with user PISUPER.

  5. Wait for 10 seconds to allow the SLD to do the work.

  6. To trigger the SLD self-registration of the Enterprise Services Repository, stop and restart the application com.sap.xi.repository.

  7. After you have restarted the application, call the URL http://<host>:<port>/rep/start/index.jsp with user PISUPER.

  8. Wait for 10 seconds to allow the SLD to do the work.

  9. To trigger the SLD self-registration of the Runtime Workbench, stop and restart the application com.sap.xi.rwb.

  10. To trigger the SLD self-registration of the Advanced Adapter Engine, stop and restart the application com.sap.xi.app.

Registering Queues Used by the Integration Server

You have to register the queues used by the Integration Server for asynchronous message processing. More information about these queues: Queues for Asynchronous Message Processing.

Procedure

Perform the following steps:

  1. On your Integration Server host, call transaction SXMB_ADM.

  2. On the Integration Engine: Administration screen, choose Manage Queues.

    The Manage Queuesscreen appears.

  3. Choose Register Queuesto register the selected queues.

    NOTE

    If errors occur (because the queue name has already been used, for example), deregister all the proposed queues so that you can reregister them afterwards. To do this, choose QRFC Monitor

  4. .Exit the transaction.

Configuring the Role of the Integration Server

The Integration Server is configured as a central Integration Engine and performs all required integration logic.

Procedure

Perform the following steps:

  1. On your Integration Server host, call transaction SXMB_ADM.

  2. On the Integration Engine: Administration screen, choose Integration Engine Configuration.

    NOTE

    Logon data for the user PISUPER is required.

    The Integration Engine Configuration Data screen appears.

  3. Choose   Edit   Change Selected Configuration Data  .

  4. In the Selected Configuration Data box, select Integration Server as the Role of Business System.

    NOTE

    Leave the other fields empty.

  5. Save your settings.

    NOTE

    Within the same function, you can specify additional configuration data (settings for monitoring and error handling, for example). Check all the parameter default values (especially for logging and tracing) to ensure that they meet your requirements.

    To do this, select the relevant category under Parameter Categories and choose Change Configuration.

    The system displays a screen with the current configuration where you enter the configuration parameters that you require for the selected category.

    More information: Displaying/Changing Configuration Data.

Creating a Third-Party Logical Web Service Port

You create this logical Web service port to be able to call a special Java Web service from an ABAP backend system. This Java Web service is used to establish point-to-point connections to third-party systems.

Procedure

Perform the following steps:

  1. In your Integration Server system, call transaction SE38.

  2. Execute the function module THIRDPARTY_CONF_LP_CREATE with the following parameters:

    • Host: Integration Server host name

    • Port: Java HTTP port

    • User: PI3RDAPIUSER

    • Password: master password

    These parameters are required to locate and call the Java Web service.

Creating the HTTP Destination pmistore

The HTTP destination pmistore is required for the Process Monitoring Infrastructure (PMI). More information: Configuring End-to-End Monitoring.

Procedure

Perform the following steps:

  1. Start the SAP NetWeaver Administrator on your Integration Server host.

  2. Choose   Configuration Management   Security   Destinations  .

  3. Select HTTP Destinations and choose Create.

  4. Enter the string pmistore (in lowercase letters) as destination name and select HTTP as destination type.

  5. Choose Next and enter at least the following URL:

    http://<pi_host>:<ABAP_HTTP_Port>/sap/bc/spi_gate.

    The following naming convention applies for <ABAP_HTTP_Port>: 80<xx>.

    You can find the required port number by running transaction SMICM and choosing   Goto   Services  .

  6. Choose Next and select Basic (User ID and Password) as Authentication.

  7. Enter the username PIRWBUSER and the password that you entered during installation.

  8. Choose Finish.

Creating RFC Destinations on AS ABAP and AS Java

Procedure

You need to create the following RFC destinations with both transaction SM59 (AS ABAP) and the SAP NetWeaver Administrator (AS Java):

  • AI_RUNTIME_JCOSERVER

    Points from the Integration Server to the mapping runtime. The program ID corresponds to the entry configured for the destination on AS Java (used for the mapping runtime, 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).

  • 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.

Depending on your client settings, it may be necessary to log on to your Integration Server host as SAP system user with the authorization to maintain customizing tables and to release transport orders.

NOTE

User SAP* or DDIC does not have these authorizations.

Maintain the RFC Connections (ABAP)

Perform the following steps:

  1. Log on to your Integration Server host.

  2. Call transaction SM59.

  3. Choose Create.

  4. Enter at least the following:

    • RFC destination: AI_RUNTIME_JCOSERVER

    • Connection type: T

    • Description: <your description>

  5. Choose ENTER.

  6. Choose the Technical settings tab and do the following:

    1. Select Registered Server Program.

    2. In the Program ID field, enter: AI_RUNTIME_<SID>

      <SID> is the SAP system ID of your Integration Server host.

      CAUTION

      Use uppercase letters only.

    3. Select the gateway defaults.

    4. Enter Gateway host and Gateway service of your Integration Server host.

      To find out the required parameters:

      1. On the Integration Server host, call transaction SMGW.

      2. Choose   Goto   Parameters   Display   (check the entries for gateway hostname and gateway service).

    5. Choose the MDMP & Unicode tab and select the Unicodeflag in the Communication Type with Target System box.

  7. Save your settings.

  8. Repeat steps 3 to 8 for the remaining destinations:

    • AI_VALIDATION_JCOSERVER

      Program ID: AI_VALIDATION_<SID>, where <SID> is the SAP system ID of your Integration Server host.

    • LCRSAPRFC

      Program ID: LCRSAPRFC_<SID>, where <SID> is the SAP system ID of your Integration Server host.

    • SAPSLDAPI

      Program ID: SAPSLDAPI_<SID>, where <SID> is the SAP system ID of your Integration Server host.

  9. Leave transaction SM59 open to perform further tests later.

Configure the Destinations (Java)

Perform the following steps:

  1. On your Integration Server host, start the SAP NetWeaver Administrator.

  2. Choose   Configuration Management   Infrastructure   JCo RFC Provider  .

  3. Choose Create and enter exactly the same program ID and gateway options for AI_RUNTIME_JCOSERVER that you used in the step Maintain the RFC Connections (ABAP)above. Additionally, set the server count to 10 and choose Next.

  4. In the Repository Configuration section, do the following and choose Next:

    1. Deselect the Use RFC Destination flag.

    2. Enter the parameters for the Integration Server host: Application Server Host, System Number, Client, and Language.

    3. For User and Password maintain the login parameters for the user SAPJSF.

  5. Do not select anything in the Security Settings and Additional Options sections and choose Next.

  6. Choose Finish.

  7. Repeat steps 3 to 6 for the remaining destinations:

    • AI_VALIDATION_JCOSERVER

      Corresponding values from transaction SM59

      Server Count 10:

    • LCRSAPRFC

      Corresponding values from transaction SM59

      Server Count 3:

    • SAPSLDAPI

      Corresponding values from transaction SM59

      Server Count 10:

Test the RFC Destinations

After you have maintained all RFC destinations in both the ABAP and Java environments, you can check all the connections above as follows:

  1. Call transaction SM59 again.

  2. Open your RFC destination.

  3. Choose Connection Test.

    No errors should be displayed.

Creating RFC Destinations on AS ABAP

Procedure

On AS ABAP, you need to create the following RFC destinations:

  • INTEGRATION_DIRECTORY_HMI used for the cache update

  • SAPXIPP<client> used for principal propagation

Creating INTEGRATION_DIRECTORY_HMI

Perform the following steps:

  1. Log on to your Integration Server host.

  2. Call transaction SM59.

  3. Choose Create.

  4. Enter at least the following:

    • RFC destination: INTEGRATION_DIRECTORY_HMI

    • Connection type: H

    • Description: <your description>

  5. Choose ENTER.

  6. Choose the following tabs and enter the required data:

    CAUTION

    Save your entries each time you switch to the next tab, otherwise your entries may be lost.

    • Technical Settings

      • Target Host: host name of AS Java

      • Service No.: HTTP port number

        The following naming convention applies: 5<AS_Java_instance_number>00 50000, if your AS Java instance is 00)

      • Path Prefix: /dir/CacheRefresh

    • Logon & Security

      • Select Basic Authentication, confirm the dialog box, and ignore the warning.

      • Enter the client of your Integration Server and the user PIISUSER with a valid password.

    • Special Options

      • Timeout: 30000

      • HTTP Settings: HTTP Version: HTTP 1.0, Compression: inactive, Compressed Response: No

      • HTTP Cookies: Accept Cookies: Yes (All)

    • Save your settings.

  7. Choose ConnectionTest.

    The test has been executed successfully if the response status code is 500 and you find REQID not found in the response body.

Creating SAPXIPP<client>

Perform the following steps:

  1. Log on to your Integration Server host.

  2. Call transaction SM59.

  3. Choose Create.

  4. Enter at least the following:

    • RFC destination: SAPXIPP100 (for example)

      Specify the client of your Integration Server.

    • Connection type: 3

  5. Choose ENTER.

  6. Choose the Logon & Security tab and enter the following logon data:

    • The client of your Integration Server (for example, 100).

    • The user PIPPUSER with the valid password.

  7. Save your settings.

  8. Choose ConnectionTest.

    The test has been executed successfully if the response status code is 500 and you find REQID not found in the response body.

Maintaining a Business System for the Integration Server

A business system with the role of an Integration Server must be defined in the SAP System Landscape Directory (SLD).

Procedure

Perform the following steps:

  1. On the SLD start page (http://<host>:<Javaport>/sld) of your SLD host, choose Business Systems.

    The Business Systemspage appears.

  2. Choose New Business System....

    The Business System Wizardappears.

  3. Select system type AS ABAP and choose Next.

  4. Select the technical system for your business system by selecting the system (<SAPSID on host name>) and client of your Integration Server and choose Next.

  5. Enter a name for your business system and choose Next.

    An installed products list appears.

  6. If there are products displayed on the left that are not installed on the system, deselect them by deselecting the Installed indicator and choose Next.

  7. Select Integration Server as the role of the business system and enter the following in the Pipeline URLfield:

    http://<host>:<HTTPport>/sap/xi/engine?type=entry

    In this Internet address, <host> and <HTTPport> are the ABAP host name and port number of the Integration Server. You can find <HTTPport> by logging on to the Integration Server and running transaction SMICM (choose   Goto   Services   and check the entry for HTTP).

  8. Choose Finish.

  9. Make sure that the host name of the Integration Server specified in the SLD matches the name specified in the exchange profile (in section Connections, property com.sap.aii.connect.integrationserver.name). If there is a mismatch, change the name specified in the exchange profile so that it matches the one specified in the SLD.

    NOTE

    If you change the host name of the Integration Server after the installation in either the SLD or the exchange profile, you must adjust it accordingly in the exchange profile or the SLD, respectively.

Maintaining a Product for the Technical System

The central Integration Server must be registered in the System Landscape Directory (SLD). For this purpose, the required Common Information Model (CIM) objects must have been instantiated in the SLD during the post-installation steps described in the SAP NetWeaver Installation Guide at SAP Service Marketplace at service.sap.com/instguidesnw.

When maintained as a product, the Integration Server is described as a technical system in the SLD.

Procedure

Perform the following steps:

  1. On the SLD start page of your SLD host, choose Technical Systems.

    The Technical System spage appears.

  2. Select AS ABAP as type of your technical system.

    In the table displayed, choose the technical system (<SAPSID on host name>) that you have created for the Integration Server with transaction RZ70.

    (More information: SAP NetWeaver Installation Guide on SAP Service Marketplace at service.sap.com/instguidesnw.)

    A details screen appears, where you can maintain the technical system.

  3. On the Installed Softwaretab page, choose Add New Product.

    A list of available products appears.

  4. In the product list, select the product SAP NetWeaver PI 7.1.

  5. Make sure that at least the component SAP BASIS 710is selected in the software component version list.

  6. Choose Save.

Performing Automatic Customizing

On AS ABAP, you have to perform automatic customizing to be able to use the Business Process Engine.

Procedure

Perform the following steps in your AS ABAP system:

  1. Log on as user with SAP_ALL rights (you cannot use DDIC or SAP*).

  2. Call transaction SWF_XI_CUSTOMIZING to perform basic customizing. This transaction sets all required technical settings.

    The screen Automatic Workflow Customizing appears.

  3. Make sure that the Maintain Runtime Environmentnode has a green check (not a red cross).

    If there is a red cross, do the following:

    1. Select the Maintain Runtime Environment node.

    2. Choose Perform Automatic Workflow Customizing.

      The system now performs the automatic customizing including all sub nodes.

  4. Choose   Maintain Definition Environment   Maintain Prefix Numbers  .

  5. Choose Execute.

    The Prefix Numbers for Workflow and Organizational Managementscreen appears.

  6. Choose Display <-> Change to activate the edit mode.

  7. In the Available Prefix Numbers for Workflow and Organizational Management box, choose Create.

  8. In the dialog box, enter a Prefix numberequal to or higher than 900 and choose Save.

    NOTE

    You need to enter a transport request according to your Transport Management System (TMS) and choose Save again.

Importing ESR Content

SAP NetWeaver supports cross-system applications using SAP NetWeaver usage type PI. Cross-system applications based on SAP NetWeaver deliver interface descriptions, mappings, and other objects relevant to communication, together with their product. Customers must import this content (the Enterprise Services Repository content or ESR content) into the Enterprise Services Repository of SAP NetWeaver. The import is required for configuring the cross-system application in the Integration Directory.

In some cases, customers might also want to import their ESR content of a previous release of SAP NetWeaver. The following table provides an overview of the possible content imports depending on the source and target Repository.

Source Repository

Target Repository

SAP NW 2004

SAP NW 7.0

SAP NW PI 7.1

SAP NW 2004

X

X

X

SAP NW 7.0

(x)

x

X

SAP NW PI 7.1

X

For SAP NetWeaver Process Integration 7.1, you can import ESR content from SAP NetWeaver Process Integration 7.1, SAP NetWeaver 7.0, and SAP NetWeaver 2004. The procedure described below applies to importing ESR content based on SAP NetWeaver Process Integration 2007.

More information: Organization of ESR Content

Prerequisites

You must have the role SAP_XI_ADMINISTRATOR or SAP_XI_CONTENT_ORGANIZER to be able to export and import ESR content.

Procedure

You can find the ESR content for an SAP application in export files on SAP Service Marketplace at service.sap.com/swdc under   Download   Support Packages and Patches   Entry by Application Group   SAP content  ESR content (XI Content)   <ESR CONTENT software component>   <ESR CONTENT software component version>   (you can find the name of the software component and the version in the master guide of your application).

For SAP NetWeaver PI basic configuration, you only need to import the content of software component SAP_BASIS.

Import the ESR content by first copying the export files provided into an import directory on the host of the Enterprise Services Builder and then importing the files into the Enterprise Services Repository. In the following steps,<systemDir> denotes the path for the system directory of the host (generally, <systemDir> corresponds to \usr\sap\<SAPSID>\SYS\global).

  1. Obtain the export files for the ESR content of the cross-system application.

    The files are stored as a ZIP file on SAP Service Marketplace (as described above). You can use the naming convention of these ZIP files to find their SPS (support package stack):

    <software component version><SPS>_<patch level>

    EXAMPLE

    The files SCM4003_00.ZIP and SCMBASIS4003_00.ZIP refer to support package stack 03 with patch level 0 of the ESR content.

    NOTE

    Importing ESR content with a later version does not overwrite the content that you have already imported into the Enterprise Services Repository. Support packages for ESR content always contain both previous objects and the changes and enhancements delivered in the support package.

  2. Start the Enterprise Services Builder and call the Enterprise Services Repository.

    To do this, perform the following steps:

    1. Log on to the SAP system on which your Enterprise Services Builder has been installed.

    2. You start the Enterprise Services Builder or the Integration Builderby means of an HTML start page. Open this start page by calling it either from your user menu or with Transaction SXMB_IFR.

    3. Choose Enterprise Services Repository.

  3. Copy the export files into the import directory for the Enterprise Services Repository (<systemDir>\xi\repository_server\import).

    If the files are packed, you must unpack them before importing. (It is advisable to retain the ZIP files; refer also to the remarks for the last step.)

    CAUTION

    The actual export files have the extension .tpz. You must not unpack these files. The import directory is created the first time you call the Enterprise Services Builder.

  4. Choose   Tools   Import design objects  .

    NOTE

    ESR content can be imported either from a server directory or from a directory of your local PC (Client). SAP recommends that you import ESR content from the server directory.

  5. Choose Server. You can only select files from the import directory <systemDir>\xi\repository_server\import. The sequence in which you import the export files is not important.

    NOTE

    If version conflicts occur during the import, you can process and resolve them in the Enterprise Services Builder. In the case of corrupt export objects, you can force the import and skip objects that cannot be imported. The import is then incomplete and references to objects that are not imported are lost.

Result

After a successful import, the Enterprise Services Builder moves the imported TPZ files into the directory <systemDir>/xi/repository_server/importedFiles. The support package of imported software component versions is displayed on the Detailstab page for the relevant software component version in the Enterprise Services Builder. If an error occurs, this information is important for support. Take one of the following precautions to retain the overview of the imported ESR content:

  • If the release and the support package are clear from the file name of the TPZ file, simply leave the files in the directory importedFiles (as described above).

    If a file with the same file name already exists in the directory importedFiles, the Enterprise Services Builder adds the date and time of the import to the file name of the imported export file. This enables you to check which file was imported last.

  • After a successful import, you can keep the packed files, from whose naming convention you can derive the support package. Move them into the directory importedFiles, for example.

Importing the Exchange Profile

You import the exchange profile because it contains basic technical configuration settings of a PI landscape.

Procedure

Perform the following steps:

  1. On your Integration Server host, open the following URL:

    http://<AS_Java_host>:AS_Java_port>/webdynpro/dispatcher/sap.com/com.sap.xi.exprofui/XIProfileApp

    The following naming convention applies for <AS_Java_Port>:

    5<AS_Java_instance_number>00

    50000, for example, if your AS Java instance is 00

  2. Enter the logon information:

    • User Name: PISUPER

    • Password: <pisuper_password>

    The Exchange Profile page appears.

  3. Choose Connection.

    The ABAP Connectionpage appears.

  4. Enter the required information for the PI host.

    Use the logon information of user PILDUSER.

  5. Choose Set.

    The Exchange Profile page appears.

  6. Choose Import.

    The Import profile from databasepage appears.

  7. Choose Browse and select the following file:

    /usr/sap/<SID>/SYS/global/xi/exchange_profile.xml

    NOTE

    If you cannot run a Web browser on your PI host, you need to copy the file exchange_profile.xml from the PI host to a host where a Web browser runs.

  8. Choose Import Data.

    The profile is imported.

    CAUTION

    Since the file exchange_profile.xml contains secure information like passwords, we highly recommend that you delete the file after importing or to save it using high security standards, such as encryption.

SAP MDM ,SAP MDM Tutorials, SAP MDM Training

Configuring the Web Services Runtime

You configure the Web services runtime to be able to use Web services and Web Service Reliable Messaging (WSRM) in PI.

Procedure

Perform the following steps:

  1. Use transaction SU01 in client 000 to create a system user of type B called BGRFCSUPER.

    This user is used for the bgRFC communication using the destination BGRFCDEST created in step 3 below.

  2. Use transaction SU01 to assign role SAP_BC_BGRFC_SUPERVISOR to user BGRFCSUPER.

  3. Use transaction SM59 in client 000 to create the ABAP (type 3) destination BGRFCDEST.

    This destination uses user BGRFCSUPER for communication.

  4. Use transaction SBGRFCCONF in client 000 to configure the bgRFC supervisor destination. To do so, choose the tab page Define Supervisor Destination and add the destination BGRFCDEST.

  5. Use transaction SU01 in client 001 to assign role SAP_BC_WEBSERVICE_ADMIN to your Java EE Administrator user.

  6. Use transaction SE38 in client 000 to configure the ABAP Web Services Runtime. To do so, start the report SRT_ADMIN, select Technical Configuration of Web Services Runtime, and execute the report.

  7. Use transaction SE37 in client 000 to activate the required ICF services. To do so, execute function module SRT_WSP_SETUP_ICF_NODES with parameter FORCE_ACTIVATION set to X.

  8. Repeat steps 6 and 7 in client 001.

  9. Use transaction SE37 in client 001 and execute function module ESF_INBOUND_SETUP_CTC to activate the ESF service esf_inbound_sm.

SAP PI Interview Questions SAP PI Certification Questions

Checking PI Services

You need to check if the services required for usage type PI are running.

Procedure

Perform the following steps:

  1. Start the SAP NetWeaver Administrator.

  2. Choose   Operation Management   Systems   Start & Stop   Java EE Services  .

    A list of the deployed services appears.

  3. Check that the following services are running:

    • sap.com/com.sap.aii*

    • sap.com/com.sap.xi*

  4. If one of the services is not running, select the service and choose Restart.

SAP PI Software Download | SAP PI Downloads |SAP PI Training

SAP Developer Network SAP Weblogs: SAP Process Integration (PI)