Versions Compared

Key

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

...

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. 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}

The same XPath expression should be used for both actions.

NEWSESSION

Trigger output in new session

Constant

Set to 'X' to trigger each output in new RFC session. This is required e.g. in situations when backend logic is implemented in function group and not all global variables are initialized correctly. Triggering multiple outputs in the same session can cause unwanted side effects in such scenarios.

LOCALE

Language of the remote session

Optional

Set it to change sy-langu in target system using SET LOCALE statement

The variables' names must be the same. They are used to 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 Suite will search the integration platform and find a new message that was produced by the test case execution and contain the correct document number.

...