Application Development 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: 

Function code to stop an ECATT

frank_horlacher
Advisor
Advisor
0 Kudos

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

frank_horlacher
Advisor
Advisor
0 Kudos

i found the answer myself.

it is /NEND.

Just type that in the command field of SAP GUI.

2 REPLIES 2

Wutschi
Explorer
0 Kudos

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

frank_horlacher
Advisor
Advisor
0 Kudos

i found the answer myself.

it is /NEND.

Just type that in the command field of SAP GUI.