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

Runtime Error RAISE_EXCEPTION

Former Member
0 Likes
1,352

Hello All,

A RAISE statement in the program "SAPLTHFB" raised the exception

condition "ALREADY_RUNNING".

Code -

STP'             field  '2'
000690        id 'COLLISION_UNAME'  field user
000700        id 'COLLISION_OBJECT' field obj
000710        id 'SYNCHRON'         field 'X'.
000720   if sy-subrc <> 0.
----->     raise already_running.
000740   endif.

i found the sap note 595671, however it is already implemented in the system.

Can anybody help me to solve this dump?

Regards,

Reshma

3 REPLIES 3
Read only

Former Member
0 Likes
680

Hi,

Looks like you are getting this exception raised because there is another instance of the program already running and when the program tried to enqueue the object using the function 'call 'C_ENQUEUE' since it was already running and only one istance of the object is allowed you are getting the exception the object being checked in the variable 'OBJ'.

Regards,

Himanshu

Read only

0 Likes
680

Hi Himanshu,

Thank you for your reply.

What can be the solution to resolve this? The related note is already applied in system.

Regards,

Reshma K

Read only

0 Likes
680

Hi,

I am not sure what is the object that is being checked but i think if you go to SM12 you should see that the object is already locked and the lock would have to be removed to get rid of the dump in other words you need to kill the other instance of the object that is already in execution.

You should also look at Matt's reply to a similar post:

Link: [ALREADY_RUNNING|;

Regards,

Himanshu