Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Outbound application interfaces which are based on the SAP Message Control can be tested end to end in Int4 IFTT by a single test case. The examples Examples of documents that use the output control in SAP S/4HANA are : sales orders, purchase orders, outbound deliveries, or sales invoices.
The test case will verify both the S/4HANA and the integration platform together. Here you can find how Int4 IFTT can reprocess interface messages from SAP Output Control.
Testing scope:

...


The solution is applicable for the below test types:

Below you will find the automation object’s required parameters and variables that will allow to combine repeating the message in output control for the particular business document as well as and capturing it its final output message from the integration platform.

...

  1. Create a standard automation object for outbound interface (based on the description for a particular test type)

  2. Setup an Additional Parameter:
    Name: Trigger the output from message control (NAST)
    Value: X

  3. Add variables that will allow to repeat the message and correlate output based on the final content

Variable Name

Variable Description

Variable processors

Comment

KAPPL

Output application

Action: Populate Variable Before execution
Var. Proc.: CONSTANT
Processing Parameter: {Application from NAST}

For example:
V1 for sales order,
V3 for Invoice etc.

KSCHL

Output Type

Constant as above. Parameter should contain Output Type key

For example:
RD00

PARNR

Partner

Constant as above. Parameter should contain Partner Name

Optional

PARVW

Partner Role

Constant as above. Parameter The parameter should contain Partner Role

Optional

SPRAS

Language

Constant as above. Parameter should contain Language

Optional

AENDE

Change message flag

Constant as above. Used for testing change messages.

Optional

NACHA

Message transmission medium

Constant as above

Optional

OBJKY

SAP Document number

Two actions:

  1. Read variable before execution | READ_MSG | {XPath or flat file expression}

  2. Locate new message using variable value | XPATH | {same XPath or flat file expression}

Same The same XPath expression should be used for both actions.

The variables' names must be exactly the same. They are used to automatically populate an output in the SAP S/4HANA backend automatically.
First, The OBJKY variable is used to read the business document number that the test case output was captured. Next, the new entry is added to output control, and the interface logic creates a new test message.
Finally, by the second action in the OBJKY variable, Int4 IFTT will search the integration platform and find a new message that was produced by the test case execution and contain the proper correct document number.

References & Examples:

...