USE:
PI Outbound interface type allows you to test The test type PI Outbound allows testing a flow in which a an SAP Backend (or another system) business document triggers the interface and continues message. This message is processed in SAP PI/PO until the final version of an XML message or flat file is ready to be sent out to the 3rd party receiver by middleware.
That’s why in order , to execute this type of a test case testing, you need to define a trigger of an outbound message.
Trigger of an outbound message:
...
an associated test case that will trigger the message from a business document.
Alternatively, if the application interface is based on SAP Output Control, there is a single test case approach described here: Outbound test cases with triggering the Output Control.
During the test case execution, the PI outbound type will scan if the particular message was processed in SAP PI/PO. If so, it would fetch the content and compare it with the reference.
...
Info |
---|
PREREQUISITES: Associated test case to trigger an outbound message from SAP Backend:
|
Info |
---|
OPTIONAL: |
Steps for Document Number selection:
Info |
---|
PREREQUISITES: |
|
Steps for test case creation:
Depending on the testing scope, select the "IDoc outbound" Interface Type field for IDOC messages processed directly to ERP only in SAP Backend or "PI E2E Outbound" for messages processed through middlewareSAP PI/PO.
Select Document Number field and press (F4).
In IFTT PI/PO Message Selector type in: (Message Selector is available only for SAP PI/PO. Otherwise provide IDOC number in a Document Number field)
IFTT Object Definition used in the current test case. Confirm with with enter for for changes to take place.
Date range within which IFTT should search for the messages on SAP PI/PO
Message number i.e. number, e.g., Purchase Order number. Message Selector will help you with what value you should be entered enter by passing the variable name and its description from the object definition . (optionally if Automation Object contain a searching variable)
Process it (F8)
Check the content of the found messages to select an appropriate GUID that should be used as a test base from the generated list. Transfer the message using using the Transfer selected button button.
In the Parent ID field, enter the CaseID of the related inbound message or manual triggering test case recording.
After completing the above steps hit on Save button , press the Save button to save a test case. After saving the Object Def. ID field should be updated automatically with relevant Object Definition ID.
Test The test case is ready to be executed.
Info |
---|
OPTIONAL: |