‎2009 May 22 9:30 AM
hi frnds
my requirement is to lock a particular tcode at certain time.
is there any function module or SAP program that can be used to acheive the purpose?
‎2009 May 22 9:38 AM
Hi,
Pl. check, this code helps you
tables: tstc.
* To lock the Tcode
update tstc SET cinfo = 'A0'
WHERE tcode = 'VA01'.
IF sy-subrc = 0.
COMMIT WORK.
endif.
*** perform some .
* To unlock
write:/ tstc-tcode.
.Mahesh
Edited by: Mahesh Reddy on May 22, 2009 10:39 AM
Edited by: Mahesh Reddy on May 22, 2009 10:41 AM
‎2009 May 22 9:42 AM
the thing is that, we cannot use a standard table to be updated directly...
so only i am looking for function module or sap standard prog.