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

Function code to stop an ECATT

frank_horlacher
Product and Topic Expert
Product and Topic Expert
0 Likes
1,023

Hello,

I have a question about stopping an ECATT which I execute in the foreground.

I  forgot the function code to enter to stop the ECATT.

Currently I execute a long running ECATT in the foreground. I cannot stop the procedure. No matter what I do the ECATT goes on with the predefined recording. But I know that there is one ECATT function code which stops the execution and leads you to the ECATT log immediately.

Can you help me?

BR Frank

1 ACCEPTED SOLUTION
Read only

frank_horlacher
Product and Topic Expert
Product and Topic Expert
0 Likes
789

i found the answer myself.

it is /NEND.

Just type that in the command field of SAP GUI.

2 REPLIES 2
Read only

Wutschi
Explorer
0 Likes
789

Hi Frank,

If you are processing in foreground I’m assuming you are using the SAPGUI driver.

If that is the case, there is no function code to stop it, so best practice is to select the right termination option when starting the script. That allows you to generate an error by clicking on the yellow arrow in the middle of the execution.

Rgds

Christian

Read only

frank_horlacher
Product and Topic Expert
Product and Topic Expert
0 Likes
790

i found the answer myself.

it is /NEND.

Just type that in the command field of SAP GUI.