Implications of Changing WebDynpro Parameter: sap.locking.maxWaitInterval

SAP [OSS note 1234847|https://service.sap.com/sap/support/notes/1234847] mentions changing the WebDynpro parameter sap.locking.maxWaitInterval
What are the implications of setting this to 30 minutes or 1 hour?

Hi Juan,
Yes the value is in seconds. I raised the question with SAP OSS and they replied with a good answer:
As the note 1234847 explains,s soon as a request for a user session is processed, the user session is blocked for the duration of the request i.e. there is always at most one thread that has acquired the lock of a user session.
Concurrent requests which refer to the same user session (i.e. triggeredfrom the same browser process) are serialized and processed one after each other. If there is a request which blocks or hangs due to some waiting/blocking condition, then other concurrently incoming requests are waiting for a certain period of time that the user session lock is released. If they can't acquire the user session lock after this time interval, the waiting thread terminates with a LockException error page.
In such cases, the "sap.locking.maxWaitInterval" is helpful. Depending on the requests, administrators can increase it.
In previous cases, we have had customers increase it from 100s to 300s (or 500s) in the Web Dynpro default.properties, depending on their need.This will not make the server processing time slow, but there will be anextra buffer time so that the user request can pass through.
Customers vary the values of the parameter depending on the long runningapplications.
More information is available: http://help.sap.com/saphelp_nwce71/helpdata/en/43/8a1a8ece230c8ce10000000a11466f/content.htm
SAP note 1113811 also provides some info..
However, if even after increasing this parameter, if there are locking issues, then this can be due to a application error. We will
need to anayse a thread dump to check the status of the threads during the locking process. As you are aware, it is the java threads that are responsible for the actual carrying out of the server tasks, akin to the ABAP work processes.
SAP Note No. 710154-How to create a thread dump for the J2EE Engine

Similar Messages

  • Webdynpro appln Url parameter "sap-wd-client= XML client "

    Hi all,
        I am a beginner in Webdynpro application development.
    I have a query on the usuage of Url parameter "sap-wd-client=XmlClient" in webdynpro application.
          When i set the Application parameter property of webdynpro iview in portal as "sap-wd-client=XmlClient", i am getting the content of webdynpro appln in XML format. What is the use of this XML format.
    Can we use this webdynpro appln in XML format in any other portal say Weblogic portal and produce an UI in that portal.
    Let me know the use of this XML format.
    Pls give me some exposure on this.
    Thanks & Regards,
    Siva

    Hi sivakumar,
    It is used for supplying data to another kind of client. You can download a trial version of it somewhere on SDN.
    Best regards,
    Thomas

  • How to define the application parameter 'sap.xss.BaseConfigurationID'

    Hello All,
    I am developing a webdynpro ESS custom self service application. I have completed the development of the DC. But at the end when I am creating the application for the DC, I am not able to figure it out how to define the application parameter 'sap.xss.BaseConfigurationID' for the application. I have defined remaining all the parameters as specified in the following link.
    [http://help.sap.com/erp2005_ehp_03/helpdata/EN/43/3b95dab4ab1800e10000000a1553f6/content.htm]
    Could any one please detail the process to define the parameter 'sap.xss.BaseConfigurationID' ?
    Thanks a lot.
    Regards,
    Seshu.

    Pick a representative file.
    Get info. (Command-i)
    There you will see a place "Open with" where you can select the application for that file.
    Hit the "Change all..." button to do this for all files of this type.
    charlie

  • Re: what is difference between sap locking and database locking

    hi,
        what is difference between sap locking and database locking. Iam locked the table mara by using lock objects.
    But iam unable to unlock the mara table. I give u the coding. Please check it.
    REPORT zlock .
    CALL FUNCTION 'ENQUEUE_EZTEST3'
    EXPORTING
       MODE_MARA            = 'S'
       MANDT                = SY-MANDT
       MATNR                = 'SOU-1'.
    call transaction 'MM02'.
    CALL FUNCTION 'DEQUEUE_EZTEST3'
         EXPORTING
              mode_mara = 'E'
              mandt     = sy-mandt
              matnr     = 'SOU-1'.
    IF sy-subrc = 0.
      WRITE: 'IT IS unlocked'.
    ENDIF.

    Hi Paluri
    Here is the difference between SAP locks and Database locks, i will try to find the solution to your code.
    Regards
    Ashish
    Database Locks: The database system automatically sets database locks when it receives change statements (INSERT, UPDATE, MODIFY, DELETE) from a program. Database locks are physical locks on the database entries affected by these statements. You can only set a lock for an existing database entry, since the lock mechanism uses a lock flag in the entry. These flags are automatically deleted in each database commit. This means that database locks can never be set for longer than a single database LUW; in other words, a single dialog step in an R/3 application program.
    Physical locks in the database system are therefore insufficient for the requirements of an R/3 transaction. Locks in the R/3 System must remain set for the duration of a whole SAP LUW, that is, over several dialog steps. They must also be capable of being handled by different work processes and even different application servers. Consequently, each lock must apply on all servers in that R/3 System.
    SAP Locks:
    To complement the SAP LUW concept, in which bundled database changes are made in a single database LUW, the R/3 System also contains a lock mechanism, fully independent of database locks, that allows you to set a lock that spans several dialog steps. These locks are known as SAP locks.
    The SAP lock concept is based on lock objects. Lock objects allow you to set an SAP lock for an entire application object. An application object consists of one or more entries in a database table, or entries from more than one database table that are linked using foreign key relationships.
    Before you can set an SAP lock in an ABAP program, you must first create a lock object in the ABAP Dictionary.

  • Query on sap locks(ENQUEUE/DEQUEUE)

    Hi All,
    should the sap locks ENQUEUE/DEQUEUE need to be used  for all the updation/insertion  of records ino the table?
    Please confirm.Should this locking technique be used even for insertion of records into the table?
    Regards,
    Pra.

    Hi,
    Lock objects are use in SAP to avoid the inconsistancy at the time of data is being insert/change into database.
    SAP Provide three type of Lock objects. 
    - Read Lock(Shared Locked)
       protects read access to an object. The read lock allows other  transactions read access but not write access to 
       the locked area of  the table
    - Write Lock(exclusive lock)
       protects write access to an object. The write lock allows other  transactions neither read nor write access to 
        the locked area of the  table.
    - Enhanced write lock (exclusive lock without cumulating)
      works like a write lock except that the enhanced write lock also  protects from further accesses from the 
      same transaction.
    You can create a lock on a object of SAP thorugh transaction SE11 and enter any meaningful name start with EZ Example EZTEST_LOCK.
    Use: you can see in almost all transaction when you are open an object in Change mode SAP could not allow to any other user to open the same object in change mode.
    Example: in HR when we are enter a personal number in master data maintainance screen SAP can't allow to any other user to use same personal number for changes.
    Technicaly:
    When you create a lock object System automatically creat two function module.
    1. ENQUEUE_<Lockobject name>. to insert the object in a queue.
    2. DEQUEUE_<Lockobject name>. To remove the object is being queued through above FM.
    You have to use these function module in your program.
    Hope this will give a basic idea.

  • Query about SAP locks /enqueue objects

    I have created an lock object for a bespoke table which has 5 key fields.  For arguments sake let's call them
    WERKS QMGRP QMCOD OTGRP OTEIL.
    The problem I have is the following:
    User 1 has a house profile that can access the following data:
    WERKS QMGRP QMCOD OTGRP OTEIL
    9026  HOUSE CUST
    User 2  has a functional profile which gives them access to the following:
    WERKS QMGRP QMCOD OTGRP OTEIL
    9026  HOUSE CUST 
    9026  HOUSE CUST   CS    C001
    9026  HOUSE CUST   CS    C002
    I am building a front-end to the table to enable the users to change data associated with these keys.  My problem is the following.  If User 2 locks the entries,(s)he has access to first, the user 1 entry will be locked to changes,  which is correct.  If, however, user 1 locks its entry first, <b>all</b> of user 2's entries are locked even though only the first entry is allowed to be accessed by both.  I think this is happening because the SAP lock object does not recognise '   ' '    ' as a separate value to 'CS' 'C001'.  It thinks because 9026 HOUSE CUST '   ' '    ' is locked, then the other entries should be locked because they share 9026 HOUSE CUST from the key, even though there are other values in the key following 9026 HOUSE CUST.
    What I want is if user 1 locks its entry first, then only the entry that matches the key  totally for user 2 is locked, leaving the other 2 entries to which user 2 has access free to be edited.
    Is there a way I can get the SAP lock object to recognise this eitehr by changing the enqueue function module or by the way I cal the enqueue object or not?
    Any help would be appreciated.
    Hope this makes sense
    Larissa

    Hi Larissa,
    As far as I know, You cannot change generated enqueue function module. The other way as i think might work would be to create a new FM and do manipulation (for space to be changed as some other value) before calling this generated Enqueue FM.
    Hope this helps.
    Regards,
    Vicky
    PS: Award points if helpful

  • Can we change log_buffer parameter online e.g. when all users are working..

    Hi,
    Can we change log_buffer parameter online e.g. when all users are working.. ???
    What is relation between redo buffer in sga and log_buffer parameter ?
    SQL> show sga
    Total System Global Area 3758096384 bytes
    Fixed Size 1983152 bytes
    Variable Size 553655632 bytes
    Database Buffers 3187671040 bytes
    Redo Buffers 14786560 bytes
    SQL>
    SQL> show parameter log_buffer
    NAME TYPE VALUE
    log_buffer integer 14338048
    SQL>
    SQL>
    If the log_buffer parameter is 14 MB then why redo buffer is no as same size e.g.
    14 MB
    SSM

    I am hoping your Oracle Consultant know what he's talking about.
    According to Oracle Performance Guide,
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14211/memory.htm#sthref654
    "On most systems, sizing the log buffer larger than 1M does not provide any performance benefit. Increasing the log buffer size does not have any negative implications on performance or recoverability. It merely uses extra memory.
    The best method to determine if bigger redo buffer is needed is
    SELECT NAME, VALUE
    FROM V$SYSSTAT
    WHERE NAME = 'redo buffer allocation retries';
    The value of redo buffer allocation retries should be near zero over an interval. If this value increments consistently, then processes have had to wait for space in the redo log buffer. The wait can be caused by the log buffer being too small or by checkpointing. Increase the size of the redo log buffer, if necessary, by changing the value of the initialization parameter LOG_BUFFER. The value of this parameter is expressed in bytes. Alternatively, improve the checkpointing or archiving process.
    Other than that, hight log file sync event indicate you need faster disk for your redo logfiles. However, please also post your commits per second and redo per second from your AWR report.
    100M redo logs might be small for your environment.

  • What is the implication of changing SIDadm Password?

    Hi Guys,
    I have a feeling that the SIDadm password could be compromised because its simple. I want to change it to something more complex. What is the implication of changing SIDadm Password on the SAP system? Thank you.
    Cheers,
    Daniel

    We are changing monthly as per our Company Policy. There is no problem, but yes if it is used some where e.g. for ftp (we are using) there you need to change.
    Regards,
    Subhash

  • Online Consistent brbackup - How does SAP lock the archive files?

    With an Oracle online consistent brbacup, i believe that SAP locks the archive log files so they are not deleted during the backup.
    How do they do this?
    If a backup crashes how do I unlock these locks?

    Here is the statement (from the netbackup trace)  that caused brachive to stop.
    Set file /oracle/BP1/oraarch/BP1arch1_207989.dbf to QUIESCE status.
    Here is relevenmat part of the NetBAckup/backint log...
    5:21:36.691 [11248] <4> adjustObjectStatus: File </oracle/BP1/oraarch/BP1arch1_207989.dbf> in VxBSA_INPROGRESS status. No ch
    ange of status needed.
    15:21:36.691 [11248] <4> adjustObjectStatus: Done.
    15:21:36.691 [11248] <4> VxBSAWaitForFileListStatus: INF - entering WaitForFileListStatus.
    15:21:36.691 [11248] <4> bsa_handle_std_backup: INF - entering bsa_handle_std_backup.
    15:21:36.691 [11248] <4> bsa_comm_w_bkar: INF - entering bsa_comm_w_bkar.
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: Recieved bpbkar message: #END /oracle/BP1/oraarch/BP1arch1_207989.dbf
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: Comparing physical file  path: /oracle/BP1/oraarch/BP1arch1_207989.dbf
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: to file from bpbkar message:   /oracle/BP1/oraarch/BP1arch1_207989.dbf
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: File paths matched.
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: Set file /oracle/BP1/oraarch/BP1arch1_207989.dbf to VxBSA_UNQUIESCE status.
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: Recieved bpbkar message: #BEGIN /oracle/BP1/oraarch/BP1arch1_207989.dbf
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: Comparing physical file  path: /oracle/BP1/oraarch/BP1arch1_207989.dbf
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: to file from bpbkar message:   /oracle/BP1/oraarch/BP1arch1_207989.dbf
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: File paths matched.
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: Set file /oracle/BP1/oraarch/BP1arch1_207989.dbf to QUIESCE status.
    15:21:38.714 [11248] <4> bsa_comm_w_bkar: File /oracle/BP1/oraarch/BP1arch1_207989.dbf not in VxBSA_NOTREADY state.
    15:21:38.714 [11248] <16> bsa_comm_w_bkar: Can't change state.
    15:21:38.714 [11248] <4> do_file_backup: The sequence of calls is incorrect.
    15:21:38.715 [11248] <4> do_backup: Exit with status: <2>.
    15:21:38.715 [11248] <4> /usr/sap/BP1/SYS/exe/run/backint 6.0: **************************************************************

  • SAP Lock Concept - Wich User Locks my TCode

    Hey Experts,
    i am using the SAP Lock Concept in my Transaktion, but i have a problem to find out how to get the Name of the User how locks my Tcode.
    I build in the Function 'ENQUEUE_EZ_SMARTFORMS',
    after that i print out a Message thet the 'Tcode gets edit by another User at the moment'.
    Now i want to replace 'another User ' with the User-Name of the User.
    Thanks for Help

    Hi,
    fm ENQUEUE_READ will give you the informations you want.
    Pass th name of thge lock object to parameter GNAME, pass the lock argument to parameter GARG and pass SPACE to argument GUNAME.
    Sample:
    * Call custom lock object
      CALL FUNCTION 'ENQUEUE_MYLOCKOBJ'
        EXPORTING
          sase           = xv_sase
          _scope         = '3' "till the end
        EXCEPTIONS
          foreign_lock   = 1
          system_failure = 2
          OTHERS         = 3.
    * Check return code
      CASE  sy-subrc.
        WHEN  0.      "lock successful
          xv_lock                 =  'X'.
        WHEN  1.      "foreign lock
          xv_uname                =  text-unk.
          CONCATENATE                sy-mandt
                                     xv_sase
                               INTO  xv_garg.
          CLEAR                      xt_enq.
          CALL FUNCTION 'ENQUEUE_READ'
            EXPORTING
              gname  = xk_gname_sase
              garg   = xv_garg
              guname = space
            TABLES
              enq    = xt_enq
            EXCEPTIONS
              OTHERS = 4.
          IF  sy-subrc           EQ  0.
            READ  TABLE              xt_enq
                               INTO  xs_enq
                              INDEX  1.
            IF  sy-subrc         EQ  0.
              xv_uname            =  xs_enq-guname.
            ENDIF.
          ENDIF.
          MESSAGE  s000(38)
                       DISPLAY LIKE  'E'
                               WITH  text-sas
                                     xv_sase
                                     text-m07
                                     xv_uname.
          EXIT.
        WHEN  OTHERS.  "unknown lock error
          MESSAGE  s000(38)
                       DISPLAY LIKE  'E'
                               WITH  text-sas
                                     xv_sase
                                     text-m04
                                     sy-subrc.
          EXIT.
      ENDCASE.
    Regards,
    Klaus

  • How  change NLS_NUMERIC_CHARACTERS parameter for load external table

    Hi,
    I use this version:
    OWB 11gR2
    Database 11gR2
    Parameter NLS_NUMERIC_CHARACTERS Database ., Instance ,.
    When I created database with wizard and in this moment I don't set spanish language, later I changed this parameters in instance parameters.
    Now I want load data from a file to external table, but I've an error when I try load data with decimal point.
    why does it use the database parameter instead of instance parameter?
    Is possible to change this parameter?
    Cheers
    Marisol

    At this moment , this is not possible . You can see metalink note ID 268906.1.
    It says:
    Currently, external tables always use the setting of NLS_NUMERIC_CHARACTERS
    +at the database level.+
    Cheers
    Marisol

  • On my app store I what to update an app but the e-mail is my husband it in a light color making it so I can't change it to my e-mail address. It ask for a password can't give one because of the e-mail how do I change this I'm lock out?

    On my app store I what to update an app but the e-mail is my husband it in a light color making it so I can't change it to my e-mail address. It ask for a password can't give one because of the e-mail how do I change this I'm lock out?

    This is your husband's app, only your husband can update it. Apps are forever tied to the Apple ID that purchased them. No other Apple ID can update someone else's app.

  • Reg: If changes done in SAP BO Analysis office, then Changes can be done in SAP BW in respective targets. But, is it possible to do the same changes in SAP ECC? How?

    Hello Everyone,
    If any changes are done in SAP BO Analysis office, then the change can be done in the SAP BW in the respective Targets.
    But how can we do the changes in the SAP ECC ? Is it possible to do the changes in the tables ?
    Any answer is appreciable
    Regards,
    Karteek

    We are using the "Input ready Bex query", in order to modify the values in "BO Analysis office".
    ECC               BI               BO Analysis office
    1  ------------->   1   ---------->         1   ------
                                                                            |
                                                                            | (Now Data is changed in Analysis office from 1 to 2)
                                                                            |
    (?) <--------------   2 <----------         2 <-----
    (Will it be updated in ECC)
    (Diagram Explanation)
    From ECC we can load the data (Consider Value-1) to SAP BI and from SAP BI we can load the data to BO analysis office.
    So, now if we change the data in BO Analysis office (Value-1 changed to Value-2)..
    Now the data is changed in SAP BI to Value-2.
    So what about the data in ECC ? Whether it is changed or not?
    Please provide us a real time business Scenario..
    Thanks,
    Karteek

  • Implications of Changing Posting date of parked document.

    Hi,
    I have changed the posting date, document date & translation date to current period
    of an already parked document in a closed period.
    (e.g) Document parked in month of 28.04.2009(closed period) & i have changed the dates to
           28.05.2009(current period)
    I need to know what are the implications of the changes in dates for (posting date, document date & translation date) induvidually for both the periods(closed & current).
    Thanks
    Kenn

    Hi,
    There is no implications of change the the posting date of parked document because parked documents are not affected in financial.When you post the doucment then it will affect in finance.so there is no problem. You can change the posting date or document date only in a Fiscal year.

  • How do I change my default "SAP Working Directory" to the one I wish ?

    Hello Gurus,
    How do I change my default "SAP Working Directory" to the one I wish ?
    At the moment default SAP Working Directory to set to the following directory.
    "C:\Documents and Settings\T51273\SapWorkDir"
    So, when ever I try to download a Report/Table Contents/Spool Request, SAP prompts me to save in the above SAP Working Directory, which is "C:\Documents and Settings\T51273\SapWorkDir". Ofcourse I can change the folder in the dialogue box, but I don't want to change the folder each and every time I download a report from SAP.
    I wish to change my default "SAP Working Directory" to "My Documents" Folder. So that from next time,
    if ever I try to download a Report/Table Contents/Spool Request, SAP should prompt "My Documents" Folder. That way I don't have to change the folder at the time of saving.
    Full Points are assigned for an answer that works...
    Thank You,
    Nag.

    Hello,
    A short question about transaction SO21:
    Is this a local setting, per GUI?
    Or does this affect all users?
    I have a problem opening an attachment (Mandates).
    SAP wants to save it to C:\Windows\System32\
    I see that is stated at SO21.
    If I change that to another (accessable) location, does that affect the opening of the attachment?
    Thanks!

Maybe you are looking for

  • Hi Regarding How to work on SAP Net Weaver CE 7.1  and BPM

    Hi Friends I need Some help from u r side    Currently i have got work on SAP Net Weaver CE 7.1  and BPM (Business Process Management)    How to Work on these SAP Net Weaver CE 7.1  and BPM (Business Process Management)   If u have any Documents .can

  • Using phone as Ipod Touch

    I have an original iphone I was using like an ipod touch for wifi and apps etc... not connected to at&t. After I updated to 3.0 it is prompting me to activate phone with at&t. I don't want to sign up for phone service with AT & T i just want to use m

  • Google doesn't recognize tablet for mobile

    Hello, I have the following problem: My muse site has a responsive tablet site, because I don't like the small phone layouts. So if one opens my site on a phone (or tablet) the tablet site is shown. But, and thats a real problem, google doesn't recog

  • Still looking for additional instruments for GarageBand iOS7 by GarageBand

    I have iOS7 GarageBand 2.0 (3090.25) on my ipad that has Smart Bass,  Smart Keyboard, Smart Guitar, Keyboard, Drums, Guitar Amp, Audio Recorder, Sampler, Smart Drums, and Smart Strings.  Although I see Apple - GarageBand written references online to

  • Property Inspector documentation

    Hello, Where can I find a full description of all the varies properties in the Property Inspector? Many thanks on the help, Arie.