‎2008 Dec 27 5:39 AM
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.
‎2008 Dec 27 8:50 PM
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
‎2008 Dec 30 5:53 AM
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