Making a use defined field non editabe

Hi
I have added a new field in Organization screen of OIM.
But i wanted it to be a non editable field.
How can I achieve that?
Thank u
sas

Along with what was said above, you can copy an entry from the FormMetaData.xml file to define the field, and then in the lower section where you set which fields are displayed, add the entry and set the editable to false. You will also want to set the User Defined Field property to hidden so you don't end up with two fields for the same.
-Kevin

Similar Messages

  • Strange problem crystal report & used-defined field

    I've a user-defined field in the table OCLG
    this field is alphanumeric linked to a user-defined table
    I've read this field in crystal report
    (at the moment is enough the code)
    when I do the preview in crystal report there is not problem
    but when I do the preview in SAP B1 I don't see any value
    what could it be the cause?
    thanks

    I created it with the follow tool:
    "Tools\Customisation Tools\User-Defined Fields-Management"
    These are the field characteristics:
    type: alphanumeric
    lenght: 50
    structure: regular
    set linked table: <a user-defined table>
    I also did the test to create a rpt with the only table OCLG and 2 field
    - ClgCode
    - U_Incaricato
    the problem remains the same

  • Use of user define field in Task list

    Hi,
    Please give the solution for the strange requirement of the client as:
    My client wants to define the operation for preventive maintenace in two parts like
    check temperature  :  45 deg celcius.
    check temperature should be like operation and rest what he has to check to be defined in other field  i.e. both should not be together.
    so i find the solution as user defined fields in the task list where i can define this second parameter.
    But the problem is that system is not proposing this second field in the preventive order, only operation field is proposed.
    Please suggest some solution, how can this requirement can be mapped.

    Both operations of the inspection lot will need to be completed at some point.  They are in the same lot so they belong together.  Both operations should be available to the user.  (Unless you used workcenters and security to limit users to specific workcenters).
    Once set up, it will only be available to new inspection lots.  Few things in SAP are retroactive.
    Craig

  • How do I refer to a user defined field in a query  (using $ notation) ?

    if i have a user defined field in Invoice header called U_Test, and if I need to read it using a query (to be used on a formatted search).
    I am not quite sure of the syntax. can anyone help please?
    I tried
    $[$U_Test.0.0]  which is the accepted way with fields with numerical ids such as $[$8.0.0] etc.
    appreciate any help,
    Indika.

    Hi all,
    Aliw, the 38 is not the form number, is the Item Number (which I guess is a matrix). In your case the User Defined Field is a line UDF. In Indika´s case is a header UDF.
    And that´s the issue. As the indika´s UDF is a header UDF, it lays in a different form (which is named "-" + Main Form Name). Formatted searches work with the $[$Field.Column.Format] notation ONLY in the same form. So, if you try to get the UDF from another UDF, it will work with that notation (they are in the same form). But if you try to get the UDF from the main form, it won´t find it (It is in another form).
    In that case you should use the other notation, as Andrea, Alexey and Salvador told you in the posts before.
    Hope this clears a bit the issue.
    Regards,
    Ibai Peñ

  • Update user defined fields in MARA using bapi_material_savedata

    Hi,
    I have this problem:
    I am creating materials from a Z table filled by another application (not SAP). I am using the bapi "bapi_material_savedata" to create the materials and it is working fine. But now I need to fill user defined fields in the MARA table from this Z table, and this fields, are not filled after using the bapi.
    I am using the bapi tables "extensionin" and "extensioninx".
    I have modified the BAPI_TE_MARA structure adding the ZZ fields of the MARA and the BAPI_TE_MARAX structure with the same fields but different data elements. So I have this structures/tables:
    BAPI_TE_MARA:
       MATERIAL - MATNR
       ZZDIM1   - ZZCHDIM1
       ZZDIM2   - ZZCHDIM2
       ZZDIM3   - ZZCHDIM3
    BAPI_TE_MARAX:
       MATERIAL - MATNR
       ZZDIM1   - BAPIUPDATE
       ZZDIM2   - BAPIUPDATE
       ZZDIM3   - BAPIUPDATE
    MARA:
    ..(standard fields of the MARA)....
       ZZDIM1   - ZZCHDIM1
       ZZDIM2   - ZZCHDIM2
       ZZDIM3   - ZZCHDIM3
    Here is the code that i'm using to update the extensionin and extensioninx tables:
    DATA x_bapi_te_mara TYPE bapi_te_mara.
      DATA x_bapi_te_marax TYPE bapi_te_marax.
      it_extensionin-structure = 'BAPI_TE_MARA'.
      it_extensioninx-structure = 'BAPI_TE_MARAX'.
    * the internal table it_material contains the data of the
    * ZZ fields
      MOVE-CORRESPONDING it_material TO x_bapi_te_mara.
      x_bapi_te_mara-material = it_material-matnr.
      x_bapi_te_marax-material = it_material-matnr.
      x_bapi_te_marax-zzdim1 = 'X'.
      x_bapi_te_marax-zzdim2 = 'X'.
      x_bapi_te_marax-zzdim3 = 'X'.
      it_extensionin-valuepart1 = x_bapi_te_mara.
      APPEND it_extensionin.
      it_extensioninx-valuepart1 = x_bapi_te_marax.
      APPEND it_extensioninx.
    Also i have an entry in the table T130F that i'm not sure i need.
    Please help me to fill this user defined fields !!
    Regards,
    Jesus

    I'm using both,
    x_bapi_te_mara-material = it_material-matnr.
    x_bapi_te_marax-material = it_material-matnr.
    The first line is from the x_bapi_te_mara structure and the second for the x_bapi_te_maraX.
    Thanks

  • Very Urgent: how to define field symbols in class using se24 Points assured

    hi all
    I am new to abap oo programming. I am using se24 to build a class
    where some methods have code which involves working with field sybmols but i am not able to figure out way for how to define field symbols in the attributes section.
    I tried defining like : fld_sym type ref to  dbtab-fld
    but in the method implementation if i try to use it like assign fld to <fld_sym> there it says fld_sym is not defined as a field symbol.
    So can anyone please guide me how to define field symbols in se24.
    Also what should be the general steps while creating a class using se24.
    Points assured
    thanks

    Hi
    Global classes are like Global fun modules in which the Methods and code is already written and is mainly used for Reusability purpose.
    Goto SE24 tcode and see the std global classes like
    CL_ABAP_CHAR_UTILITIES
    see the links
    chk out the links below:
    General Tutorial for OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907
    Have a look at these links for OO ABAP.
    http://www.sapgenie.com/abap/OO/
    http://help.sap.com/saphelp_nw04/helpdata/en/c3/225b5654f411d194a60000e8353423/content.htm
    http://www.esnips.com/doc/375fff1b-5a62-444d-8ec1-55508c308b17/prefinalppt.ppt
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/5c65b0dd-eddf-4512-8e32-ecd26735f0f2/prefinalppt.ppt
    http://www.allsaplinks.com/
    http://www.sapgenie.com/abap/controls/index.htm
    http://www.esnips.com/doc/2c76dc57-e74a-4539-a20e-29383317e804/OO-abap.pdf
    http://www.esnips.com/doc/0ef39d4b-586a-4637-abbb-e4f69d2d9307/SAP-CONTROLS-WORKSHOP.pdf
    http://help.sap.com/saphelp_erp2005/helpdata/en/ce/b518b6513611d194a50000e8353423/frameset.htm
    SDN Series:
    https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/webcontent/uuid/35eaef9c-0b01-0010-dd8b-e3b0f9ed7ccb [original link is broken]
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
    Basic concepts of OOPS
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b6cae890-0201-0010-ef8b-f970a9c41d47
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1591ec90-0201-0010-3ba8-cdcd500b17cf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap%20code%20samples/alv%20grid/abap%20code%20sample%20to%20display%20data%20in%20alv%20grid%20using%20object%20oriented%20programming.doc
    http://www.henrikfrank.dk/abapuk.html
    http://www.erpgenie.com/abap/OO/
    Reward oints if useful,
    Aleem.

  • Error -5002 when adding linked user defined field using DI API

    Hello,
    When I try to add a linked user defined field using DI API I get the error number -5002 with description:
    "The field 'Related Table' should consist of 8 alphanumeric characters with no valid or default values"
    I Get the error when I use the Add method.
    What is the solution for this problem? I use SBO 2005 A SP1 Patch 18
    The code I use is (.NET C# 2.0):
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Memo;
    uf.SubType = SAPbobsCOM.BoFldSubTypes.st_Link;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    Regards,
    Jeffrey

    Hi Jeffrey,
    Your code above does not match the settings you are using in the UI. In particular, the type and subtype you are setting in code are not correct.
    To create the UDF via code, set the field types as follows:
    SAPbobsCOM.IUserFieldsMD uf = (SAPbobsCOM.IUserFieldsMD)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields);
    uf.Name = "S_BUCO";
    uf.TableName = "OPOR";
    uf.Type = SAPbobsCOM.BoFieldTypes.db_Alpha;
    uf.EditSize = 8;
    uf.LinkedTable = "S_BU";
    uf.Description = "Description";
    uf.Add()
    There's no need to set the SubType property as you require a regular alphanumeric field.
    Kind Regards,
    Owen

  • How to use User Options and User-Defined Fields in DC Group function?

    Dears,
    As title, when should I use above fields?  I did not see the related information in SAPME help library.
    Thanks!

    The user options fields are just information fields you can store at the Data Collection Maintenance activity. You can think of these as extra information fields for storage purposes only.  I can't give you a use case except to say 'information fields' only.
    With regards to the User-Defined fields in DC Group - you can think of these as extra data fields to be collected.  They will appear immediately underneath the data parameter they are defined in in the DC Plug-in for the POD.  They do not have limits but are just extra pieces of data you may want to collect about the specific parameter.

  • Update User Defined Field using DBDataSource

    Hi All,
    I'm trying to update the user defined field using the DBDataSource object.  However an error occurred - "Item is not a User-Defined Field".
    The code used is as follows:
    Dim oDS as SAPbouiCOM.DBDataSource
    Dim oForm as SAPbouiCOM.Form
    Set oForm = SBO_Application.Forms.GetForm("139", 1)
    Set oDS = oForm.DataSources.DBDataSources.Item("ORDR")
    oDS.SetValue("U_Field1",oDS.Offset,"abc")
    Please help.

    If you haven´t put the field directly in the standard form the user defined fields are in a different form. This form has the same type but with "-" before it.
    So so should use this code to get the user defined fields form:
    Set oForm = SBO_Application.Forms.GetForm("-139", 1)
    Maybe this can be the cause

  • I would like to use the fields BRAND_ID, PLGTP & ETIAG in a non-retail setting.

    I would like to use the fields BRAND_ID, PLGTP & ETIAG in a non-retail setting.  We have a need for BRAND and PLGTP  (and temporarily using ETIAG for managing some material groupings) and since the fields exist in MARA, I would like to use them without switching on Retail (Finance wants to use Material Determination so Retail can not be switched on).  I have created a subscreen for Material Master with these fields and the values correctly update into MARA plus I am also able to use them for pricing without problems (with appropriate extension of KOMP, etc).   My question is whether or not these fields might cause issues somewhere I am not expecting

    I think I will do this.  I will use my apple ID and set face time and message to work independently.  That solves one problrem.  My other problem and maybe my bigger problem is that if I am using my apple ID, how do I iflter all of this so that my kids don't see my contacts, get my apps, etc. ?

  • Making Screen fields Non editable in Migo

    Hi TO ALL,
    In MIGO T-code , aganist oubound delivery under Batch Tab i want to make fields Non editable.
    I am unable to find suitable exit for this,can any body help me regarding this.
    Thanks

    Hi,
    Use Transaction variant (Tcode : SHD0) to make fields display only.
    Regards,
    Ashok.

  • IMPORT USER DEFINED FIELD USING DTW

    Hi
    I want to IMPORT USER DEFINED FIELD OF SALE ORDER THAT ARE PRESENT IN ROW LEVEL AND DOCUMENT LEVEL
    USING DTW.
    SO PLZ GIVE ME SOLUTION FOR THAT.
    THANK YOU

    Hi,
    What is your B1 version and PL? Please do not use all CAPS. It is not polite.
    Thanks,
    Gordon

  • Defining sort order using parameter fields

    Post Author: vandersee
    CA Forum: General
    I've created a report, the contents of which is sorted depending on a parameter selected (method used is as described in the help topic entitled "Defining sort order using parameter fields".  Is it possible to vary the Sort Direction (ascending/descending) using parameters also, so that if I choose to sort by field A it will be ascending, but descending if I choose to sort by field B?

    Post Author: V361
    CA Forum: General
    You can create a Parameter {?Sort Order}  make it a string, and add items A to Z and Z to A and a formula and sort the group using the formula.
    Group Expert, select the group, select options, check use a formula as group sort order
    if {?Sort Order} = "A to Z" then crAscendingOrder else crDescendingOrder
    And your group will sort based on what is selected in the parameter.

  • Make 1 field non-editable while using transaction VA02.

    Hi,
    I want make a field non-editable under tab 'shipping' for transaction VA02. I know one way of doing it by adding code to  MV45AFZZ -> USEREXIT_FIELD_MODIFICATION. is there any other way ( other user-exit / BADI) to achieve the same.

    Hi,
    Please go through this link... It tells you the step to follow....
    http://www.sap-basis-abap.com/sapbs010.htm
    Also please refer these posts..
    Re: Transaction Variants & Variant Transactions
    Re: Transaction Variants

  • Making Useful life field optional in Asset master creation(AS01)

    Hi all,
    I want to make 'Useful life' field in 'Depreciation area' tab as optional in AS01 (Asset master).
    1. I made the screen layout changes using AO21 and made Useful life optional
    2. I assigned the above screen layout in OAYZ
    Despite doing this, during asset master creation, the field still shows as 'Required' and not as 'optional'.
    Am I missing anything else?  Kindly provide some pointers.
    Thanks,
    Sridevi

    Hi Sridevi
    Please check your depreciation key. If your depreciation is based on useful life, the key is required regardless the field status.
    Thanks
    Sanjeev

Maybe you are looking for

  • PC Won't boot now! D bracket showing all 4 leds red!

    Ok this has got me stumped, on top of all my fan speed problems now that I have installed Windows 7 Ultimate x64, last night I found that my PC now WON'T BOOT AT ALL!!!!!!!!!!!!! ? The D bracket is now showing all red leds, which according to the man

  • Dng icons not pictures

    Hello everyoe, Suddenly i don't get pictures from dng icons in Bridge CS4 Tifs and jpg show up nicely but for the dng, I see the pictures half a second and then they change into dng icons and then the bridge icon becomes transparant. I can still open

  • UDT - This Entry already exists

    Hi, When trying to add a new record in a UDT, the system shows the error "This entry already exists in the following table..." We tried deleting the last record and then add it again...and it did'nt work, now we are missing more records to add. The k

  • How do i take the newest update off of my iphone

    randomly my iphone stops working. all my service goes away and it just says searching at the top, if i dont have my phone connected to wifi i can not do anything at all. i cant call text or recieve anything. it only started happening when i updated t

  • Unable to return a defective part

    I was sent a new USB cable for my iPod and was told to return the old defective part when I received the new replacement part. I checked over the packaging and the packing slip. There isn't a new label under the existing label or an address noted whe