Setting Authorization Object to User defined field

Hi
What authorization object to be used to give user only display access in CJ20N tcode under "User Fields" tab. Any suggestion would be appreciated.
Rgds
Kamran

Hi Imran,
The value of field TRTYP of object C_PROJ_TCD should be A for display and you can also give C for Display from archive.
Reward points invited!!
Cheers,
Hiral Soni

Similar Messages

  • Modifying/Updating User Defined Field in a Scheduled Task

    I've written a notification task to send an e-mail to a manager who has a contract employee with a contract that is about to expire.
    Once we isolate a user who has a contract about to expire, we send a notification to the manager. The date that the notification is sent out should be stored in the USR table in a user-defined field, "USR_UDF_LASTSENT."
    Updating this USR_UDF_LASTSENT field is where I'm having difficulty.
    I've tried using the UserManager in a couple of ways. Suppose I've isolated a single user using SearchCriteria and the UserManager and have a single User object called "currentUser." I want to store a Date object in the user defined field "USR_UDF_LASTSENT". Date today = new Date();
    I've tried: currentUser.setAttribute("USR_UDF_LASTSENT", today); //This will run without error, but when I check the DB there is no change to the attribute.
    With a defined instance of UserManager userManager, I've tried: userManager.modify("USR_UDF_LASTSENT", today, currentUser); //This errored out with this error - oracle.iam.identity.exception.NoSuchUserException: IAM-3054135:No user found for the criteria USR_UDF_LASTSENT-9/24/13 2:58 PM.:USR_UDF_LASTSENT:9/24/13 2:58 PM. It looks like it's doing a search rather than a modification.
    I've also tried using the entity manager in the following way:
    Date today = new Date();
    HashMap<String, Object> mapAttrs = new HashMap<String, Object>(); 
    mapAttrs.put("USR_UDF_LASTSENT", today); 
    EntityManager entMgr = Platform.getService(EntityManager.class); 
    entMgr.modifyEntity("User", currentUser.getEntityId(), mapAttrs);
    But it returns with this error: Failed: oracle.iam.platform.entitymgr.UnknownAttributeException: User : [USR_UDF_LASTSENT]
    Is my entityType, "User" inappropriate in this case? What should be used here?
    How can I Set or Update this user defined field from a scheduled task?

    Thanks guys. I did go to Identity System Administration console and chose 'Export' from under "System Managment" which I believe Kevin may have been hinting at. I got an xml export of the AttributeDefinitions for our user defined fields. In this file, there was a header for the attribute I was looking for:
    <AttributeDefinition repo-type="API" name="LastSent" subtype="User Metadata">
       <multiValued>
       <backendName>usr_udf_lastsent</backendName>
    I put the string "LastSent" in place of USR_UDF_LASTSENT in the EntityManager version of my attempt at this task. I believe this is what Kevin and delhi were getting at.
    This didn't work:
    Date today = new Date();
    HashMap<String, Object> mapAttrs = new HashMap<String, Object>(); 
    mapAttrs.put("USR_UDF_LASTSENT", today); 
    EntityManager entMgr = Platform.getService(EntityManager.class); 
    entMgr.modifyEntity("User", currentUser.getEntityId(), mapAttrs);
    But this did:
    Date today = new Date();
    HashMap<String, Object> mapAttrs = new HashMap<String, Object>(); 
    mapAttrs.put("LastSent", today); 
    EntityManager entMgr = Platform.getService(EntityManager.class); 
    entMgr.modifyEntity("User", currentUser.getEntityId(), mapAttrs);
    I wonder if currentUser.setAttribute("LastSent", today); would work... Hmm.

  • Assign category of user defined field to different user

    hi to all on forum,
    please help me to find the solution of this query
    i had created several UDF  and set them in different category as setting is there for user defined field. now i am getting different different user defined field in different category ,
    now i want to set this different category of user defined field to different user .can we do it in SAP B1
    like category---- general , cat1, cat2,
    user --- Ram , Vipul
    i want to assign cat 1 to ram and and cat 2 to Vipul   so that with the document ram will see only UDF of cat1 and Vipul will see UDF of Cat 2.
    hope for  response
    with best regards
    vikas

    Vikas,
    You can do it for each user by assigning a category
    to each of user defined field by setting visible tick mark.
    Tools>User Defined Fields>Settings
    Jeyakanthan

  • 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

  • Cannot enable an user defined field as the type of link

    I created an user defined field and set it to the type of link. I want to link it to a external file.
    But only the "visible" checkbox of the UDF is available, the "enable" checkbox cannot be actived (displayed in grey).
    Can someone tell me how to do next?
    Thanks.

    I did a lot of tries but still failed.
    http://faculty.stut.edu.tw/~jywu/others/B1UDF1.JPG
    I want to know how to use the function marked in the red-box in the above link. What's that for?
    When i created a UDF using the setting, I can only set it visiable, cannot active it. 
    Furthermore, I cannot find any document expaining how to set these parameters in user defined field function.
    Can someone help me?
    Thanks.

  • 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

  • User defined fields in Resource object; Resource object form

    Hi,
    Can anyone tell me what is the purpose of having user defined fields for resource object and resource object form and how can we use those fields while requesting for target resource.
    Regards,
    Alabhya Goel

    Thanks for your reply!!!!!!!!!!
    I know about resource object form i am just asking what is the use of user define field in resource object form. How can we use it. Like when we create any user defined field in under User form those fields display on create user form but when we create any user defined field in resource object from those are not displayed in form.
    If anyone has used or worked on user defined fields in Resource Object or resource object form; please give me an overview over the same.
    Regards
    Alabhya Goel

  • Validating User Defined Fields on the OIM User Object

    Hello everyone,
    I'm currently using the OIM 11g, and am curious how to provide data validation for user defined fields.
    We currently have two user-defined fields for day of birth and month of birth, which have been set to required, but I would like to take this a step further and actually validate that the data being entered is numerical (two characters max), and if it's not, a red box appears around the field notifying the admin that the entry needs to fit the expected criteria.
    One example already in OIM is that of the email field. It appears to be using a regex to identify that data entered is of a certain format.
    Can anyone here point me in the direction of some proper documentation so that I may learn how to incorporate this into my environment? Thanks!

    Hi Kate,
    The only way to do it, is with Form Settings. Do not give them authorisations on Form Settings. You can then untick the "Active" tick box on certain fields and tick it on others. This can then be done, when you log on as the user him/herself.
    Regards
    Carin

  • Error: property is not set correctly for User Defined Fields.

    Hi Gurus,
    I am trying to define a new field Department of type Lookup. For this i have created a new field in user defined fields. But when i click on create user in web console it give me "property is not set correctly for User Defined Fields."
    I created a lookup field for department , but looks like i have to some kind of mapping. How can it be done?
    Thanks,
    sat

    Hi Kevin,
    I couldnt get it done. This is what I had done so far.
    Created Lookup.Users.Dept ( with code code=23 & decode=treasury)
    Added two field in xlwebadmin.properties & xlwebadmin_en.properties
    lookupfield.header.users.deptcode=Department code
    lookupfield.header.users.deptname=Department name
    In my lookfield properties in
    column caption=Department code,Department name
    Column query= Not sure what to give? here
    Thanks,
    sat

  • SBO crashes on changing user defined field setting for a form

    Hi,
    when i try to change the user defined field settings(Tools->User-Defined Fields->Settings) for a form, say Sales order form, on clicking on OK button SBO crashes displaying runtime error messagebox.
    This happens only when my addon is running.
    Anyone encounter this behavior?
    Thanks,
    Satish.

    Hi Barend,
    I have put in the filters.The form 38(user-defined fields settings form) is not included in the filters.So it should not get any events. I get the following error
    Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program ..m Files\SAP Manage\SAP Business One\SAP Business One.exe
    This application has requested the runtime to terminate it in an unusual way.Please contact the application's support team for more information.
    Thanks,
    Satish.

  • About Setting - User Defined Fields

    Hi everyone:
    Well let me introduce a little of what i've been doing, at first i had this addon running just to satisfy some clients requirements, but now the requirements are different from one to another so i need to build an standard of it, for that do you know where or which is the table that saves the information contained on the form Settings- User Defined Fields? (for an specific form) where i found how the categories (CUDC) are settled to the _User fields of every form etc.
    hope anyone knows about this.
    thanks a lot
    Gabriela

    Hi
    Look at table CUFD and UFD1 for the info you are looking for.
    Hope this helps

  • Set Rights to User defined Field

    Dear All,
    I have created a User Defined Field Checked. Where Yes and NO flag can be selected.I want that the flag is selected only by User A.How can i assure this.
    Kindly Suggest.
    Merle

    Hi,
    Please refer and follow SAP note:
    1062635 - Can I block a user from having access to Form Settings?
    Thanks & Regards,
    Nagarajan

  • 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

  • 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

Maybe you are looking for

  • Z2 Problems

    Hi Sony, I just want to share my problems on my Xperia Z2. First is the sd card error message always pops up "unexpected removal of sd card". Second is when Im using the SBH52 headset for text to speech like for email and facebook notifications, the

  • Flash CS6 "Help" menu doesn't launch help.

    I would like to open the Flash Help window by clicking the "Help" menu within the Flash CS6 interface, but when I click the Help menu and then select "Flash Help" from the drop-down list, nothing happens. I can access help online, but what about time

  • Dynamic alert

    I need to include my source system in dynamic alert message. Do i need to assign the SXMS_ERRSRC_SYSNAME to a container and then use that container in alert message (in BPM)

  • Fault Reporting and Repair Time

    Is it me or is the fault reporting number for BT useless? I realised our phone line wasn't working at about 20:00hrs in the evening. I live in an area with no mobile signal so drove the few miles needed to get a mobile signal and called 0800800151 to

  • Want to sell my Mac ...

    I want to sell my Mac air 2012 to a friend, but want to erase my credentials..I have no important files on this Mac but would like to give him with a clean install. I re installed mountain lion like someone suggested however it's still asking for my