Creation of User Defined Fields

Hi all,
i'm developing an add-on on SAP B! and i need to create some user fields.
I've seen that if I create a user field from SAP menu, on document rows, the field is replicated on several table on the DB (watching CUFD table).
If i create the user fields from SDK, using the UserFieldMD object, do i have to specify each table where the field must be created, or there's a way to simulete the beahviour of SAP menu option?
Thanks in advance.
Nick

Thanks Again, GIanluigi, i try to be more explicit.
Let's say that my addon uses the user field U_MYFIELD, so before i start using my addon i have to create this UDF at installation time. The Code i write to create this field is the following:
        ' Sample User Field
        oUserFieldsMD.TableName = "OWHS"
        oUserFieldsMD.Name = "U_MYFIELD"
        oUserFieldsMD.Description = "Sample Field"
        oUserFieldsMD.Type = SAPbobsCOM.BoFieldTypes.db_Alpha
        oUserFieldsMD.EditSize = 2
        '// Adding the Field to the Table
        lRetCode = oUserFieldsMD.Add
        '// Check for errors
        If lRetCode <> 0 Then
            oCompany.GetLastError(lRetCode, sErrMsg)
            If InStr(sErrMsg, "Error Creating Field") = 0 Then
                MsgBox(sErrMsg)
            End If
        End If
So my qustion is: do i have to write code on my addon to call this while installing? Or the B1DE provide this functionality for me?
I can't understand where's the panel you're talking about on B1DE, the first panel of my wizard is a panel where it asks me the path of exe file and the path of uiapi and diapi.

Similar Messages

  • Creation of User defined field in Shopping Cart

    Hi All,
    We are using SRM 4.0, we have requirement to have MRP controller field on basic data screen of shopping cart(for services as well as material). This field will get transferred to R/3, based on which release strategy will get triggred.
    We have table in which we maintain user & his MRP controller. Requirement is that the MRP controller filled should get filled with the table value (in case of shop on behalf, MRP controller should of respective user on whose behalf the SC is being created).
    I know how to create the field. I want to know the flow/logic to achieve this.
    Please give suggestion to me.
    Thanks & Regards,
    Ajay Pakhale
    Edited by: Ajay Pakhale on Jun 10, 2008 7:19 PM

    Re: BBP_CUF_BADI_2
    Re: Custom screen
    Re: badi for custom field check
    Re: Control Busniess Area Field in Account Assignment..
    Re: CUF display or input

  • 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 ?

  • OIM user-defined field lookup

    Hi,
    I've installed OIM connected to OID.
    Now if I want to create a new user-defined (in user creation profile)field say... Job-Band (and populate the drop down for Job-Band with values A,B,C,D... etc.) ,what steps do i need to follow.
    Edited by: Chhavi Saluja on Feb 7, 2010 10:29 PM

    Hi,
    if i understand your question correctly,you want to create a new UDF(user defined field) i the user profile for this you need to cretae a udf from the design console, in your case you need to select the users in the form name as you want to add a field in the profile,.
    Select Lookup in the field type after that click on the Properties there you need to attach the lookup corresponding to this in the Lookup code, for this you need to create a lookup with your values that you want show values. Over here you attach this.
    Hope this helps you
    Regards
    VM

  • Confirmation of User defined fields on CO11N

    Dear All,
    Can anybody tell me how to confirm user defined field during operation confirmation of an order. I have created a user field key and assigned in the operation detail screen in routing. Is it required to include a freely defined screen for CO11N in customizing or any other setting is there.
    Thanks in advance for your valuable inputs.
    Regards,
    Uday Parchure

    <b>Define Customer-Specific Detail Areas for Single Screen Entry</b>The following enhancement is available for production orders:
    CONFPP07 define detail areas for single screen entry
    With this enhancement you can define your own detail areas (screens), which can be issued for single screen entry of time ticket confirmations.
    Enhancement CONFPP07 contains the following enhancement components:
    Function module exits
    EXIT_SAPLCORU_S_100 Transfer data from SAPLCORU_S to customer-defined screen
    EXIT_SAPLCORU_S_101 Return data from customer-defined screen to SAPLCORU_S
    Display documentation
    Screen areas
    Screen areas that you can define yourself are available.
    Activities
    1. Create the enhancement
    To do so, create a new project, or use an existing project.
    2. Activate the project.
    Your enehancement only takes effect after you have activated it.
    Further Notes
    Enhancememnts, as opposed to modifications, are fundamentally independent of releases since they are not made in the SAP original, but in a name space that is reserved for customers.
    you have to create a customer defined screen and attach as in the link. Add the Freely definable detail screen in OPK0.  Confirm the user defined fields.
    Regards
    MSR
    Message was edited by:
            Soundararajan Murugesan
    Message was edited by:
            Soundararajan Murugesan

  • User defined fields in Crystal layout

    Hi All,
    I want to add user defined field values in crystal  layout for Sales order, but its not listed in RDR1 tables there but it's available in SAP query manager view. How can i get that in Crystal reports. please suggest on this.
    Regards
    Sree

    You can then remove the key and the fields in the database will keep their correct definitions rather than varchar(max) which is causing the initial problems.
    Adding extra keys may uause performance issues if you leave them there for a large table.
    I have also had issues of varchar(max) fields causing database connection issues when running the reports in 8.81 PL07.
    Rob

  • Issue while deleting user defined field in oim 11.1.1.3

    All,
    Made a mistake while creating user defined field called "Profile for" (loing to OIM -> advanced -> configuration -> User configuration). We are trying to delete it. It appears to get deleted from user attributes screen. But when we run LDAP User Create and Update Reconciliation Task we get the following error below:
    oracle.iam.ldapsync.exception.ProcessLDAPReconDataException: oracle.iam.ldapsync.exception.ReconEventCreationException: Thor.API.Exceptions.tcAPIException: Profile for - LDAPUser object does not exists for resource object
    Is any thing else need to be deleted adn cleaned up?
    thanks in advance,
    Prasad.

    How do i check what resource object the recon task is running against. here is what i found so far.
    I cannot find LDAPUser resource object when i query Resource Management -> Resource Objects in design console. Same thing with Manage Resource and search (here i only find Xellerate User, Xellerate Organiztion, USERS_GTC, and Installation) in OIM advanced administration menu.
    The LDAP User Create and Update Reconciliation job itself has the following parameters (batch size, last change number, OIM employee type, OIM User organization name, OIM user type)
    I also decompiled LDAPUserChangesReconTask and it is looking for LDAPUser metadata from MDS directly.
    Prasad.

  • User defined field in SD and its link to Value field in COPA (??)

    Dear All,
    We have created one "Z" field i.e. user defined field and its in VBRP Table. This is a quantity field. to update the values in this field we have used an exit in sales and distribution module. Now, by defining this exit values are correctly populated in VPRP table on line item basis.
    Requirement here is we need to get this field in COPA, for same i have carried out the quantity field assignment to value field (KE4M).
    Even after this configuration profitability segment is not updated.
    Regards,
    Sayujya
    Edited by: sayu on Mar 15, 2010 10:13 AM

    In the past I did something similar and had to use function module EXIT_SAPLKEAB_001 in enhancement COPA0002 to populate the field.  To use this exit you'll first need to add a user exit id to your valuation strategy (transaction KE4U).  The help on the function module is pretty good, but if you run into a problem let me know.
    thanks,

  • Adding user defined field in print layout design of Bill of matrial Report

    I want to add "Drawing No" which is user defined field in Bill of Material report need immediate help .

    Hi,
    If you add the UDF in BOM-Title then the UDF will be in OITT table.
    If you add the UDF in BOM-Rows then the UDF will be in ITT1 table.
    You will find BOM-Title or BOM-Rows in Production Module (ie., in User Defined Fields --> Manage User Fields)
    In PLD, You can print the UDF if you search in the above said tables.
    Raja.S

  • How to change the text of a user defined field in dynamic selections?

    Logical Database PSJ is used by t code CJI3 - we added a couple of user fields into the dynamic selections of CJI3.
    Now - how to change the text of this user filed (USR01 of structure PRSP_R in logical database PSJ)?
    Found an OSS note - 86980 - that tells that this is not possible.
    But when we read the documentation on the user field (CJI3 - dynamic selections  - double click on user field - F1), it shows the following text:
    User-defined field in which you can enter general information with a length of up to 20 characters.
    Dependencies
    The names (key words) for  user-defined fields depend on the field key.
    Now the question is where to change the field key..
    Thanks,
    Ven

    Madhu - you did not get the question I think.
    Anyways - I found an OSS note 1266643 - this code change should take care of the issue - it will then reflect the details maintained in custoizng at transaction code OPS1..
    Thanks,

  • User-defined field in existing table

    Hello,
    I would like to know if it is possible to add a user-defined field in an existing table.
    Actually, I would like to add a combobox with other types of partners than vendors, customers and leads and add a user-defined field in the OCRD table.
    Thank you
    Regards,
    Thibault

    Hello,
    Your answers help me a lot !
    My code is working, i.e. when I create a new BP and choose another type in my comboBox, the information is saved.
    When I search a BP who has this type, SAP find the good BP.
    But, I don't see where the data is stored, I don't see anything which make the difference between 2 BP with 2 different types in the OCRD table.
    So, where SAP can make the difference?
    Thank you
    Regards,
    Thibault
    Message was edited by: Thibault Romieu

  • Ceartion of User Defined Field in EXCHANGE RATE AND INDEXES

    Hi Experts,
                     I want to create  User Defined Field in EXCHANGE RATE AND INDEXES.But while creating the UDF from User Defined Field-Management unable to find the table for it.Write now My Client are using SAP B1 2007 Ptach-08.Is there any way out to create user defined field in EXCHANGE RATE AND INDEXES.
    Plz help me out on this issue.
    with regards,
    Pankaj K and Kamlesh N

    Pankaj,
    When you do the Manage User Fields area to define a UDF, all the possible areas where UDF's can be created in B1 is listed.  You would be able to create UDF's only on these.
    Suda

  • User defined Field refresh during copying Sales Quotation in SO

    Dear Colleagues,
    We are doing an implementation of B1 2004A PL14. We have defined a few user defined fields (Select fields) and using them in Quotation, SO and Delivery. Now,
    when we create a Quotation and select a value from user-defined selection and then copy this Quotation in SO to create a SO the field value shows up for fraction of second and then clears itself and becomes blank. For some of the fields its working and for others its not even though all of them are defined in the same way.
    This is delaying our go-live. It will be great if we get some suggestions on this.
    Thanks & Regards,
    Manish

    Hi Manish,
    Unfortunately I don't know what might cause your problems.
    I would highly recommend to involve SAP Support to get your problem fixed.
    Sorry,
    Frank

  • User defined field values doesnot show up in summary tab

    Hi,
    I have created my own stylesheet to display some of my user defined field values (associated with organization address book entry type) in the summary tab of the addressbook entry. But Groupwise 8.0 client FAILS to display any of the user defined field values in the summary tab FOR ONLY ORGANIZATION ADDRESSBOOK ENTRY types. NOTE: These organization addressbook entries are created using the C++ Groupwise object API. But the Advanced tab of these organization addressbook entry shows those user defined fields with values in it.
    Also Groupwise 8.0 Client is able to display the user defined field values in the summary tab for the PERSON ADDRESSBOOK ENTRY types, that are created using the Groupwise Object API. Also when I create a Organization addressbook entry using the Groupwise Client (NEW ORGANIZATION) and fill in the user defined field values using the Advanced tab or that addressbook entry, the summary tab displays those user defined field values.
    So there could be some problem in setting the user defined field value for the Organization address book entry using the Object API or it could be Groupwise 8.0 Client issue in displaying the user defined field values ONLY FOR ORGANIZATION ADDRESS BOOK ENTRY, WHICH ARE CREATED USING THE OBJECT API. I also tried to see the underlying XML data in the summary tab and that XML data is missing the USERDEFINEDFIELDS and CATEGORIES tag for the organization address book entry.
    I would like to know, if there is any need for special handling only for Organization addressbook entry in Groupwise 8.0 API. Any thoughts or help is really appreciated.

    Hi,
    Does anyone have an idea?? Think I have the same issue. Except, when I log in the client (ver. 802) then all the info is displayed. But when the user logs in on the same client and the same pc, he sees the xml info except the office address.
    Any help is greatly appreciated!
    Grtz,
    Joost Brenters

  • User defined field insertion problem in Stock Taking Report (PLD)

    We are creating one PLD for one of our customer for Stock Taking Report by modifying the existing sytem report. We will insert two user defined fields (Rack & Bin) from OITW table and link these with the warehouse code field which is at report header as there are different warehouse for the item and material is kept in different rank and bin in different warehouse. But after inserting these fields we found that repetative area becomes blank in the report.
    So please let us know how to overcome this problem.
    Thanks & with regards.
    Aloke
    Edited by: ALOKE BANDYOPADHYAY on Sep 4, 2010 4:42 PM

    Hi Aloke,
    This PLD is one of the hard coded PLD. You are not able to add UDF freely. I believe you may only add UDF from OITM table. Try you own report instead.
    Thanks,
    Gordon

Maybe you are looking for

  • Nokia Ovi Suite 2,2,0,245... bugs anyone??

    This 2,2,0,245  version is an improvement..  Connectivity issues are less likely. More CPU friendly. et many bugs to be still fixed.. I am running an X6  with this version of suite. Gripes Music, It takes hours to transfer my music  that i can transf

  • Need to reinstall windows but don't have any CD - Satellite Pro L20

    Hi, I wanted to reinstall Windows XP home onto my Satellite Pro L20, but don't have any of the software my laptop came with (read lost the disks). I have a valid XP home key (as its stuck on the bottom of my laptop) but no disc so I tired using a cop

  • Error"ordinal 1334 in iml.32.dll"

    Hello! I am almost at the end of my tether! I cannot find how to cure the above, which prevents me from activating some games I have on my PC! I am not a computer buff so am very wary about delving into areas I have little knowledge about! I did try

  • Dynamic if-else rules

    I'm currently working on a rather large program that will simulate the buy and selling of stocks on the stock market. I want to add in the ability to use commissions rates. I plan on using the commission rates from several different banks and let the

  • Having an issue with CS6 pattern maker

    Ive been trying to get a seamess pattern usings a number of different shapes but something keeps stumping me.... I do as all the tutorial say and yet it continally produces faint lines (which i assume are the join lines?) on some of the shapes. How d