User defined field values

Hi,
i Created an add-on on VB.net code.I have an user defined field.when i try to COPY TO Return or A/R Invoice the user defined field value is not pushing into the field.
could you help me .
Thanks
Ravi

Hi Ravi
if it is a document header  level
oForm = SBO_Application.Forms.ActiveForm
            oItem = oForm.Items.Item("uf_id")
            oEdit = oItem.Specific
            oEdit.Value = "value"
       OR
it is a document row level
oForm = SBO_Application.Forms.ActiveForm
        oItem = oForm.Items.Item("38")
        POMat = oItem.Specific
POMat.Columns.Item("UF_id").Cells.Item(i).Specific.value ="value"
try this it will workout
vijju

Similar Messages

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

  • User-defined fields in cost calculation

    Hi, I'm working with process order in customer service process.
    I would like to make a cost precalculation based on a user-defined field.
    To let you know.
    I created a new user-defined field.
    I affected to it a new parameter ID so that this user-defined field value can be used in formulas.
    I created a new formula with my parameter ID.
    This is allowed for costs.
    Now in my work center I defined these data for costing
    price for pre calculation is defined for IN9020 and cost center.
    Now in my service order I fill the required field.
    I would have thought that according to formula, SAP would use this value (6 PC through the formula) to calculate costs.
    This is not the case.
    Did anybody already use this?
    Regards
    Olivier

    Dear Maniaba
    We have used user fields in task list to capture quantity in terms of nos & its weight for each operation. This we used as a work around to capture the repair jobs quantity & tonnage. While mapping repair of a particular machine with out any reference to material(that is we have not created them as serialised material as in the case of refurbishment) we have created task list for its repair and user wanted to capture the quantity of repair (say how many & also its weight) so we have maintained the tonnage per 1 no in these fields. later when order is being created user selects the task list & changes the quantity field then we have developed report where we calculate the total tonnage of that job & also no of items repaired.
    Regards
    S P Behera

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

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

  • Multi Value User Defined field on OIM user form

    Hi Everyone,
    I have a requirement where i need to assign multiple resources to user as per access policy. These resources should be assign by virtue of some role (custom attribute as of now). The specific requirement is that one user may have multiple roles (and hence resources) and all these values should capture in any user defined field. As the requirement contains multiple Roles so we have to create multi-value user defined field for User form to capture all these role values under single attribute. Does OIM provides any such multi-value field OOTB (lookup, drop down--any customize way we can make them multivalue)?

    He's right. Multi Valued attributes on the User Profile are not available in OIM. If you want to do this, and you have a finite number of possible roles, you can create UDFs for each and map a checkbox or something to it if the user has that value. Then base your acccess policies off those.
    -Kevin

  • User Defined field and User defined values.

    Curently testing this in the demo database before rolling it out to a customer.
    I added a user defined field to my item master data base called Lengthcm of type Amount.
    I have created a query:
    SELECT u_lengthcm = CASE
                      WHEN $[oitm.blen1unit] = 5 THEN $[oitm.blength1] * 2.54
                      WHEN $[oitm.blen1unit] = 6 THEN $[oitm.blength1] * 2.54 * 12
                      ELSE 0 END
    Length unit 5 is inches and length unit 6 is feet.
    In Item Maintenance then I create a user defined value for the lengthcm field linked to the query and set to auto-update when the blength1 field changes.
    This works perfectly for 1 inch through 9 inches (1" through 9") and fills in the centimeter value. When I put in a value in feet (1', 2'), it does nothing and if I put in any value of 10" or greater gives an error message:
    [Microsoft][SQL Server Native Client 10.0][SQL Server] Arithmetic overflow error
    converting nvarchar to data type numeric. 'Received Alerts' (OAIB).
    Checking database structure back end, blen1unit is of type small int, blength1 is numeric of size 19, 6 and so is my lengthcm field.
    Edited by: Danielle Ostach on Mar 18, 2011 8:18 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:19 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:20 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM
    Edited by: Danielle Ostach on Mar 18, 2011 8:21 PM

    Hi Danielle ,
    Try this...
    SELECT u_lengthcm = CASE
                      WHEN $[oitm.blen1unit] = 5 THEN (cast(($[oitm.blen1unit]) as decimal(19,6)))  * 2.54
                      WHEN $[oitm.blen1unit] = 6 THEN (cast(($[oitm.blen1unit]) as decimal(19,6)))  * 2.54 * 12
                      ELSE 0 END
    Regards,
    Sachin

  • DI_Inability to enter value in user defined field: Hour

    I am using SAP Business One 2007 A PL15, and I seem to be experiencing the same issue described in these two support notes:
    1086704 [DI_Inability to enter value in user defined field: Hour|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001086704]
    1016731 [DI_Inability to enter value to Hour User Defined Field|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E&note_numm=0001016731]
    However, they are for SAP 2005 and say that the issue should be fixed.
    Does anyone have any insight into whether these issues have been fixed in a more recent patch of SAP 2007?
    Thank you in advance.
    Mike

    Dear Mike,
    By check the Related Notes,  the issue in SAP Note 1086704 is fixed on SAP Business One 2005 A SP01 Patch 32 and the issue in SAP Note 1016731 is fixed on SAP Business One 2005 A SP01 Patch 29.
    If your issue is same as the Notes then it should be fixed in a more recent patch of SAP 2007.
    Best Regards
    Jane Jing
    SAP Business One Forums team

  • Retreve current form value in user define field

    Hi,
    I got a questions, please help.
    I want to retrieve values in current form, like the quantity and discount in Sales order, into a user define field with formatted search, is it possible?
    Many Thanks!
    Paddy

    This is the Syntax of FOrmatted Search Query. This syntax will work only with SBO.
    $[$38.11.0]
    38 Represents the Matrix(Table) in a Marketing Document
    11 Represents the Quantity Field in the Matrix
    0 Represents the Number Format.
    Place your Cursor on the Matrix and Press CTL + SHFT + D, you'll find the Column information in the Left side of the Status Bar

  • SRM User defined fields -- can not input values

    Hi,
    We are using SRM 4.0. I have created a user defined field at the PO header according to note 672960. But I can not input anything to this field.
    This is what I did:
    1. in both structures INCL_EEW_PD_HEADER_CSF and INCL_EEW_PD_HEADER_CSF_PO add the append structure with the new field ZZCONTRACT.
    2. in BADI BBP_CUF_BADI_2 created an implementation Z_BBP_CUF_BADI_2. In method MODIFY_SCREEN set: xdisplay = 'X' and xinput = 'X' for this new field.
    This new field showed up in SRM, but it is greyed out. I can not type in anything. Could anyone tell me what I did wrong or what I have missing? Thanks a lot!

    hi,
      If you can see the custom fields,the problem is with the BADi implementation.You can write something like this in the method for the PO cust fields:
    IF iv_doc_type = 'BUS2201'.
      *Hide all customer fields
    *Will change this coding if any other document type needs
    *customer fields
          LOOP AT et_fields INTO wa_et_fields.
            wa_et_fields-xdisplay = 'X'.
            MODIFY et_fields FROM wa_et_fields.
          ENDLOOP.
         ENDIF.
    Save and activate the implementation.
    HTH.
    BR,
    Disha.
    Pls reward points for useful answers.

  • 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 assignment  in Contact object

    Good Day
    Experts:
    I guess this might apply to all SAP Business Objects.  Specifically, I am working with the oContact object.  A User-defined field has been added to the OCLG table.  I need to populate the field with the current logged on User.  I see that I can do the following with the intellisense but I am not sure where to go from here.
    vContact.UserFields.Fields.Item
    I tried but I get a message "Expression is a value and therefor cannot be the target of an assigment:
    vContact.UserFields.Fields.Item("U_Creator") = (GetUserCodeSess(g_B1Connection.Company.UserName))
    It feels like I should be able to set the User-defined variable through the object but I don't think I am doing it correctly.
    Any helpful hints?
    Thanks,
    Ed

    Hi Robert,
    I think the only supported way is to give full rights to the users and block changing field in the Item Master Data form through your addon.
    A non supported way is to use a query to update the item master fields
    Regards
    Ad

  • User Table Key set up in User defined field management

    Dear  Expert,
    what is use of User Table Key set up in User defined field management in SAP B1.
    Thanks.
    Sridharan.R
    Edited by: Sridharan.R on Oct 4, 2011 8:26 AM

    Hi,
    Once a UDF is created and a value is entered in it, the same cannot be retrieved in any of the layouts and reports unless a Key is generated for that UDF. By assigning a Key to that UDF, the same UDF can be used in Crystal Reports or any other Reporting tool to extract its values from SAP. These reporting tools searches the Uniqueness of the UDF Values with this Keys only.
    For eg.: When you develop a report and select a table from which you need the fields to be shown in the layout. In that, the only fields whose keys are generated are only available to use in the report.
    Hope its clear to you.
    Regards,
    Papil

  • Want to add a prepopulated User defined field in create user form

    Hi,
    I have an entity adapter which will perform a pre-insert check on the user group of the user logged in to the oim.
    If the logged in user belongs to a group say "IT ADMIN", another validation check will be imposed on the create user action performed by him.
    If not from "IT ADMIN" group then create user action will be handled normally.
    Now the catch is, how would I determine the group name of the user logged in from the adapter code I have written?
    I decided to keep an User defined field "Created by" in the create user form which will be non-editable and auto-prepopulated with the group name of the logged in user. This way I will be able to map the variable field from the User definition drop down list while mapping the adapter variables.
    May you please guide me how I can achieve this?
    Would highly appreciate suggestion/inputs.

    Thanks for all your replies!
    However I am still in dark.
    I tried to retrieve the groupname using tcUSerOperationsIntf. But iit tries to retrieve the group name of the user getting created.
    Please note, the group name I want is not of the user yet to get created, but that of the user creating it i.e., the logged in user.
    My requirement is to have this created_by field in the create user form already prepopulated with the group name of the logged in user.
    So that I can put a check based on this field value in the netity adapter.
    If the group is IT ADMIN then proceed with the validation.
    Else no validation required.
    In short, I want to know,how can I auto-prepopulate a UDF in Create USer form?

Maybe you are looking for