Clearing Lock Reason

Dear Experts,
I have set the Clearing Lock in the document. I have searched in the DFKKOP table, where I am not able to identify the document number with clearing lock reason.
I am having requirement that, if the line item is overdue system should lock the partcular line item, Is there any way to set the payment lock automatically?
Could anyone please guide me in which table I can identify the document number with clearing lock.
Thanks in Advance,
Aswin
Edited by: Aswinkumar.V on May 23, 2011 7:16 PM

Try the func. module FKK_S_LOCK_CREATE.
l_obj contains the lock object key.
CALL FUNCTION 'FKK_S_LOCK_CREATE'
    EXPORTING
      i_loobj1              = l_obj
      i_appl_work_area      = ls_dfkkop-applk
      i_gpart               = ls_dfkkop-gpart
      i_vkont               = ls_dfkkop-vkont
      i_proid               = '10'
      i_lotyp               = '02'
      i_lockr               = l_reason
      i_fdate               = l_startdate
      i_tdate               = l_enddate
      i_uname               = sy-uname
    IMPORTING
      es_locks              = ls_locks
    EXCEPTIONS
      already_exist         = 1
      imp_data_not_complete = 2
      no_authority          = 3
      enqueue_lock          = 4
      wrong_data            = 5
      OTHERS                = 6.

Similar Messages

  • Details about locking reason

    Hi all,
    is there any way to get the information why a user was locked in ABAP system via the connector? I would like to differentiate in IDM if the user was locked by the administrator or because of too many failed login attempts. I can see only the general information if a user is locked or not. But I need the locking reason code.
    Thanks in advance
    Jörn Kaplan

    Hello Jörn,
    I have something like this in my mind:
    Implement a class extending the ToSAP class, which is in the DSE.jar . For each needed method (initCustom, exitPass, add-, mod- and deleteEntryCustom) use super.xyz to call the method from the ToSAP.
    Then the class needs to write the locking reason to the desired place. I guess it could work somehow like this, but cannot think of an other possibility.
    The other possibility would be to file an OSS. But that could take some time, too.
    EDIT: Or is it possible to store the locking reason in the system? Then you only need to read that out and store it in the IS using a FromCustom pass after the pass that writes to the ABAP.
    Best regards

  • Clearing locks automation

    hi,
    We have OEM 10.2.0.4 and we get blocking session's from Blocking Session Count metric. Here we manually clear locks. we wanted to automate it forms related locks only thru corrective action. Can you please share your thoughts?
    Regards

    You can do this by creating a corrective action script based on the blocking session alert. Set the number of occurrences on the alert to the length of time you want to wait before killing the session. I had this corrective action SQL script running in OMS 10.2.0.3. (Not sure about 10.2.0.4).
    spool /tmp/killed_session.out
    set feedback on
    set heading on
    set echo on
    set serveroutput on
    DECLARE
    v_sid varchar2(15);
    v_serial varchar2(15);
    BEGIN
    select substr('%key_value_sid%',instr('%key_value_sid%',':')+2,instr('%key_value_sid%',' Serial#')-6)
    into v_sid from dual;
    select substr('%key_value_sid%',instr('%key_value_sid%',':',1,2)+2)
    into v_serial from dual;
    dbms_output.put_line('killed session sid :'||v_sid||' serial :'||v_serial||' %key_value_sid%');
    execute immediate 'alter system kill session'||chr(39)||v_sid||','||v_serial||chr(39);
    end;
    exit;

  • Xmodmap -e "clear Lock" works *except* in xinitrc [SOLVED]

    It's a strange problem...
    * All other xmodmap expressions in my xinitrc work.  e.g. xmodmap -e "keysym Caps_Lock = F11"
    * The expression -e "clear Lock" works after I have started into the window manager, and type it from the terminal emulator
    * I tried, to no avail, also (sleep 3; xmodmap -e "clear Lock") &
    Help help!
    Last edited by jcolinzheng (2008-12-18 16:49:01)

    I don't know how I missed this thread before. This is freakin' brilliant. I had this in my openbox autostart file to remap Caps_Lock to Ctrl. It was working, then just stopped with some upgrade the other day:
    xmodmap -e "remove lock = Caps_Lock" &
    xmodmap -e "add control = Caps_Lock" &
    eval `cat $HOME/.fehbg` &
    numlockx &
    lxpanel &
    Instead of using sleep, I simply rearranged the order. It works now:
    xmodmap -e "remove lock = Caps_Lock" &
    eval `cat $HOME/.fehbg` &
    numlockx &
    lxpanel &
    xmodmap -e "add control = Caps_Lock" &
    I added [SOLVED] to the title.

  • Clearing with reason code

    Dear Guru's
    I am clearing customer invoice.
    When I am clearing with Incoming payment at F-28 I am having a difference of Under or Over payment.
    All reason codes were customized.
    I am unable to execute F-28 for posting the difference with reason code.
    Can any body help me clearing the difference with Reason Code.
    Rao

    Hello,
    Recheck your config. in
    OBBE
    OBXL
    OBCW
    OBCR
    OBCS
    Regards,
    Ravi

  • Do you find the AdobeDPS pricing to be clear & simple & reasonable?

    The information on the Single Edition and what it includes (ONLY IPAD) should be alot clearer on Adobes various websites and also within Creative Cloud and inside the ID-plugins on what actually happens to the pricetag as soon as you want to make a dumbed down iPhone edition in addition to an iPad edition.
    I think there should be a possibility to purchase an iPhone/Kindle/whatever edition with a set price to the mix instead of forcing people into the expensive subscription based Professional Edition, which i guess alot of people really don´t need. I have clients that wants to test & see if there is a future in producing an iPad and an iPhone4/5-version. As the price is quite steep for a test and the fact that you also need a subscription in addition to upfront costs the choice is easy, there isnt going to be even a test...
    Guess we gotta go for Mag+ or Appstudio or something else unless Adobes pricing model is going to change.
    I find it really disapointing.
    What do you think? Am I wrong? Is there a better solution out there? Have I misunderstood something about the renditions for iPad and iPhone into a multifolio?
    I know Mag+ has a sollution and AppStudio (formerly PressRun, owned by Quark) has more reasonable pricing model.
    Adobe give us some options please, so atleast people can try it out...

    Thats ok John... Most advertising agencies in Norway and in the Scandinavian countries doesnt only work with "traditional" advertising. They generally do design, graphic identities, ads, social media, print&web and some also adverts for TV. Theyre not as specialized as in other countries i believe (both in a positive and negative way).
    There could also be a different market sitution here. I believe theres a lot bigger market/more companies interrested in producing mags/corporate info/product catalogues than it is for making magazines containing ads with a subscription.
    I hope that Adobe could introduce som sort of middle way for us wanting to produce "one off mags" for more devices than the iPad. Also considering that most people here has a smartphone with IOS or Android already, so it makes sense to tap into the growing mobile market. Android is growing fast even though theres currently more money to be made on the IOS-plattform 8:1 (read this nice article http://www.forbes.com/sites/darcytravlos/2012/08/22/five-reasons-why-google-android-versus -apple-ios-market-share-numbers-dont-matter/
    Some other interresting numbers from Norway
    In Norway 2012 - 61% had a smartphone in the beginning of 2012 (USA 44%). Arround 79% of the people between 18-29yrs old had one in Norway (most of these people doesnt care about paper and embraces the digital counterparts). In 2011 11% had a tablet, in beginning of 2012 this number was 29%. Wheres 2013 going to end up?
    (http://www.medienorge.uib.no/?cat=statistikk&medium=it&aspekt=tilgang%20og%20bruk&queryID= 378&aspekt=nyheter)
    Last year Google also reported a growth in mobile search at arround 400%. (http://www.thinkwithgoogle.com/insights/emea/)
    If im going to predict whats going on for 2013, it will be the year where graphic designers, newspapers and magazines really will go digital on all plattforms. Print wil decline more. It will also be the year for responsive design and HTML5 (maybe DPS should produce more responsive designs?)
    Sorry this wasn´t going to be this kind of discussion here on the Adobe forums (gotta get it out...). Anyway once again I think Adobe produces great tools, but as time goes by there isalot of nice solutions /alternatives to producing content where you don´t nececarily need to be a "designer" with skills in InDesign and DPS. Look at http://www.layergloss.com for instance (I haven´t tried it) but its producing apps online.
    If we are going to be using InDesign and DPS in the future and be part of the digital (r)evolution we need a toolset do so, at prices/features that will let us, sooner rather than later. Otherwise it-consulting companies will take even more of these jobs away from us and perhaps lead to lost sales for Adobe (its a symbiosis going on between Adobe and designers).
    I find that most people working with InDesign doesn´t really care wether they are producing for print, web or tablet, they just want to communicate something good for their clients regardless of plattform and physical state...
    Lets hope they still can use a tool like InDesign which they both know and love, with DPS in the future too.

  • Billing for consumer premise door  locked reason

    Dear all,
    If we are unable to bill a consumer for three months because of the consumer premise door locked continously 3 for months then in the fourth month we have to bill the consumer for the unbilled period by giving slab benefit for all four months.
    How to bill the consumer for this case?. explain clearly. Please.
    Thanks and regards,
    rakesh

    Dear Mr. Kevin De Wilde,
    Actually in the fourth month consumer comes to the premise. Meter readeg goes to the premise and collect the meter reading. Now we have total reading for four months. But we dont know every month reading. we have to find out the average meter reading for four months and bill the consumer for every month individually to give the slab benefit.
    I will give the example for slab benefit also.
    Price is block price.
    ie. for 0-100 units 2euro
    for 100-200 units 3 euro
    for >200 units 4 euro.
    Let us take four month total reading is 1000.
    If we will bill the consumer for 1000 units in one bill, consumer will not get the slab benefit of block price and if we will bill the consumer for every month average consumption consumer will get slab benefit.
    for this case how to avrage meter reading and bill the consumer? Please explain.
    rakesh

  • 8310 Password Enabled Locked....How to reset and clear lock to disable password?

    My 8310 phone has a lock on the Password Enabled, and I can't clear or change setting to disable password. Also, the security time out is locked, so I can't change the time either. Please help, I want to reset the phone so that it isn't locked and I can disable the security password.

    Yes. If you know who's company is was a part of, the BES admistrator can send a default IT policy to device to remove any restrictions from the device. I also found you can try removing the policy yourself. I've never tried this, but here's a link describing how to do so: http://www.blackberryfaq.com/index.php/Remove_IT_Policy
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • Clear locked status for multiple files

    I accidentally left the "lock" switch on my SD card when importing photos, and now all of those pictures are "locked". In windows this was no big deal to remedy, I could just select all the files, choose properties, and uncheck the "Read-Only" checkbox. I am new to the Finder, and I'm struggling to find a good alternative in mac land.
    When I try the same trick in Finder, I just get as many Info boxes as files I selected instead of one. If I try to change the Lock flag on the folder containing the pictures, that doesn't seem to do the trick either. I checked the Automator, but I couldn't find any actions having to do with the "Get Info" box. Surely there is an easy way to do this that I don't know of. Does anyone know?

    Instead of using the Get Info window, use the Inspector window. Hold down the option key when you go to the Get Info command (either the menu or the shortcut, cmd+opt-i)

  • E71: Offline + phone lock (reason?)

    Hi there,
    Does anybody know if the mandatory phone locking can be disabled when changing to the Offline mode? If I remember right, in the older Communicators you used to have a Flight Mode that used to leave the PDA side of the phone open while turning the connections and antenna off (basically what the Offline mode is for).
    Why does the phone lock itself when turning to Offline mode when there's a separate 'Lock Phone' option just below it in the Profiles list?
    kvirtanen.deviantart.com
    Solved!
    Go to Solution.

    @Sujit_md: You say your E71 doesn't lock itself when you access Offline Mode. Do you have a custom Security Code or have you left it intact, so that it is still the default 12345?
    My Finnish friend's E71 also locks if he puts it to Offline Mode. He has got a custom Security Code the same way as I have.
    Please report back. If you have left the security code intact, the fact that the phone doesn't lock itself might be just because of that fact.
    The problem arises when one has already changed the security code to something else and thus enabled it. There's not much of a way to disable it afterwards. 
    I tried the three-button hard reset and my security code still persists and I'm stuck with a locking Offline Mode. 
    If you're interested, please read the conclusion on the following thread:
    /discussions/board/message?board.id=communicators&message.id=36987#M36987
    kvirtanen.deviantart.com

  • Records Locked - reason unknown

    Hi there,
    In the oracle forms , i have 2 Insert statements for table A and Table B, and a Commit right after that. I then call Java classes(that are imported) which has some parameters from Forms. These in turn call a shell script to run some reports.
    The shell script should update a field "X" on Table A from Null to some value for the recently inserted statement.
    Somehow after calling the java classes table A is getting locked and but has a new record but the field X is not getting updated i.e still has a null value.But when i close the form, the value is getting updated.
    Why could this be happenning? is it some kind of lock? If there is one, shouldn't it be released after the commit?
    Any help is appreciated.
    Thanks a bunch

    If that field "X" is updated into one of those reports, we have two different sessions: you cannot see changes made by Reports session from Forms sessions. Maybe when you close the form, a Commit is performed and thus you're able to see the X's new value.
    Why don't you execute a COMMIT statement right after the update on field X?

  • Locked Contract account can be cleared at Cash Desk

    Dear Experts,
    I have placed a Clearing lock on a Contract Account(tcode CAA2). But the due amounts on that contract account can still be cleared through the cash desk FPCJ.
    Where should the lock be placed to prevent all incoming payments for a particular contract account?
    Thanks & Regards,
    Malini

    HI ,
    In the view SM30 - V_TFK000S , should have the specification - Posting and clearing lock .
    Secondly the same has to be applied in the contract account in the payment lock reason .
    After assigning the same , system would not allow to accept payment against any document or even payment on account .
    Only thing that you have to remember is that the lock reason should have both payment as well as clearing lock .
    The other way is of pushing the locks in the documents through FPE2 or FPE2M , else the lock at contract account would work.
    Cheers ,
    Dewang

  • Reasons(standard) for Payroll lock

    Dear All,
    We want to capture the reason for payroll locking.Where we can do this configuration. We have a option to capture reasons, like while doing basic pay changes, Actions, etc..We are looking similarly for this also.
    Could you share other possibilities..
    Thanks in advance.
    Team,. give ytour inputs on this.  Plz.
    MVR
    Edited by: MVR on Feb 22, 2011 10:45 AM

    Hi,
    Nilesh's solution is a great one.
    The matter is that IT0003 is not time-dependent.
    If you want to keep track of payroll lock reasons in a time-dependent manner; another option would be to create a brand new infotype just for this purpose (with one field reason code, text of which is to be held in lookup table -as said by Nilesh-)
    Regards,
    Dilek

  • How to set a reason for locked account throught source code with the API

    Hi all,
    I need to set the lock reason of an user account. When we lock a user account at identity management, the system shows us a text edit and keep that lock reason on the account data tab. I need to simulate that, anybody could help me with this?
    Slds,
    MC

    Hi Mariana,
    you can use the below code snippet to lock and maintain the lock reason.
                  IUserAccountFactory uaFactory= UMFactory.getUserAccountFactory();
                  IUserAccount userAccount=uaFactory.getUserAccountByLogonId("user_hr");
                  IUserAccount mutableUserAccount=uaFactory.getMutableUserAccount(userAccount.getUniqueID());
                  mutableUserAccount.setLocked(true,IUserAccount.LOCKED_BY_ADMIN);
                  mutableUserAccount.commit();
    Thanks
    Prashant

  • How to clear the delivery group in sales order?

    Dear All: 
          My sales order is auto created from CRM by BAPI, but in vbap table, the GRKOR field is 001, only one order ,  how to clear the delivery group in the sales order ?
    Regards
    Peter.

    Thread Locked - Reason Duplicate Post
    How to clear the delivery group in sales order?
    Please dont post the same query twice.  Continue all your queries in one thread
    G. Lakshmipathi

Maybe you are looking for

  • K7T266 Pro Raid and Geforce 2 GTS problem

    (Originally posted to wrong group) Hello everyone. I have been experiencing a problem for some time now regarding lockups and crashes caused by my video card, which vary in severity depending on the driver version used. Since I'm using an MSI K7T266

  • End User Requirement

    Hi, I tried to find out this requirement of my end user, can you suggest me. Requirement- Through project system in single or multiple report or transaction 1) Total value of the PO including duties & taxes 2) Total qty recd & balance to deliver 3) V

  • Vendor maintenance

    Hi Can anyone clarify me on the below issue. I was using a particular vendor 05 for a logical " X" system and against a particular purchase org unit. Now I have defined another root in the same org structure and with as the backend client got changed

  • Searching for audio files in the Browser

    Hi, I've recently ripped all of my SFX libraries to AIFF files but am having some trouble with using the Search functionality of the Browser. When ripping the CDs, I wrote an Applescript to pull the descriptions from a spreadsheet and put it in the S

  • VA03 and SHD0 made me crazy

    Hi guys, I am working on a 4.7 release. I'm trying to create a transaction variant from VA03 without any prices informations. I define a new one VA03_L in SHD0 with all screen variants needed displaying prices. But when i m testing it some details fr