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

eCatt failed to execute.

Former Member
0 Likes
564

Hi ,

I create a eCATT test script with TCD mode, for creating sales order VA01.

Last time before our ERP system was re-installed, I can repeat execute the test script after a sales order is created., without any issues, I was trying to get different value for the parameter, for example, the quantity for the sales item.

but last week, our erp system is reinstalled, now I can also create the test script succesfully, but when I just execute this test script to see if could be executed smoothly.

An error happens always,

S00344 No batch input data for screen SAPMV45A 4001..

I don't know why it does not take the default values I created for previous sales order for the test script.,

it seems that it stopped at the first screen : filling the order type, sales organization, distribution channel etc...it never go further...

Another questions is that, :

do I have to configure all the prameter with type 'I' ? . If I want to take the default values of previous sales order, what should be done ? If I only want to change the quantity of the sales item, so I only need to create a parameter and fill with the value ?

I reviewed some demos , even demo with VA01, but that's not detailed enough, in my case, it never get me a satisfied anwer.

Can you please share your experience, or some well-documented demo ?

thank a lot.

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
412

Hello Ben

Sometimes it is difficult to find out the true reason why the eCATT script fails. However, a general recommendation is that script execution should not depend on any default values that have been set by previous runs. Because otherwise your script execution needs to have some kind of "memory".

Therefore set all mandatory input fields explicitly (should have option 'I') and, if necessary, clear fields by using &CLEAR.

Regards

Uwe

Read only

Former Member
0 Likes
412

Hello Ben,

There may be several reason's for the error you are getting.

1. The settings might be different before reinstallation and once the the system is reinstalled the setting's are changed to default . Eg: Screen settings might be changed ,field status might be changed etc.

2.The script might require some customisation data , which may be missing in your case.

Coming to the second part of your question.

There is no need to set all the parameter modes as 'I' ,which means input mode,only those parameter values which keeps changing can be set as 'I' and need to parameterised , and other values which are constant can be set with mode 'S' doing which the script wil take this default value for every run of your script.

If you want to change the quantity of sales item you should parametrise the field and pass different values each time you run the script , you can create variants as well.

Hope my answer helps you.

Thanks and Regards,

BALAJI.D.N