Getting wrong values in User Defined Fields

Hi Experts,
I am facing strange error while developing addon, my scenario is like below
1. Created .srf form which has 3 text box, 3rd text box does calculation(Subtraction) of other two.
2. For example 1st textbox has value 5000 and 2nd text box has 1000 but the value showing in 3rd textbox is 4999.
3. while debugging the code , values are coming properly in to variable. but after assigning it to the textbox values are not rite.
IMP NOTE:
      Same code is working fine in one machine (windows server 2008r,64-bit) but not working in other machine(windows server 2008r,64-bit)
same problem has been faced in windows 8 system also.
It would be very helpfull if anybody tells what might be the problem.
Thanks

Hi Parvatha,
Thanks for reply also sorry for confusion.,  here i made some changes in code and getting same error
  If pVal.EventType = SAPbouiCOM.BoEventTypes.et_LOST_FOCUS And pVal.ItemUID = "matItems" Then
                        oEdit1 = oForm.Items.Item("txtToWt").Specific
                        oMatrix = oForm.Items.Item("matItems").Specific
                        Dim sum As Double = 0.0
                        For k As Integer = 1 To oMatrix.VisualRowCount
                            oEdit = oMatrix.Columns.Item("colBndwt").Cells.Item(k).Specific
                            Dim qt As Double = oEdit.Value
                           sum = sum + qt                    // Here getting right value
                            oEdit1.Value = sum             // Not showing right value
                        Next
                    End If
NOTE: I've checked same source in 2 different machines it is working fine (earlier code also). only i am getting error in specific machine in client place.
if any issue with operating system? or any settings?
thanks
M G

Similar Messages

  • 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

  • QE71 -F4 Values for user defined fields in inspection points

    Hi,
    I have used QAPP_CUST_IP_F4 function module to list F4 values in Inspection points and QAPP_CUST_IP_CHECK for validation of those user fields.
    When configured for an inspection point, these modules are working fine when we use in QA32 and QE51n. But when we use QE71, the FM's does not getting called.
    Is there any configuration needed to make them work in QE71?
    Regards,
    Sriram

    Same kind of issue we have faced in one of my implementation ie when we used to do the RR through QA32 system allows us to show the F4 which is assigned for that inspection point. But same F4 help was not working during rr through QE71.
    For this issue we haven't applied any note by debugging in QE71 fixing call function he done some changes in the assigned FM
    after that its appered in QE71 100% it will flow in QE71 also without NOTE.
    Check with abaper
    Link: QE71 - verifiying user fields and providing lists of values

  • Batch Input for user defined fields (SRM 4.0)

    Hello.
    Now in my project,we are developping Batch Input function about PO,CONF in SRM 4.0.
    and in this time, we will use over 20 user defined fields.so we have to enter the value to user defined fields by using Batch Input function.
    But if we will enter over the 10 value for user defined fields,we have to scroll the screen.
    How do I scroll in SRM?(What's the command to scroll in SRM)
    Regards
    Ogiwara

    better lock the user since he may some business documnt open and you can not proceed further.
    br
    muthu

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

  • 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 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 does not get added into database

    Hello Experts
                              User defined fields does not get added into database , when i click add button it
    shows data added sucessfully , but when i check data base no entry is made , only entry is made for
    B1 fields , like DocEntry ,DocNum etc.., no entry is made for U_fields..
    I have check every thing databound is also set to true
    Actually first few 6 data was added properly but now its not geeting added for user fields
    I have used 2 document row  child table for 2 matrix and for remaining Document table
    What might be the problem
    reply soon
    plz suggest

    Hello sir
    I have checked Default form , in that entry is made into database
    but running the form in screen painter in preview mode or through coding it does not get added for user field
    this id my binding code
    LoadFromXML("updateopd.srf")
                oForm = SBO_Application.Forms.Item("updopd")
                oForm.DataBrowser.BrowseBy = "txtpatid"
                'Adding combo in Obervation
                oItem = oForm.Items.Item("txtpatid")
                oEdit2 = oItem.Specific()
                oEdit2.DataBind.SetBound(True, "@UPDATE", "U_PID")
                oItem = oForm.Items.Item("txtmnane")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_FName")
                oItem = oForm.Items.Item("txtlname")
                oEdit3 = oItem.Specific()
                oEdit3.DataBind.SetBound(True, "@UPDATE", "U_LName")
    Plz suggest

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

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

  • 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

  • User-defined field - get error message F5394, in FB50 and FB50L

    Hi All,
    I am having trouble with a User-defined field.
    The field is shown in FB50 and FB50L. And the field is optional for all Field status variants i OBC4.
    Still I get error message F5394 "An entry field is not permitted for account 19310"
    Is there anything I have missed?
    Thanks for your help
    Best Regards
    Carin

    Hello,
    Can you also check the field status in OB41.
    Regards,
    Ravi

  • 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

Maybe you are looking for

  • Link Aggreagation, Speed and poor performance

    I have two new servers: Win2012 4 NICs using standard NIC teaming and The WIn2012 is a dual Quad XEON, 32 GB of RAM  with nothing installed besides the O.S., Dell R720XD and Win2008R2 - 4 NICs using Broadcom NIC Teaming and The WIn2008 R2 is a Quad X

  • I accidentally deleted a movie off of imovie i do not know how to get it back please help

    I accidentally deleted a movie project off of imovie and it went to the trash i do not know how to get it back i have tried putting it back through the imovie icon but it did not work please help!

  • Filter option in Report Painter GRR1

    Dear Experts, I have created a report using the the T code: GRR1. The layout is as follows Expenditure Department A Department B Department C Department D Department E Power & Fuel Other expenses Each department having 20 cost centers. I have created

  • Display Process Name in Form

    Hi, I have created one process with form scenario, i want to display the process name in my adobe form which i have created and i need the bind in form scenario Is there any ASR data element there?..for displaying process name in adobe form. Cheers,

  • Imac takes 10 min to boot. (most of the times it dosnt even boot!!!)

    Yesterday night my imac took 10 min to boot getting stuck at each phase !! left it for the night and turned it on in the morning to find it booting in less than 30 sec !! after which in the afternoon it took 10 min again nd then failed to even boot ,