User Defined Fields/data items

How can I add user defined fields on runtime in a pre-defined data blocks wiht the user defined attributes of data type, length and format masks.
Ofcouse I should have those fields defined in DB first.
Thanks for any help

I have a similar need.
I have a DB table that stores a list of questions and data types/sizes/usages of the answers required by the user of the form.
In a multi-record database block, I currently list the questions, and supply a Text Item to capture the user's answers, and then provide validation code to check for the proper data type & number of characters.
I would like to be able to use the data type/size/usage information that is stored with each question to create, at runtime, an appropriate item (numeric text item max length 3, or character drop-down list box, or character text item with an LOV, etc.) for each question record. In other words, one record could have a drop-down list box, while another record could have a numeric text item.
I think that I can create separate fields for each type of item, and then enable/disable the fields when required, but this solution is less elegant than the programmatic solution that I desire.
Is there a way to do this programmatically in Oracle Forms 6.0.5.0.2 for Windows, or with an OCX, or some other add-in? We do not have Oracle Applications in this group. Is there a way to get "FlexField" without having Oracle Applications?
I agree that this is a normal requirement these days as administrator-type users (as opposed to data-entry end-users) of applications want to be able to dynamically customize the app for their usage.
Oracle needs to address this issue by creating the ability in Forms/Reports to create customizable apps.
Thank you in advance for any help you can provide.

Similar Messages

  • Linking a User Defined Field in Items table

    How to Link a User Defined Field in 'Item Master Data' table, to my own User Defined Table?
    Example:
    In Item Master Data table, I want to add 3 User Defined Fields, for e.g, Country, State and Region.
    When the value of Country combo is changed, values loaded in State and Region combos should change automatically.
    I'm storing the relationship between Country,State and Region in my own user defined table. I want to load the comboboxes with a query from that table.
    Or, if there's no solution to the above problem:
    when the Item Master data table is opened, can we launch our own form?
    Is there a way to specify that?
    Please reply me back.. I'm a beginner learning SAP.
    With Thanks in advance,
    Geetha
    Key: Loading a user defined field through Query defined by us.

    Geetha,
    You should search this forum on user defined fields as you will find many posts that may assist you with your question.
    HTH,
    Eddy

  • User Defined Fields on System Form

    Dear All,
                   I want to know that how much User Defined Fields can be added on a system form. My problem is that I am developing an add-on for the Item Master Data. And I have used a lot of User Defined Fields on Item Master Data Forms which contains table 'OITM'. Now if I am trying to add any extra User Defined fields in OITM Table, I am not able to do so. I am getting an error as  'Internal Error Occurred'. What can i do regarding this problem.?  Help me. It is something very important.
    Thanks and Regards

    Hi,
    There is theoretically no limit on the number of UDF for a table. there is however a maximum number of characters for a record in SQL Sever.
    As far as I know this is 4000 in SQL Server 2005 and older and 8000 in SQL Server 2008.
    pls check Microsoft for the exact numbers
    Regards
    Ad

  • DMS :Select Range for User defined fields in Classification Tab in CV04N

    Dear All,
    We have added User Define Fields Date field in Classification Tab in CV04N Transaction But it has single search (parameter) where we need to have Date range selection (Like Select Option) for the documents.
    I request you to suggest me some solution whether it is possible to achieve with any standard configuration as it is very critical to the Business .
    I would appreciate for your quick response and support.
    Thanks in Advance,
    Regards,
    Vishal.

    Dear Ravindra,
    Actually My requirement is when we enter the exact date in the input field its giving the documents submitted on that date.But when i give date range its not displaying the any documents where the document submited in between those two dates.
    Ex: I have submitted the document ( in CV01N ) for the approval on 10.05.2010(this is the same field in classification).
    In the CV04N transaction ,classification tab if I enter date as 10.05.2010 its giving the document submitted on that date.but if I enter the two dates 01.05.2010 and 20.05.2010 where document is been created B/W the input dates.
    Please suggest how to fulfill my business requirement ,I also request to check any configuration for the user defined fields can solve this problem instead of selecting single value when it can select the range of values.
    Thanks for your earlier reply.
    Regards,
    Vishal.

  • User defined field:item master

    Hi,
    In item master data, I want to create a user defined field which is linked to an external table wherein the end-user can automatically upload new item master details into the sap appl frm an external table.

    Dear Ayesha,
    As far as I understand, what you would like to do is the following :
    1. A user adds some data into an external table.
    2. The user defined Field in SAP B1 is automatically updated with the data in the external table.
    If you would like to achieve the above, then I would suggest you to use one of the following methods :
    1. DTW to import the tables' content.
    2. Import/export option from Excel
    3. or an Addon created via the SDK.
    If I understood the issue incorrectly, please let me know.
    Regards
    Arshdeep

  • User Defined Field that gives the date output of the last price update.

    We would like to create a User Defined Field (UDF) with a Formatted Search (FMS) on the Item Master form that gives the date output of the last price update specifically the wholesale price.
    Last Price Update
    Pricelist 2 = Wholesale
    Is this feasible?
    If it is feasible what is the recommended approach?
    Current working UDF on Item Master.
    /* Date output is based on all the latest updates on the Item Master.*/
    select max(updatedate)
    from aitm
    where itemcode = $[oitm.itemcode]
    Resources that were helpful.
    1.(Note:1165947 - Tracking Item Price Changes.)
    2. Case 4-I6: Query on price updates. Mastering SQL Queries for SAP Business One By: Gordon Du

    Thank you Gordon,
    We are looking for the date output of the 'Last Price Update' based on 'Pricelist 2 = Wholesale' which is the challenge.
    These 2 are the parameters for the date output, I should have mentioned that in my original message.
    Last Price Update
    Pricelist 2 = Wholesale
    Per reading a bunch of other similar Forum Questions it looked like it is might not be possible to do. With there being no date on the AIT1 table and AITM.Updatedate is based on any and all updates not just last 'Last Price Update' and not sure how to use the loginstanc.
    Thanks,
    Vern

  • Display of document line items with user defined fields

    Hi all,
    I have created two user defined fields in CI_COBL structure and they are available on OBC4 screen. I maintained  optinal for entry in the screen layout. I posted one document with user defined fields and saved.
    Now the document is updated in BSEG table. I then display the document, and it display the doucment
    But when i double click on the one of the line items system gives an error that there is some problem in customising and entries missing in Table COBM.
    I checked OXK3 and see that in field information for user fields, it says entries maintained in table COBM.
    But still i couldnt display my line items in detail.
    Any solutions
    Thanks in advance
    Ram

    Yes your are looking at the correct sap note.
    Things look pretty straight forward in the notes documentation.
    1)Extend the VBKRED structure with the fields you want.
    2)Populate thse values in the user exit in program DBKMVF02 in FORM routine USER_EXIT_FUELLEN_XVBKRED.
    For extending a standard structure you need to create a zstructuree in se11 first and then append it to the standard structure.
    In your case you need to  extend VBKRED_EX1 structure rather than VBKRED.
    Regards,
    ravi

  • 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 defined field usage

    Hi, we have a user defined field in our item master data.  It's for a link to a pdf on one of our servers.  I can enter a URL into this field and when I double click it, the pdf loads.  This is what we want.  But I can't for the life of me figure out how to clear or change the value of the field.  If I click the field it does nothing or if I double click it opens the document.  If I right click one of the options is "Cancel" but I'm terrified of cancelling the entire item.
    How do I manage the value of this field?
    Thanks!

    Hi,
    Its Data Transfer work bench.
    Start --> Programs --> SAP Business one --> Data transfer work bench.
    Check with your IT admin to have it installed if you dont have one.
    Regards,
    Rakesh N

  • 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

  • User-Defined Fields Window

    Hi All,
    I have one issue with the User-Defined Fields window of the ACTIVITY form.
    I had added some user defined fields (UDF) to the Activities so that the User-Defined Fields are displaying in a separate window just near to the Activity window with Type (-651). All the UDFs are bound to the table, "OCLG".
    I want to initialize the values in the User defined fields controls with a text when the form is loading.
    I had tried to do this using
    oForm.Datasources.DBDatasources.Item("OCLG").SetValue("U_CUST",0,"MyValue");When I executed this statement, i am getting HResult error.
    Then I tried this by using UserDataSources.
    The same error repeats.
    But the code with .Specific.String = NewVal is working fine.
    Can you please explain the scenarios that we are able to do it using .Specifc.String. Is this a true method for doing this?
    if not
    please tell me How can we do this using Datasources (DBDatasources/ UserDataSources),?
    Please Help.
    Thank you in Advance
    Anoop

    Anoop,
    when you have created UDF in master item data, the textbox you can see on left side of form (separate form) is bounded already to this field. You cannot rebound it (its system form).
    When you want to change the value, you must use specific.string or specific.value for that textbox (as you wrote), but the calcualted value will be stored into master table (change of udf will set formmode to update mode). If you dont need to update formmode, set the formmode by code to normal mode.
    hope it helps
    Petr

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

    In Item Master Data ( General Tab)  an Option is available as  <b>Excisable</b>
    Under neth Specified as Material Type :<b>1. Finished Goods
                                                              2. Capital Goods
                                                              3. Raw Materials</b> which are Predefined.
    Now can we Have a provision as <b>Define New</b> in this Box.
    If I would like to add with the Help of User Defined Field process will it be help ful can  any body guide me.

    User Defined Fields can be managed by choosing User Defined Fields and Manage User Defined Fields from the Tools menu. I'm not sure about yours but on our system the UDFs we use are under the Marketing Documents tab.
    Click Marketing Documents and Title. Make the Title row highlighted in yellow and click ADD. It is then up to you what you call your UDFs. Make sure they are in the correct format (Alphanumeric etc)

  • 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

Maybe you are looking for

  • Copy command in Sqlplus

    I am using 8.1.6 and 8.1.7, but the copy command does not seem to work on either cases, the sqlplus just crash, did you guys have the similar problem? Is it a bug in oracle or there is some parameter I need to set up correctly? Your help is highly ap

  • R9 270 2G driver issues

    this is just a quick question to find out if any one else is having the same issue and to find out if i can rectify it. i am the owner of an r9 270 2g OC  now i can install most drivers upto 14.2 beta, how ever the moment i install 14.3 or the new 14

  • Error when trying to connect Crystal Enterprise to Peoplesoft (tools 8.49)

    We have been using crystal enterprise with our peoplesoft for a while now, but with the tools version 8.43 on DB2 database. We are now upgrading our tools to version 8.49 on Oracle database. We have tons of crystal reports developed on crystal enterp

  • Check services availability

    Hi all, it there any implementation to check the OBIEE services availability? There is any service down, (e.g. BI Servers is down), I would like to hide the OBIEE login page and show another message board let the users know "The OBIEE is not availabl

  • Bug Search Tool is out of Beta and Fully Available for your use

    We are excited to announce the release of Bug Search Tool (BST), the online successor to Bug Toolkit, designed to improve our customers' effectiveness in network risk management and device troubleshooting. Bug Search Tool allows partners and customer