Quantity Locking in JKSD07

Dear All ,
We have one senario in which I have to make a "Quantity field" in transaction JKSD07 non editable after a specified time.
I have raised one OSS message for the same ( Message Number : 0001088388 ). They are suggesting me to implement a bADI ISM_DEMANDCHANGE and use the methods CHANGE_FIELDCATALOG and CHANGE_OUTLINES to modify the field catlog on the fly.
But i am not able to figure out what coding is to be done in this method so as to change the ALV property to non editable on the fly.
Please suggest me what is to be done as this is very crucial at this point of time.
Regards,
Nikhil

Hello Nikhil
the functionality I refer to is only available with ERP and Enhancement Pack 2:
[SAP Press Distribution|http://help.sap.com/erp2005_ehp_04/helpdata/en/0c/66ed0e3a354591ad722953e4632f42/frameset.htm]
The functionality of the new sales planning application ( called  [JKSD07N|http://help.sap.com/erp2005_ehp_04/helpdata/en/0c/66ed0e3a354591ad722953e4632f42/frameset.htm] - what a surprise! ) e.g. the different usage of fields is described in the section structure and [Views|http://help.sap.com/erp2005_ehp_04/helpdata/en/0c/66ed0e3a354591ad722953e4632f42/frameset.htm].
I think this is more for your information because you dont easily upgrade for this issue.
In 4.7 I think this is the way how to manipulate the field properties:
With The BADI method  Change_Fieldcatalog you should loop at the fieldcatalog table and find the column you want to change (field: FIELDNAME).
I think it is either the field EDIT or NO_OUT where you have to set a "X". Look at DDIC structure LVC_S_FCAT!
In the end what you manipulate is the field catalog for the ALV !
Regards
Martin
Edited by: Martin Forster on Jan 20, 2009 11:40 PM

Similar Messages

  • How to implement multi threading without using Java's synchronization

    I have a shared Object called "tradeObj" whose attributes are "Price" and "Quantity".
    Thread1 is going to change the price and Thread2 is going to change the quantity but not stepping on each other's update.
    Because of the cost of synchronization, I dont want to use "Synchronize", but still want to make sure both threads make their update in a proper manner.
    Any ideas?

    Soph wrote:
    I have a shared Object called "tradeObj" whose attributes are "Price" and "Quantity".
    Thread1 is going to change the price and Thread2 is going to change the quantity but not stepping on each other's update.given above I would guess [your interviewer|http://forums.sun.com/thread.jspa?messageID=10976469#10976469|interview] had in mind reducing locks contention (google for "java concurrency locks granularity" or "java concurrency locks contention" if you're interested)
    // disclaimer: I didn't test this code with compiler
    class TradeObj {
      private int price, quantity;
      // locks
      private final Object priceLock = new Object();
      private final Object quantityLock = new Object();
      public int getPrice() {
        synchronized (priceLock) { return price; }
      public void setPrice(int price) {
        synchronized (priceLock) { this.price = price; }
      public int getQuantity() {
        synchronized (quantityLock) { return quantity; }
      public void setQuantity(int quantity) {
        synchronized (quantityLock) { this.quantity = quantity; }
    Because of the cost of synchronization, I dont want to use "Synchronize", but still want to make sure both threads make their update in a proper manner.what you want above doesn't make much sense to me sorry
    Any ideas?Edited by: gnat on Apr 23, 2010 9:44 AM

  • Quantity not shown on the CRM UI

    We are using IPC to configure the products. I see that the data is correctly returned from IPC but on the UI the quantity and high level item details are missing for only 1 item. This is a service and rest all are sales items.
    What could be the issue? Where in the backend could I debug to check this?

    There isn't any setting for this. If you aren't getting a missed call message on the lock screen, you should restore the phone in iTunes. First try using a backup, and if needed as a new iPhone

  • Quantity and Price Totals on Sale Order and Delivery Order

    Dear ABAP Gurus,
    I want to add totals of line items (Quantity and Price) in sale order and delivery order screens. Can you please guide me how to do this. The price can be any from pricing procedure ie exclusive or inclusive price of sales tax.
    regards,
    RSA
    Moderator message : Requirements dumping not allowed, show the work you have already done, thread locked.
    Edited by: Vinod Kumar on Jan 28, 2012 9:23 PM

    Hi,
    Try this :
    IF @transaction_type in ('A','U') AND (@OBJECT_TYPE='22')
    BEGIN
    If exists (SELECT t3.docentry FROM OWOR T0  INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry left join POR1 T2 on T2.[U_JONum] = T0.[OriginNum] and  T0.[ItemCode] =  t2.U_SubConItem] INNER JOIN OPOR T3 ON T2.DocEntry = T3.DocEntry WHERE T1.[PlannedQty] <> T2.[Quantity] and  T1.[ItemCode]  = 'subcon' and  T3.DocEntry = @list_of_cols_val_tab_del )
    Begin
    SET @error = 10
    SET @error_message = 'Not allowed to add more than planned'
    End
    End
    Thanks & Regards,
    Nagarajan

  • How to get the total no of delivery quantity in PO

    Hello,
    This is shehryar. my previous account got locked(dunno why  ) , so i have created a new acc.
    I want to display the total no of delivery quantity of a line item in PO. can it be done ?
    Thanks..
    Shehryar

    Here is a sample.  This works pretty good for me.  You must account for the reversals(102 movement types) also.
    report zrich_0001.
    data: iekbe type table of ekbe with header line.
    data: tot_menge type ekbe-menge.
    parameters: p_ebeln type ekpo-ebeln,
                p_ebelp type ekpo-ebelp.
    select * into table iekbe
               from ekbe
                       where ebeln = p_ebeln
                         and ebelp = p_ebelp
                         and VGABE = '1'
                         and ( bwart = '101'
                         or bwart = '102' ).
    clear tot_menge.
    loop at iekbe .
      if iekbe-bwart = '102'.
        iekbe-menge = iekbe-menge * -1.
      endif.
      tot_menge = tot_menge + iekbe-menge.
    endloop.
    write:/ tot_menge.
    Regards,
    Rich Heilman

  • Here is the solution that fixed flash locking up my browser...

    OK, I will attempt to explain as clearly as possible what was happening, and what I did to fix the issue.  pretty simple, without all of the registry key hacks and edits, no in depth, "advanced", if you will, knowledge needed, so here goes
    The system that was affected is an HP DV4 laptop that I upgraded from win vista home premium 64 to win 7 home premium 64.  This system did not have the issue before upgrading from Vista to Win 7.  Okay, so I banged my head for about a week, trying to figure out why flash was locking up on all browsers after about a second or two, I tried searching forums and trying methods to fix the issue that made sense.  None worked.  I tried simple things, uninstall, reinstall, reboot, offline uninstaller/installer, etc....nothing worked....suddenly I had an appifany...if I spelled that correctly.   Why this had not dawned on me in the first place, I dunno.
    I figured that If I disabled all other startup programs and services that aren't microsoft and see if there were any issues, then that would give me a base to work off of as far as excluding other programs that are installed on my system, and go from there, depending what my finding were at that time.  So, what I did was first Uninstall completely the adobe Flash client on my system (don't think that needs explained).
    Now that the Flash client is out of the way, you want to bring up the MSCONFIG utilitiy and modified the startup of the programs and services when the system boots.  You can do this by simply navigating:
    Start button in the bottom left/ click on the RUN command/ type in the white bar, "MSCONFIG"
    the Microsoft Configuration utility will appear on your screen.  You only need to pay attention to the SERVICES and STARTUP tabs.
    Go to SERVICES tab.  Click on the "Hide all Microsoft Services" checkmark box, make sure there is a checkmark in the box, then click on the button that says "Disable All".
    Next go to STARTUP tab.  click the button that says "disable all".
    Click apply, then click okay.  The utility will prompt you to reboot the system at this time, DO NOT reboot the system at this time, you have some more stuff to do....
    Now you will make some changes to your browser....kindof clean it up a little.  I'm assuming that everyone is using IE8, this is what i'm basing this technique off of.
    go to start/run/ type in the box "INETCPL.CPL" or while browser is open, go to tools/internet options.....either way same thing.
    Go to ADVANCED tab, at the bottom of that tab, you'll see RESTORE ADVANCED SETTINGS and RESET tabs.  First, click on the restore advanced settings tabs in order to reset the advanced settings just in case there is something that might be set incorrectly, Not likely, but just a precautionary measure.  Next, clikc on the reset tab.  This will reset IE to it's default state when Windows was first installed and IE was first run.  This will most importantly get rid of any addins, toolbars, etc that might be having conflicts as well.
    Now that your startup programs and services and browser is reset, you will go ahead and reboot the system.
    When your system reboots, you can go to youtube to watch a video, in which, the website will recognize that you don't have adobe flash installed, and prompt you to go to the flash site and download the latest version.  Once you have the latest version installed, you should be in business.
    As far as the programs and services that you've disabled on startup, there are some must haves that are going to have to be restarted by going back into the inetcpl.  Things like your antivirus and other security programs are gonna have to be reenabled first, then any others, course I would only reenable one or two at a time simply for control measures, in order for you to keep track of which program is conflicting with adobe.
    BOTTOM LINE:   In my case, I had a conflict between adobe flash and either a third party background service or a third party program that was set to start at boot up.  After completing the above procedure, my problems were permanently fixed.  I however have not even attempted to reenable each and every background service and program that I disabled, simply because most of what I disabled, and might notably be the case in most everyones issues, is that when a system is bought from the store or manufacturer, the manufacturer; in my case HP, puts a crap ton of programs on the computer that ARE NOT NEEDED.  the programs like HP system monitor or hp wireless assistant, etc.. etc...
    I simply reenabled my antivirus and CAC card programs and a couple others that I need, other than that i'm good, those programs don't conflict, and i've been watching videos in flash for more that two weeks now.  If anyone has issues or questions just ask.

    Artificially induced intelligence deteriorates a rate-time directly propositional to the quantity of the increase.
    2.16 GHz MacBook Pro (W8612...), Dell 620 WorkStation (XP Pro)   Mac OS X (10.4.5)   G4 Tower (OS 9/10), Dell 620 WorkStation (XP Pro), Gateway P4 (XP Home)

  • BAPI_GOODSMVT_CREATE ERROR: A System Error Has Occurred While Locking

    Hi All,
    I am having a problem with a Z program that I am writing.
    Basically, it uses the BAPI mentioned in the title. The program will read excel file that is being uploaded, and then will segregate the line items by 200 lines.
    That means, if I were to upload 1000 line items, the BAPI will be called and executed 5 times (1000/200 = 5).
    However, when trying to upload 10000 line items, I received this error after around 3000 line items.
    "A system error has occurred while locking".
    This happens when IMPORT parameter TEST_RUN is set to 'X'.
    I found this after some googling: http://sap.ittoolbox.com/groups/technical-functional/sap-basis/lock-entry-system-error-1674434
    I am hoping for your expert thoughts on this.
    Thank you.

    BAPI TO Upload Inventory Data
    * GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
    *                      02 - MB31 - Goods Receipts for Prod Order
    *                      03 - MB1A - Goods Issue
    *                      04 - MB1B - Transfer Posting
    *                      05 - MB1C - Enter Other Goods Receipt
    *                      06 - MB11
    * Domain: KZBEW - Movement Indicator
    *      Goods movement w/o reference
    *  B - Goods movement for purchase order
    *  F - Goods movement for production order
    *  L - Goods movement for delivery note
    *  K - Goods movement for kanban requirement (WM - internal only)
    *  O - Subsequent adjustment of "material-provided" consumption
    *  W - Subsequent adjustment of proportion/product unit material
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
                                     'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
                                     'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          errflag.
    data: begin of pcitab occurs 100,
            ext_doc(10),           "External Document Number
            mvt_type(3),           "Movement Type
            doc_date(8),           "Document Date
            post_date(8),          "Posting Date
            plant(4),              "Plant
            material(18),          "Material Number
            qty(13),               "Quantity
            recv_loc(4),           "Receiving Location
            issue_loc(4),          "Issuing Location
            pur_doc(10),           "Purchase Document No
            po_item(3),            "Purchase Document Item No
            del_no(10),            "Delivery Purchase Order Number
            del_item(3),           "Delivery Item
            prod_doc(10),          "Production Document No
            scrap_reason(10),      "Scrap Reason
            upd_sta(1),            "Update Status
          end of pcitab.
    call function 'WS_UPLOAD'
      exporting
        filename                      = p-file
        filetype                      = 'DAT'
    * IMPORTING
    *   FILELENGTH                    =
      tables
        data_tab                      = pcitab
    * EXCEPTIONS
    *   FILE_OPEN_ERROR               = 1
    *   FILE_READ_ERROR               = 2
    *   NO_BATCH                      = 3
    *   GUI_REFUSE_FILETRANSFER       = 4
    *   INVALID_TYPE                  = 5
    *   OTHERS                        = 6
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
      itab-move_type  = pcitab-mvt_type.
      itab-mvt_ind    = 'B'.
      itab-plant      = pcitab-plant.
      itab-material   = pcitab-material.
      itab-entry_qnt  = pcitab-qty.
      itab-move_stloc = pcitab-recv_loc.
      itab-stge_loc   = pcitab-issue_loc.
      itab-po_number  = pcitab-pur_doc.
      itab-po_item    = pcitab-po_item.
      concatenate pcitab-del_no pcitab-del_item into itab-item_text.
      itab-move_reas  = pcitab-scrap_reason.
      append itab.
    endloop.
    loop at itab.
      write:/ itab-material, itab-plant, itab-stge_loc,
              itab-move_type, itab-entry_qnt, itab-entry_uom,
              itab-entry_uom_iso, itab-po_number, itab-po_item,
                                                  pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
    *   TESTRUN                     = ' '
    * IMPORTING
        goodsmvt_headret            = mthead
    *   MATERIALDOCUMENT            =
    *   MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
    *   GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    clear errflag.
    loop at errmsg.
      if errmsg-type eq 'E'.
        write:/'Error in function', errmsg-message.
        errflag = 'X'.
      else.
        write:/ errmsg-message.
      endif.
    endloop.
    if errflag is initial.
      commit work and wait.
      if sy-subrc ne 0.
        write:/ 'Error in updating'.
        exit.
      else.
        write:/ mthead-mat_doc, mthead-doc_year.
        perform upd_sta.
      endif.
    endif.
    *       FORM UPD_STA                                                  *
    form upd_sta.
      loop at pcitab.
        pcitab-upd_sta = 'X'.
        modify pcitab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          filename                      = p-file
          filetype                      = 'DAT'
    * IMPORTING
    *   FILELENGTH                    =
        tables
          data_tab                      = pcitab
    * EXCEPTIONS
    *   FILE_OPEN_ERROR               = 1
    *   FILE_READ_ERROR               = 2
    *   NO_BATCH                      = 3
    *   GUI_REFUSE_FILETRANSFER       = 4
    *   INVALID_TYPE                  = 5
    *   OTHERS                        = 6
    endform.
    Code Formatted by: Alvaro Tejada Galindo on Dec 26, 2008 10:20 AM

  • Delete the line item in sales order in VA01/VA02 when the quantity is modif

    Hi SAP,
       I have requirement to delete a line item in sales order.Please suggest me to do the same.
      THe scenarios is , we are inserting a free good line item based on some condition and quantity, If the quantity is modified  the free good line item inserted needs to be deleted.
    Waiting for your responce
    Thanks,
        Billa
    Moderator message : Spec dumping is not allowed,search for available information. Thread locked.
    Edited by: Vinod Kumar on Nov 14, 2011 1:54 PM

    Hi,
    Can you also check the SALES LINE.
    Sales line is the combination of SALES ORGANISATION + DISTRIBTION CHANNEL +PLANT.
    Hope it was not maintained.
    Transaction code : OVX6
    PATH:  IMG->ENTERPRISE STRCTRE->ASSIGNMENT>SALES AND DISTRIBTION->ASSIGN SALES ORG- DISTRIBTION-PLANT.
    please revert if the error still exists.
    santosh

  • Lock object for table EKES

    Hi experts,
    I developed a function module to update the confirmations tab of a PO on ME22N screen. Now, I want to have a lock object in the FM so that a user cant make changes while this FM is in use. I do not know if there is any standard lock object for this purpose. I created a lock object in SE11 'EZEKES' since table EKES corresponds to vendor confirmations details. The Enqueue function was called into the program. The code is below:
    CALL FUNCTION 'ENQUEUE_EZPHLOCK'
    EXPORTING
       MODE_EKES            = 'E'
       MANDT                = SY-MANDT
       EBELN                = ponumber
    EXCEPTIONS
       FOREIGN_LOCK         = 1
       SYSTEM_FAILURE       = 2
       OTHERS               = 3
    The problem is, i'm not able to have a lock on the confirmations tab when the FM is in use. Is there any problem with the lock object i have created. The lock mode is Exclusive,Cumulative.
    Please help me with this.

    Code:
    ""Local Interface:
    *"  IMPORTING
    *"     REFERENCE(PONUMBER) TYPE  EKKO-EBELN
    *"  TABLES
    *"      ITAB STRUCTURE  UEKES
    TABLES: EKES, EKKO.
      DATA: BEGIN OF I_EKKO OCCURS 0,
            EBELN LIKE EKKO-EBELN,
            END OF I_EKKO.
      DATA: X LIKE EKES-ETENS.
      data: i_tab like itab occurs 0 with header line.
      move itab[] to i_tab[].
      DATA: i_ekes LIKE uekes OCCURS 0 WITH HEADER LINE.
      SELECT EBELN FROM EKKO INTO TABLE I_EKKO WHERE EBELN = PONUMBER.
      IF NOT I_EKKO[] IS INITIAL.
        SELECT  * FROM EKES INTO TABLE I_EKES
        FOR ALL ENTRIES IN I_EKKO
      WHERE EBELN = I_EKKO-EBELN.
      ENDIF.
      select single etens from ekes into x WHERE EBELN = PONUMBER.
      x = x + 1.
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DATA: VARKEY LIKE RSTABLE-VARKEY.
      CALL FUNCTION 'ENQUEUE_E_TABLE'
       EXPORTING
        MODE_RSTABLE         = 'E'
         TABNAME              = EKES
         VARKEY               = VARKEY
        X_TABNAME            = ' '
        X_VARKEY             = ' '
        _SCOPE               = '2'
        _WAIT                = ' '
        _COLLECT             = ' '
      EXCEPTIONS
        FOREIGN_LOCK         = 1
        SYSTEM_FAILURE       = 2
        OTHERS               = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
        LOOP AT I_TAB. "WHERE EBELN = PONUMBER.
        READ TABLE I_TAB.
        LOOP AT i_ekes WHERE ebelp EQ ITAB-EBELP "itemnumber
                          AND ebtyp EQ 'LA'.
          i_ekes-menge = ITAB-MENGE. "quantity.
          i_ekes-kz   = 'U'.
          i_ekes-eindt = ITAB-EINDT. "deldate.
          I_EKES-XBLNR = ITAB-XBLNR.
          i_ekes-erdat = sy-datum.
          i_ekes-ezeit = sy-uzeit.
          MODIFY i_ekes.
        ENDLOOP.
      ENDLOOP.
      IF sy-subrc NE 0.
        LOOP AT I_TAB. "WHERE EBELN = PONUMBER.
          READ TABLE I_TAB.
          LOOP AT i_ekes WHERE ebelp EQ ITAB-EBELP "itemnumber
                         AND ebtyp EQ 'AB'.
            i_ekes-menge = ITAB-MENGE. "quantity.
            i_ekes-ebtyp = 'LA'.
            i_ekes-kz   = 'I'.
            i_ekes-etens   = x.
            i_ekes-eindt = ITAB-EINDT. "deldate.
            I_EKES-XBLNR = ITAB-XBLNR.
            i_ekes-erdat = sy-datum.
            i_ekes-ezeit = sy-uzeit.
            APPEND i_ekes.
          ENDLOOP.
        ENDLOOP.
      ENDIF.
    To update the confirmations tab
      CALL FUNCTION 'ME_CONFIRMATION_UPDATE'
        EXPORTING
          I_EBELN = PONUMBER
        TABLES
          XEKES   = i_ekes[].
            YEKES         = I_EKES[].
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    CALL FUNCTION 'DEQUEUE_E_TABLE'
    EXPORTING
      MODE_RSTABLE       = 'E'
       TABNAME            = EKES.
       VARKEY             = VARKEY
      X_TABNAME          = ' '
      X_VARKEY           = ' '
      _SCOPE             = '3'
      _SYNCHRON          = ' '
      _COLLECT           = ' '
    ENDFUNCTION.

  • Error in SMQ2 - Object requested is currently locked by user ...

    HI together,
    we send IDOCs from SAP R/3  through XI into an other SAP R/3 system (ORDERS). all messages will be processed but only 2 messages are get stuck in XI with the error message:
    "Object requested is currently locked by user" in SMQ2.
    Do anybody know a solution for that?
    If i trigger the IDOC in WE19 again, the same error occurs again and again.
    Many thanks
    Alex

    HI together,
    very strange happening!!
    i check the mapping of the error message and found out that we have a used a multiply function in the mapping (quantity * price). we have a price > 100000.00 and a quantity of 3. In testtab the mapping runs and runs and runs... nothing happens.
    i created u UDF that solve the problem. i do not know why this is needed or what is wrong the the SAP standard mapping function.
    Unfortunately we have this issue only in production, not in DEV or QA.
    cheers,
    alex

  • BC4J application causes DB locks with iAS 1.0.2.2

    Hi,
    We've deployed a BC4J JSP application to iAS. After a few (not
    more then 5!!) requests, the application seems to hang. At
    first, we thought it was iAS that didn't respond, but after a
    while we noticed DB sessions with a lockwait.
    We configured the BC4J samples and did a few tests. The result
    was the same: we had a lock after a few requests.
    Here are the details about the lock:
    select sid, lockwait,status, sql_hash_value, prev_hash_value
    from v$session
    where username ='BC4J'
    and sid in (29,30)
    SID LOCKWAIT STATUS SQL_HASH_VALUE PREV_HASH_VALUE
    29 INACTIVE 2784278226 2784278226
    30 38117E20 ACTIVE 1756791003 1334541938
    select * from dba_blockers
    HOLDING_SESSION
    29
    select sql_text from v$sqltext
    where hash_value = '2784278226' -- Hash value and Previous hash
    value blocker
    order by piece
    SQL_TEXT
    SELECT InventoryItem.ID, InventoryItem.NAME, InventoryItem.DESCR
    IPTION, InventoryItem.IMAGE, InventoryItem.PRICE, InventoryItem.
    ONHAND, InventoryItem.SUPPLIER_ID, InventoryItem.CATEGORY_ID FRO
    M INVENTORY_ITEM InventoryItem WHERE (category_id=8)
    select * from dba_waiters
    WAITING_SESSION HOLDING_SESSION LOCK_TYPE
    MODE_HELD
    MODE_REQUESTED
    LOCK_ID1
    LOCK_ID2
    30 29 Transaction
    Exclusive
    Share
    327705
    63779
    select sql_text from v$sqltext
    where hash_value = '1756791003' -- Hash value waiter
    order by piece
    SQL_TEXT
    INSERT INTO LINE_ITEM(STATUS,QUANTITY,BACKORDER,ITEM_ID,ORD_ID,
    DISCOUNT) VALUES (:1,:2,:3,:4,:5,:6)
    select sql_text from v$sqltext
    where hash_value = '1334541938' -- Previous hash value waiter
    order by piece
    SELECT LINE_ITEM_SEQ.NEXTVAL FROM DUAL
    So my question is: what is causing the lock? I'm doing an insert
    and a select?
    Regards,
    Philip

    Can someone respond please!
    I tried to run the Online Orders sample application on iAS 1.0.2.1 and 1.0.2.2. On both iAS versions, the sample application created a DB session for each request to the page addtocart.jsp. After 2 (sometimes 3) requests, one DB session has a lockwait and the application stops responding.
    This problem is easy to reproduce. Just create the BC4J schema, go to http://localhost:7778/onlineorders_html/main.jsp and try to add a few items in your shopping cart....
    Thanks!

  • After reversing the Inbound delivery in VL09, lock in LT0G

    Hi,
    I am canceling a Inbound delivery (Plant - WM managed) thru VL09 and then trying  return to stock using LT0G.
    But I am getting lock, unable to reverse stock/TO , and the log says " Scheduled quantity exceeds available/picked quantity ".
    LS24 shows no stock available for the material in the Storage type,
    but surprisingly this LT0G some times works fine & some times show this lock and unable to proceed further.
    What is the setting or process missing? are we not suppose to use VL09 and LT0G subsequently?
    Is there any other better way to do this? and what is the proper way to do this?
    Appreciate your suggestions to either unlock the item or reverse the stock or unpick the qty in the Inbound delivery.
    Thankyou,
    Ravi

    Hi Chris,
    Please find the detailed process steps in my scenario
    Creation process:
    1. Create Inbound delivery : VL31N & save it.
    2. VL32N- and then subsequent function- create TO & save it.
    After confirmation of the TO, the below happens in background.
    TO - Putaway the stock from 902 to 011 storage type.
    3. VL32N - PGR.(Post Goods Receipt)
    Cancelation process:
    Successful Example: (pre-existing stock)
    1. VL09 - Cancelation successful
    2. LT0G - Successful.
    Before PGR: LS24 Stock
    Inbound delivery qty =1
    After TO created.
    After TO confirmed
    After PGR :LS24 Stock  (Before VL09)
    After VL09
    After LT0G successful
    After the TO is confirmed
    Status overview screen

  • Order quantity field in the item overview tab of a sales order

    Hi,
    I would like to make the order quantity field inactive, i.e., the field should be greyed out, when i enter the transaction VA01.
    Is there any way this can be done through functional configuration?
    Cheers,
    MR

    Unfortunately, it doesn't.
    The requirement was to adapt transaction's layout in order to disable editing (e.g. turning it to grey, disactivating the field) for a particular field. This kind of job should be done dinamically as it interests only some kind of Purchase Requisitions (whose attributes should be checked "runtime").
    I found a good user exit which is executed every time a PR is loaded from Enjoy transactions ME51N/ME52N/ME53N in which i can easily check if prerequisites for the "locked field" exist... but there's no visibility over the right SCREEN in that user exit (and also, I tried, in ANY of the std userexit) so I don't know how to tell the transaction "hey, for this order turn the EPSTP (=pstyp in EBAN) grey since it must be not-modifiable".
    Can't get at the same time Field Exit to work on this system (46C)

  • Inventory - Quantity Total Stock

    Hello Experts,
    We recently loaded the data to 0IC_C03 using 2LIS_03_BF, 2LIS_03_UM. Quantity total stock, amounts are not matching between MCBA transaction and BI cube. Please let me know how can we proceed.
    Regards,
    Jyoti

    Hi,
    Step by Step Loading Data to Inventory Cube , Please verify your steps here,
    1. Ensure Cube contents are deleted 
    2. In R/3 go to T- code LBWG and delete contents of set-up table. Choose the correct application area 03 
    3. Ensure all other users except self and ALEREMOTE or BW RFC users are locked out. ( you need an outage time in R/3 when you are loading data from R/3) 
    4. Run T-Code MCNB to set - up stocks. DataSource 2LIS_03_BX, all materials including non-valuated stock 
    5. Load the set - up table with history data if needed. 
    - T-Code OLI1BW for Material Movements 
    - T-Code OLIZBW for Revaluations 
    6. From BW load initialisation for 2LIS_03_BX to set the initial stock. Compress this load with a marker update 
    7. Run an initialisation without data transfer from BW for DataSource 2LIS_03_BF and 2LIS_03_UM 
    8. Load the historical data as full updates for 2LIS_03_BF and 2LIS_03_UM into the cube. Compress these two loads without a marker update. 
    9. Make sure that, Job control has already been set - up in R/3. 
    Hope this helps
    Sukhi

  • BAPI_GOODSMVT_CREATE + Serial Number locked by User

    I am posting a GR for a PO and assigning serial numbers in the goodsmvt_serialnumber table. This is working fine for small volumes ie 2000 , but when we reciept larger volumes e.g. 10,000 we are getting the error massage "Serial number    is locked by User    "
    Has anyone got any ideas ?? This program is a copy from one from our Legacy system, so I know that the code is ok, we are upgrading to ECC5.0 from 4.6C.
    Cheers
    Sharif

    Hello,
    I need to work with this BAPI. Actually I am in a "Pre Paid card Project". I 'll have to good receipt from purchase order about 2 million of cards. I am worried for performance problems.
    Do you have any problem in goods receipt for thsi quantity?
    Thanks in advance

Maybe you are looking for

  • Setting Session Timeout for HANA Cloud Portal

    Hi all, is there any way for setting the session timeout period on HANA cloud Portal? If not, what is the predefined session timeout? Thank you in advance. Silvia Grabmann

  • Photoshop in cs3 on a mac won't boot up

    all my other adobe cs3 apps will. i run a 1.8 ghz powerpc mac g5 with 4.5 gb ddr sdram. osx 10.4.11. it used to work, but all of a sudden stopped. i have tried checking fonts for corruption, trashing prefs, reinstalling after uninstalling. nothing ha

  • Contact number for questions on customer hierarchy

    Hi All, If anybody doesn't mind then is it possible to get the contact number, as I have lots of questions on Customer hierarchy. I am not able to put them properly on the forum? Regards Rajesh

  • Using Bulk Administration to remove services?

    I know I can add phones services using bulk administration and a phone template. How would I go about removing IP phone services using bulk administration? I have tried to remove the services from the template I used to put the services in place, the

  • Can i add Background Image to JInternalFrame

    Hi all i want add a JPG(image) as Backgrounfd of my JInternalFrame after this i have to add all of my components (JButtons,labels) as usual,on the internalframe but these should be apper in jpg image thanks Mahesh.B