Convert module sigle user environment to multiuser

Hello
Currently module supports single user. Now, we have to make it to support multiple users.
There are certain problems with current form module if it is used as multi user environment.
For example, multiple users are running this module at a time and retrieving same value simultaneously in ITEM# field by pressing the ACQUIRENEW# button these items are already exist 1036, 1037, 1038, 1039......eg. if one user run this module and get item# 1036, second user also run this form and get the same item# 1036, third user also run this form and get the same item# 1036 but second should get 1037 and third user should get 1038 at the same time.
Second user cannot get item# 1037 until first user commit the value the item# 1036 but our client working in multiuser environment where at the same time so many user run this form and first user got 1036 second got 1037 third got 1038 an so on...
You have to make sure that duplicate product# should not be entered.
any one can give a sample code please help me this is urgent.
thanks in advance.
regards,
deemy

If you are putting this into a multiuser environment then:
"Second user cannot get item# 1037 until first user commit the value the item# 1036 "
Means you must introduce serialisation so that effectively only a single user can access the process to a acquirenew#
If this is what you want to achieve then you may have to go back to the old table method of generating sequence values.
If you have a table solely to manage the new value then when the user asks for a new value you can select from the table for update with nowait this will stop any other user getting a value until your user commits or rolls back their transaction.
At that point there is a free for all when a new/or the same user can lock the table again.
This will meet your requirement, but I think you should look at your design, perhaps use a sequence and consider how essential it is to maintain an unbroken sequence of item# (I think there are numerous threads on this site which have talked about maintaining this type of sequence) as this will STOP everyone except one person working with a new value and is not often the intention of a multiuser environment.

Similar Messages

  • How to set Multi User Environment in the weblogic 5.1 and 6.1 server..(Urgently)

    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • BC4J - Multi-User Environment

    Can someone explain, how to setup a BC4J project in a multi-user environment. In my case I want to create 50-100 Users in the database (I don't prefer creating a table and storing usernames and passwords in that table as in Auctions example). Do I need to create a connection.properties with 50-100 user connections? How does the connection pooling work in such a case. I am sure that someone might have went through this process. I need some input.
    Thank you in advance for your help.
    Virinchi

    http://technet.oracle.com:89/ubb/Forum2/HTML/006025.html

  • CS07 - Functional Module ? User Exit ?

    Hi ,
    Is anybody can give me some instruction ?
    We would like trigger another program which we developed by ourself when use T-Code:CS07 to assign BOM to Plant .
    Is any functional module or user exit we can use ?
    Thanks !

    Hi Denny,
    The following are the User Exits available for CS07 transaction,
    PCSD0001            Applications development R/3 BOMS
    PCSD0002            BOMs: Customer fields in item
    PCSD0003            BOMs: Customer fields in header
    PCSD0004            BOM comparison
    PCSD0005            BOMs: component check for material items
    PCSD0006            Mass changes user exit
    PCSD0007            Check changes in STKO
    PCSD0008            WBS BOM: Customer-specific explosion for creating
    PCSD0009            Order/WBS BOM, determine URL page
    PCSD0010            Order/WBS BOM, determine explosion date
    PCSD0011            Knowledge-based order BOM, parallel update
    PCSD0012            Customer - Mat. number/mat. number during material exchange
    PCSD0013            Customer-specific processing of an explosion for BOM browser
    Please select the appropriate exit which meets ur requirement.
    Reward Points if useful.
    Thanks & regards
    Mahesh

  • Unable to set user environment in instlation

    hi experts,
    im trying to install ecc 6.o enp 4 ready on AIX db3 on ibm power PPC 64
    i stuck after database installation, its said database client and server version mismatch, and installation is stopped
    then i uninstalled db users groups but its asking manually to remove DB2/SID directory and /usr/sap/<SID> directory.
    and if i try to run again sapinst its stucks on create users and give error unable to create user environment.
    the error is
    ERROR      2010-10-02 03:08:16.977 [sixxcstepexecute.cpp:950]
    FCO-00011  The step setUserEnvironment with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0
    |NW_Onehost_System|ind|ind|ind|ind|1|0|NW_Users_Create_Do|ind|ind|ind|ind|5|0|setUserEnvi
    ronment was executed with status ERROR .
    does anyone faces similar problem earlier, how can i proceed?
    thankx in advance
    Edited by: nikhil jadhav on Oct 1, 2010 1:11 PM

    Hi
    Have you found a solution to this problem?
    I am trying to create User accounts in my Windows AD, and I keep getting the error :
    *"Unable to set user info. The name provided is not a properly formed account name"*

  • Firefox 4 multi user environment in linux: How to set global settings?

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/826921]</blockquote><br>
    Hi,
    We used to be able to change settings in all.js file in FF 3.x.x platform, for changing settings like, proxy, authentication, etc. We installed FF 4.0.1 in linux, but, I can't find the all.js file to change any of the global settings in FF 4.0.1.
    Could you please point me how to changeglobal settings in FF 4.x version?
    thanks in advance.

    Hi. A JDBC connection pool is a set of identical, interchangeable, pre-made
    connections, and the controls to make sure only one user uses a particular
    connection at any one time. If you want to have different DBMS users, you can
    have a separate pool for each DBMS user, which may contain as many or few
    connections as you want. Some applications has a pool for the accounting
    applications, and another for the sales applications etc. Some do have a
    separate pool for john, jane, joe etc, each with one connection. Pools
    can be created and destroyed dynamically using the dynamic pool API.
    Joe
    softstar wrote:
    >
    Hi all,
    I need to know how to set Multi User Environment in the weblogic 5.1
    properties file..
    Here my question is..:)
    1) I have a database with multiple users and having different privileges
    for the users.. and i need to use all the privileges when user aceess
    the database through weblogic server connectionPool.
    2)According to the user privileges i need access the database tables
    content and gives the frontEnd(jsp).
    3)How to modify dynamically weblogic.properties file in the weblogic
    5.1.
    If anybody having idea reg. this issues pl...help me..
    Thanks in advance
    Chandu([email protected],[email protected])

  • Question about kernel26-ice User/Environment defined variables[SOLVED]

    Kernel26-ice PKGBUILD has further 'User/Environment defined variables':
    bfs_scheduler=${bfs_scheduler:-0}
    keep_source_code=${keep_source_code:-0}
    menuconfig=${menuconfig:-0}
    realtime_patch=${realtime_patch:-0}
    use_config_gz=${use_config_gz:-0}
    enable_reiser4
    Well, I know only reiser4 option. What does it mean each one? And I can use all options together?
    Last edited by noMaster (2010-03-09 00:58:50)

    The BFS scheduler and real-time patch are kernel patches. An explanation of BFS can be found on Con Kolivas' site, RT is described in the Real-Time Linux Wiki.
    'keep_source-code' lets you keep the source code after building the kernel, instead of throwing everything away, 'menuconfig' lets you change kernel settings and included drivers, etc., using an easy-to-use console interface and enabling 'use_config_gz' takes the configuration settings from the currently running kernel.

  • The Maxl command convert a native user in external user

    Is there a command MAXL to convert a native user in user external
    Thank you in advance

    Are you thinking of alter user? It has a set type external option as well as a set sss_mode.
    See: http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/maxl_altusr.html
    Regards,
    Cameron Lackpour

  • UPK11 - multi-user environment - manage author permissions - help

    We are configuring our UPK 11 multi-user environment.
    As we have it set, the "everyone" group has modify access to all folders.
    I would like to have a few admins have modify access to the system folder and everyone else be read only.
    Here's my dilemma -
    My admin profile is also a part of the everyone group - so if I set the permissions on the everyone group to read only, that effects the admin login as well.
    The documentation says that if I set up an author with explicit folder permissions, that they are not included in the everyone group, but everytime I try, they are added (irrevocably) to the everyone group before I can even assign an explicit permission.
    I tried to set the everyone group to read only and nearly hobbled my admin account.
    Can someone who has managed authors in a UPK 11 multii-user environment send out some tips?
    I'm not understanding the documentation well enough to make headway.
    [email protected]

    Hi Paul,
    I recently performed an implementation of UPK 11 at a client and had to show one of their employees how to administer the security surrounding profiles and authors.
    The group "Everyone" is default, and each person will belong to that group. It seems that when a person is assigned to another group/with author-specific permissions, it will override that which is set to the "Everyone" group.
    What I normally suggest (and implement) is that you modularise your security (separate the authors into their respective departments), and then create those departments as groups, and then assign permissions as required. Lets use an example - it assumes you are logged in as an admin user:
    I create 3 folders (where 4 and 5 are defaults):
    1. HR
    2. FIN
    3. CS
    4. Administrators
    5. Everyone
    Each author is defaulted to number 5, and all administrators should be included in group 4.
    Now the goal is to prevent HR and FIN from modifying CS, and vice-versa for the other two groups.
    You will see in your library that the root is defined as "/". Firstly, ensure that the Administrators group has Modify access to this folder (Administration --> Manage Groups --> Permissions). I think you need to click on edit, then click on the "Add" button (under permissions), and choose the root folder "/" - ensure it has modify - by default this value should already exist. This now ensures that the security is filtered down to all sub-ordinate folders that exist under the root folder - you do not need to manually assign "modify" permissions to each folder for the Administrator group, as you have already done so at root level.
    You will also notice that there is a "Members/Users" tab (can't remember off the top of my head which), and this allows you to select the profiles/authors that have Administrator group priviledges - ensure the correct users are selected.
    I normally leave the "Everyone" group as it is - do this for now, ensure everyone is included in it, and only modify after you have implemented and tested your security structure if needs be - normally the other group permissions override the "Everyone" group permissions.
    Next step is to assign department specific permissions to the 3 folders we created. Navigate to Administration --> Manage Groups, and ensure that you begin by editing the first department group (HR) - create the group if not already done, then edit (little pencil logo). You would like all HR users to have full modify access to their folder only, but they must not be able to mess around with the other two departments or the "System", "Getting started with UPK" and "/" folders. Under permissions, click on the Add button, and ensure that the folder "HR" has modify priviledge. Add the remaining 4 folders (CS, FIN, System, Getting started with UPK), and assign either Read or Read/View permission - this will ensure all other folders cannot be modified by HR users. Add the relevant HR users to the group under the "Members/Users" tab.
    Apply the same for FIN and CS respectively.
    Now you could get to a point where you may need cross-departmental access for a few users (FIN may need to access some HR content). I recommed that you do this on the user level, and not the group level, as you will limit who can access other departments. Navigate to Administration --> Manage Authors. Click on the specific user that will require access to another department. Edit his profile and under the permissions tab, ensure that he has required access to the other department folder (or sub-folders only) by adding and assigning the priveledge. This should ovveride the group security set for that specific department - but only for this user!
    Test by attempting to create content in an un-authorised folder (when logged in as a normal user). Test admin account by creating content in each folder. If it works - you will no longer need to modify "Everyone", as your permissions are defined under the other groups. I hope this all makes sense?
    Thats it in a nutshell really.
    I hope that this helps, and feel free to get back to me if you are still unsure?
    Regards,
    Greig

  • Convert date on user specific settings

    Hi all,
    I want to convert date on user specific settings
    Example i have seetings like dd/mm/yy and another user has settings mm/dd/yyyy.
    If i login any client i want to convert date to yyyyddmm.
    How can i do this.
    Thanks

    Hi,
    *   Convert date 1/3/9999 into 99990301
        CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT'
          EXPORTING
            input  = w_inputfile-endda
          IMPORTING
            output = w_inputfile-endda.
    *   Convert date 99990301 into 01/03/9999
        CALL FUNCTION 'CONVERSION_EXIT_PDATE_OUTPUT'
          EXPORTING
            input  = w_inputfile-endda
          IMPORTING
            output = w_inputfile-endda.
    or try this..
    Key = sy-datum.
      SELECT SINGLE * FROM usr01 WHERE bname = sy-uname.
      CASE usr01-datfm.
        WHEN 1.
          WRITE key  TO formatted_date DDMMYY.
        WHEN 2 OR 3.
          WRITE key  TO formatted_date MMDDYY.
        WHEN OTHERS.
          WRITE key  TO formatted_date YYMMDD.
      ENDCASE.
    Prabhudas

  • X12 converter module error

    All,
    I'm doing IDoc-File(ANSI X12) scenario but seeing the following error on receiver file adapter.I'm able to convert the xml to x12 using the converter.
    MP: exception caught with cause javax.ejb.TransactionRolledbackLocalException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/converter~x12~x12moduleapp) Exception raised from invocation of public com.sap.aii.af.lib.mp.module.ModuleData com.sap.aii.converter.x12.module.X12ConverterModule.process(com.sap.aii.af.lib.mp.module.ModuleContext,com.sap.aii.af.lib.mp.module.ModuleData) throws com.sap.aii.af.lib.mp.module.ModuleException method on bean instance com.sap.aii.converter.x12.module.X12ConverterModule@4e5c9a7 for bean sap.com/converter~x12~x12moduleapp*xml|sap.com~converter~x12~x12module.jar*xml|X12ConverterModule in application sap.com/converter~x12~x12moduleapp.; nested exception is: java.util.NoSuchElementException
    Please let me know if you have any idea about this error .

    Then it might be issue with module version or channel configuration. can you please check the below blog
    SAP PI: Using the B2BADDON EDI<>XML Convertor Modules - Basics
    also please note the module key words are case sensitive.please refer the below help page
    Configuring the ANSI ASC X12-XML Converter Module - SAP NetWeaver Process Integration, business-to-business add-on 1 - S…
    Note
    The module name key words are case-sensitive.

  • How to recreate user environment profile

    Hi All,
    Does any one have any idea about recreate user environment profile ?
    SAP User home directory is deleted, so SAP system can't be started.
    OS version is solaris 10.5.
    Regards.
    Wenjr

    If you have backup is the best options.
    If not
    proceed as follow.
    1.Copy the /home/sidadm  directory of sidadm from qa or dev server.
    2.Adapt sidadm enviroment into .sh or .csh depending upon the shell sidadm uses.
    3.Adapt instance start and stop script
    4.Probably you may need to adapt the .kshrc or .cshr??
    5.You can do ls -la in dev or qa and check the files required
    It is easy if you have no option but restoration from backup is the best.
    All the best.
    Amit

  • Deploying Flash Player to User environment

    Hi All,
    I've been running into some serious issues with our environment, it seems we have a lot of different versions of Flash Player floating on everyones machine at the moment - I'd like to change this as easily and quick as possible.
    I was writing a script that used the Universal uninstaller to remove all versions of Flash Player then it would install the latest.  However after it runs it will only partially uninstall the older versions of Flash Player, it sometimes will uninstall the whole thing and Install the latest perfectly. I noticed this only happens on the real older versions of Flash (11.2 - 11.6).  After it uninstalls it partially I try to run the (.msi) installer manually and I get an error code 1722 ("There is a problem with this Windows Installer Package. A program run as part of the setup did not finish as Expected") - where after i must run the  msfixit tool(http://support.microsoft.com/mats/program_install_and_uninstall/) to fully remove the program. 
    The script goal:
    Remove all versions of Flash Player using the Universal Uninstaller
    Deletes the folders as specified:
              C:\Windows\SysWOW64\Macromed\Flash
              %appdata%\Adobe\Flash Player
              %appdata%\Macromedia\Flash Player
    Installs latest version 11.9 ActiveX and Plugin
    User Environment:
    Mainly Windows 7 SP1 Enterprise x64
    Currently mixed environment on old versions (11.2 - 11.6)
    Non-admin users
    Deployment plan as of now is Group Policy - later ideally SCUP once SCCM 2012 is setup.
    Also seeking advise to stabalize environment for future deployments, ie: should i disable automatic update and deploy updates accordingly or is there a way to allow the users to get the latest versions of flash.
    Thanks all!

    Hopefully you can find most of the information you need in http://www.adobe.com/devnet/flashplayer/articles/flash_player_admin_guide.html

  • How do I convert a standard user to an administrator if i have no other admins on the computer, re-bootimg NOT an option,  please help!!!!!!

    how do I convert a standard user to an administrator if i have no other admins on the computer, re-bootimg NOT an option,  please help!!!!!! 

    Please take these steps to restore administrator privileges to your account. This somewhat tedious procedure is only necessary if you've confirmed that no adminstrator account exists on the system.
    If you don't already have a current backup of all your data, you must back up before taking any of the steps below. Ask if you need guidance. You won't need the backup unless something goes wrong—which is always a possibility.
    Step 1
    Start up in Recovery mode. The OS X Utilities screen will appear.
    Step 2
    Take this step only if you use FileVault 2. Launch Disk Utility, then select the icon of the FileVault startup volume ("Macintosh HD," unless you gave it a different name.) It will be nested below another icon with the same name. Click the  Unlock button in the toolbar and enter your login password when prompted. Then quit Disk Utility to be returned to the main screen.
    Step 3
    Select
    Utilities ▹ Terminal
    from the menu bar. In the window that opens, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window opens. Select your startup volume if not already selected. Pull down the menu labeled
    Select the user account
    and select
    System Administrator (root)
    Follow the prompts to set a password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9. I suggest you write down the password. If you don't write it down and forget it, you'll have to start over from Step 1.
    Select
     ▹ Restart
    from the menu bar.
    Step 4
    This step, like Step 2, applies only if you use FileVault. Log in as usual, then select
     ▹ Log Out...
    from the menu bar, or press the key combination shift-command-Q. Don't restart. You'll be returned to the login screen.
    Step 5
    At the login screen, click Other... Enter "root" (without the quotes) in the Name field, and enter the password you set in Step 3 in the Password field. You should now be logged in as root. This is a potentially dangerous condition. Do nothing while logged in as root except as indicated below. You'll be fine as long as you don't deviate from the plan.
    Open the Users & Groups preference pane. Select your usual administrator account in the list of users and check the box marked
    Allow user to administer this computer
    You'll be prompted to restart. Do that and log in as yourself—not as root. Your administrator status should now be restored.
    Step 6 (optional, but recommended)
    Follow the instructions in this support article under the heading "Disable the root user." You must authenticate in Directory Utility as "root" with the password you set in Step 3. Authenticating as another administrator won't work.
    Credit for this idea to ASC member wessongroup.

  • How to make extension available for all users in a multi user environment

    Hi,
    In a multi-user environment, a user install a dreamweaver extension,but just the user who install the extension can use it.
    Is there a way that administrator install the extension and make this extension available for other users in multi-user environment(e.g. the Windows 7)
    Thanks

    In a multi-user environment, a user install a dreamweaver extension,but just the user who install the extension can use it.
    Is there a way that administrator install the extension and make this extension available for other users in multi-user environment(e.g. the Windows 7)
    Dreamweaver had this capability many releases ago, but it has been dropped, so it's no longer available.
    Regards,
    Randy Edmunds
    Dreamweaver Development
    Adobe Systems, Inc.

Maybe you are looking for

  • Background print of object connected via object services

    SAP's Object Services allows external objects (spreadsheets, Word docs, web sites, ...) to be attached to SAP documents. Some of our invoice documents have a URL attachment. Opening the URL displays a word document which is a statement of the service

  • SD customer replication from CRM 2007 in ISU

    Hi Experts, I am creating a Business partner in CRM 2007 in role sold to party which is getting replicated in ISU system(Entry is saved in table BUT000) also the entry for SD customer gets saved in table KNA1; however system can not retrieve sales ar

  • Applying a style the nth line of any paragraph using GREP

    Hi, I'm attempting to apply a character style to the third line of a paragraph that is broken with forced line breaks. By doing a GREP search I can find the first two lines by using the following string: .*\n.*\n So, I reasoned that by I'd be able to

  • XML query over a socket

    I can't seem to find any thing anywhere about doing this. I was want to be able to send a query: <?xml version="1.0"?> <query /> to a remote server (which will return a bunch of results). I've created an in/out socket... but that's about it.

  • Enhancing Create vehicle Action-with Zfields

    Hi, We included Zfields in a new structure and the same was appended in VLCVEHICLE and VLCACTDATA_ITEM_S. These Z fields are  also inserted as attributes at item level in customization. But these fields not capturing when we run Create vehicle action