JDBC Scenario with JDBC Lookup and Updates

Dear Experts,
I am working on a JDBC receiver scenario.
In this scenario, we are also using JDBC lookup to check the maximum EntyNumber which is a primary key. We are manually incrementing this primary key by one and inserting the record into the database.
Both JDBC lookup and JDBC Insert are two differnt tasks. Thus when we send multiple IDOC's concurrently JDBC lookup fetches old values and when we try to insert the record if gives error of PRIMARY KEY VIOLATION.
For example, consider the below scenario,
Assume that there are already 10 records in the database.
1. Two IDOCs No 1 and 2 sent from SAP system at the same time.
2. Now, during the mapping of 1st IDOC we did a lookup and found that latest entry number in the database table is 10 and we mapped the entry number to 11 ( 10+1, i.e. next record )
3. Before updating this record in the database, second IDOC triggered. During JDBC lookup of the sceond IDOC, we got the same entry as the earlier record has yet to be updated.
4. During JDBC call we get the SQL error that "Primary Key Violation" because both the records have same primary key as "11".
Kindly share your ideas.
(SAP system is not sending the IDOC's in any certain order and we need a solution in PI itself. )
- Shri

>>> I am actually sending the primary key value to more than one table as a foreign key. I am looking for some solution
If you are passing primary key value to many tables then jdbc lookup would not be solution. Use stored procedure.
Refer this link for data type creation for stored procedure
http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

Similar Messages

  • Iphoto I have tried opening with cnt alt and updating library what next cant open

    iphoto I have tried opening with cnt alt and updating library what next cant open?
    julie

    This is the iPad forum. If you are having an iPhoto problem please post here:
    https://discussions.apple.com/community/ilife/iphoto
    If your problem involves iPhoto and an iPad please provide additional information.

  • Comparing Two tables with 300k records and update one table

    Could you let me know how to compare two tables having 300k records and update one table.below is the scenario.
    Table Tabl_1 has columns A,B and Tabl_2 has columns B,new_column.
    Column B has same data in both the tables.
    I need to update Tabl_2 in new_column with Tabl_1 A column data by comparing B column in both tables.
    I m trying to do using PLSQL Tables.
    Any suggestion?
    Thanks.

    Hi,
    Whenever you have a problem, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables involved, so that the people who want to help you can re-create the problem and test their ideas.
    Also post the results you want from that data, and an explanation of how you get those results from that data, with specific examples.
    If you're asking about a DML statement, such as UPDATE, the CREATE TABLE and INSERT statements should re-create the tables as they are before the DML, and the results  will be the contents of the changed table(s) when everything is finished.
    Always say which version of Oracle you're using (for example, 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002
    ef2019c7-080c-4475-9cf4-2cf1b1057a41 wrote:
    Could you let me know how to compare two tables having 300k records and update one table.below is the scenario.
    Table Tabl_1 has columns A,B and Tabl_2 has columns B,new_column.
    Column B has same data in both the tables.
    I need to update Tabl_2 in new_column with Tabl_1 A column data by comparing B column in both tables.
    I m trying to do using PLSQL Tables.
    Any suggestion?
    Thanks.
    Why are you trying to use PL/SQL tables?  If tabl_1 and tabl_2 are regular database tables, it will be much simpler and faster just to use them.
    Depending on your requirements, you can do an UPDATE or MERGE, either in SQL or in PL/SQL.

  • Help with drop create and update table

    Sir/Madam,
    I have joined 5 tables and selected some columns ,then I need to update some columns in that. After updating I need to create a report with the new column values.
    To do this my method is to create temp table with the select statement then update the temp table , use this temp table for the report and then drop the temp table.
    Is there anyother way to do this ??
    Can I create a cursor and update the cursor column ??
    Does dynamic sql always be created as procedure ??

    Hi,
    you need to understand how eventing works in BSP and MVC architecture. Pls refer to the below link for a basic understanding of how BSP works - View, Controller and Model class concepts.
    http://www.sapdev.co.uk/webapps/bsp/washome.htm
    For your requirement -
    1. you need a view on which you will create a drop down list UI element and a table view element
    2. you will need to create a contoller class - this will be used to handle the event that will be triggered   when user selects an entry from drop down list
    3. you will need a model class in which you will write the business logic to retrieve employees of selected department.
    Pls search this forum or blogs for - data binding with BSPs, Table View. Pls read these concepts and try to develop your requirement. You can come back to this forum if you face any issues during development.
    hope this helps.

  • Mapping scenario with one customer and many invoices

    Hi!
    I am receiving a flat file with one customer and n-invoice records. The file could look like this:
    133133222051241480320842420500089
    13317350071000010806372131000                 0015890009876543X
    13317350071000010806372131000                 0015890009876543X
    13317350071000010806372131013                 0015890009876443X
    13317350071000010806372131014                 0015890009872343X
    where the first line is customer and the rest are invoices.
    My question is: How can I get this into a structure like this:
    <Customer>
      <...>
    <Invoice>
      <...>
    <Invoice>
      <...>
    When using content conversion (Customer,1,Invoice,*) there has to be specified a key field, which is not a possibility. Do I have to create a UDF for this to get the mapping I want?
    Thanks for your answers!
    regs Ole Mugaas

    Thanks for your answers!
    As I can see from the Krawcyk blog, he is only using one node and maybe that's why he don't have to use keyField. We have also come to the conclusion that we have to use keyfield, but then we have to give the fields out own values. This is not good enough since the values are predefined. Creating a "placeholder" in each data type would not be a good answer because then our customers have to send an additional field in the file which would cause a lot of work.
    Do you know how this can be solved with the keyfield? Is it possible to create a keyField and give it a value that is already there, ex:
    Invoice.keyFieldValue = Invoicenumber (where Invoicenumber is a field specified in the DT) ?
    regards Ole

  • Issue with Anonymous Authentication and updating or starting new projects

    So 2 weeks ago I had a post about Anonymous Authentication found here:
    https://social.technet.microsoft.com/Forums/office/en-US/9b0e6eec-190a-4b48-a280-6adef441659a/issue-with-anonymous-authentication-and-people-picker-and-reports?forum=sharepointgeneral&prof=required
    That issue has been resolved but has created a new issue. We have Anonymous Authentication disabled but when one of our users tries to make a new project she gets the following:
    Unexpected response from server. The status code of response is '0'. The status text of response is ''.
    When she tries to edit an existing project, she gets the following:
    The server was unable to save the form at this time. Please try again.
    If I re-enable the Anonymous Auth. everything works for her again, but then we face the issue from the original post with reports not publishing.
    Any ideas on how to make everything get along?

    #apDiv2 {
        position: absolute;
        width: 698px;
        height: 299px;
        z-index: 1;
        left:50px;
        top: 117px;
        overflow: scroll;
    Don't forget to fix your code errors.  You're still missing a <body> tag in your markup. 
    Nancy O.

  • JDBC BUG WITH SYNONYM TABLES AND DB-LINK

    I have created a database link within my schema.
    Then i have created a synonym for a table in the linked database.
    When using metadata.getColumns() for the synonym table there
    are no columns returned.
    When using metadata.getTables() the synonym table is included in
    the list.
    Driver: Oracle 8.1.5 Thin
    Is this a kown bug.
    Any workarounds available.
    null

    Hi togehter,
    soory for my delayed answer. I was ill.
    I created my scenario but it doesn#t work.
    This is my input:
    <?xml version="1.0" encoding="utf-8" ?>
    <ns:SAKRJOIN.resultSet xmlns:ns="urn:sap.com:jdbcAdapter">
    <row>
    <MANDT>100</MANDT>
    <LIFNR>146128</LIFNR>
    <BUKRS>41</BUKRS>
    <row>
    <MANDT>100</MANDT>
    <LIFNR>146128</LIFNR>
    <BUKRS>42</BUKRS>
    </row>
    <row>
    <MANDT>100</MANDT>
    <LIFNR>146129</LIFNR>
    <BUKRS>42</BUKRS>
    </row>
    </ns:SAKRJOIN.resultSet>
    This is my target:
    IDOC Element CREMAS.CREMAS05 1..unbounded
    BEGIN Attribut xsd:string required
    EDI_DC40 Element EDI_DC40.CREMAS.CREMAS05 1
    E1LFA1M Element CREMAS05.E1LFA1M 1
    SEGMENT Attribut xsd:string required
    MSGFN Element xsd:string 0..1 maxLength="3"
    LIFNR Element xsd:string 0..1 maxLength="10"
    ANRED Element xsd:string 0..1 maxLength="15"
    If I mapped the field row to the target field IDOC I create three IDOCs, but I want only one IDOC per <LIFNR>. In this example I want to see two IDOCs. One for 146128 and one for 146129.
    If I mapped <LIFNR> -> split by value (valuechanged) in field IDOC I get only one IDOC.
    Whats wrong ?
    I tried
    lifnr>sort>splitbyvalue(valuechange)->collapse context->IDOC
    Now I get three once again.
    Kind regards
    Wolfgang

  • XI: RFC to JDBC scenario - handle JDBC Adapters Errors

    In scenario could happened to ERP side try to insert an already saved record in receiver side SQL Server. when this happens XI returns a message structure like :
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
      <!--  Call Adapter
      -->
      <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'dbo.ZZTest01' (structure 'Statement_aux'): java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Violation of PRIMARY KEY constraint 'PK_ZZTest01'. Cannot insert duplicate key in object 'ZZTest01'.</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    But i need to read this error message and map to RFC response structure, how can i do that?

    Hi Karoline,
         Well, i create a BPM process and put a Block Step with Exception Lane, so in normal lane a create a Send Step with the JDBC message, and when an error occurs the process goes to the Exception Lane and there a create a Transform Step with other mapping for de response message for the beginner step, something like:
    1º) Receive Step: Sender system with open bridge;
    2º) Transform Step: mapping de Sender message request to JDBC request message;
    3º) Block Step:
         3.1) Normal Lane: Send Step for JDBC Receiver System;
         3.2) Exception Lane: Transform Step with a message mapping with a constant error message;
    4º) Send Step: Sender System with closes bridge;
    I couldn´t pick up the correct error message from jdbc driver, but in this model my process doesn´t stop with a JDBC error.
    If you have an eMail address i can send to you my model.

  • Combine tables from 2 SQL servers with different Schemas and update as new data is entered

     I have 2 SQL server 2000 machines, I need to take a table from each one and combine them together based on a date time stamp.  The first machine has a database that records information based on an event it is given a timestamp the value of variable is stored and a few other fields are stored in Table A.  The second machine Table B has test data entered in a lab scenario.  This is a manufacturing facility so the Table A data is recorded by means of a third party software.  Whenever a sample is taken in the plant the event for Table A is triggered and recorded in the table.  The test data may be entered on that sample in Table B several hours later the lab technician records the time that the sample was taken in Table B but it is not exact to match with the timestamp in Table A.  I need to combine each of these tables into a new SQL server 2005 database on a new machine.  After combining the tables which I am assuming I can based on a query that looks at the timestamp on both Tables A & B and match the rows up based on the closest timestamp. I need to continuously update these tables with the new data as it comes in.  I havent worked with SQL for a couple of years and have looked at several ways to complete this task but havent had much luck.  I have researched linked servers, SSIS, etc Any help would be greatly appreciated.

    Hi Catalyst,
    Welcome to the MSDN Forums!
    I would have a concern with respect to your issue.  If there is no way to identify a sample, save for the closest timestamp on table A - what would happen if two samples were taken in the plant, and the test results were entered in reverse order?  The samples would not tie back to the appropriate measurements.  Can't you get an identifier of some sort to tie that sample back to table A?
    If you can't, something like this should work, but I'm not sure how you'll "serialize" the samples to avoid the situation above.
    Code Snippet
    --Create sample data
    DECLARE @TableA TABLE ( SampleNo int NOT NULL,
    SampleTime datetime);
    DECLARE @TableB TABLE ( SampleTakenTime datetime,
    SampleColour varchar(50),
    SampleQuality char(1),
    SampleResultNo int);
    INSERT @TableA SELECT 1, GETDATE()
    WAITFOR DELAY '00:00:10';
    INSERT @TableB SELECT GETDATE(), 'Orange', 'A', '5'
    WAITFOR DELAY '00:00:20';
    INSERT @TableB SELECT GETDATE(), 'Purple', 'D', '7'
    WAITFOR DELAY '00:00:10';
    INSERT @TableA SELECT 2, GETDATE()
    --Actual Query begins now
    SELECT *
    FROM @TableA AS a
    JOIN @TableB AS b ON ABS(DATEDIFF(millisecond,a.SampleTime,b.SampleTakenTime)) = (SELECT MIN(ABS(DATEDIFF(millisecond,ta.SampleTime,tb.SampleTakenTime)) )
    FROM @TableB tb
    JOIN @TableA ta ON a.SampleNo = ta.SampleNo)
    Now, to account for the fact that you are querying data from a different server, you need to create a linked server (see sp_addlinkedserver and sp_addlinkedsrvlogin) and then use the fully qualified name (server.database.schema.table) to reference the table.
    Hope this helps,
    Aaron

  • Problem with Java Dates and UPDATE for SQL2000

    I am having problems with the date formats for Java. I am trying to put the current date time into a SQL table, here it the code I am using:
    var Today = new Date()
    var conn = Server.CreateObject( "ADODB.Connection" )
    conn.Open( "Provider=SQLOLEDB;Server=(local);Database=BillTracking;UID=sa;PWD=;")
    var sql = "UPDATE BillAssignments SET DatePosted = " + Today + " WHERE AssignmentID = '" + Request.QueryString("AssignmentID") + "'"
    var rs = conn.execute(sql)
    I keep getting different errors and I have been unable to find a solution yet. I know that I need to change the date format from the Java standard to the one that SQL likes.
    Help....
    Norm...

    Please tell us where the Java part of this comes in. I see that you are using JavaScript to load up data via an ADO connection (presumably on an IIS platform) - but I do not see where you are using Java
    Lee

  • Scenario with Contract, PO and GRN

    Hi experts,
    I have a scenario where I'm buying a stock item with different quality. In material master, I'm maintaining it as split valuation.
    I'll be buying the stock item based on a quantity contract.  In the process, I will create PO with reference to the contract and perform GRN when I receive the goods.
    The goods will come in a bundle with all the qualities mixed up. There will be a manual process of separating the goods based on the quality due to different quality will have different price. In that case, I will only know the total price of that purchase after the segregation. I will then perform GRN based on the respective quantity and price into different valuation.
    For example,
    Contract quantity 100 PCS
    GRN (One material code with split valuation)
    Quality A 25 PCS USD20 per piece
    Quality B 25 PCS USD15 per piece
    Quality C 50 PCS USD10 per piece
    I will only know the PCS after the segregation process. By then only I can enter the PCS during GRN based on a pre-determined fixed price.
    How shall I approach this scenario? Any idea or suggestions are welcome.
    Thanks & regards,
    JT

    Hi there
    There is a option,,
    You can receive into GR blocked stock (103), there will not be any acc documents, only the Matl doc will create, after the screening you can transfer(Release from blocked stock to Unrestricted use stock) all through 105 into diff Valuation,,
    But check with Business, as most of the times business will not be happy to receive the stock as non valuated and get into own later, since it will have one more step.
    it is my siggestion for this scenario...
    Thanks
    Senthil

  • I can't add music to iTunes with latest software and updates.

    I just updated to Mavericks and I have version 11.1.3 (8) of iTunes.  I still had music in a folder that was not in the itunes media folder and now I can't add this music to iTunes or even play the music.  Is there anything I can do to fix this so I can add the music to iTunes?

    Just try to downgrade to older ITunes version, there's serioud problem with lastest ITunes upgrade.
    Time machine can fix this problem is ur latest backup was a few months ago and contains an older ITunes version.
    Version 11.3 doesnt support iPod classic & 3th gen Ipod & Iphone anymore.
    Its a matter of Apple politics.

  • Help with Ipod, restoring, and updating Itunes!

    I was trying to buy a game when it told me I had to update my Iphone software to 3.1.2. So I plugged my Ipod in, and tried to update it. It then told me I needed to update Itunes to 9.0.3 before I could update my Ipod. So I started to update Itunes when an error came up.
    So I thought that maybe I didn't really need to update Itunes, so I went into the Itunes store and bought the update for my Ipod. It started to download, and then it froze. My ipod had the screen with the apple on it.
    So I didn't know what to do and I looked at tech support and it said to restart your computer. So I unplugged the Ipod and restarted the computer. When the computer came back on I pugged the ipod back in and the screen said to connect to Itunes.
    So I connected it to Itunes and all my information was gone! It said it detected my Ipod was in recovery mode and to restore the ipod. So I try to restore it and then it says error (1603) and won't let me restore my ipod.
    I tried looking up the error and I couldn't find anything. I have no idea what I did and I'm worried I may have lost everything.
    So now I can't even get my Ipod to turn on and it's my dads and he is not very happy. And I don't think he has backed it up in a while. So help would be VERY APPRECIATED!!!!!!

    hi i have a similar problem as well, my ipod touch showed the connect to itunes icon, i did it and still showed it. i think this is after i tried installing the latest software up date. this is the second ipod this has happened to of mine. i am so frustrated and i would really appriciate help from an apple techicians or anyone else. i saved up a long time for this ipod. pls email [email protected] or txt +254724446340!
    anik

  • Please help with backing up and updating on Lacie external HD

    hello,
    This is my first time to use an external HD. I am mainly using it to back up photos, music, bookmarks, fonts, address book and movies. Once I get everything on the external hd, how does one go about updating periodically? Do I have to manually update every category? There isn't a way that you can tell the computer to update the files is there? I have heard from some people that you can schedule updates. The Lacie website or user guide has no info on updating!
    Sorry to be asking such dumb questions, but I really don't understand how the update process works. Thanks!

    Cathy:
    Nice going. Backing up is the best thing you can do for your data. I suggest that you make a bootable clone of your entire HDD rather than backing up individual files. In that way you will have a current backup, as well as an emergency boot drive and you can boot from the external drive and run diagnosics and repairs on your internal HDD.
    First you need to format your HDD. It it is larger than you internal HDD, I suggest that you partition it so that the first partition is approximately the size of your internal HDD, and the other partition you can use for whatever. Dr. Smoke's FAQ Backup and Recovery has excellent tips on backup. He uses Retrospect, which I have found difficult to use. As suggested by the previous poster, SuperDuper and Carbon Copy Cloner are the cloning utilities of choice. There are differences, but the main difference which impacts you immediately is that to be able to make regular updates of your clone you will need to register SuperDuper ($28), while Carbon Copy Cloner is donation ware.
    Here are step by step directions for formatting and partitioning your extnernal HDD:
    Formatting, Partitioning Erasing an External HDD
    • Connect external HDD to computer
    • Turn on external HDD
    • Start up computer and log in
    • Go to Applications > Utilities > Disk Utility and launch DU.
    • Select your HDD (manufacturer ID) in left side bar.
    • Select Partition tab in main panel.
    • Select number of partitions in pull-down menu above Volume diagram.
    For more partitions than one, after you have selected the number of partitions adjust the size of the partition by selecting the top partition and typing in the size; then move down if more adjustments need to be made.
    (See Dr. Smoke’s FAQ Backup and Recovery for tips on partitioning external HDD)
    • Type in name in Name field (HD Backup, or whatever you want to call it)
    • Select Volume Format as Mac OS Extended (Journaled)
    • Click Partition button at bottom of panel.
    • Select Erase tab
    • Select the sub-volume (indented) under Manufacturer ID
    • Check to be sure your Volume Name and Volume Format are correct.
    • Click Erase button
    • Repeat above procedure to erase each partition
    • Quit Disk Utility.
    Once you have formatted your HDD, now you are ready to clone your internal HDD to it.
    Creating a Clone using Carbon Copy Cloner
    • Connect external HDD to computer
    • Download and launch Carbon Copy Cloner
    • Select a Source. This will normally be the Disk which you want to backup
    • If you wish to backup/clone only your Users Folder or other folder click on the checkbox. If you want to copy the entire HDD, check Macintosh HD.
    • Select a Target. This will normally be your external HDD, (or, if you so decide, you can backup/clone to a Disk Image on the external HDD.)
    • Cloning Options: for the first time you should backup everything. For updating your backup you should select Incremental backup of selected items.
    • If you want your clone to be an exact copy of the original you should check the box to Delete items not on the original.
    • Click Clone
    Clone Old HDD to new HDD using SuperDuper
    • Format external HDD (see directions above)
    • Connect external HDD to computer
    • Download and launch SuperDuper
    • In the Copy field select your internal HDD
    • To is your newly formatted external HDD
    • Using backup all files
    • Click Options button
    • Check Repair Disk Permissions on Source
    • During copy Erase Destination HDD then copy from Source
    • On successful completion Quit SuperDuper
    Please do post back with further questions/comments.
    cornelius

  • Very Urgent (Unique user Id scenario with Oracle LDAP and SSO)

    Unique user Id scenario.
    Our oracle LDAP repository is setup for customers to login from different companies. We have a requirement to integrate Oracle LDAP users with Oracle 9iAS portal 3.0.9 Single Sign On. I have two userid with same name on the LDAP from different company. For example userid jsmith from company A and jsmith from company B. Both userid do not exist on Portal Login Server. However, both userids will be created automatically in Login server when LDAP and Portal synchronize user list.
    1. How oracle portal will handle such scenario when portal requires unique userid?
    2. Can I customize portal login screen? For example when they login they can provide userid, passwd and domain name. Where domain name could be company name.
    Let me know if you need more information. Feel free to send direct e-mail also.

    Unique user Id scenario.
    Our oracle LDAP repository is setup for customers to login from different companies. We have a requirement to integrate Oracle LDAP users with Oracle 9iAS portal 3.0.9 Single Sign On. I have two userid with same name on the LDAP from different company. For example userid jsmith from company A and jsmith from company B. Both userid do not exist on Portal Login Server. However, both userids will be created automatically in Login server when LDAP and Portal synchronize user list.
    1. How oracle portal will handle such scenario when portal requires unique userid?
    2. Can I customize portal login screen? For example when they login they can provide userid, passwd and domain name. Where domain name could be company name.
    Let me know if you need more information. Feel free to send direct e-mail also. The scenario you describe is one addressed by Oracle9iAS Portal Release 2's capability to support multi-company hosting. In that scenario, each company has a separate branch of users represented in the directory information tree, as you describe. In this case, both users may have cn=jsmith, but the rest of the DN provides the distinguishing domain, e.g., cn=jsmith,dc=oracle,dc=com and cn=jsmith,dc=microsoft,dc=com.
    Version 3.0.9 also supported multi-company hosting, but it was only an internally used feature and one leveraged by a few early adopters. http://portal.oracle.com is one of our hosted examples of multi-company hosting on 3.0.9.
    In 'hosting' mode, the login screen displays a third entry field, as you describe, allowing the company name to be specified.
    For a supportable configuration, you should use Oracle9iAS Release 2 if you want to employ hosting mode. However, if you need some solution in 3.0.9, you can probably achieve something acceptable by making a slight modification to ssoxoid.pkb. I'm not entirely sure about this, because I'd have to dig into the code (which should be unwrapped, for customization such as this), but you could have users enter their names like 'jsmith@oracle' or 'jsmith@microsoft'. Then, within the ssoxldap.pkb authenticate_user function, you'd need to have the company name added to the base search base before doing the search. Then, once authenticated, the SSO server and Portal would create shadow entries which are unique 'jsmith@oracle', 'jsmith@microsoft'.
    Like I say, I'm not sure if the structure of the ssoxldap.pkb file will entirely support this, but that's your best bet until you get Release 2. There will be a 'Multi-Company Hosting Cookbook' provided with Release 2 that will provide the necessary supplemental information to activate hosting mode. You should understand that setting up hosting mode takes a bit more administration than the default single company mode.
    If your portal has already been running a while without the @company names then there will also be the issue of getting all the accounts already created moved over to the @company names.

Maybe you are looking for