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 script updation

Former Member
0 Likes
715

HI,

Suppose I am creating a script for one flow. After that I will have to run it for the flow which has got customized. In that case my script is sure to fail.

I want to know in this situation what do I suppose to do ? Should I re-record the whole flow or should I be able to update the existing script.

In that case how can I update the eCatt script ? If I have to add a new field to the script, How can I do that ?

Thanks,

Poonam

1 ACCEPTED SOLUTION
Read only

Vny12
Product and Topic Expert
Product and Topic Expert
0 Likes
613

Hi ,

Its not good practice to create separate script everytime cusotmization changes,

Auoamtion tools should be used where you finalise a particular scenarios,

In case if the cusotmization changes creates problem for your script then decide which standard

custmusization is permanent and then decide to automate only that scenario instead of changing every time.

But if you say the cusomtization is not frequent and you need to add field for existing recording,

that depends on what driver you used to record the script.

TCD,SAPGUI,FUN module ...etc.

If you have used SAPGUI then u may need to attach the field by using SAPGUI attach.

IF its TCD then go to the DYNPRO where you want to make input to that field,

IN the mode- Usually it should be "I" if its ready for input, set that to "S" now and parameterize.

best regards

vinay

3 REPLIES 3
Read only

Vny12
Product and Topic Expert
Product and Topic Expert
0 Likes
614

Hi ,

Its not good practice to create separate script everytime cusotmization changes,

Auoamtion tools should be used where you finalise a particular scenarios,

In case if the cusotmization changes creates problem for your script then decide which standard

custmusization is permanent and then decide to automate only that scenario instead of changing every time.

But if you say the cusomtization is not frequent and you need to add field for existing recording,

that depends on what driver you used to record the script.

TCD,SAPGUI,FUN module ...etc.

If you have used SAPGUI then u may need to attach the field by using SAPGUI attach.

IF its TCD then go to the DYNPRO where you want to make input to that field,

IN the mode- Usually it should be "I" if its ready for input, set that to "S" now and parameterize.

best regards

vinay

Read only

Former Member
0 Likes
613

Hi Vinay,

Thank you very much for the quickreply. So you mean whereever we need to change the script we can attach the script only by recording that part ?

Plaese also tell me that whether we can write the script manually or always generating scrpt is possible through recording only ?

Regards,

Poonam

Read only

Former Member
0 Likes
613

Hi Poonam

We cannot create scripts manually other than few ABAP flow control statements. We need to go for SAPGUI ATTACH command itself to make changes to script flow. What you can also do is to versionize the script and maintain the documentation on it so that, even if your application is present in its old and new versions (some organizations do this), the eCATT itself can decide which version to be run on each application version.

Regards,

Justin