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: 

Call Transaction problem

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

0 Kudos

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

Cheers

Prabhu

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi

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

rahulkavuri
Active Contributor
0 Kudos

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