loading

SAP Test Tool (PIT) – SAP PO 7.5 SP14

History

SAP has prepared a first version of a SAP PO upgrade testing tool – PIT. It’s being shipped with SP14 to SAP PO which is currently released.  The tool perfectly complements Int4 IFTT testing tool in one scenario the so please have a look how you can configure it to help you perform an SAP PO upgrade more easily.   

Use cases

SAP Test Tool primarily focuses:

  • help with SAP PO dual stack (ABAP & JAVA) to single stack migrations (JAVA only)

 

Availability/prerequisites

In order to use SAP Test Tool you need to have SAP PO 7.5 SP14 (where you can install it or run test scenarios) but if you just want to feed the SAP Test Tool with data you can use a system from 7.31 SP17 or 7.5 SP06 or higher.

For each message used as a source you need to enable logging on BI, MS, AM.

Current limitations (this may be subject to change)

  • ICOs with sender/receiver wild cards
  • Sync/async, async/sync bridges
  • Mapping splits
  • Flows with Decentralized adapter engines
  • No adapter modules are tested

 

Terminology used in SAP Test Tool

Test system – SAP PO system in the landscape which is used for testing – either as source (feeding the Test tool with messages) , target (where sender’s messages are executed) – those are used in dual stack to single stack migrations or both (sender and target) which is a typical use case for regression testing on a single system.

Test Case – SAP PO routing configuration which is being tested (ICO, etc.)

Test Data Set – a set of messages (successfully processed) which is a subject for testing.

Run configuration – specifies on which landscape should the test case be executed

Authorizations

In order to be able to create the configuration and run it you’d need the following roles: SAP_PIT_TEST_DEVELOPER, SAP_PIT_LANDSCAPE_ADMINISTRATOR.

Configuration

Currently SAP Test Tool is using NWDS as a main configuration tool. The scenario below will describe how to do regression testing on a single SAP PO system. We will find a successfully processed message, do a mapping change and see what will happen once we reprocess the same message via the same ICO. Ideally it should display all of the differencies between the two runs.

Step 1

Open NWDS and find the new perspective: SAP Process Integration Test.

Step 2

Open preferences and insert connection data to your SAP PO were the SAP Test Tool is installed.

Step 3

In the next step you need to define the systems (source and target) where you need to run your tests. In this case it’s the same system where SAP Test Tool is installed.

Step 4

In the next step we can start creating Test Cases.

Select the type of the flow you want to test.

In the next step it’s time to select the routing object itself (ICO).

Step 5

In the next step the Test case is created so we can populate it with test data. In order to do that select the Test Data tab of the Test Case.

Then select the “Add” button to add messages to the test data where you can specify the source system from which you want to fetch the data.

Next select the time range when the message was created and the message itself.

On the Verification tab of the Test case you can also define which parts of the message should not be checked (dates, etc.).

This step finishes the configuration/customizing part of the SAP Test Tool.

Run and validation

In order to run the test you need to create a new run configuration.

Where you need to specify the Test Case and the landscape of the execution.

What you can also select here is the checkbox “Stop message before delivering to Receiver” which will automatically cancel the Test message after processing so it will not overload the receiver system.

Once you press Run the Test Case will get executed and the TestRun is executed you can send it for Verification which will compare the old (original) target message with the new one created by executing the Test Case.

As I’ve changed the mapping before running the Test Case what we can see is that there are some differences found.

In the Error Overview section we can see a more detailed description talling us the what is different between the original message and the one from the Test Run.

Complementary tools:

SAP Test Tool is a free test tool provided by SAP which can help in some SAP PO Use types mentioned in this article. In case you’d need to Test some other use cases like the ones mentioned below fell free to contact us about a demo of the Int4 IFTT (the only SAP certified tool for testing all SAP middleware scenarios).

SAP Test Tool – PIT and Int4 IFTT scenario coverage

ToolSAP
PIT
Int4
IFTT
Use Case Support
SAP PO dual stack to single stack migrationsYesYes
3rd party middleware to SAP PO migrationsNoYes
SAP PO to 3rd party middleware migrationsNoYes
SAP EDI migrations (B2B add on)NoYes
SAP Cloud Platform Integration (CPI) testingNoYes
Service VirtualizationNoYes
S4/HANA conversions testingNoYes
SAP Backend validations (document field level)NoYes
SAP Backend (IDOC, Proxy) testing, SAP eCATT
integration
NoYes
SAP AIF TestingNoYes
Test Driven DevelopmentNoYes
Continuous testing/DevOpsNoYes
Integration test documentationNoYes
SAP PO Features
Use of successful messages as reference messagesYesYes
XML comparison (including exceptions)YesYes
EDIFACT/ flat files comparison (incl. exceptions)NoYes
Exchanging test cases between environmentsYesYes
SAP PO adapter module testingNoYes
SAP PO multimappingsNoYes
Background (scheduled) validationsNoYes
Solman integration, incident managementNoYes
NWDS requiredYesNo
SAPGUI requiredNoYes
Scope
SAP PO only (after 7.31 SP17)YesNo
SAP PO (also versions prior to 7.31 SP17) , SAP CPI,
SAP Backend interface implementation,
3rd partymiddleware
NoYes
License
LicenseFreeLicensed

 

More videos on the SAP PO upgrades topic – How to upgrade you SAP PO landscape

 

 

 

SAP integration consultant since 2004. He has been recognized by SAP included becoming an SAP Mentor in 2007 and winning the top contributor/topic leader award from SDN (SAP Developer Network portal) in SAP PO/PI eight times. Michal is the author many SAP integration related books: Mastering idoc business scenarios with SAP XI , Mastering idoc business scenarios with SAP PI (second edition), The Essentials on SAP NetWeaver Process Integration (A SAP Mentor 2010 Series) and SOA Integration ? Enterprise Service Monitoring and Serializing Interfaces in SAP AIF. He wrote many articles for SAP Professional Journal, SAP CRM, SCM, Solution Manager, HR, SCM online expert magazines. He is recognized as one of the leading SAP integration experts in the world and has written more than 140 articles and blogs on SCN (scn.sap.com), in addition to regularly speaking at SAP events (SAP Teched, SAPPHIRE, SAP Inside Track) on SAP PO/PI and SAP AIF. He?s also a forum moderator on SCN in SAP PI/PO and AIF areas.World class expert in SAP PI/PO, BPM, IDOCs/ALE, FEH/ECH, BRFPlus, AIF and other SAP integration technologies. Deep module knowledge in SAP logistics modules (SD, MM, LE) allows Michal woking very efficiently with module consultants. One of the favorite interface scenarios is the decentralized warehouse management scenario (DWMS) where SAP is connected to an external warehouse management system

One thought on “SAP Test Tool (PIT) – SAP PO 7.5 SP14

  • Hi Michal,

    Good step by step guide, will maybe try this out for our next migration. But it seems the SAP tool is also capable of doing regression testing. Why do yo not list that in the comparison table at the end?

    Btw, many missing spaces make this text a bit tedious to read. You might want to clean this up a bit.

    Thank you,

    Philippe

Leave a Reply

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

Contact

INT4
ul. Bednarska 1
60-571 Poznan, Poland

 

office(at)int4.com

Write to us