Versions Compared

Key

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

In this article, you will find the requirements and settings to support the SAP PI ABAP stack.

In this scenario, messages are fetched from ABAP message persistance persistence (unless not specified differently, see the last paragraph)

SAP PI settings

Setting the ABAP stack SAP PI persistence (Global settings)

It is required to store messages after processing. This setting is done in SAP PI in the SXMB_ADM transcationtransaction:  SXMB_ADM → ADM → Integration Engine Configuration → Configuration → Category: Runtime

To reduce the DB storage it might be limited my , use Sub-parameter PLSRVparameters PLSRV_MAPPING_REQUEST and PLSRVand PLSRV_MAPPING_RESPONSE for synchronous messages.

...

Global Int4 IFTT Parameters configuration for ABAP stack PI support

Now, we need to indicate which message version should be collected by Int4 IFTT. First, please see how the message version are is counted. In For this purpose, please display any processed message in SXMB_MONI in the SAP PI system:

Starting If starting counting from the top (0-6), there is no fix fixed number for the version after mapping or basically the last version that contains a payload. This is due to the fact, that situation is because messages can have multiple receivers, and there it was a message split (like at in the above example). This That is why , we need to calculate the version from the bottom and provide it as a negative number. -1 means take the second version from the bottom, -2 means take the third version from the bottom, etc.

  1. In transaction transaction /INT4/IFTT_IMG under under Configure Global Parameters node node, there must be filled up the following Global Parameter , in order int4 for Int4 IFTT to read the proper correct message version:

Configuration Parameter

Parameter Value
SAP PI ABAP Stack message version-2

This parameter might be set globally or per environment, if we have different persistence settings on different the various SAP PI systems. Value -2 is just an example, and you need to check what is stored for your messages as described above.

2. The second parameter is an RFC connection connection (type R3) to  to the SAP PI ABAP stack.  For each environment we We need to provide the SAP PI/PO destinations for JAVA and ABAP separately for each environment. The ABAP stack destination need needs to be added manually for each environment. The RFC destination must be created in advance in SM59 in advance, as ABAP Connection (e.g., PXD_IFTT_ABAP) and later on in transaction. Later, it should be added in transaction /INT4/IFTT_IMG under under Landscape configuration → configuration → Configure Landscape Parameters, selecting the . Selecting the proper landscape it is mandatory to fill the created ABAP destination, as shown below.

Configuration Parameter

Parameter Value
SAP PI/PO ABAP Stack DestinationPXD_IFTT_ABAP

...

Interface depending settings for ABAP stack in Int4 IFTT Automation Object

In order to To create or run test cases on the SAP PI ABAP stack, it is mandatory to fill additional parameter parameters for each Object Definition that is handled by the ABAP stack. This situation is because the fact, that because starting from SAP PO 7.31, the interface might be configured on JAVA or ABAP stack. Such aproach an approach allows migration of an interface from ABAP to JAVA stack and still continuing using the same test case.  

3. The additional parameter “PI: Landscape where interface exists on the ABAP stack” must be added for each environment that the interface is implemented in the ABAP stack. This way int4 , Int4 IFTT correctly handles properly the test case creation/execution by sending/retrieving the messages from ABAP or JAVA stacks.

Example for Additional Parameters of ABAP stack Object Definition:

Parameter NameGroupParameter Value
PI: Landscape where interface exists on the ABAP stackA1PXD
PI: Landscape where interface exists on the ABAP stackA2PXT


Exception: Interface is on ABAP stack, but we would like to fetch message content from JAVA stack (i.a. after adapter module processing)

In this case, we can set up additional parameter: 

PIABAP_JIN PI: ABAP stack: Read input message from Java persistance persistence or
PIABAP_JOU PI: ABAP stack: Read output message from Java persisntaceJava persistence

with value X