Lock the Tcode

hi
any one can help me out in locking the Transaction codes.
please send your views to '[email protected]'.
Thanks in advance.
-Muraly

thanks

Similar Messages

  • How to check who locked the Tcode in SM01

    Hi to all experts,
    Is there a way to check who locked the Tcode in SM01 or in table TSTC?
    Thanks in advance.
    BR,
    Nancy

    Dear Nancy,
    Check the thread,
    [sm01 transaction logs;
    Regards,

  • Lock the Tcode through program

    Hi All,
    I has write a program for lock the tcode for that I am using FM:-RSAU_WRITE_SM01_LOG,When I pass Input for  FM like below
    Tcode and lock ,
    It will run correct but the database updation is not takes place..
    Can any one guide to resolve the Issue..
    Please tell me if there is any fm to lock the tcode ..
    Thanks In advance.
    Regards,
    Nagesh

    Hi,
    If your ultimate motive is to update database,then why you are trying to lock a Tcode? You should lock the database table instead,then do your update work and then release the lock. That's it. I think it would be better if you create lock object from SE11 of your particular database table. Call ENQUEUE function module. Update DB table. Then call DEQUEUE function module and you are done.
    Let me know if you face any problems.Hope this would help.
    BR,
    Atanu

  • FM to Lock and Unlock the Tcode CJ02

    Hi,
    I want to lock and unlock the Tcode CJ02, my code is as below.When I am executing the Report, I am able to create the Settlement Rule in first Row but I am getting an Error Mesage saying " Subproject 4-0123-02-01-01-10-01 is currently processed by USER" though there is no other session open under the user name when trying to create settlement rule in second row in the loop. Wbs element that ima using for creation of settlement rules is "4-0123-02-01-01-10-01".
    loop at it_src into wa_src.
    Lock the Tcode 'CJ02'.
    Perform BDC Recording to Create Settlement Rule.
    Unlock the Tcode 'CJ02'.
    endloop.
    Regards,
    Deepthi.

    Hi, you can block the Subproject with Lock Object, you can create this under SE11
    after you have created this, use these FM for Enqueue/Dequeue,
      call function 'ENQUEUE_EZ_ODAPROF_PO'
           exporting
                mode_ztma_odaprof_po = 'E'
                mandt                = sy-mandt
                ebeln                = cod_oda
                ebelp                = cod_pos
           exceptions
                foreign_lock         = 1
                system_failure       = 2
                others               = 3.
      call function 'DEQUEUE_EZ_ODAPROF_PO'
       exporting
         mode_ztma_odaprof_po       = 'E'
         mandt                      = sy-mandt
         ebeln                      = cod_oda
         ebelp                      = cod_pos

  • How to lock the program in User exits

    Hi Guru's
    I have a problem with user exits. for suppose  I am doing enhancement for particular TCODE, the other user is doing some changes to the  same TCODE. My problem is where should  i use the lock. Is it possible to lock the TCODE? How it can be done?  please do needful............
    Regards,
    Krisna

    Hi Shiva,
    What do you exactly mean by locking the T-COde.
    Do you want that the other person should not be able to see the changes you have made. Then you can use your code in the Condition for "SY-UNAME = your user id".
    Or do you want that the other person should not made the change. Then you need not worry because the User Exit does not have multiple instances.
    Please let us know, if you have any query.
    Hope it helps.
    Regards,
    Manish

  • Display access for the tcode SCC4

    Hi all,
    I want only the display access for the tcode SCC4. In which authorization object I can do this.
    Regards,
    R.Suganya

    Good Afternoon yes you can goto transaction SU24 insert transaction SCC4 and execute, click on display indicator, and you will see the object S_TABU_DIS assign activity value (03) to your role for this object which has that transaction SCC4 assigned to it. Also make sure that no other roles for that user has this object other wise the values will overwrite it.
    Make sure you have locked transaction code OY24 as its a duplicate of SCC4.
    Hope this helps
    Edited by: nadim razaq on Sep 17, 2008 4:13 PM

  • Lock a tcode for particular user

    Hi Experts
    i need to lock few transaction for particular users only. we have n number of roles and the transactions have been assigned to some tcodes to be reasticted  for a list of users. is there any method or program to built to restrict the users for few tcodes.is there any more query pl trigger me
    regards
    bala

    hi
    sagar:
    as you said if i start creating roles to restrict some users then there atleast 25 tcodes are there to restrict and 120 roles are to be analyzed and the job becomes hefty by creating roles and there will too many number of roles and it becomes confusion in future forecast. there fore i nedd any suggestion like that the userscan be restricted when they are trying to access that particular code or lock the screen or inform them to not access these tcodes thro some message or writing a program to restrict the users while the user exits. i have an idea but i dont know how it will work - ( I am not a ABAPER) there should be tcode or program which should list tcodes authorized for particular users and where they can be locked like SM01 ( but it will lock for all) but locking for particular users
    Am i more advanced??
    regards
    bala

  • SAP Lock Concept - Wich User Locks my TCode

    Hey Experts,
    i am using the SAP Lock Concept in my Transaktion, but i have a problem to find out how to get the Name of the User how locks my Tcode.
    I build in the Function 'ENQUEUE_EZ_SMARTFORMS',
    after that i print out a Message thet the 'Tcode gets edit by another User at the moment'.
    Now i want to replace 'another User ' with the User-Name of the User.
    Thanks for Help

    Hi,
    fm ENQUEUE_READ will give you the informations you want.
    Pass th name of thge lock object to parameter GNAME, pass the lock argument to parameter GARG and pass SPACE to argument GUNAME.
    Sample:
    * Call custom lock object
      CALL FUNCTION 'ENQUEUE_MYLOCKOBJ'
        EXPORTING
          sase           = xv_sase
          _scope         = '3' "till the end
        EXCEPTIONS
          foreign_lock   = 1
          system_failure = 2
          OTHERS         = 3.
    * Check return code
      CASE  sy-subrc.
        WHEN  0.      "lock successful
          xv_lock                 =  'X'.
        WHEN  1.      "foreign lock
          xv_uname                =  text-unk.
          CONCATENATE                sy-mandt
                                     xv_sase
                               INTO  xv_garg.
          CLEAR                      xt_enq.
          CALL FUNCTION 'ENQUEUE_READ'
            EXPORTING
              gname  = xk_gname_sase
              garg   = xv_garg
              guname = space
            TABLES
              enq    = xt_enq
            EXCEPTIONS
              OTHERS = 4.
          IF  sy-subrc           EQ  0.
            READ  TABLE              xt_enq
                               INTO  xs_enq
                              INDEX  1.
            IF  sy-subrc         EQ  0.
              xv_uname            =  xs_enq-guname.
            ENDIF.
          ENDIF.
          MESSAGE  s000(38)
                       DISPLAY LIKE  'E'
                               WITH  text-sas
                                     xv_sase
                                     text-m07
                                     xv_uname.
          EXIT.
        WHEN  OTHERS.  "unknown lock error
          MESSAGE  s000(38)
                       DISPLAY LIKE  'E'
                               WITH  text-sas
                                     xv_sase
                                     text-m04
                                     sy-subrc.
          EXIT.
      ENDCASE.
    Regards,
    Klaus

  • What are the TCodes generally we can use in ABAP?

    Hi Abapers?
    What are the TCodes generally we can use in ABAP?
    Early reply is highely appriciable.
    Regards,
    Chow.

    HI Chow,
    go thru this t-codes..
    S001 Abap Workbench
    SE09 Workbenche organizer (Transports)
    SE11 ABAP/4 Dictionary
    SE16 Data browser
    SE24 Class builder
    SE30 ABAP Runtime analyzes
    SE36 Logical Databases
    SE37 Function builder
    SE38 ABAP/4 Editor 
    SE55 Table maintenance dialog
    SE80 ABAP/4 Object browser
    SE91 Message Classes
    SE93 Maintain transaction
    SapScript
    SE71 Form painter
    SE72 Style maintenance
    SE78 SapScript Graphics Management
    SO10 Create standard text module
    Workflow
    SWDM Workflow explorer
    SWDD  Workflow builder
    SWUS Start  workflow - Test enviromnent
    SWU0 Simulate event
    SBWP Business workplace
    PFTC_INS Create Task/Task group
    PFTC_CHG Change Task/Task group
    SWUD Dagnosis
    SWI1 Work item selection
    Batch input
    SHDB Batch input recorder
    SM35 Monitor batch input
    System
    SM04 User overview ( Possible to end sessions)
    SM12 Lock Entries
    SM21 System log   
    SM30 Maintain table views
    SM37 See job status
    SM50 See processes
    ST22 Short dump analysis
    Other
    ABAPDOCU ABAP coding examples supplied by SAP 
    AL11 Look at t directories on the host system ( With drill down )
    CMOD Enhancementprojects
    LSMW LSM Workbench
    OSS1 OSS
    SA38 Submit batch job
    SE01/STMS Transport system
    SLG1 View application log
    SLG2 Delete application log
    SPAD Output devices
    SP01 See spool
    SPRO Customizing
    SPAM Support packet manage
    SU03 Maintain Authorizations: Object Classes
    SU51 Display Authorization Data  (Can be called after failed authorization)
    SWEC Events for change documents
    SW01 Business Object Builder
    SWO4 Display Businesss Object Types
    VOK2 Maintain OutputDetermination
    regards
    sham.

  • FM or CL to lock/unlock TCODEs

    Hi,
    i'm looking for a FM or CL to lock/unlock TCODEs via a Report.
    I don't want to do it via SM01.
    Thanks.
    Regards, Dieter

    To my knowledge, there is no function module or class/method to do this.  You can do it by doing a direct database update to table TSTC.
    The field CINFO holds the value  A0  when locked,   when unlocked, it holds the value  80 .
    Regards,
    Rich Heilman

  • Cannot lock the infotype 0006.

    Dear All,
            I have to lock the employee infotype 0006.When I do so,I get error message as "Lock/key change not permitted(time constraint 1).
            It seems there should be a transaction or table where time constraint can be changed or should have some other solution.
            Please let me on the solution for which I will be grateful.
    With thanks and regards,
    S.Suresh

    Sikinder I belive you can't controll autharizations at the screen level.
    Even basis people can't do it they can controll it at screen level. They can do it at Tcod level
    Hi Suresh
    But they shld not worry about the changes in SAP becuase every body having user and changes will be tracked by user ID always
    But i will give some alternative idea it may be useful for you
    Create a dynamic action on IT0006 which throw a mail to the administrator. Based on that administration will get notice that and tract it
    Best Regards

  • Is there a way to create a password protected folder for pictures or lock the photos app? For Ipad Air and Iphone 5s.

    Is there a way to create a password protected folder for pictures or lock the photos app? I want to do this for Ipad air and Iphone 5s. I have other family members that use my Ipad and Iphone and do not want some pictures to be able to be viewed.
    Thanks

    Use 3rd party apps like Photo Manager Pro.

  • Error while running the tcode....EASISI  -----  IS-UTILITIES

    hi,
    I am trying to execute the tcode EASISI with a varient.....
    All the proper values are given to....... Simulation From,Simulate To,Document Date,Posting Date,Installation,Invoicing simulation,Simulate invoic. for ind. doc., and Billing simulation.
    When I run with these parameters assigned,the Simulation is getting terminated with the message
    "Field Base Unit of Measure must be blank (Account 0000800500 MYUC)' and "Invoicing of invoicing unit (account 4) terminated'.
    I checked the UOM in the account specified and it was blank there.
    Can anyone guide me....what exactly the problem is and how to solve it...
    Thanks a lot for your valuable time.....
    SRI

    Hi Sri,
    I also got the same error .We have resolved it thru Changing the  include ZXBI1U08 . The code select * into table idberchz_1 should be  replaced with select * into CORRESPONDING FIELDS OF table idberchz_1.
    Hope this will Help you.
    Thanks & Regards,
    Radharaman Haldar

  • What is the Tcodes for Uploading of data using BDC & CATT

    PP members:
    I was going through the <b>cutover activities</b> ,  and what I understood is  we transfer all the legacy system data into SAP before going live
    The data upload follows certain steps (depends on the organizational design load strategies)
    First we upload all the master data ( material master, BOM, W/C's & Routings)
    Then the transaction data ( Ideally speaking, there should no open orders i.e. WIP as on the day of cutoff )
    If the WIP (Work in Process) is unavoidable then the materials consumed shall be treated as <b>materials of the previous stage</b> and necessary adjustments shall be made after cutover day
    At this point, I could not able to understand what does the author mean <b>materials of the previous stage</b>
    Now comming to the uploading of data into SAP from legacy system, we use tools like LSMW, CATT & BDC
    Is it a must to use <b>only LSMW tool</b> to upload master data or any other upload tools are fine
    Lastly,. I am not sure about the Tcode of CATT & BDC
    Summary of the questions:
    1.What does the author mean  <b>material of previous stage</b>, for WIP materials during cutover activities
    2. Is it mandatory to use only LSMW tool for uploading for master data
    3. What are the Tcodes for upload tools CATT & BDC ?
    Thanks for your time
    Suren R

    Dear,
    1.What does the author mean material of previous stage, for WIP materials during cutover activities - as i understood, what is the stage of material..like it must have gone through 2 work centers and other 2 is left. i.e. you need to create Production order with only 2 operation as other 2 is already over. - usually it is done in such a way that we will create Production order and confirm till 2 operations and WIp is calculated so thatb FI will tally the books in SAP and lagacy.
    2. Is it mandatory to use only LSMW tool for uploading for master data - no you can use any tool as required and suits yr requirement
    3. What are the Tcodes for upload tools CATT & BDC- BDC through a prog in SE38. CATT through - SCEM.

  • How do you lock the screen on iphone 4?

    How do you lock the screen on iphone 4 while on a call? I mute calls, activate face time and I have even called someone by accident during a call. I know there has to be a way to fix this. Please HELP!

    It locks automatically when you hold it to your head.
    If it fails to do this, then remove the case and see if it solves it.
    If it does not, then do the basics - restart, reset, restore.
    If that does not solve it, then make an appointment at the genius bar.

Maybe you are looking for

  • Displaying of records unable to using GROUP BY

    Hi, I have a requirement where i need to display the records based upon item types:I have the records like as Invoice Number Item Type Amt 23221 LI 23 23231 SD 45 23221 LI 11 23221 ST 14 I want to display as: Invoice Number Item Type Amt 23221 LI 34

  • How best 2 use Shared AM in taskflow -new transaction/isolated data control

    Hi all I have nearly 800 screens in my app (under 20 or so different AMs), in which I access some Common VOs to work with by applying filtering (on Secondary Rowset, on Default Rowset using View criteria) on that, Used as View Accessor VO (List of Va

  • Unicode problem

    Hi all,   I have a small problem with teh rfc destinations. Earlier the RFC destinations were between two non-unicode system . now if the destination system is made unicode enabled then in that case will it show me a logon screen for that destination

  • Photoshop CS4 32-bit Default

    Has anyone found a solution for choosing what version of PS CS4 will open when double clicking a PS linked file (aka PSD, TIFF, etc)? It's really irritating me that I have to open the 32-bit version first just to make sure the files open in the corre

  • When i want to install itunes 10.5 there is an error (some keys are not found). Can someone help me, please???

    When i want to install itunes 10.5 there is an error (some keys are not found). Can someone help me, please???