Can I create More Then One seesion in one script?

Hi all ,
I have got a requirment to create more then one seesion in one script only
(means I have to login using multiple USER's in a single script.).
and also there is no way for LOG-OFF.
Thanks in advnc.

Yes. This is a very common task.
You should databank the User and Password parameters. When running many virtual users in e-load, the script will login each script/user from the list you have included in the databank. When running in Functional playback, each new iteration of a single user will login with a new user from the databank.
There also does not need to be a logoff. In either Functional or Load playback, each time a script or a virtual user starts a new iteration it will begin as though there are no past cookies or cache files.

Similar Messages

  • User can not add more then two products against one order

    Hi frnd,
    My requirement is in CRM while creating order using CRMD_ORDER transaction. The user can not be entered more then two products against one order.
    I am using CRMD_ORDERADM_I_BADI badi to give error I am unable to use this badi. Is there any other options are there.
    Please do need full help.
    Regards,
    Ashish.

    Hi Amit,
    DATA: gt_header TYPE crmd_orderadm_h. "OCCURS 0 WITH HEADER LINE.
    data: ET_PRODUCT_I     TYPE     CRMT_PRODUCT_I_WRKT.
    data: gs_PRODUCT_I     TYPE     CRMT_PRODUCT_I_WRKT.
    DATA : gt_header_guid     TYPE     crmt_object_guid_tab.
    DATA : gs_header_guid     TYPE     crmt_object_guid.
      gs_header_guid = IV_HEADER.
    *INSERT gs_header_guid INTO TABLE IV_HEADER.
      CALL FUNCTION 'CRM_ORDER_READ'
        EXPORTING
          it_header_guid       = gt_header_guid[]
        IMPORTING
          ET_PRODUCT_I         =   ET_PRODUCT_I[]
        EXCEPTIONS
          document_not_found   = 1
          error_occurred       = 2
          document_locked      = 3
          no_change_authority  = 4
          no_display_authority = 5
          no_change_allowed    = 6
          OTHERS               = 7.
    endmethod.
    I am using ds code. Its working fine records are coming in Product. But how i will save product into one
    itab.
    Regards,
    Ashish S

  • Creating more then 1 statement in one connection in SQL server

    hi
    am using sql server as my database.here i cannot create more then one statement in the i connections....why does this happen
    secondly is it preferable to create 'x' number of connections at the start of the application or create a connection as and when required...
    Pls if anyone can help me...
    regards
    Praveena

    hi,
    if i'm not wrong try to close the already creted statment if ur creating another with the same nmae otherwise it should not be a problem creating set of statements.u can create any number of statement with a single connections.u need not open connection for every statement.hope this helps u out
    bye

  • How can I restrict more then one user to access the table?

    Hi !
    I have a problem and two solutions and I am a bit confused as to
    which one is the best one and/or can there be any better way of
    handling the problem ?
    Problem : I have to update a key field of a table when I update
    it in the form 5.0 screen. I am basically doing a maintenance of
    a table and if a certain field is updated then the change has to
    be reflected in two more tables. But the issue is that the field
    is a part of the key in those two tables. So all I can think of
    is that I need to insert new set or rows for that new value of
    the field and delete the old set of records for old values of
    the field.
    There are two ways of doing it;
    1.One option can be to explicitely define two cursors separately
    and fetch the values in them one by one and then insert the new
    records and then delete the old records in both the tables. This
    I feel will be a cumbersome process both in terms of processing
    time and the coding.
    2.Second option I was thinking can be to create two flat tables
    (without keys) and insert the values in them and update the
    changed field there and then insert the rows in the respective
    tables. Delete the old records in the main tables and delets the
    records in these flat tables. This is a bit more faster and
    easier to predict and code. This seems to be a better option for
    me.
    Any comments on these ?
    In both the cases I was thinking of making some provision so
    that more then one person can't update the table simultaneously.
    Since if there are more then one persons doing the processing
    then some inconsistency might creep into the whole process.
    This is easier to do in the second process as if I check the
    data in the flat tables and if there is some data then I can
    presume that some one is doing the processing and I can ask the
    other person to hold for a while. But in this case how can I
    stop more then two people to simultaneously check for the empty
    table and start inserting the record ?
    I was just thinking of having a sepatare table having only one
    field and this will be a key field and as the process begins the
    process will insert a fix value say 'Y' in the key field and at
    the end of the process the record will be deleted and this way
    we can restrict the user to access the process more then one at
    a time..? Since you can't have same value of the key in a table
    more then once.
    Any better way of handling it will be deeply appreciated.
    How about locking the table at the begining and releasing the
    lock at the end ? Will there be any issue in that? since I am
    inserting and deleting the rows in the same transaction.
    Comments welcome,
    Shobhit
    null

    How about performing the update IN the database using a stored
    procedure?
    By using non-database fields on your form to get the
    information, you can then call the procedure in the database to
    perform the updates. If an error occurs in the procedure you
    rollback, if necessary, and send a message or status back to the
    form. If it succeeds you might wish to commit and then re-
    execute the form's query -- using either the original key values
    or the new key values...
    null

  • In smart form, can i create more than one main window,

    In smart form, can i create more than one main window,
    if no, then why?

    Hi,
    As for main window a page can have only one.
    You may have number of Variable windows
    Main window can only be one. One it can be copied to next page.
    but secondary window as many as u want.
    Reward if it helps..
    Regards,
    Omkar.

  • Can I have more then one MVIEW site connected to single master site?

    Hi,
    I need one help from your end.
    Currently I am working on Basic Replication.For that I am using Read only Materialized views.first i tried with one master site & one Materialized view site its working fine,Can I have more then one MVIEW site connected to single master site referring to same database ? if so how to achive this one..

    Actually one of my senior told me that you need to change number of OPEN_LINKS value like that so for that reason I asked this question.
    Still that problem not solved..
    I will explain what are all the things I did ok.
    IN MASTER SITE:
    I am creating read only MVIEW's.
    first i created one user repadmin and have given
    1>execute any procedure
    2>dbms_repcat_admin.grant_admin_any_repgroup
    3>dbms_repcat_admin.grant_admin_any_schema
    4>select any dictionary
    and all other grants to repadmin user
    then I changed global_name = 'zxincmp' on Master site.
    Then I created mview log for each table (for 85 tables) & then I created mview's for that table on Master site itself. later I took a dump of these 85 mview's . then I transfered this dump to one of my mview site.
    IN MVIEW site:
    I created one user zxdbp_55 and all the above rights are given to this user & i created one public dblink
    "zxincmp" using "TO_CMP"(master site).Then I imported that dump which i took from master site.
    then i created one private link zxincmp in one of my mview site.then i used DBMS_REFRESH.MAKE('')
    to refresh all my tables & to set the interval..
    after that i created index on the mviews..
    this will works out fine for single master & single mvirew site.but I tried with the same procedure to prepare one more mview site,everything is fine but main problem is second mview site is not getting refreshed automatically,i need to do refresh manually from enterprise manager.. then it will get refreshed.
    how to overcome this problem? I am using same db name ,dblink,refresh group for both the mview site will it affects anywhere?
    Thanks & Regards,
    Hanumanth.

  • Can I have more then one icloud E-Mail Account?

    Can I have more then one icloud E-Mail Account?

    Hi Pathfinder93950,
    Welcome to the Support Communities!
    You can only have one iCloud account per Apple ID.  However, you can have up to 3 aliases that point to that iCloud account.  Here is some additional information:
    iCloud: Set up an @icloud.com email address
    http://support.apple.com/kb/ph2620
    After you set up your @icloud.com email address, you can use it to sign in to iCloud. You can also sign in using the Apple ID you used to create your iCloud account.
    iCloud: About email aliases
    http://support.apple.com/kb/ht4897
    iCloud: Create or change email aliases
    http://support.apple.com/kb/ph2622
    You can have up to three active email aliases, and you can delete or deactivate (turn off) an email alias at any time. You might want to deactivate an alias if, for example, you use an alias to make a purchase. After you receive the item, you can turn off the alias to avoid follow-up advertisements, then turn it on again when you make another purchase.
    Deleting an alias is permanent, so if you think you might want to use the alias again, you should simply turn it off. When an alias is turned off, all email sent to that alias is returned to the sender.
    iCloud: Using your @icloud.com email address
    http://support.apple.com/kb/ht5441
    Cheers,
    - Judy

  • Can I create more than one bookmarks toolbar?

    I'd like to set up several toolbars -- one for myself & my favorite sites .. one for my kids for their school needs ... and one for my husband. Can this be done? Will all three show up at the top?

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • Can I use more then one apple ID on my computer/osx app store

    Hi,
    I use my MBP/iMac/ipad/iphone for both business and home.  Right now everything is setup to my home apple id (and I have made quite a few purchases with that).  With the release of the osx app store and FCPX,  my company wants to buy these for my computers.  But they want to do this on their apple id.  Can I run more then one id on a mac?  How can I make this work as I know they will want me to start getting more apps as they are released.

    You can have apps from multiple Apple IDs on one Mac. The issue will be that to update Mac apps bought with A ID #1 will require signing into A ID #1 in the MAS. And later when apps bought with A ID #2 need an update you will need to sign into A ID #2 in the MAS to update them. If you can keep that straight and can abide that requirement, there should be no issues.
    The same will be true to update iOS apps, but using iTunes.

  • How can I create more than one main window in a page of SAP SCRIPT?

    How can I create more than one main window in a page of SAP SCRIPT? If anybody helps me I will be obliged.
    Regards,
    Subhasish

    Hi Ganguly,
    It is possible to have more than one main window in a same page.
    You create a main window and simply you copy and past it in the same page.. it will create first main window name as MAIN and other main windows as MAIN01,MAIN02.... up to MAIN99.
    Contets flow from MAIN , MAIN01, MAIN02.......................MAIN99. contents after filling the current window it flows to next window(by default, you skip as well with some keyword not sure could be NEW-WINDOW)
    you want print the main window data twice? or you want to create two main window in the same page ?
    1. give two copies in the no of copies in the output type screen ( Which pop up is coming after excute the program ).
    2. create two page with the same script form.
    3. you can write the coding inside the program to print twice the same page.
    Hope this information use full to you..

  • Can i create more than one library on the same computer?

    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • Can you have more then one iphone control the apple tv at the same time?

    Can you have more then one iphone4 as a remote for one apple tv at the same time?

    iCloud, iTunes & Apps Stores can be assigned different AppleID's from the Settings app. I have my phone and my wife's set up this way for the very reasons you are describing. Works well.

  • Can I connect more then one cDAQ-9188 in the same network?

    Hi, I have one question for you.
    Can I connect more then one cDAQ-9188 to moxa EDS-G205-T for querying simultaneously in the same PC?
    thanks in advance for any response.

    You will need a network switch and make sure they are different IP Addresses, but same subnet.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Can we assign more then one abap system to one bpc server?

    Hi my question is short an d simple.
    can we assign more then one abap system to one bpc server?
    Regards Stefan

    Stefan,
    My understanding is that this is not possible. However, I believe you can have multiple BPC .NET servers and point them to different dialog instances of the same ABAP system. You would then put a load balancer in front of the .NET servers and requests will be distributed across the ABAP dialog instances.
    Ethan

  • Have one instance on linux running one database.can i create more databases to sam

    i have one instance on linux running one database.can i create more databases to same instance and they all remain up .

    you can create more than one database (Instance) on the same machine, start up all of them, in the connect string write the Instance name you want to work with.
    null

Maybe you are looking for