Multiple Company data on 1 HTMLDB database

Hi,
I would like to find out the options for having multiple company data stored in a database with 1 HTMLDB schema. I have used VPD before and this is an option but I would like to know what HTMLDB can handle without requiring application changes. Naturally a separate database altogether will work but administation will become a nightmare as the number of companies grow. So, I tried by importing a blank export of the current data schema, creating a new workspace that points to this new schema and then importing the current application into this new workspace. This seems to work but I am not sure this is the best approach. Multiple workspaces = Multiple applications. I have used "alter user set current_Schema" before but am not sure how this could be implemented with HTMLDB as there may be schema.object references in the code HTMLDB code and also the custom table APIs we have.
So if anyone has done this with HTMLDB can you pse advise what your approach was and any drawbacks you've encountered. I am also not keen on the multiple workspace approach as the workspace and application ID's are then different from UAT and PROD.
Thanks in advance,
Brandon

Thanks for the feedback, I have also used VPD before on a project but ran into serious perfomance issues but I don't think the approach was quite correct as they had policies on transaction tables which caused problems.... Anyhow, firstly getting an upgrade to Enterprise edition is not on just yet but I will def push the VPD approach. One question :-
Michael, regarding :-
"We've added a column to every table in the application and we have a profile installed so for each workspace you only see the data that is relevant to you're "Company""
Are you using multiple workspaces for the same application so that you can create and manage separate users and privilges per company , if not then why are you using separate workspaces as don't you then have duplicated applications with different workspace Ids and app ids etc.
Also, what do you mean by "we have a profile installed" - Are you setting a company context for each user on login and then using this context in the policy ??
Thanks again.....

Similar Messages

  • How to upload multiple company codes data for single vendor by LSMW Idoc

    Hi ,
    My requ is like this.
    uploading data by LSMW Idoc method
    In source file we have two company codes data for single vendor.
    It should create vendor for two company codes.
    But its not creating its showing error.
    How to handle this?
    Thanks in Advance.

    have you ever see this docu:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/1a/178ac72d3011d3bc3500105a6588b2/content.htm
    You can use the recording function to create a new object (or a new "import method") if neither a standard batch input program nor a standard direct input program nor the BAPI/IDoc method is available for a data object.
    Recordings are static, thats why you cannot do such flexible things like  multiple company codes at the same time.
    But with IDOC method it is certainly possible, I have done it several times already.
    Unfortunatly the creator of this thread did not say what error he got with the IDOC method. Maybe he will add this. Otherwise I dont think that anybody can help

  • Help Me:NLS - Multiple Language data in a database

    In order to have multilingual data in one oracle database, I am did this:
    1.installed oracle(8i)in NT(this NT also works as a client to feed and get data) with database character to be UTF8( since any kind of data is going to reside)
    2. NLS_LANG TO BE "FRANCE_FRENCH.EE8ISO8859P" in server as I will be using the server terminal to see russian character data ( THIS IS FOR EASTERN LANGUAGE, Apart from English, I am trying to store and retrieve Russian character in the same table)
    3. created a table with NCHAR data type.
    create table test( name nchar(25))
    4. I have the driver installed for English and Russian in my machine.
    5. I log into the SQL PLUS and in seperate worp pad I write an insert statement.
    like:
    insert into test values (n'@KH');
    I copy and paste this insert statement into the SQLPLUS, then it looks like
    insert into test values (n'???');
    when
    I select * from test , I get,
    NAME
    My question are:
    Is this setup OK, or do I have to make some more changes?
    Why can't I type russian letter in SQL PLUS?
    ( I see in one of the Oracle doc in NLS : topic : Locale Data , Heading - Calendar system uses Japanese character in the SQL PLUS directly). So my guess is that I should be able to insert and select these(russian) char as well.
    I will really appreciate , if I can get some feed back on this., I have already spent 3 days on this? Please help meeeeeeeeee.
    Thanks
    Susil
    [email protected]
    null

    Similar request; if there are several different languages used in a database, but a search word can be typed in by anyone and not necessarily in the default language, I still want to be able to pick up all the records (including text in blobs) in any language where my search word = the equivelant word in the other languages; eg. searching on "tree", the search would bring back a document that contained "l'arbre". I then want to set the default language, and allow the user to select a "search in these languages" option to expand the search from the default "tree" to all languages in the database.
    I know about the multi_Lexer but does it extend functionality to this level?

  • Currency setting in multiple company code.

    Dear all,
    we are having 3 company codes in one client.
    and we have to set the Currency setting for multiple company codes.
    Tcodes
    S_BCE_68000174 - Enter Translation Rates
    S_ALR_87003642 - Open and Close Posting Periods
    it is not allowing us to set the values at a same time for different company codes by different users
    it says " DATA LOCKED BY OTHER USER, ONLY DISPLAY MODE."
    Pls assist
    Thanks

    Ask for access to delete lock entries. If access is provided, use T code sm12 to delete the lock entries.
    @ Irfan you cannot do that. Only one user can use a table at a time.
    It is like using an ATM. Only one person can withdraw money at a time.
    Edited by: Dummy_Variable on Jul 27, 2011 9:34 AM

  • Vendor Master Creation through IDoc with Multiple Company Codes

    I am trying to create vendor masters sent from a 3rd party into SAP using CREMAS05 IDoc.  I have the requirement that the vendor should be created in each of 3 company codes and the vendor number is internally assigned in SAP.
    I create my IDoc with the general data E1LFA1M and multiple E1LFB1M & E1LFB5M Children.  When I post the IDoc using IDOC_INPUT_CREMAS which uses Call Transaction, the vendor gets created for the first company code, but the IDoc errors on the vendor extension XK01 for the next company code with the error: "Fill all required fields SAPMF02K 0111 ADDR1_DATA-NAME1". 
    In debugging through this, it appears that the vendor number that gets created in the first XK01 transaction does not get passed into the data for the second XK01 call and SAP tries to create a new vendor instead of extending the newly created one.
    If I force the value in during debug after the initial call transaction into the variable h_lifnr, it works fine (Vendor created with multiple company codes.
    Any help would be greatly appreciated.
    -Larry

    I cannot give you exact solution, but can guess why this is happening, below is what I believe.
    I think Synchronous update is not happening in call transaction, second transaction is getting processed before the first one is saved, debugging it works fine, because we give system enough time to save while processing.
    Generally in call transaction we have MODE, if we pass S - then synchronous update happens, in your case, you need to find the way to incorporate this.
    Hope it helps.
    Regards,
    Ravi Kishore.

  • Multiple image upload with save to database problem

    I am developing some backend work for a client, and we recently used the Multiple image upload with save to database wizard without a problem. A few days later, we noticed that we could only upload a single file at a time - it seems that the coding is no longer able to access the flash part of this and is using the javasript function instead. I know the web hosting company has made some changes on the server, and I did some reearch and it seems that  there could be an issue with Flash 10, but has anyone else experienced anything like this? Any help is greatly appreciated.
    Thanks.
    Jeremy

    Thank you for the responses. I have already updated awhile ago, so I am wondering what happened. Not sure if during the server update, some files were replaced (unless I totally forgot to update to 1.0.1 on this site). So I reinstalled 1.0.1, deleted the includes folder from the server and uploaded my includes folder and it now works again.
    Again, thanks for the help.
    Jeremy

  • Impact of Merging multiple company codes into ONE

    Hi,
    We are currently doing a study for a client,  they have the following scenario where the client has got multiple company codes in SAP (due to some tax benefits they had initially created the company codes) now the tax benefits cease to exist and they are planning to consolidate/merge all the company codes into one legal entity. In the existing landscape all the company codes are in the same client. They are proposing to merge all the company codes into an existing company code.
    Trying to understand the impact of merging on SD and would appreciate your thiughts/insights into what could be the important critical impacts of merging and what are the factors to watch out for from an SD perspective. Client has VC and MTO scenarios.
    Thanks in Advance.
    M

    Hi,
    It all depends on your strategy. Will you be creating a new Sales organisations? or continue with the existing one? Also, please check with the client as to how the existing plants in the subsidery company  be treated in the holding company.
    You will have to check the master data, open items, Z programmes & most importantly CIN related settings.
    Hope this is helpful, please let me know if you require further inputs.
    Thanks.

  • What is the best way to put LabVIEW DSC data into an Oracle database?

    I have been collecting data using LabVIEW DSC 7.0 for several years and have always accessed the data from the Citadel database via the Historical Data Viewer.  I would now like to begin putting this data into an Oracle database.  My company stores all their data in Oracle and it would provide me all the benefits of their existing infrastructure such as automated backups, data mining tools, etc.
    My initial thought is to use "Read Trace.vi" in LabVIEW to pull historical data from the citadel database at regular intervals (e.g. 1 minute) and insert this data into Oracle via ODBC.  In this way, I do not need to track the value changes in order to know when to write to Oracle.  I also considered replicating the citadel database using some other method, but I recall that the tables used by citadel are somewhat complicated.  I only need a simple table with columns for channel, timestamp, and data.  The "Read Trace.vi" will provide me data in this format.
    I do not need to update the Oracle database in real time, a few minute delay is acceptable. If anyone has a better idea or additional insight please let me know. Thanks.

    In terms of connectivity, you want to use ADO, not ODBC. Beyond that, it all depends on the structure of the data and what you are going to want to do with it. This is a very big question that you need to be getting some in-depth assistance.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Multiple Image upload with save to database

    Hi everyone,
    I wonder whether anyone can help me, I have been trying to use the multiple image upload with save to database wizard. When I create the page and upload it and then view it in Safari the only thing that is on the page is an upload button. When I press the upload button I am able to browse my files and select them. When this window closes a flash loading value is shown but no images have been uploaded.
    Am I missing anything? I have had no problems uploading single files and creating albums. I want to create an online gallery so that I can do a multiple upload to a specific album if this is possible.
    Cheers
    Sarah

    Hi Sarah,
    >>
    but only the filename appeared in the database and no other information was stored.
    >>
    that´s how it´s been designed also in the "single upload" -- the path_to_the_folder where the files sit in have to be determined elsewhere
    >>
    {wedimg_idalb}
    >>
    I don´t see any reference to this "dynamic data" placeholder in any of your table columns you posted -- where does this one come from ?
    >>
    1. I have multiple clients and each client has their own set of images.
    2. Each set of client images must be linked to an album via the album ID
    >>
    do you have any "foreign key" which is related to the user_table´s ID in order to make user ID 2 upload his images in album ID 2 ? How will the upload page "know" where the images are going to be uploaded to ?
    >>
    and the album page, wedding_alb
    >>
    to my mind *this* table would itself need a foreign key to the user_table in order to "map" record 2 to user ID 2 -- or do I miss something ?
    Günter Schenk
    Adobe Community Expert, Dreamweaver

  • Can we assign 1 credit control for multiple company codes

    hi,
    sap gurus,
    good afternoon to all
    can we assign 1 credit control area for multiple company codes.
    if yes can any body explain the pro's and cons of the assignment.
    if no can any body explain the why?
    its urgent plz.......
    regards,
    balaji.t
    09990019711

    Yes Balaji,
    We can assign.
    Here the risk categiry and terms of one credit control area will be applicable to all company code.
    Credit Control Area
    Definition
    An organizational unit that represents the area where customer credit is awarded and monitored.
    This organizational unit can either be a single or several company codes, if credit control is
    performed across several company codes. One credit control area contains credit control
    information for each customer.
    Use
    Credit and risk management takes place in the credit control area. According to your corporate
    requirements, you can implement credit management that is centralized, decentralized, or
    somewhere in between.
    For example, if your credit management is centralized, you can define one credit control
    area for all of your company codes.
    If, on the other hand, your credit policy requires decentralized credit management, you
    can define credit control areas for each company code or each group of company codes.
    Credit limits and credit exposure are managed at both credit control area and customer level.
    You set up credit control areas and other data related to credit management in Customizing for
    Financial Accounting. For more information, see the Implementation Guide under Enterprise
    Structure   Definition or   Assignment   Financial Accounting and then Maintain credit control
    area. You assign customers to specific credit control areas and specify the appropriate credit
    limits in the customer master record.
    Thanks,
    Raja

  • BDB- Recno multiple key/data pairs retrieval

    Hey,
    I am new to BDB and have just started to work with Berkley DB (ver. 5.3.15) using the Linux C API.
    I set up a simple Recno DB which is populated with sequential keys 1,2,3….100. DB Records are in variable length size, although, I am limiting them to a max size.
    Below are the environment and DB open flags I am using:
    dbenv->open(dbenv, DB_HOME_DIR, DB_SYSTEM_MEM | DB_INIT_LOCK | DB_CREATE | DB_INIT_MPOOL, 0)
    dbp->open(dbp, NULL, NULL,DATABASE_NAME, DB_RECNO, DB_CREATE, 0664))
    Single record get/put or using cursor to iterate over the all DB works well.
    However, I would like to retrieve multiple records in a single get call.
    These records can be non-sequential.
    For example, retrieving 3 records with the keys 4,89,90. I prefer the bulk buffer to be as minimal as possible (avoiding stack or heap unnecessary memory allocation).
    I was reading and saw few examples about using bulk retrieval. Though, I couldn’t find any example for racno bulk get on multiple specified keys.
    From what I figured out till now, it seems that I should use:
    Get flags: DB_SET_RECNO, DB_MULTIPLE_KEY. And the macros: DB_MULTIPLE_INIT and DB_MULTIPLE_RECNO_NEXT to iterate over a bulk buffer received.
    But, I couldn’t figure it out where and how I should specify the list of Keys.
    Beside, the BDB man says: "For DB_SET_RECNO to be specified, the underlying database must be of type Btree, and it must have been created with the DB_RECNUM flag."
    Does the BDB open with DB_RECNO flag imply that the underlying database is Btree? If creating Btree instead of recno, wouldn’t I loss access performances?
    I would appreciate if anyone could supply some guidelines or an example which will assist me to figure it out how to retrieve multiple key/data pairs from a recno DB.
    Thanks in advance
    Kimel

    I am checking the BDB to see if it can suit my needs (mostly performance wise).
    It should work on a simple home router device and should hold router runtime information (static/dynamic).
    This information should be accessible for process in the system which can write or read the device info.
    The DB is not require to be persistent and is recreated every reboot (memory only).
    I believe the DB will hold not more then 200 parameters at max.
    DB access rate is around 30 records per sec (write/read)...
    Currently, I think of either BDB or maybe just use a normal Linux shared memory (random access + semaphore).
    Cons and pros to each...
    If I choose BDB, I will use the in memory DB and recno due to access performance considerations.
    Getting back to my question, I would like to be able to read a list of parameters in a single get call.
    In order to use recno, I will give every parameter a unique id (1 - ip, 2 - subnet , 3 - default gateway).
    e.g: ip , subnet , default gateway. (get keys 1,2,3)
    Hope you have the relevant info.
    Thanks

  • Multiple list data in SSRS reports.

    Dear All,
    I have develop simple SSRS report using SharePoint 2010 list.
    While creating SSRS report it's not allowing to select multiple list.
    How we can take multiple list data in SSRS report just like JOIN query?
    Thanks,
    Harish Patil

    Hi Harish Patil ,
    By default, a data region (table) may only reference one dataset,
    not two, making the combination of two datasets into a single table not possible in SQL Server 2008 R2. But, in production, sites using: dataviews, reports based on SharePoint List connection type, reports based
    on SQL Views of the SharePoint database and sites using bespoke/third-party charting web parts, all of these Report Mechanism are available for displaying the multiple list data.
    For more detail information, you can refer to the blogs:
    Reporting From SharePoint Lists and
    Step by Step: Consuming SharePoint 2010 Lists Data in the SSRS 2008 R2 Reports.
    And, SharePoint List Association Manager (SLAM)
    allows us to define relationships (one to one, one to many, many to many) between SharePoint lists (or Content Types) and then leverage those relationships in web parts or custom field types using familiar and straight forward SQL queries.
    Also,Enesys
    RS Data Extension is a Microsoft SQL Server Reporting Service Extension that lets us build reports from SharePoint lists data.
    Hope this helps!
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Which of the following is required for multiple Company Codes assigned to s

    Which of the following is required for multiple Company Codes assigned to same Company ?                                   
    Same Chart of Accounts                                   
    Same Currency                                   
    Same Fiscal Year

    hi,
    if multiple companies are dependent on each other then you have to follow the below as same for all companies.
    Same CoA
    Same ItemMaster Data
    Same WareHouses
    Same BP Master Data
    Same Currency
    same fiscal year
    and few more master datas which ever necessary.
    if they are independant on each other then no need to maintain the same codes.
    regards,
    varma

  • Deleting Non Company Data

    Hello SAP Techies,
    I have to delete a huge volume of SAP data which exists from the last partner of the client.
    The data consists of Business Partners, Employees, orders, products, prices of the products.
    Kindly suggest what measures can be take to delete this data and what can be right procedure.
    How can i check the impact.
    Kindly suggest some reports also if possible.
    Thanks in Advance.
    Jatin

    Please anyone suggest over this to delete the Non Company Data from SAP Database.

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

Maybe you are looking for

  • Applications won't open after update to iTunes and QuickTime

    I just allowed a software update for iTunes and QuickTime. After rebooting, I found that the Finder will not start, nor Mail nor most other applications. TextEdit will start, which gives me the Menu bar so I can switch users, but all users have the s

  • Problem about put and get

    hi there, I met a problem, when i put the data, and get it. key data aaa aaaaaa bbb bbbbbb ccc cccccc I have put "aaa", "bbb" and "ccc" into db, but when I try to get the key for "aaa" , "bbb", it return the data "cccccc", how can I solve it? after t

  • Creating Slide Show problems in Elements 10

    I have Photoshop elements 10. I started to create a slide show: so selected the photos, then the show preferences from the dialogue box but when I clicked OK the Slide Show editor dialogue box did NOT appear and everything froze.  the only way out wa

  • Debbuging in back gorund mode

    hi , when i am debugging report in back ground i need to enter endless loop code in the program where i need to start debugging. how to enter the code in debugging mode and what is the use of that.

  • FBL3N screen layout is in disable

    Dear Experts , Can you tell me in TC FBL3N , screen layout ikon shows disable , how i can make  enable tell how this  screen layout settings locked and unlocked for newly create screen layout Thanks Bhaskar