05-30-2006 10:54 AM
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
05-30-2006 10:56 AM
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
05-30-2006 10:58 AM
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
05-30-2006 11:00 AM
By using SM12 Transaction please remove all locks and again try it.
Cheers
Prabhu
05-30-2006 11:00 AM
Yup...Programmatically you can trace this error message. In fact its 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.
05-30-2006 11:00 AM
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.
05-30-2006 11:01 AM
05-30-2006 11:01 AM
Go to SM12 and delete the lock by using delete icon in the application tool bar