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

Call Transaction problem

Former Member
0 Likes
1,076

Implemented call transaction to upload data to a transaction. If someone else is also working with same transaction SAP gives message in popup to confirm step screen 'Data locked by user XXXX Display only?' and call transaction fails by message 'No batch input data for screen & &'. No E or A type messages. How to handle this kind of lock problem in CT. Please advise

Thanks,

srinivas

7 REPLIES 7
Read only

Former Member
0 Likes
944

Hi Srini,

There is only one way to avoid this.

Ask the other user to log out of the transaction and then run your program again.

Regards,

Ravi

Read only

Former Member
0 Likes
944

hii

Go to transaction <b>SM12</b> and

select the corresponding user

and select <b>delete or (shift + F2)</b>

delete the corresponding locked one

Regards

Naresh

Read only

0 Likes
944

By using SM12 Transaction please remove all locks and again try it.

Cheers

Prabhu

Read only

Former Member
0 Likes
944

Yup...Programmatically you can trace this error message. In fact it’s suggested to use the session method and execute it programmatically in the background mode using jobs. The advantage over here is you can re-execute the session even the transaction is failed due to any error.

Thomas.

Read only

Former Member
0 Likes
944

Hi srinivas,

1. There must be some FM

ENQUEU/DEUQUE for your transaction,

to check if the particular

record

is locked or not.

2. We should detect this lock,

and stop the bdc before only from going further.

3. Since R/3 is multi-user environment,

it will not allow in any case

to go further and post the data.

regards,

amit m.

Read only

Former Member
0 Likes
944

hi

try to create a session whenever u hav a pop up coming up

Read only

rahulkavuri
Active Contributor
0 Likes
944

Go to SM12 and delete the lock by using delete icon in the application tool bar