Bind Additional User Defined Fields at Fixed Assets

Hi, i already created additional user defined fields at fixed assets table, but i don't know how to bind the fields into edit text. i try to do like below :
otext.DataBind.SetBound(True, "@BA_OAMD", FieldName)
And also when i add a few new edittext at the fixed assets form, the screen will keep blinking during added that object, can i did something to freeze the form ? I already try to freeze the form but doesn't work

Hi Benny,
1. you have to catch the changing of record and then make refresh of your datasource.
Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
        If pVal.MenuUID = "1288" Or pVal.MenuUID = "1289" Or pVal.MenuUID = "1290" Or pVal.MenuUID = "1291" Then
-- refresh of datasource
end if
2. if you need to dont see update after changing value, set to the textbox .AffectsFormMode  = false
If helps you reward points.
Petr

Similar Messages

  • Additional User Defined field in Maintenance Task List

    I wan to add an additional field user field in Maintenance Task List.
    I know It is possible in User Fields.
    But I an not able added user field to Operations that are already there in the maintenance plan.
    The system is allowing me to Add field in New Operations that I am adding the the Task List.
    Thanks
    Sabyasachi

    Hi,
    If I am correct, It is not possible to add user fileds to the operations in the maintenance plan which was copied from the tasklist which is there in the maintenance plan.
    if you required these user fileds goto to change mode in maintenance plan and remove the task list in plan and do necessary changes in the task list and add to plan again. After that you can get userfileds in the opeations as u required with was generated now onwards. It is not possible for the past ones.
    Regards
    Srinivas

  • Binding a Check Box with a User Defined Field

    Hi everyone,
    i v created a user defined field (U_CheckPro)in the system table "OITM" with two values: Y for Yes and N for No. In relation to that i v also created a check box on the form "150" and would like to know how can i bind my checkbox with  my user defined field properly.
    The user would be than able to enable or disable the check box for each item (article). The user setting schould be than be active and valid in sbo-business logic, each time an item is selected. (for example in case of sales order ID 133, "OINV").
    Any helfpul hints? Samples would be welcome as well.
    Thanks and regards
    Alban

    > First of all you should remove the valid values
    > because checkboxes does not work with valid values...
    > Just give a default value.
    Hi Rasmus,
    thank you very much for your helpful hint. I guess my problem is solved by that - nevertheless here is my complete code sequence once again in case of possible errors.
    I would appreciate any additional suggestion for improvement of the same.
    Thanks and regards
    Alban
    >>>
    Private Sub AddItem()
            ' Test UserSource
            oForm.DataSources.UserDataSources.Add("U_CheckPro", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 1)
            oItem = oForm.Items.Item("122")
            ' Adding a Static Text item
            oNewItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oNewItem.Left = oItem.Left + 20
            oNewItem.Width = 100
            oNewItem.Top = oItem.Top + 12
            oNewItem.Height = 25
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.LinkTo = "CheckBox1"
            oStaticText = oNewItem.Specific
            oStaticText.Caption = "Test_Caption"
            ' Adding a Check Box item
            oNewItem = oForm.Items.Add("CheckBox1", SAPbouiCOM.BoFormItemTypes.it_CHECK_BOX)
            oNewItem.Left = oItem.Left
            oNewItem.Width = 20
            oNewItem.Top = oItem.Top + 15
            oNewItem.Height = 19
            oNewItem.FromPane = oItem.FromPane
            oNewItem.ToPane = oItem.ToPane
            oNewItem.DisplayDesc = False
            oCheckBox = oNewItem.Specific
            'binding check box to source
            oCheckBox.DataBind.SetBound(True, "OITM", "U_CheckPro")
        End Sub
    >>>

  • Addition of user defined fields in Results Recording screen (QE01)

    HI All,
    We've a business requirement to add user defined fields in results recording screen (Character Overview screen - QE01), so that the user will enter data in user defined fields during results recording. and the data entered in user defined fields should be saved in data base table along with actual results given by the user in order to retrieve data for reporting purpose.
    Please suggest valuable solutions to acheive the requirement.
    Thanks & regards,
    rajesh

    Hi Sujit,
    Thanks for your reply,
    We've tried using the " QEEM0029 User-Exit for Characteristic Overview Subscreen , however with "QEEM0029"  exit, we are only able to add fields to the characteristics overview screen and there is no provision in this exit to save the data entered in the user fields to a table (QALS,QAMR, QASE).
    Please suggest!
    Thanks & regards,
    rajesh

  • 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 fields via DI-API

    I want to read user defined fields using the DI-API.
    The following code works but lists only UDFs defined for articles:
    SAPbobsCOM.Items item =
    (SAPbobsCOM.Items) GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems);     
    int count = item.UserFields.Fields.Count;
    MessageBox.Show("count == "+anzahl.ToString(), "OK");
    for(int i=0; i<count; i++){
      MessageBox.Show("index == "+i.ToString(), "OK");
      MessageBox.Show("name == "+item.UserFields.Fields.Item(i).Name, "OK");
    If I try to list all UDFs defined in the system using the oUserFields object I get an exception when I assign the business object:
    try{
      SAPbobsCOM.UserFields ufd = (SAPbobsCOM.UserFields)
      GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields); // exception
      int count = ufd.Fields.Count;
    catch(System.Exception ex){
      MessageBox.Show("ex.ToString(), "OK");
    The exception says something like
    InvalidCastException: COM object of type 'System.__ComObject' can not casted into
    interface type SAPbobsCOM.UserFields
    Thank you for help,
    Frank Romeni

    Hi Vítor,
    thank you for the hint to UserFieldsMD - now the access works.
    You wanted to know what I am trying to do - let me explain the background even it is a bit complicated:
    I have to access a certain UDF defined for articles.
    To access this UDF I can't use a fixed index like e.g. '5' in
    item.UserFields.Fields.Item(5).Value
    because this index is 5 only on my local machine - it could be a different index on the target machine.
    I solved this in writing some sql-code to access table CUFD and to find the index of this UDF in CUFD.FieldID.
    But sometimes there is a problem when there are UDFs deleted from the database. It is possible that there are 'holes' between the FieldId of UDFs of one object, e.g.
    Initial entries in CUFD (Table, FieldId, Name  => code to access field):
    OITM 0 'myUDF1'   ==> item.UserFields.Fields.Item(0).Value
    OITM 1 'myUDF2'   ==> item.UserFields.Fields.Item(1).Value
    OITM 2 'myUDF3'   ==> item.UserFields.Fields.Item(2).Value
    After deletion of 'myUDF2':
    OITM 0 'myUDF1'
    OITM 2 'myUDF3'
    Now the access to 'myUDF2' with item.UserFields.Fields.Item(2).Value fails!
    You have to use index '1' in .Item(index) to access 'myUDF2' because this UDF is now the second UDF in the item object (zero based).
    After I realized this I didn't use the sql-code to get FieldID any longer and searched with a loop all existing indices and compared them with the name of my special UDF, e.g. (this code works as expected):
    public int getUDFIndex(string udfName){
      index = -1;
      for(int i=0; i<item.UserFields.Fields.Count; i++{
        if(item.UserFields.Fields.Item(i).Name == udfName){
          index = i;
          break;
      return index;
    Now I tried to make this method more general to find UDFs in any object - not only in item objects.
    This is the background I wanted to access SAPbobsCOM.UserFields for.
    The problem is that UserFieldsMD has no method like Item(index) as I used it in my example.
    Do you have an idea to solve the problem with the 'holes' between FieldId in the UFD-table CUFD?
    Frank Romeni

  • User defined fields in Routing

    Hi to all,
    this is regarding user defined fields,
    I want to enter Tear down time, But already 6 values are there.
    so i created Tear down as user defined field. and i assigned Tear down formula also. (sap_14*operative qty/Base qty),
    sap_14 is the user defined field.
    but there is no change in tear down time in Production order operation details.
    Please Give details to link user defined fields to formulas

    Hi
    You can assign additional formula parameters to the quantity fields in the field key in IMG, with the help of formula parameters you can use the value of the quantity fields in work center formulas.
    In formula parameters for work center (OP17) you should have select origin as '4' user defined field from operation for user defined field
    Regards
    Dev

  • 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

  • User Defined Fields/ XML loading problem

    hai,
    1. i can able to create user defined fields , but i need my fields are in UNIUQE KEY how can i achive through the
    VB Code. ?
    2. I load a XML form but i cant able to make it as fixed single form, or deactivate the minimize / maximaze button , how can i achive it through the VB Code?
    regards
    Thiru

    I don't think you can disable the min max button, but you can just remove them
    The following XML create a form that can't be Resize, maybe it can help you.
    <?xml version="1.0" encoding="UTF-16"?>
    <Application>
      <forms>
        <action type="add">
          <form AutoManaged="0" BorderStyle="6" FormType="60007" ObjectType="-1" SupportedModes="15" appformnumber="" client_height="119" client_width="60" color="0" default_button="" height="121" left="0" mode="1" pane="0" title="Toolbar Like" top="0" type="6" uid="Try" visible="1" width="160">
            <datasources>
              <dbdatasources>
                <action type="add" />
              </dbdatasources>
              <userdatasources>
                <action type="add" />
              </userdatasources>
            </datasources>
            <Menus />
            <items>
              <action type="add">
                <item AffectsFormMode="1" backcolor="-1" description="" disp_desc="0" enabled="1" font_size="0" forecolor="-1" from_pane="0" height="21" left="112" linkto="" right_just="0" supp_zeros="0" tab_order="0" text_style="0" to_pane="0" top="0" type="100" uid="Line1" visible="1" width="1">
                  <AutoManagedAttribute />
                  <specific />
                </item>
              </action>
            </items>
            <FormMenu />
            <DataBrowser />
          </form>
        </action>
      </forms>
    </Application>

  • Requirement related to User Defined Fields

    Hi All,
    I have a requirement wherein I want 5 UDF (User Defined Fields) to be displayed in Create User Form. However, In the View User Profile, I want to have a total of
    10 UDF to be displayed (5 more UDF in addition to UDF's used in Create User Form). The value of these 5 new UDF will come from some other resource ( a
    webservice will return the value of these new 5 UDF) and in the Update User Form, I want to have only 5 UDF to be displayed (same 5 UDF's that are used in
    Create User Form).
    So, need your inputs on whether this can be achieved through OOTB OIM Configuration or it will require Customization (OIM Api's or jsp customization)?
    Regards,
    Sunny Ajmera

    Hi,
    You want to say you have total 10UDFs; 5 you will show on the create user page while on user profile page you want to show all 10UDFs.
    Is it right???
    Then you have to go for jsp customization.
    But you can do one thing by ootb; show all the 10UDFs on the create user make 5 editable in which you want to give any value and make rest 5 as read only.
    You have two options choose what suit best to you.
    Regards
    Alabhya Goel

  • Opening User defined Fields Form via API

    Hi
    Is there a posiibility to open those user defined field - forms via API. If yes is it possible to check if it is already open?
    TIA
    Phile

    Hi,
    In your eventhandler, you can use this:
    Set oSboForm = Sbo_application.Forms.GetFormByTypeAndCount(-pval.FormType, pval.FormTypeCount)
    form and udf-form are linked through a minus sign.
    I do not know of a nice way to check if they are anebled. What I'm currently doing is running the above line of code contained in an error handler. The error handler does a sendkeys of control shift u (which enables the udf-form) and displays a message. Problem is after control shift u, screen is not yet updated so your code cannot continue immediatelly. Development knows of this problem, but I never received a promise when this will be fixed.
    Hope this helps,
    Jacques

  • Additional user mapping fields

    Hi,
    I am trying to add some additioanl fields of a system to user mapping screen.
    so, i created a system based on com.sap.portal.howtos.webapp.par that i downloaded from SDN
    2. added a property "department" to that par file and defined in usermapping fields tag of par file.
    3. now i created an iview for system based on this par file and under "user management" cateogry, I selected "additional user mapping fields" and specified " {mech,chem,comp,elec}Department "
    4. everything is fine and this dropdown box appears in user mapping iview
    but my concern is that i want to send 0 for mech, 1 for chem, 2-comp etc... to an url iview. i just want to know.. how to store name-value pairs in that dropdown listbox of user mapping iview?
    any clues?
    thanks

    Hi Daniel,
      Thank you for your reply..it was helpful for me for other issues, but didnt help me for the question of this thread. may be i was not clear in explaining my question. In simple.
    1. I create a system par file with one additional field dept.
    2. i create an alias
    3. now the user wants to do usermapping..so he goes to user administration --> user mapping and select a user
    4. then he selects the alias of a sytem in the dropdown list box, so two fields appear, i.e. username and pwd, but i want an extra field named dept with a list box of values (computers, mechanical, electronics)
    5. i was able to achieve this, by setting {computers,mechanical,electronics}dept" in the property, "Additional User Mapping Fields" of the System object created from the par.
    6. now when the user selects that system alias in the user mapping screen.. he will be able to see three fields.. username, pwd and dept(with a listbox) and he can map the user to the respective department.
    7. the listbox that is created has value and title the same like,<otpion value = "computers">computers</option> but i want it as <option value="1">computers</option>.
    Could you please help me in achieving this. please let me know if you need any further information.
    Thank you.
    P.S: eventhough, i specify the field dept in portalapp.xml like you mentioned, it will appear as a list box in the system object created from the par, but in the user mapping screen it appears as a text box.  so we must specify the "dept" in the property "Additional UserMapping fields" of the system object created from par.

  • Is it possible to have user defined field in pick and pack manager

    HI,
    I would like to know whether it is possible to have user defined field in pick and pack manager row level.
    Manage user defined field there is only provision for <b>pick list</b> and not for <b>Pick and pack</b>.
    Regards
    Krishna

    The Pick and Pack Manger doesn't relate to any specific table (nothing saved to the database), so it does not make any sense having a userdefiend field on it. I would guess that you could add a column and bind it to a userdatasource (not a SAP database field), but if this make any sense depends on what you are trying to achive...

  • 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

  • User defined  field ang XL report ter

    Hi everybody!
    I using user defined field to create 2 field for marketting form( A/R Invoice).I created
    them in title of form. when i use Xl reporter to get data from 2 these field, i don't see it where. Can you help me!

    Dear Tien Le,
    Additionally to the answer of Jimmy Michael:
    After marking the UDF you need in tools->manage UDF you have to restart XL-Reporter before you can see your UDF in any of the dimension look ups (at least if you are working with the advanced report builder - I don't have any experience using the report composer).
    That is, you have to close XL-Reporter, terminate XL-Reporter in Administration->Add-ons-Add-on manager in the main menu of SAP and start it again.
    Now your UDF is available in all report definitions.
    Regards,
    Frank Romeni

Maybe you are looking for

  • Slow Moving Project Stock

    Hi, My problem is to find out slow moving project stocks. Report MC46 shows only slow moving normal stocks and project stock is not included in this. Thanks

  • Cannot resize or move a placed image

    I am having issues moving and resizing a image once it has been "placed" onto the document.  It seems to be locked and even when I agree to place the image, I can still not move or resize it.  This happens on all file types and CS6.  Thoughts?

  • Program BBP_UPLOAD_PAYMENT_TERMS

    Hi experts I have a job for BBP_UPLOAD_PAYMENT_TERMS that transfer new payment terms created in R/3 to SRM, the problem is for each time the program rum the payment terms of vendor master data in SRM in transaction BBPMAININT. Is it a bug? Thanks Nil

  • Squiggly TLF and RichEditableText

    I am trying to apply SpellUIForTLF to the TLF object contained within a RichEditableText spark object. My mark up looks like this: <s:RichEditableText id="myTextArea" bottom="50" top="0" left="0" right="200" /> Then in my creationcomplete handler: pr

  • Prctl -n project.max-shm-memory -i process $$

    Hi all, when i execute the following command "prctl -n project.max-shm-memory -i process $$" its output is NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT project.max-shm-memory privileged 5.85TB - deny 5.85TB while RAM is only 32GB. How i can change it f