How do I create new user table in program and then access it?

I am writing an application where I check for the existence of user objects when the add on starts and run the setup if the objects do not exist. I can create the user tables and fields but after the setup completes these objects still are not visible.
If the user objects exist when the add on is first run everything is detected correctly.
When a user object is added in SAP the user is eventually prompted to restart so I suspect something needs to happen prior to the add on being able to use the new fields.
Does the add on need to wait for the DI Server to perform some action? Do I need to just quit the add on's class and rerun it, disconnect and reconnect to the company, or get a new Application and/or company object?
What I want to do is figure out a way for the add on to automatically run the configuration if the user tables and fields do not exist yet and then kick off the regular add on code. I haven't seen anyone else's code so I don't know what is recommended or required here.
Thanks for any assistance!

I found that the add on can validate the existance of the user fields if I disconnect from the company object, set the SAPbouiCOM.Application and SAPbobsCOM.Company objects to null, set the new application, context, and company objects, and reconnect once more.
HOWEVER...
I still have to wait for the client to be restarted manually before I can run any of the form I added to the menu.
So, I'd still like to know what the best practice is here. Should I just exit after setting up the tables and tell the user to restart SAP?

Similar Messages

  • I created new users on my mac and my music, photos, etc. is still on the administrators account. How can I share them with all users?

    I created new users on my mac and my music, photos, etc. are all still on the administrators account. I tried making the other 2 new accounts administrators but that didn't work. How can I share them with all users?

    Read "iTunes: Setting up Home Sharing on your computer."

  • How do you create a user defined functions  UDF and passing a value like a ID to GEt a Value.

    How do you create a user defined functions UDF and passing a
    value like a ID to GEt a Value.
    using a query.
    are there example.
    Thanks

    tons of examples at cflib.org - good place to start, even
    though many
    udfs there are a bit outdated in their code...
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com

  • How to to create new user in Azure AD by using C# programming manually

    Hi 
    I am using MVC 5 with Azure AD.
    I want to create new user in Azure AD by using C# programming manually, I don't want to configure it.
    Suppose I have an application where We have an option to create new user, so how we can write program for it.
    Thanks in advance!!

    Hello,
    Microsoft Azure forums are over here:
    https://social.msdn.microsoft.com/forums/azure/en-US/home
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How can I create new user in such that its entries are stored both in profile server and ldap?

     

    Portal only creates a user profile locally within its native ldap server. Two ways you can approach this is to either write a custom auth module that creates a user in the ldap server at the same time or handle it through replication.

  • How to define a new user in Enterprise manager with Specific access rights?

    Hi,
    I want to create a new user in OEMS 11g who should be able to access only the scheduler jobs section.
    How can this be acheived?

    You can create new administrators via the Setup --> Administrators page
    You can grant certain access rights to targets, you can not however grant priv to only access the job system
    Take a look at http://download.oracle.com/docs/cd/E11857_01/em.111/e14586/security3.htm#sthref235
    Regards
    Rob
    http://oemgc.wordpress.com

  • How to add a new user so it have the same access with restricted usertime

    When i made a new useraccount to my daughter,with restricted usertime,she have probl.to get into the interned.
    How can i make it possible to have the same look on her useraccount as mine as admin.but only with restricted usertime?
    Brgds
    O.Knutsen

    Hi,
    This should be very much possible.
    Please see:
    https://glassfish.dev.java.net/nonav/javaee5/amx/javadoc/index.html
    Once you've got the domain-root, you should traverse and get a named "config",
    using getConfigConfigMap("server-config") method and then get the
    SecurityConfig out of that. Once you get the Security Config, you should get
    the default realm using getDefaultRealm method and then it should be
    possible for you to use addUser.
    Please let me know if it helps.
    Kedar

  • How to set-up new user for 9i OEm and OMS

    Apologies since this is a 10g grid control forum but I wasn't sure where to post these questions..
    I am trying to give a DBA access to our 9i OEM Repository so he can add his servers and databases for monitoring. I know he will need 'SELECT ANY DICTIONARY' and that I will need to create his user id in the Repo DB with DBA authority. Are there any other roles or privileges that he will need?
    Will I also need to place an agent on each server for the 9i OEM/OMS to discover it? Will the listenere.ora need to have the OEM Repository entries added?
    I searched the OEM Admin Guide but only found info on using the OEM Security Manager which I am not able to access.
    Thanks for your help..
    Sam

    Hang on, you have a 9i OEM OMS setup and you want to give x access to this so x can add targets onto the oms?
    If I've understood you correctly, you do not need to create a database account on the repository. You need to create a user on the OEM9i Console (probably a super admin to add targets is required) for x.
    A 9i or 8i agent is required for the OEM9i OMS to discover the target server and associated databases.
    9i and 8i agents require an entry in the listener.ora on the target server. You do not need an entry where you OEM9i OMS is.
    Download the 9i documentation, all this info is there.

  • Solaris 10 and create new user

    I have got solaris 10, I want to create new user , ( Through command line and GUI), is there any guidline on net shows me step by step how to create user ?
    I had created user, but I could not login through that user, I was able to login as root only.

    I tried many things, but I still could not login, therefore I asked if you can post me some link show me step by step , I reapt step by step how to create new user in Solaris 10,,,,,,,,,,should step by step,,,,,I know how to use: useradd and chown and mkdir in /export/home,,,,,,etc.
    I relly appreciate if there is any link dives details for creating new user, because I could not find.

  • Create New user with ...

    Hi all
    I need to create new user with the following privileges :
    1- access any table data (read only)
    2- access the tables structure (read only)
    3- access the tables relations (read only)
    thanx in advance

    Hi,
    giggs11 wrote:
    I did the following :
    create user youruser identified by yourpassword;
    grant connect to youruser;
    grant SELECT_CATALOG_ROLE to username;
    but I cann't see my tables
    there is no erroExample :-
    Step 1:-
    sql> Conn system/manager@orcl;
    connected.
    step 2:-
    SQL> create user trial identified by trial;
    User created.
    Step 3:-
    SQL> grant connect to trial;
    Grant succeeded.
    SQL>grant SELECT_CATALOG_ROLE to trial;
    Grant succeeded.
    SQL> grant select any table to trial;
    Grant succeeded.
    Step 4:
    SQL> conn trial/trial@orcl;
    Connected.
    SQL> select * from tab;
    no rows selected
    Step 5:
    SQL> select * from scott.dept;
    DEPTNO DNAME LOC
    10 ACCOUNTING NEW YORK
    20 RESEARCH DALLAS
    30 SALES CHICAGO
    40 OPERATIONS BOSTON
    Step 6:
    SQL> desc scott.dept;
    Name Null? Type
    DEPTNO NOT NULL NUMBER(2)
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    you must read about privileges..
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96521/privs.htm
    Regards
    S.Azar
    DBA
    "Question is Unquestionable"
    Edited by: azarmohds on Aug 15, 2009 6:28 AM
    Edited by: azarmohds on Aug 15, 2009 6:32 AM

  • How do I create new photo albums in iphone? why isn't it organized like in the iPad?

    How do I create new photo albums in iphone? why isn't it organized like in the iPad?

    You can't create new albums on the iPad either. The user interface looks different, but the functionality is essentially the same.
    The route is to create new albums on the desktop, and then sync via iTunes.

  • USER  LICENSE TO CREAT NEW USER IDS.

    Hi All,
    I Want to creat the 5 new user ids in production client, but the issue is client requires the new names for the alredy exsting user ids with the same authorizations and roles.
    For this i am going to creat a new user ids and assign the same role and profiles and lock the existing ones. But creating new ids in production client i required to know the LICENSE details.
    Please any one suggest me how to find out the required LICENSE'S are availble are not.what is the process to know the LICENSE details, is there any related sap notes to understand the LICENSE information.
    Regards,
    Reddy V

    In transaction SU01 in the change mode, in personalization tab page, select the row personalization for license administration by double clicking it. The edit personalization data dialog box appears.
    If you can get the user license information to create new user id in transaction SU01 then try License Administration Workbench - Transaction SLAW or LICENSE_ADMIN
    Hope it helps.
    Regards,
    Mona

  • Can't create new users in Administration Services Console

    Hi,
    I am following directions in the Essbase DBA guide for creating new users, as it says you must create a partition user to work with Samppart and Sampeast applications. It tells me to log on to Administration Services Console, go to the Administration Server, and right-click on users to create a new user. However, when I right-click, the option to Create New User is light grey and not clickable, neither is the option to refresh users. Can anyone tell me why I can't create a new user? I am logged in with the username: admin password: password that I set during configuration and that should be the Administrative account.

    Hi,
    What version are you using? If it is 9 then you need to create the user in shared services. I just checked and the option to create a user is greyed out for me too and I am an admin.
    It sounds like you haven't externalised the users which is why the option to do a refresh is not there.
    Thanks,
    Nathan

  • How to create new user for OBIEE presentation service

    Hello Guys
    I now only have 2 users on my OBIEE, demo1, demo2.. Now I'd like to create a new user call A and make this new user able to log on to OBIEE presenation service..
    So I went to the RPD admin tool and created new user there and gave password. It was done online mode and I checked out..
    I am able to login to admin tool with the new user account, but when I go to presentation service, I am not able to see this new user nor would I be able to log on using the new user account..
    So how does this work? If I wanted to create a new user and let it access dashboard, I'd I do it
    Any pointer will be greatly appreciated
    Thanks

    Hi.
    actually there is no option available in presentation service to create user. There you can just delete user and create and delete the groups.
    Anyhow, you said you have created a user in rpd.
    To see this user in answers, you must login into answers with this user once.
    are you able to login with the newly created user?
    (As you said you done the creation of user in online mode, this may not effect to the answers)
    if not, just login with administrator into answers, click on reload server metadata, then log off from there.
    Now, try to login with the new user. You may able to login.
    OR
    just restart your BI Server services.

  • How to create new user with more than one default folder

    hi
    A new user created in OCS has only one default folder(Inbox).
    I want to create new user with customized default folder.
    for example:
    a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
    And also I want to automaticly enable the functions:
    When sending messages, place a copy in Outbox
    Keep message drafts in Draft
    Move deleted messages to Dustbin
    who know that?
    thanks

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

Maybe you are looking for

  • Cisco ASA 5510 - Cisco Client Can Connect To VPN But Can't Ping!

    Hi, I have an ASA 5510 with the configuration below. I have configure the ASA as remote access vpn server with cisco vpn client, my problem now is I can connect but I can't ping. Config ciscoasa# sh run : Saved ASA Version 8.0(3) hostname ciscoasa en

  • How can I stop Microsoft IE renaming .jar files to .zip files?

    I realise this question has been asked before on this forum, but as far as I can tell no answer has yet been posted. If I put a .jar file on my webserver for people to download, later versions of Internet Explorer will rename the file from xxx.jar to

  • Drop shadow causing object transparency

    I'm applying a drop shadow to a photograph. The image seems to get less opaque when I apply the object style. No other effect is applied. Am I losing my mind? For budget issues, I have to use 2 color pages, so the image is grayscale and I'm losing th

  • Question about Depreciation Posting Run

    I Gurus: I have a question about Depreciation Posting Run;  I want to block two active assets for not entry in the Depreciation Posting Run and don´t affected it. I try to blocked the fixed asset in AS06 transaction but de active asset is affected in

  • AEBS not showing up on one MB

    Hi there, A weird one I need help with. We have 3 macs at home and an iPhone that have all been joining mu airport network with no problems since day one. A few days ago my girlfriend's Macbook just stopped seeing our network on her machine. All are