SAP PO: Integration Testing

Hello everyone,

In this article, I will talk about testing in SAP Process Orchestration. By SAP System Landscape we will have three environments (Development, Quality and Production) systems. To make sure that new development and adjustments works correctly, we need to perform testing phases as recommended.

Traditional Testing Matrix

There are many testing tools for SAP integration on market that you can There are many testing tools for SAP integration on market that you can find out in internet. In this topic, I won’t talking about tools, I only focus on methodologies how to test integration object faster and more effective to reduce technical issues and timing.

1. Unit Test

What is unit test ?

Once we developed interface object on SAP PO, we need perform unit test phase. Unit test look like do validation manually to check technical specification and data content validation.

What do you do in unit test ?

Structure mapping: In your integration landscape, there are may have many system invoked. Each third party system require different data structure and data format.

Example, XML fields name output to SystemA and SystemB are different

Data format mapping: Each partner system may require different data format, we need to validate each output payload to align with partner system

Example: Date of birth SystemA and SystemB are different format

Data logic conversion: To convert message to receivers, there are may require some mapping logic, condition routing could be applied. We need to check each field after applied condition after mapping.

Example: Conversion logic value of gender field

Connection validation: Depend on each integration object, we will use different data transfer protocols. Performing connection test, we can identify issues with network infrastructure, firewall etc.

2. System Integration Test (SIT)

What are targets of System Integration Test ?

  • Synch business data between system to system with no technical issue.
  • Testing business scenario End to End.

Technically, interface objects developed and passed unit test, not only SAP side, we need to perform testing with external system.

System Integration Test scenarios need to build on business blueprint documents.

System Integration Test can do with external systems as the same time or one by one.

System Integration Test is not specific integration object test like unit test. We need perform business blueprint process fully.

As you see simple “Sales Order” creation scenario below, SAP will send material and sales price to POS system, Cashier play orders on POS terminal and send back to SAP as Sales Order. This is general concept only, detail Sales Order data send back to SAP with multi data condition, so we need to finger out how many type of sales order, discount applied, payment method etc.

System Integration Test scenarios should be prepared by business process owner and SAP functional consultant.

Testing result Recoding and Comparation

During system integration test we also capture testing results once messages send / receiving success on SAP and External system.

Example: Both green boxes, data content have to the same as business mapping requirements

For inbound scenarios, external system capture business documents and export data to SAP per SAP PO format requirement. In SAP side, we can not control generation process of external system, we only can validate raw message and business document created on SAP once messages sent to SAP successful.

3. User Acceptance Test (UAT)

User Acceptance Test (UAT) is the most important testing phase. In this phase, business user of both sender and receiver do scenarios testing as daily basic tasks they do.

Almost technical defect and business process lack happened in UAT phase. There are some common reasons as below:

1. Integration developer with no business process view.

2. Testing scripts did not convert business scenarios.

During UAT, data transfer from sender to receiver system automatically.

Thank you and hope helpful for you

Cuong Dang

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.