How to verify the status of lock object???

Hello,
How to verify the status of lock object???
I need to know the status of the lock object and put the user in list.
Exists a FM for this?
Thanks!

You can check the list of lock objects for the ztable by this way....
Go to SE11, click the radibutton for lock object, then do F4 on the field. Click the "All Selections" icon, in the "Basis Table" field, put the table that you want the lock object for. click green check.
Regards.

Similar Messages

  • What is the use for lock object and how to use the lock objects

    Hi Guru's,
    I am new to ABAP .Can you please clarify the that what is the use of lock object and how to use the loct object .what is use of the Deque & Enque  function modules .

    hi ,
    below are some minfo about lock objects :
      Lock Objects
    These types of objects are used for locking the access to database records in table. This mechanism is used to enforce data integrity that is two users cannot update the same data at the same time. With lock objects you can lock table-field or whole table.
    In a system where many users can access the same data, it becomes necessary to control the access to the data. In R/3 system this access control is built-in on database tables. Developers can also lock objects over table records.
    To lock an object you need to call standard functions, which are automatically generated while defining the lock object in ABAP/4 dictionary. This locking system is independent of the locking mechanism used by the R/3 system. This mechanism also defines LUW i.e. Logical Unit of Work. Whenever an object is locked, either by in built locking mechanism or by function modules, it creates corresponding entry in global system table i.e. table is locked. The system automatically releases the lock at the end of transaction. The LUW starts when a lock entry is created in the system table and ends when the lock is released.
    Creating Lock Objects
    Lock object is an aggregated dictionary object and can be defined by using the following steps:
    o From initial data dictionary screen, enter the name for the object, Click Lock object radiobutton and then click on Create. The system displays a dialog box for Maintain Lock Objects screen
    o Enter short text as usual and the name for primary table.
    -Save
    -Select Tables option
    From this screen you can:
    Select secondary tables, if any, linked by foreign key relationship.
    Fields for the lock objects. This option allows you to select fields for objects (R/3 system allows locking up to record level). Lock object argument are not selected by user but are imposed by the system and includes all the primary keys for the table.
    1) Exclusive lock: The locked data can only be displayed or edited by a single user. A request for another exclusive lock or for a shared lock is rejected.
    2) Shared lock: More than one user can access the locked data at the same time in display mode. A request for another shared lock is accepted, even if it comes from another user. An exclusive lock is rejected.
    3) Exclusive but not cumulative: Exclusive locks can be requested several times from the same transaction and are processed successively. In contrast, exclusive but not cumulative locks can be called only once from the same transaction. All other lock requests are rejected.
    Also, last but not the least, locking the object is logical (locking with any enqueue ) .so, you have to use the lock object while trying to access from second program .
    reward if helpful ,
    Regards,
    Ranjita

  • How to set custmer master block for posting & how to set the status .....

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. Use an appropriate subject in your message thread. >
    Hi ...
    How to set custmer master blocked for posting & how to set the status has deleted. please provide the steps for the above two actions.
    thanks

    Hi,
    U can use T-code FD05 for Blocking the customer and
    T-code FD06 in order to set for deletion,
    Assign Points if useful,
    Regards,

  • How to assign the status profile to that particular user..?*

    Hello Everyone..
    I have created a status profile for the particulat sales order type so that a particular user can confirm the sales order and the pass it,so that further changes can be avoided.The profile has been assigned to Item category also.
    Now My problem is ,How to assign the status profile to that particular user..?
    so that only the user is allowed to change the order.
    Thanks

    Hi,
    Maintain authorization key (authorization code)  in status profile.
    We do not assign directly to user. We assign to role E.g sales manager / sales employee etc...
    We assign T.codes to role and assign role to user.
    Goto Role T.code PFCG. Enter role and click on change button.Goto Authorizations tab.
    Click on authorization data .
    Expand the  Cross-application Authorization Objects tree. Expand Status Management: Set/Delete User Status using Transaction.
    Click on Authorization key button, assign Authorization key.
    Click on status profile. assign status profile.
    Regards,
    Chandra

  • How to change the status of a production order

    Dear All,
    May i know how to change the status of a production order.I want to de-active the status like OPGN (Operation generated).This status is updated as there was no routing assigned to that particular production order during its creation
    Thanks and Regards,
    Varun Siddharth

    Dear,
    When you create a production order, an operation created by the system is generated automatically if no routing is used for the creation. As a result the order header receives the status HOGAN; the operation created automatically also has this status.
    If you delete the operation created automatically and then do not have the status HOGAN.
    To avoid this maintain the Routing for the material or delete the setting of default operation from OPJG.
    Regards,
    R.Brahmankar

  • How to change the title of an object in the build order window?

    In Keynote '09 v5.1.1 (1034)... How to change the title of an object in the build order window from the default "dropped image" to a specific title?
    I'm running the following:
      Model Name: MacBook Pro
      Model Identifier: MacBookPro2,1
      Processor Name: Intel Core 2 Duo
      Processor Speed: 2.33 GHz
      Number Of Processors: 1
      Total Number Of Cores: 2
      L2 Cache: 4 MB
      Memory: 2 GB
      Bus Speed: 667 MHz
      Boot ROM Version: MBP21.00A5.B08
      SMC Version (system): 1.14f5

    Custom names can't be applied to objects in the build list.
    They are labeled as either; text, shape, table, chart or the filename of an image

  • How to change the Status CRTD of the Inspection Lot?

    Dear all.
    I want to Complete an Inspection Lot 10000000005 In the T-CODE qvm2.When I select the Inspection Lot 10000000005 and press F8 to Complete the Inspection,the SAP show an error message "Status check error".
    And the detail info show that the error was cause by the Status CRTD of the Inspection Lot.I check the Status of the Inspection Lot 10000000005 and found that it's Status was CRTD CHCR SPRQ.My question was how to change the Status CRTD of the Inspection Lot?
    Regard
    Yoda

    Hi
    CRTD means ...
    In material master QM vew-inspection setup->Inspect with task list tick is there.
    Now to change status,
    Go to Qp01>create a task list for material(If not exists)>remember date of creation of task list must be prior to date to creation of inspec lot
    If task list is created/exists>go to QA02.<inspection specification -->click on Inspec Spec
    and attach task list
    go to sample tab....click on sample.
    Now save it.
    Status will change to REL
    Regards
    Sujit

  • How to change the status in the table kssk

    Hi ,
    In document management system - for a doc type pdf, I am maintaing the class (cl_xxx) in img setting. some charateristics are assigned to that class (with entry required).
    My problem is While  creating the document (cv01n). I am  not assigning the value for that char ( i.e in addition data), eventhough it is mandatory .
    In the table kssk , For that particular document , status is set to 5 . how to change the status .
    note :
    In cv04n - if i search wrt to that charateristic in the classification tab. i am not  able to get the value.
    Please help me to solv the problem.
    Regards,
    Rani.

    hi you can do like this also if it is a test server..and y had the authoridation..
    togo the table -supposekkkk-execute-select a particular record--double click it ---then it will display it in the vertical line..
    then put /h in the tcode listbox and put enter--debugg it and change this    if code = 'SHOW'  as EDIT. execute it and change it and save it..
    regards,
    venkat.

  • How to change the status of Serial number

    Hi Experts,
    Would you please help in solving this problem.
    How to change the status of Serial number?
    I have material stock in a storage location: recieved from Intercompany through outbound delivery, when PGIed material document is created when I am checking the serial numbers of the recieved ones status of the serial numbers are ESTO, I want that into AVLB.
    How can we do that?
    Regards
    Sri

    Hi,
    Go to IQ02 on Header tool bar you will find edit(2nd option on header tool bar) => edit manually=> Click from Customer=> and then to Stock you will find the expected results...
    Generally Serial number Status use to change along with the movement of material linked with that serial number... So if you are changing serial number with manual trasaction then please remove all the details from IQ02 like plant storage location Batch and master batch so that i will not provide you error while doing next transactions.
    Regards,
    Ninad Kshirsagar

  • How to change the status of updated record?

    Hi All,
    how to change the status of updated record?
    new record should be active version(X) and old version will be deleted.
    Plz suggest..
    Thanks in advance...

    Steve,
    In the actual question, you mentioned that the old record needs to be deleted and hence the solution provided.
    Now, you are talking about field. May I know which field are you talking about??
    Jst get in to ABAP Editor and try debugging the code with the solution provided and let us know if that is working fine or not.
    Also, I recommend you to take a look at the transaction ABAPDOCU. There you wil find hell lot of examples explaining all the scenarios. You will get a good idea .
    Please check that and try to implement it yourself. You will be able to make it after doing mistakes.
    If you stuck up again after many attempts, paste your code here. We will help you out
    Hope you got my concern.
    Thanks,
    Babu Kilari

  • How to change the status of IDOCS from 29 status to 53

    Guys
    how to change the status of IDOCS from 29 status to 53
    Thanks in advance

    Hi Krishna
    IDOC_STATUS_CONVERT Use this FM and reward me

  • How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    HI,
    How to change the status of test cases in Test Plan from Design to Ready using Excel VBA

    Thanks Florin,
    Your piece of code has worked alot, and it was very helpful in changing the Status of the Workitem to "READY" for all the Users fo the workitem.
    Points have been rewarded for your help.
    Process: We have acheived this using the "Work Item Exits", Usng "AFTER_EXECUTION" Method.
    Note: The Exit will be executed if "exit_cancelled"  statement is present/used in the work item method. if not it is not taking to the exit code. I'm unable to find the reason for it. Florin can u please explain this point.
    Please check the link for adding the code in Work Item Exits.
    http://wiki.sdn.sap.com/wiki/display/ABAP/ProgramExitsIn+Workflow
    Please find the Code:
    method IF_SWF_IFS_WORKITEM_EXIT~EVENT_RAISED.
    Get the context of the workitem
      me->wi_context = im_workitem_context.
    After execution of the workitem call the method AFTER_EXECUTION
      if im_event_name eq swrco_event_after_execution.
        me->after_execution( ).
      endif.
    endmethod.
    METHOD AFTER_EXECUTION.
    This method acts as the Event Handler for SWRCO_EVENT_AFTER_EXECUTION
      DATA: LCL_L_WID TYPE SWW_WIID,
            L_STATUS TYPE SWR_WISTAT-STATUS,
            L_NEW_STATUS  TYPE SWR_WISTAT,
            L_SWR_MESSAG  TYPE STANDARD TABLE OF SWR_MESSAG,
            L_SWR_MSTRUC  TYPE STANDARD TABLE OF SWR_MSTRUC.
    Get work item
      CALL METHOD WI_CONTEXT->GET_WORKITEM_ID
        RECEIVING
          RE_WORKITEM = LCL_L_WID.
      L_STATUS = 'READY'.
      CALL FUNCTION 'SAP_WAPI_SET_WORKITEM_STATUS'
        EXPORTING
          WORKITEM_ID    = LCL_L_WID
          STATUS         = L_STATUS
          USER           = SY-UNAME
          LANGUAGE       = SY-LANGU
          DO_COMMIT      = 'X'
        IMPORTING
          NEW_STATUS     = L_NEW_STATUS
         RETURN_CODE    = SY-SUBRC
        TABLES
          MESSAGE_LINES  = L_SWR_MESSAG
          MESSAGE_STRUCT = L_SWR_MSTRUC.
      IF SY-SUBRC EQ 0.
      ENDIF.
    ENDMETHOD.
    Thank You Once Again,
    Ajay Kumar Chippa

  • How to get the status of service in rac

    Dear all,
    how to get the status of service in rac.
    SQL> show parameters service;
    NAME                                 TYPE        VALUE
    service_names                        string      DEVDB, DEVDB1, devdb
    [oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
    PRKO-2120 : The internal database service devdb cannot be managed with srvctl.

    user7244870 wrote:
    Dear all,
    how to get the status of service in rac.
    SQL> show parameters service;
    NAME                                 TYPE        VALUE
    service_names                        string      DEVDB, DEVDB1, devdb
    [oracle@rac1 ~]$ srvctl status service -d devdb -s devdb
    PRKO-2120 : The internal database service devdb cannot be managed with srvctl.
    Internal services cannot be managed with srvctl utility. Check if you have any user defined service in dba_services
    SQL> desc dba_services
    Name                                      Null?    Type
    SERVICE_ID                                         NUMBER
    NAME                                               VARCHAR2(64)
    NAME_HASH                                          NUMBER
    NETWORK_NAME                                       VARCHAR2(512)
    CREATION_DATE                                      DATE
    CREATION_DATE_HASH                                 NUMBER
    FAILOVER_METHOD                                    VARCHAR2(64)
    FAILOVER_TYPE                                      VARCHAR2(64)
    FAILOVER_RETRIES                                   NUMBER(10)
    FAILOVER_DELAY                                     NUMBER(10)
    MIN_CARDINALITY                                    NUMBER
    MAX_CARDINALITY                                    NUMBER
    GOAL                                               VARCHAR2(12)
    DTP                                                VARCHAR2(1)
    ENABLED                                            VARCHAR2(3)
    AQ_HA_NOTIFICATIONS                                VARCHAR2(3)
    CLB_GOAL                                           VARCHAR2(5)http://docs.oracle.com/cd/B19306_01/rac.102/b14197/srvctladmin.htm

  • How to disable the status icon in Skype 4 for Andr...

    Dear Skypers,
    How to disable the status icon in Skype 4 for Android phones?
    The guide on this following support page not working anymore: https://support.skype.com/en/faq/FA12359/how-do-i-enable-or-disable-the-status-icon-in-skype-4-for-a...
    Older version has the option to disable Skype Status and get rid of the Skype icon on Android status bar. But latest 4.4.0.31835 could not disable Skype Status in notifications settings. :/
    Device: Google Nexus 4
    Android: 4.3 JWR66Y
    Skype: 4.4.0.31835
    Please bring back the option to disable the Skype icon on Android status bar. This is the main reason I uninstall Skype. :/
    Kudos to the team, the apps is really smooth and fluid to use. Would be nice if you guys are following the Android Design Principles and using Google Cloud Messaging for push notification to improve User Experience and battery life.
    Kind regards,
    /chrone
    everytime i get ahead, i feel more dead.
    Solved!
    Go to Solution.
    Attachments:
    how to get rid of skype icon on android status bar.png ‏46 KB

    Long click on this notification a sub menu having field "App info" would appear goto App Info. You can goto there by "Manage Apps">"Skype" also. 
    Uncheck Option "Show Notifications" A dialog will open. Don't worry about notifications for now just click OK. Now the notification icon skype has also been removed. 
    Now simply check "Show notification again". After doing this you would get notifications but skype icon would not be shown in the status bar anymore.
    Issue: this is just a trick you need to repeat this every time sign out and sign in again. Mostly you don't do that so no need to worry.

  • How to set the status for a customer plan to RELEASED.

    Hello all,
    I created a program for mass creation of customer plans. But after the creation of a plan, the status should be set to released, so that the user can go about creating the trade promotions for the customer plan. Can anybody tell me how to set the status of a customer plan to RELEASED.
    Thanks,
    Disha.

    Hi Clemens,
    I am not talking about doing it in the CRM_UI transaction..I created a program..which would create the customer plans based on the planning account data provided. I was succesfull in creating the plans, but I am not knowing how to release it, if only anybody can tell me about a Function module or method, which can help me do this, that would be great
    Thanks,
    Disha.

Maybe you are looking for

  • Nano wont charge properly

    my nano will download songs and update but as soon as the update is done the nano stops charging, and it wont charge at all unless you are updating. it keeps dying on me please help   Windows 2000  

  • DB Adapter wizard – WHERE clause on parent and child tables not working.

    I have two tables, SECURITY and SECURITY_POSITIONS, where SECURITY has a 1:M relationship with SECURITY_POSITIONS. I used the DB-adapter wizard to create the relationship and the following WHERE clause expression which is looking at both the parent a

  • Enter total quantity in MIGO

    Hi, I am guessing the best strategy to post a "total delivered" quantity at line level in transaction MIGO. Currently, the system suggest for the field ERFMG the total quantity remaining on order; if the delivery is partial, you enter the correct qua

  • Forms Runtime Diagnostics assistance plz

    "Forms Diagnostics Techniques" p 82, suggests the system administrator should provide an alternate HTML file with FRD switched on and redirect users to this alternate file. My question is since this is the FORMSWEB.CFG file, how do you accomplish thi

  • Is PI 7.1 IDES is available in the Market Place?

    Is PI 7.1 IDES is available in the Market Place for practice purpose? Thanks Frooq.