Sales orders locked

Hi to all,
I am facing an strange issue as we use Scenario-A for sales order creation which are created in CRM then replicated to ECC for subsequent processing & now we get some strange issue of sales orders not able to open in ECC as we get the error as sales order is locked by some user in CRM system.
I had checked in all queques & Bdoc we find no orders locked but the sales order gets released after sometime in few hours also all these locked sales orders are distributed successfully without any issue.
Thanks in advance,
Shiva

Hi Shiva,
If an update is terminated, the status is switched from WAITUPDA to VBERROR.
You can also go directly from the tRFC Monitor and qRFC Monitor to the terminated update task in transaction SM13.
And when an order is already been sent to ECC System you cannot make changes in CRM. In order to do so you have to activate the interactive changes in customizing.
Regards
Sidd

Similar Messages

  • Sales order locked

    Hi,
        How do we know whether a sales order is locked or not. Will the status be stored in any table?
        I have tried using function module 'sd_sales_document_enqueue' which gives exception 'Foreign_lock' if the sales order is already open (locked). But, when the sales order is not locked, it is throwing shortdump.
    Please advice.
    Regards,
    Vishnu Priya

    okay locking..
    now if using sales order in change mode ,
    the document is locked ..means other user cant navigate teh same ..
    ithis can be seen in t-code SM12
    look at these FM's
    ENQUEUE_ARRAY    
    ENQUEUE_READ     
    ENQUEUE_REPORT   
    ENQUE_DELETE     
    ENQUE_READ       
    ENQUE_REPORT     
    ENQUE_REPORT_TEST
    vijay
    Message was edited by: Vijay

  • Problem in lock Sales order create with BAPI BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    i have the z program to create the sales order with reff  quotation in SD With BAPI BAPI_SALESORDER_CREATEFROMDAT2.
    this program will  excute every 30 mins .
    Problem: Some times if i excute the program in background it is taking morethan 30mins so second batch excution also gets starting to create the sales order for same quotation then it is creating 2 sales orders at atime with 1 quotation.
    here i am getting duplicate sales orders so i want to lock the creation of duplicate sales order.

    Some solutions
    - Just lock (ENQUEUE) any object at the start of the job(*), if not locked, you can exit or wait in a loop, will be released at end of job (use a _SCOPE '3' so commit work wont release the lock)
    -> This will insure the job runs only once at a time
    - Lock the quotation before calling the BAPI, will be released by the COMMIT_WORK (from where do you fetch the quotation, if it is a customer Z_table, you can use the lock object that you have surely created ?) (use a _scope '2')
    -> This will insure that at most one job will convert a quotation (i suppose you set a "done" flag or status  in the quotation record)
    Read [SAP Locks |http://help.sap.com/abapdocu_70/en/ABENSAP_LOCK.htm] if you are not familiar with the concept of lock in SAP.
    Regards,
    Raymond
    (*) E_TABLEE for table, E_TRDIR for program, anything not required by another process

  • Locking Payment Terms field on OM Sales Order

    Hi,
    Our users are entering sales order using OM responsibility. We have customers that have a payment term of COD. Within a sales order, when one of these customers is selected and COD is returned to the payment terms field, the user can still change it. We would like to lock the payment terms field when a payment term of COD is returned and not allow it to be updated. If the payment term is not COD, we would allow the user to change it if needed. Can we possibility do this using forms personalization?
    Thanks for the help

    Dear MoazzaM,
    I know that payment term is available in 3 screens. My question is that if I make the field invisible in any of the screen then it should at least perform for that particular screen. Because I tried the same with Std TV BUS2032 and it worked.
    Or is it that If apply the changes for all the screens it would take effect in case of Z transaction variant?
    But I am surprised why the same is not getting called when I use a Z transaction variant. Also please note that if I refer to the Std TV BUS2032 and make a copy of the same I am still not able to use it as the screens called there are already used at many places in standard SAP?
    Please suggest.
    Regards,
    Anirban

  • When does the configuration get locked for changes in sales order?

    Hi Experts,
    I will really appreciate your help me in resolving this issue.
    Our client had sales order having BOM item with several sub items.
    Here we found that the user was not able to make changes to the Characterstic Value of one of the variant.
    The issue was the place where we change the characterstic  in sales order was greyed out, it was probably locked. Now even if they were unfrezing and trying to change the characteristic value the system did not allowed means greyed out.
    Can you please help me in understanding when do system locks the variants for a material in sales order, in what stage?
    Like maybe after the delivery document is created or PGI or some things else.
    since i see that the user here did delivered one of the item in the BOM subitem.
    Thanks
    Kaushik
    <Text removed by Moderator, please don't share your personal details on SCN post>
    Message was edited by: Jyoti Prakash

    Yes the characterstics were maintained for the main item.
    and the delivered item was a subitem for this main item.
    So characterstic were maintained for Item 10(Main item) but delivery was done for some of its sub item was item 100 / 120
    Also can i know where is this setting or configuration where we configure this to block the configuration if any of the subitem is delivered.
    Thanks
    Kaushik.

  • Simulation in Bapi/FM for sales order is locking tables

    Hi
    We want to use bapi BAPI_SALESORDER_CHANGE or FM SD_SALESDOCUMENT_CHANGE to simulate the effect on prices of a sales order. We must do this during the printing of the sales order. This bapi/FM is locking the sales order tables during the simulation mode. As we are printing from the sales order, the sales order is already locked so we get the error: V1 042 Sales document xxx is currently being processed. Does anyone have a solution to avoid this lock or an alternative to simulate the price from a sales order?
    We need to use the simulation of the sales order to capture all manual changes in the sales order pricing.
    Kind Regards

    Hi,
    FM BAPI_SALESORDER_SIMULATE gives the same pricing data as  BAPI_SALESORDER_CHANGE. you do not need to change an existing document to get the pricing data. Just simulate the creation of a new order.. th prices should be the same as long as you send the same data.
    Dev.

  • Locking Sales order and line item from reading

    Hi,
    I am writing an interface program to create an offer list inspection report. If two users are running the program at the same time, and if the first user read and processing a sales order line item, it should not read the same sales order line item twice for the second user.
    Please let me know if anybody has used locking sales order at line item level (VBAP).
    The enqueue function for VBAP is not working.
    Any suggestions will be helpful.
    Regards
    Ravikanth

    hi Ravi ,
    u Can lock the Sales Order for processing ,  u cannt restrict users @ tables level.
    u hhave to enqueue the VBELN
    Regards
    Prabhu

  • Locking sales order

    Hi all,
    We are creating sales orders with reference to a specific predifined sales order, and we would like to prevent the user from changing (kinda lock the order) the posts of the order (material, quantity....). Is there a way to do that without using user exits?

    Hi
    You can ask the BASIS team to give authorisation for tcode VA02 only to certain Roles and not to the other Roles. That will enable only certain people to change it and not by everybody.
    If you want to block the transaction itself so that no body can change it, just ask your BASIS guy to block the tcode.
    One of the tcodes used to do this is SM01, if it is temporarily to be locked.
    Reward if this helps.

  • Lock Insertion of new position in a Sales Order

    Hi guru!
    I've to lock the insertion of new position in a Sales Order from VA02 transaction, users can update only some fields of existing positions but thay can't insert a new position in order.
    I have to lock the blank position in a position's table control so they can't insert data for a new position.
    Is it possible to do?
    Thanks!!

    If you're talking about "new POSNR" (item), you could change the visibility of the insertion button, any menu drop downs, probably with user exit or (perhaps better) with screen variants (transaction SHD0) for transcode VA02....perhaps a combination of the two would get you the results you need.

  • User enter sales order, system display " Lock table overflow",

    Hi Experts,
    We are facing a problem, user enter sales order, system display " Lock table overflow",  and using T-code VL02N, system display "You   cannot block the transaction at the moment.
    Please help.
    Thanks,
    Sujit S.

    Dear Sujit,
    [Lock Table Overflow|Re: Lock table overflow]
    Also, Just check with your Basis-Admin in T. Code: TU02 - profile parameter maintenance
    Best Regards,
    Amit

  • Lock and release procedure of sales order - Based on Value

    Hello Gurus,
    I am having the following requirement in SD, let me explain with one example.
    If users creating Sales orders with value less than Rs.1000/- means, System should not allow to proceed further to save the
    sales orders (need the same to specific Sales areas).
    I tried with condition type "AMIW" / User exits where we can able to block/lock the further process but in general we may need to proceed further even if its below the value(Rs.1000/) considering the genuine and regular order from customer.
    Pls suggest your ideas to achieve the Lock and release procedure based on Sales Order Value.
    Regs
    S.Ramesh
    Edited by: Lakshmipathi on Oct 31, 2011 5:49 PM
    Thread Locked - Reason Duplicate Post

    Hi,
    Instead to going for user exits, you can control this by
    1. Field VBAK-NETWR (Net Value) as a part of incompletion procedure.
    2. In VUA2 check u201CIC boxu201D
    3. Create a Customer discount condition ZDIS with scales. In V/06 maintain scale basis as B=value, Check value B= Ascending and Scale type as B= to scale. Calculate it on the Price condition
    4 .In VK11 Maintain record as -100% up to say Value INR1000/-
    You can fine tune according to your requirement by adding tables with relevant fields.
    The idea is simple. As long as the PR00 condition value is below INR1000/- discount condition type ZDIS will calculate discount as 100% and Document net value will become Zero.
    If the document value is Zero Incompletion log will not allow saving the document.
    You can maintain records for ZDIS as per your requirement (for genuine customers). Or you can close the condition record by changing the validity when it is not necessary for other customers.
    Hope this helps.
    Regards,
    Sharan

  • Cancel line item in Locked sales order

    hi Gurus,
    I have a saler order created in R/3 thru BDocs transfer from CRM. The order created in R/3 is now locked in R/3 because of material number different in CRM and R/3. Thus, now the order cannot be accessed in R/3 in change mode. It gives an error message- "Sales document is in use by "_____" user. If I check Sm12 for the lock entries for that user, no entries are found.
    Such locked order are many times generated. I want to make changes to such order.
    Is there any way to unlock such orders?
    Secondly, is there any program or functional module that can be used to make direct entries in order tables (according to the changes required) without actually opening the order (Va02).
    "Mass change" or "BAPI for sales order change" is not funtioning in this case as they call VA02 for changing and anyways now these order are not accessible thru VA02.
    Please help me.
    Regards
    Alfa

    Hi
    These sales orders have been locked by the user (not a dialogue user) which is used for the BDoc transfer from CRM to R/3. Generally orders created in R/3 from CRM can be also be changed in R/3. But because of data difference between R/3 and CRM now the orders are locked. It is not allowing to update any data from CRM also.
    So these order getting unlocked from the user is not working because now no updation from CRM to R/3 on these locked orders are happening.
    Regards

  • VA41 -Locking sale order after one week.

    Hai Gurus, I have a requirement where the sale orders have to be locked automatically after one week.

    And which problem did you get : identifying "obsolete" order, identify a BAPI, can youi elaborate on  your requirement, what youd did already perform and what you were not succesful ?
    Regards,
    Raymond

  • Sales Order Line Item Open But Many Fields Locked for Updating

    Hi All,
    I'm quite a novice with Business One, but I'm testing sales order processing, and I've got a SO with 3 of 4 closed line items.  The one open line item, which is a backorder, does not allow me to update the WHSE, Log Import, nor Free Text fields, which I'd like to be able to do.  We're not using B1 like it should be used and to introduce the Pick & Pack Manager would be overwhelming for how they're processing orders right now.  Is there a way to open up these fields while the line item remains open?
    Thanks in advance,
    gail

    I found out that the fields are open as long as the Delivery Note has not been created against the SO.
    Edited by: gnyukawa on Apr 1, 2010 9:46 PM

  • Lock characteristic value for configurable material in Sales Order

    Is there a setting in SAP which can prevent user changing characteristic value for configurable material in Sales Order after production order created for this Sales Order? Currently, it can only works when first delivery create for this Sales Order.
    Thanks a lot.

    Hi,,
    in the characteristic goto additional data tab,
    you have a field called not ready for input.
    you select this when the value in this characteristic come by calculation based on the previous selection.
    that field will be greyed out.
    OR
    u can even select the no display check box,
    by selecting this u cant see the characteristic in the list,, it will give u a popup before leaving the screen.
    for this the char has to be a required field.
    OR
    if any of this is not working then may be u can try out with authorization management.
    thanks

Maybe you are looking for

  • Popupwindow issue with OAF avilable methods

    Hi the below code is working fine but my requirment is 1.from the pop-upwindow if i Click yes button in popup window it shd got to a standard OAF page location(eg.a.jsp) in the basepage itself and the popup window shd be closed 2.the a.jsp(OAF page)

  • Problems with the Firewire Hub at a Cinema Display

    The Firewire Hub on my "23 inch Apple Cinema HD Display" doesn't work when connected to my "Power Mac G5 DualCore 2,3 Ghz Double Lay" - the hub works when connected to a Mac mini (or before to a G4 867). The Firewire-Port at the G5 works, too. Who ca

  • Adding a country to an address in Addressbook with AppleScript

    Hi, I'm stuck on a simple script to add a certain country to every contact that hasn't one in my Address Book. This is the code at the core: repeat with thisPerson in every person repeat with thisAddress in every address of thisPerson if (country of

  • Update stock price automatically

    Is it possible to update the stock price automatically from the web? thanks

  • Can't find the imported java class when run .jsp file

    Hi, I want to run a jsp web application using tomcat. I put all my .jsp files under "TOMCAT_HOME/webapps/junmin" directory, and put all .class files under "TOMCAT_HOME/webapps/junmin/WEB-INF/classes" directory. I set up TOMCAT_HOME AND JAVA_HOME alre