How to capture the LOCK and UNLOCK status of an Internal Order

Hi,
I am trying to upload the data for transaction KO02. The order can be in LOCK status or UNLOCK status. Could you please let me know how can we determine whether an order is locked or unlocked. Is this data stored in some table. Help is very much appreciated.
Thanks in advance,
Suresh.

Hi,
i assume it's in table JEST
so select:
  SELECT        * FROM  JEST
           WHERE  OBJNR  =  aufk-OBJNR
            AND   STAT   IN S_STATI
Andreas

Similar Messages

  • Hi how to handel the lock and unlock the table

    Hi,
    i am having the one scenario like,for lock and unlock the table i used the function modules ENQUEUE_E_TABLE and  DEQUEUE_E_TABLE but it allowing the edit the first user and suppose to try the editing the second user it is giving the error message it correct but again the second user press any button it is leaving the program it should not happened please help me that.
    regards,
    Hari.

    Hi,
    i assume it's in table JEST
    so select:
      SELECT        * FROM  JEST
               WHERE  OBJNR  =  aufk-OBJNR
                AND   STAT   IN S_STATI
    Andreas

  • How to capture the date and time of  a background job

    Hi experts,
    How to capture the date and time of  a background job?
    How to find whether it is runned succesfully or not?
    If it is not successful how to put error message?
    ASAP
    Thanx in advance,
    Sudha

    To Display the STATUS of the JOB which is exectued in background
      CLEAR : wa_jobsteplist.
      REFRESH : i_jobsteplist.
      WRITE:/ 'DISPLAYING JOB STATUS'.
      CALL FUNCTION 'BP_JOB_READ'
        EXPORTING
          job_read_jobcount           = w_jobcount
          job_read_jobname            = w_jobname
          job_read_opcode             = '20'
        JOB_STEP_NUMBER             =
       IMPORTING
         job_read_jobhead            = wa_jobhead
       TABLES
         job_read_steplist           = i_jobsteplist
    CHANGING
       RET                         =
       EXCEPTIONS
         invalid_opcode              = 1
         job_doesnt_exist            = 2
         job_doesnt_have_steps       = 3
         OTHERS                      = 4
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    To Display the status text as per the status type
      CASE wa_jobhead-status.
        WHEN 'S'. WRITE: / 'Scheduled'.
        WHEN 'R'. WRITE: / 'Released'.
        WHEN 'F'. WRITE: / 'Completed'.
        WHEN 'A'. WRITE: / 'Cancelled'.
        WHEN OTHERS.
      ENDCASE.

  • How to get the lock and block occured for the full day

    Hi,
         How to monitor the lock and blocks occurred for the full day? i need to get it by end of the day. is there any script for this?

    Hi,
         How to monitor the lock and blocks occurred for the full day? i need to get it by end of the day. is there any script for this?
    Why would you like to collect information about locks and let me tell you, you cannot collect information about ALL locks which were taken and even thinking about it is pointless.
    Coming to blocking if you have heavy system with huge concurrency there is bound to be blocking which is necessary and good for RDBMS but if the blocking remains for long time then this is a issue.
    There is DMV sys.dm_tran_locks which tell you what all locks are being taken. You can see various examples mentioned in DMV online documentation and can schedule the query to run every 5
    mins and insert its record in table which you can refer at end of the day.
    This task would be made very easy if you have Monitoring tool which gives you information in your mail every time blocking occurs I have Spotlight in my environment.
    If you are looking for doc for troubleshooting blocking  below is one you can refer
    http://support.microsoft.com/kb/224453
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
    My TechNet Wiki Articles

  • HT1430 The locked and unlocked button is not working very effectively.

    The locked and unlocked button is not working very effectively.

    Try:
    http://snapguide.com/guides/calibrate-your-home-button/?utm_expid=69945963-15
    fix for Home button
    iPhone Home Button Not Working or Unresponsive? Try This Fix
    - you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    You can do it an an Apple store by:
    Apple Retail Store - Genius Bar
    or sent it in to Apple. See:
    Apple - Support - iPod - Service FAQ
    - There are third-party places like the following that will repair the Home button. Google for more.
      iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • How to club the downpayment and periodic billing scenario in Sales Order

    Hi experts,
    Could you please let me know how to club the downpayment and periodic billing scenario in Sales Order.
    Requirement is :  If you have 10 lacs total amount and out of that 50% should be the downpayment and rest of the amount should be distributed among three equated  instalments for 2 months each (periodic billing). This should work with one line item in sales order. Pls provide relevant inputs how to work out this scenario.
    Your help would be appreciable.
    regards....Diwakaran

    Hi Yang,
    Workflow is the best approach for any issue related to business objects.
    Since you want call FM BAPI_SALESORDER_CHANGE, it will change SO. It means everytime any SO is changed there will an event being triggered.
    object type: BUS2032
    event: Changed
    simple solution:
    1. Please create object type (SWO1) and its super type should be BUS2032.
    2. Add your own method and attach your custom FM which actually updates the qty & PR)
    3. Create Task (PFTC_INS)
    in basic data:
    - provide object type which you have created
    - provide method which you have added
    goto triggering events tab
    - Choose Object Category as BOR object type
    - provide object type (better give BUS2032)
    - provide event as CHANGED
    Please have look into very nice video blog which helps you to create your workflow.
    blog: [Creating your first SAP Business Workflow]
    Regards,
    Sukhbold Altanbat.

  • How to capture the screen and send it to attachment for that mail

    hi sir ,
         how to capture the screen shot and attach with that e-mail , whether it is possible or not ..
    Regards,
    kumar

    hi sir,
        i am asking about while creating the support message from help menu in sap..
    while creating the support message we have to give component , priority and text also .. after that click the send icon in that support desk message .. while clicking the send button the entire screen ( what  we have entered in that creen na ) i have to capture the screen ( it may be save in local file also )  after that it will attach into attachment and then send it to ...
    Regards,
    kumar

  • How to find the job and job status from RSPCM

    hi all,
    suppose we got an error and in rspcm the process was failed.i want to know the status of that particular job.and if any i want to stop that job in SM37.
    plz tell me how to find the job and job ststus from RSPCM...and how to stop that job in SM37
    thanks,
    jack

    Hi Jack,
    RSPCM: T.Code
    This transaction is used to monitor the process chains
    First:
    here you need to add the process chains into the sheet
    Second:
    Then you can monitor the process chains in this transaction code
    Like you can see the :  status ,proces chain ,Last run date ,Last run time ,Log ID
    Status : Green when sucessful,Yellow when running & Red when you get errors
    Now when yoy click on any of the process chain in RSPCM you will go to the LOG VIEW as you see in RSPC transaction
    SM37:T.code
    This transaction is used for Job Overview
    you can see many options in SM37
    like Released,active,cancelled,finished,etc
    Just select the ACTIVE  jobs and also pass STAR in JOB ID & USER ID
    here you can only see the active jobs
    Goto Step in toolbar
    select the program displayed
    then chose option GOTO - Variant in main menu bar
    in the variant you can see the job belong to which Process chain
    if you want to cancel this job come back to SM37 Display screen
    Select the Job and select the JOB DETAILS tab in Tool Bar
    Collect the WIP ( Work Permit ID)
    Go to SM50 T.code and find the WIP
    in Main Menu Bar you find the option Cancel with Core choose this it will cancel the Job
    Regards
    Hari

  • 0NOTIFICATN_ATTR datasource - how it get the system and user status

    Guys,
    I have 0NOTIFICATN_ATTR datasource bringing master data attribute of Notification document into BW. I saw it also bring the document system status and user status. But it only bring in the first status for each. i.e. for a notification document, it can has multiple system status (e.g. ATCO DLFL ...). this extractor only bring in 'ATCO'. while compare to the status DLFL (deletion flag), ATCO didn't really matter again.
    So, i am trying to find out how this datasource extract the status, how can i change the status field into a 40 chars field so i can keep all active status (as it shows in ECC, when user display the notification document status). Did anyone solve this case before?
    Thanks for the help.

    Hi,
    watch the following thread.
    how to extract equipment status in to bw
    and please refer following article by Vamsi
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/301941a0-25b4-2d10-6eb9-9758cbc28559
    It would be very useful.
    Thanks.

  • How to get the old and new statuses of CAD indicator (DRAW-CADKZ) while changing the status of document (DRAW-DOKST)?

    I want to delete the originals of document while changing the status of document based on CAD indicator status. For this I have implemented BADI DOCUMENT_STATUS01 and the method AFTER_CHANGE_STATUS. From this, the BADI is triggering whenever I am changing the document status and I can able to delete the originals. But here my requirement is to check the CAD indicator status to delete those originals. I.e. whenever the document status will change first time the CAD indicator status will also change. Based on that old and new status of CAD indicator I have to do delete operation.
    If anybody has an idea about SAP documents please help me
    Thank you,
    Regards,
    Ramesh

    First the document is exists in SAP in FR status. But when the CAD system will connect to SAP then the status is changing from ‘FR’ to ‘IN’ after that the CAD Indicator is populating from Blank to ‘X’.
    I want to know in which place the CAD indicator value is changing (any user exits available or any BADI s available when changing the CAD indicator) when connected to CAD system.

  • How to find out lock and unlock iphone

    ActivationState: Activated
    ActivationStateAcknowledged: True
    BasebandVersion: 1.0.13
    BasebandChipId: 5898465
    BasebandGoldCertId: 2
    BluetoothAddress: 78:a3:e4:f0:4f:6f
    BuildVersion: 9A405
    CPUArchitecture: armv7f
    DeviceClass: iPhone
    DeviceColor: white
    DeviceName: xxxxxx’s iPhone
    FirmwareVersion: iBoot-1219.43.32
    HardwareModel: N94AP
    ICCID:       
    IMEI:           
    IMSI:            
    MLBSerialNumber: C0************41D
    MobileSubscriberCountryCode: 510
    MobileSubscriberNetworkCode: 10
    ModelNumber: MD261
    PasswordProtected: False
    ProductType: iPhone4,1
    ProductionSOC: True
    ProductVersion: 5.0.1
    ProtocolVersion: 2
    ProximitySensorCalibration: CM
    RegionInfo: ZA/A
    SIMStatus: kCTSIMSupportSIMStatusReady
    SerialNumber: C3*******TDV
    SupportedDeviceFamilies: 1
    <Edited by Host>

    I don't know why you're posting this on Apple's boards.  While Apple manufacturers iPhones, CARRIERS lock them.  Conversely, only CARRIERS can unlock them. 
    If you want your phone unlocked, contact the CARRIER.  This has nothing to do with Apple.

  • How to move the OS and files to a different internal drive?

    I want to move the contents, including the OS, of the main hard drive on my 2 X 3 Ghz Dual core Intel Xeon Mac Pro. The drive is too small for any additional software, so I want to move it to a much larger internal drive.  I am not able to use Carbon Copy Cloner.
    Your help would be appreciated.

    The hatter wrote:
    This is just Part 2 of a thread from earlier today and yesterday:
    https://discussions.apple.com/message/18583293
    I had noticed that..... thanks for the headsup.
    R

  • Lock and Unlock Time Stamp

    Hi,
    Is there a way to get the time stamp when we lock and unlock the entities. And also the User name who performed the lock and unlock task?
    Rgds
    Abhi

    Hi Lye and Elvira,
    I am not logged on, but fairly certain that calling FM BAPI_USER_GET_DETAIL will also deliver the lock status / reason and user existence check etc, which means that the program can react appropriately to the UFLAG lock and the reason for it (if coded to do so). It would also spare the select on USR02 which might change or even be blocked.
    A bigger problem I see with preventing a user from doing something from a certain point in time onwards using this lock-approach, is that the user might already be logged on!
    @ Elvira Knight and ELVIRA KNIGHT regarding points: You have 2 SDN ID's now. You need to logon as the ID which created the thread (Elvira Knight originally asked the question) either by using the P- or S-number from the registration or the email address (you might need to temporarily change ELVIRA KNIGHT's email address to do that). Then you will be able to assign points for the thread which you started as Elvira Knight.
    Theoretically I could add the points for you, but I prefer not to interfer in the decisions and points of SDN members (it is a free world  - unless there is points collaboration...). The future of the points-system is indeed also hanging in a bit of a balance because of that reason. You can email me via the address in my business card if you need some help.
    Cheers,
    Julius

  • DB level to lock and unlock

    i need to create a function is_user_blocked(p_user varchar2). this functions should handle the lock and unlock users on DB level. Returns 0 if the user is not blocked, returns 1 if the user is blocked, please help me in this
    regards
    mkhaleel

    A function with a name like is_user_locked should not make any changes. If you want to lock/unlock users then create an extra function for that.
    Having said that, your checking function could look like this
    function is_user_locked(p_user in varchar2)
      return varchar2
      is
      ret varchar2(32);
    BEGIN
      select account_status
      into ret
      from dba_users
      where username = p_user;
      return ret;
    END is_user_locked; Btw: I consider a blocked user something totally different. A user session, that is blocked by another session and therefore can't continue work.

  • TS3274 How do I lock and unlock the vertical/horizontal screen positions?

    How do I lock and unlock the vertical/horizontal screen positions?

    Use the Side Switch or Rotation Lock in Control Center.

Maybe you are looking for

  • Scheduled report is failing to be triggered via email in SCOM 2007 R2.

    Hi All, I have this strange issue. I have created a scheduled report from the SCOM reporting. It is a default report which comes in SCOM, It is the Most common alerts available in the Microsoft generic report library. I also have the SMTP server conf

  • Issue in receiving custom header in response SOAP message

    Hi, I have created a simple BPEL process with custom headers in request and response message. I tried to send SOAP message through SOAPUI tool. Service is getting instantiated, able to access the request header and able to send response message. But

  • Looking for Email Confirmation solution for a Stationary Printer. Is LiveCycle for me?

    Hi there, we are printers and wanted to know if LiveCycle was the right thing for us. Basically we would like to be able to email a pdf document to a client which includes a few fields for them to fill in and a tick box for them to tick. We would als

  • ITunes cannot connect w/ iPhone

    I've had my iPhone 3G for 5 months with no issues, now all of a sudden it won't sync with iTunes. When I plug in via USB I get an error message that reads: iTunes could not connect to the iPhone " " because an error occurred while reading from the de

  • USB CABLE/FLASH RECORDER CRASH

    I tried to connect a Marantz PDM671 to my iBook(10.4.2) with a cable, and it shut down the USB ports. A small flash card reader that has been trouble free wouldn't work either. A call to Apple Service got me running again with some key stroke mumbo-j