Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Chaining 2 Ecatt Scripts Problem with Parameter

Former Member
0 Likes
536

Hi,

I'm trying to chain two scripts VA01 and VA02 using a new script via REF command.

The result of VA01 (Sales Order number) is being passed as export parameter to VA02 but in the replay I can see it go into VA02 but subsequently being replaced with the default value from the VA02 script i.e. the value used when recording this script in the first place. The script then fails.

Any help thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
494

creilly,

First remove the default value of sales order parameter in the VA02 script from the list of parameters (Paramter interface) that you have maintained.

Check whether you have provided the correct parameter name in the VA02 script that has been passed from VA01.

Make sure you have passed the correct variable name as export parameter from VA01 to VA02.

Let me know if you have still issues or questions.

thanks

Venkat

3 REPLIES 3
Read only

Former Member
0 Likes
495

creilly,

First remove the default value of sales order parameter in the VA02 script from the list of parameters (Paramter interface) that you have maintained.

Check whether you have provided the correct parameter name in the VA02 script that has been passed from VA01.

Make sure you have passed the correct variable name as export parameter from VA01 to VA02.

Let me know if you have still issues or questions.

thanks

Venkat

Read only

Former Member
0 Likes
494

Venkat,

Thanks for the reply but still no joy with your suggestions

In VA01 I have export parameter E_SALES

In VA02 I have import parameter I_SALES

In the 3rd linked script I have local parameter V_SALES

I pass E_SALES value to V_SALES and then V_SALES to I_SALES in the 3rd linked script

The value of I_SALES in VA02 does not come from the linked script as it should do. In the replay I can see the correct value go into VA02 but then overwritten with the value of parameter I_SALES in VA02 script.

any other ideas?

thanks

Read only

Former Member
0 Likes
494

got it working in the end - just re-recorded all scripts again from scratch and it worked!!