Skip to Content
0
Former Member
Apr 23, 2007 at 05:41 PM

eCATT Script with multiple variants exporting only last value

25 Views

Hi all,

my testscript creates debitors with a new debitornumber.

There is also an export parameter E_LIEFNR to hold the debitornumber.

In testdata container there are 2 internal variants which creates two different debitors.

What i want is, to store these two debitornumbers in an internal variable.

So i created something like this in the testscript:

local variables:

V_LIEFNRLIST as LIEFNR[]

V_COUNT Numeric

some SAPGUI recordings.

*exporting the Parameter E_LIEFNR

GETGUI ( ZFK2331_2110_3 , NONE ).

V_COUNT = V_COUNT + 1.

V_LIEFNRLIST[V_COUNT]-TABLE_LINE = E_LIEFNR.

Running the script through the testconfiguration with both variants,

with every variant the first entry in V_LIEFNRLIST is overwritten

with the last E_LIEFNR. How can I store all E_LIEFNR from all variants?

Regards

Holger