Replicate User Defined Field settings

I'm trying to find a way to copy the UDF settings for all forms of a single user to each user in a company, then to copy all of the these users  and settings onto several databases.
And is supported by SAP.
Any ideas

Nick,
I am hearing for different sources that this Script is not supported and so on. To my knowledge I have used it and it has worked for me.
I will be more than happy to share the script but please test in on a test system before using it on a Production box and also check with SAP (just in case)
Step 1.
Get the User ID and Names of all your system user from the System to start
SQL for the same is
SELECT USERID, U_NAME FROM OUSR
Step 2.
Copy the User Settings of the Source User from the CPRF table to a temp table
SQL for the same is
if exists (select 1 from sysobjects where name = 'temp_settings')
Begin
drop table temp_settings
End
Select * into temp_settings from CPRF where usersign=[Source_UserId\]
Step 3.
Delete the User setting of the target user from the User Setting table (CPRF)
SQL for the same is
Delete from CPRF where usersign = [Target_UserId\]
Step 4.
Update temp table and change user id to Target User id
SQL for the same is
Update temp_settings Set usersign= [Target_UserId\]
Step 5.
Copy the Setting of the Source User stored in the temp table to the User Setting table
SQL for the same is
Insert into CPRF Select * from temp_settings
REMEMBER, Change the [Source_UserId\] and [Target_UserId\] with the UserId's you got from the OUSR table.
If you want to copy the Source settings to more than One User then just repeat STEP 3, STEP 4 and STEP 5 and change the Target User Id
Let me know if you need any further help on this
<font Color="Red"> You can use the Copy express Add-on from SAP to Copy these user display settings from one DB to another
</font>
Suda

Similar Messages

  • User Defined Fields Settings changed automatically.

    Hello Experts
    I have 5 users.
    And to that 5 users , User Defined Fields Settings have been applied.
    That user defined fields are having categories.
    UDF settings are applied according to Category.
    But every now and then that user defined fields settings are changing automatically.
    Means some times the field appears & some times not.
    How to overcome this situation.
    Regards
    Krishna Vamsi

    Hi
    Please go through the below link for the note 1304025
    https://websmp230.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=1304025
    Regards
    Shamseer

  • Assign category of user defined field to different user

    hi to all on forum,
    please help me to find the solution of this query
    i had created several UDF  and set them in different category as setting is there for user defined field. now i am getting different different user defined field in different category ,
    now i want to set this different category of user defined field to different user .can we do it in SAP B1
    like category---- general , cat1, cat2,
    user --- Ram , Vipul
    i want to assign cat 1 to ram and and cat 2 to Vipul   so that with the document ram will see only UDF of cat1 and Vipul will see UDF of Cat 2.
    hope for  response
    with best regards
    vikas

    Vikas,
    You can do it for each user by assigning a category
    to each of user defined field by setting visible tick mark.
    Tools>User Defined Fields>Settings
    Jeyakanthan

  • User Defined Fields greyed out for one user

    Hi Experts,
    One of our users is a Super User but on the Business Partner Master Data screen, the User Defined Fields are greyed out.
    This is user specific as the issue is happening for the same user on 2 seperate PCs.
    Other users can update these UDFs - any suggestions?
    Thanks
    Greig

    Hi
    take a look at this SAP Note :
    Cannot access settings for the user defined fields
    Symptom
    Cannot access settings for the User Defined Field(UDF)
    Other terms
    UDF, user defined field, sbo-udf, settings for UDF are inactive, the settings for the udf are greyed out.
    Reason and Prerequisites
    Need to use the Settings option to order the udf.
    In Tools -> User Defined fields -> Settings the option 'Settings' is greyed out and inactive.
    Solution
    If in Tools -> User Defined fields -> settings and this option is not available then return to the document and click anywhere in the main document window.
    Now return to Tools -> User Defined fields -> settings and this option will now be active.

  • SBO crashes on changing user defined field setting for a form

    Hi,
    when i try to change the user defined field settings(Tools->User-Defined Fields->Settings) for a form, say Sales order form, on clicking on OK button SBO crashes displaying runtime error messagebox.
    This happens only when my addon is running.
    Anyone encounter this behavior?
    Thanks,
    Satish.

    Hi Barend,
    I have put in the filters.The form 38(user-defined fields settings form) is not included in the filters.So it should not get any events. I get the following error
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program ..m Files\SAP Manage\SAP Business One\SAP Business One.exe
    This application has requested the runtime to terminate it in an unusual way.Please contact the application's support team for more information.
    Thanks,
    Satish.

  • User-Defined Fields and Form Settings

    I have a User-Defined Field in the table "OCLG" and I'd like to show it in the "Activities Overview for Business Partner - xxx" window.
    Is possibile to do that by the "Form Settings" window? Here I don't find U-D Fields. Is there a way to show them?
    Or is there an other solution?

    Hi,
    This report is hardcoded. You need to create your own report for it. Better by Crystal Report.
    Thanks,
    Gordon

  • Error -5002 when adding linked user defined field using DI API

    Hello,
    When I try to add a linked user defined field using DI API I get the error number -5002 with description:
    "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values"
    I Get the error when I use the Add method.
    What is the solution for this problem? I use SBO 2005 A SP1 Patch 18
    The code I use is (.NET C# 2.0):
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Memo;
    uf.SubType = SAPbobsCOM.BoFldSubTypes.st_Link;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    Regards,
    Jeffrey

    Hi Jeffrey,
    Your code above does not match the settings you are using in the UI. In particular, the type and subtype you are setting in code are not correct.
    To create the UDF via code, set the field types as follows:
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Alpha;
    uf.EditSize = 8;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    There's no need to set the SubType property as you require a regular alphanumeric field.
    Kind Regards,
    Owen

  • User defined field in routing screen

    Hi, we have to define 7 activiteies as std activities under work center. as you know we can define 6 parameters only in work center. pls advise can we define 7th activity by using user defined field in ca02 screen. pls advise how to make the settings?

    Dear,
    Please refer this link,
    standard value key
    Regards,
    R.Brahmankar

  • Validating User Defined Fields on the OIM User Object

    Hello everyone,
    I'm currently using the OIM 11g, and am curious how to provide data validation for user defined fields.
    We currently have two user-defined fields for day of birth and month of birth, which have been set to required, but I would like to take this a step further and actually validate that the data being entered is numerical (two characters max), and if it's not, a red box appears around the field notifying the admin that the entry needs to fit the expected criteria.
    One example already in OIM is that of the email field. It appears to be using a regex to identify that data entered is of a certain format.
    Can anyone here point me in the direction of some proper documentation so that I may learn how to incorporate this into my environment? Thanks!

    Hi Kate,
    The only way to do it, is with Form Settings. Do not give them authorisations on Form Settings. You can then untick the "Active" tick box on certain fields and tick it on others. This can then be done, when you log on as the user him/herself.
    Regards
    Carin

  • User defined field not appering on web for PO

    Hi,
    I have created One custom defined field for Purchase Order Herder level
    As per specified in Note 672960
    I have included in following structure :
    INCL_EEW_PD_HEADER_CSF
    INCL_EEW_PD_HEADER_CSF_PO
    The user defined field appering in Function Module of BBP_PD_PO_GETDETAIL but its not appearing on SRM screen while on click on Process Purcjase Order and create from there.
    I have checked in transaction there also not appering .
    No Screen variant  screen variant defined for that .
    Can anybody help me on this issue .
    Thanks,
    SS

    Hi
    <b>Have you published all the respective HTML templates of the Internet service in this case. ?</b>
    <u>Use transaction SE80 -> Select the drop-down option as Internet service. Give the service name - say BBP_POC (or your service name) in the left hand corner of the screen.
    open the respective template screens and
    Right click on the service to activate it on the proper Intenet site (Internal or any other sites defined in your case).</u>
    <b>Detailed steps to check out (this is a general check-list)</b>
    <u>When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Deafult host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transactuon server-->test service/Publish.
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (TA SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.</u>
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

  • User Defined Field as a Link

    Hi All.
    I have an issue I need clearing up with.
    We have created a user defined field in the Item Master data..
    This field is a link to an image.
    the location/path is different from the default image folder specified under the genreal settings window.
    The picture does not appear when you click on the link in the user defined field, we have discovered that the folder give a permission denied message when trying to access it over the network.
    Could this be the reason the picture does not show?
    Thanks
    Jerusha

    You should have Full Permissions to the 'B1_SHR' folder in your Server, so that this problem will not occur.

  • User defined field not visible "Conditions" tab

    I have created a user-defined field Z_E_PREIS that I want to use as a result-type of user field in condition table. When using a condition record that has this field, the field is not visible inthe "Conditions" tab of the transaction item. Why is that?
    Customizing activities done:
    - data element Z_E_PREIS (CHAR10) created with SE11
    - field catalog: field name "Z_E_PREIS" created in "Fields NotContained" tab, referring to data element Z_E_PREIS
    - BAdI /SAPCND/ROLLNAME activated for this field, for contexts CONTRACTand PRODUCT
    - condition table CUS9051 four fields:o search fields: sales org., distr.ch. and producto result field: Z_E_PREIS
    - access sequence Z951 with the fields from cond.tbl CUS9051- condition type ZZ51 using access sequence Z951, manual maintenanceallowed- pricing procedure ZZ901 with one condition type: ZZ51
    - determination of pricing procedure: sales org. 50004458 -distr.ch.01 - doc.pr.proc.Z
    - customer pr.proc. 1 => ZZ901
    - created transaction type ZF12 (doc.pr.proc Z) and item category ZV12and item category determination
    Master Data maintenance:
    - created condition maintenance group ZPRODCRM: added condition typeZZ51
    - condition maintenance group ZPRODCRM assigned to application CRM inMaster Data
    -> Products -> Special Settings for Sales Operations- created product ZTEST3, item category group U001, distributionchain "Rel Three - 01"
    - in ZTEST3, created three condition records for ZZ51 (sequential 2-week periods). User field Z_E_PREIS "Price Key" maintained for each of them.
    Best regards, Anders

    Hi Raja,
    Prior to trying Gordons option of unmarking and remarking them i would suggest you do a little more investigation as this can potentially change the field names in XL report and if you have any reports using them they may stop working (it can add a post fix of _1).
    Firstly, what are the fields set as in the User Defined Fields window in XL reporter?  Light Dimensions, Dimension Attribute or Measure?  If its a Dimension Attribute for example on the Business Partner UDF, it will not be visible in the tab section but should be shown if you drag and drop the Business Partner dimension in the report, then right click and choose display more attributes (dimension attribute UDFs will be in this list).  Light Dimensions and Measures should appear in the tabs.
    If they are set as a light dimension or measure and are not in the tab section, has this only just started happening or have they never been visible?  If its just started happening, having you recently upgraded to a new patch?  If so, in future you need to run a script on the Company and Common database prior to the patch upgrade.  If you did not run these scripts you will need to do Gordons solution but as I say, if any reports have UDFs in these may not work after and you will have to manually edit them.
    Regards,
    Adrian

  • About Setting - User Defined Fields

    Hi everyone:
    Well let me introduce a little of what i've been doing, at first i had this addon running just to satisfy some clients requirements, but now the requirements are different from one to another so i need to build an standard of it, for that do you know where or which is the table that saves the information contained on the form Settings- User Defined Fields? (for an specific form) where i found how the categories (CUDC) are settled to the _User fields of every form etc.
    hope anyone knows about this.
    thanks a lot
    Gabriela

    Hi
    Look at table CUFD and UFD1 for the info you are looking for.
    Hope this helps

  • Set Rights to User defined Field

    Dear All,
    I have created a User Defined Field Checked. Where Yes and NO flag can be selected.I want that the flag is selected only by User A.How can i assure this.
    Kindly Suggest.
    Merle

    Hi,
    Please refer and follow SAP note:
    1062635 - Can I block a user from having access to Form Settings?
    Thanks & Regards,
    Nagarajan

  • How to provide value to a User Defined field thru java code

    I am using OIM 11.1.1.5.
    I have a user defined field called Unique-Customer-Number. This field need to be pre-populated during user creation (using OIM Web UI) and the value comes from a java code.
    Can any of you tell me the high level steps to implement this.
    Thanks!
    Kabi

    Thanks Rajiv,
    I just followed everything on metalink 1262803.1. My console shows the followings during Metadata import.
    weblogicImportMetadata.bat :-
    Starting import metadata script ....
    Please enter your username :weblogic
    Please enter your password :
    Please enter your server URL [t3://localhost:7001] :t3://10.10.99.99:7001
    Connecting to t3://10.10.99.99:7001 with userid weblogic ...
    Successfully connected to Admin Server 'adm_server01' that belongs to domain 'server01'.
    Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.For more help, use help(domainRuntime)
    Disconnected from weblogic server: adm_eimsdv1s01
    End of importing metadata script ...
    Exiting WebLogic Scripting Tool.
    How I will I know that my plugin/ event-Handler is registered successfully. Is there any screen where I can see all registered plugins ?

Maybe you are looking for

  • Organizer will not load

    PSE 13 Organizer stops loading.  After each reinstall it will work fine for a couple of days then it stops loading, if I reboot the computer it will load again, but only for a day, then stop again and rebooting will not help.  The Organizer shows up

  • Report which gives list of materials

    Hi All, I am about to write a report which gives the list of materials. Foe\r that I want to know the relations between the tables             MARA             MAKT             MARC             MARM             MVKE        Its a little bit urgent Edi

  • Error warning CA Headless. Elements 9

    1) I have Elements 9 Photoshop and Premiere. Installed and worked fine for a year. Now have an intermittent message coming up CA Headless Debug Event. CA Headless has encountered an error ... then file path shown as [:\:\src\Datamanager.cpp-410] Does

  • CS4 wont open, product licensing expired

    I installed AI CS4 as a trial to see if I should buy it. When I try to open it up, a little popup comes up and says "Liscencing for this product has expired.". It wont even open to the main window where I would be able to enter my serial code. I trie

  • Proper routing for lan through verizon private network (GRE) to airlink gateways

    Okay, I give up, and think I have done my due diligence (I have been engrossed and fascinated spending many more hours than allotted to try and learn some of the finer details).  Time for some advice.  My usual trade is controls engineering which gen