Length of the User Data attributes

Hello All,
anyone knows where can i get the max length of the user data, that can be saved in UME (for both standard and customized data)?
Cause in some cases a i get the message that some attributes cannot be longer that 20 characters and i would like to change it
Thanks for help!

Hi Karol,
> the lenght of the attributes is hardcoded
Right: This is done within the method <i>getFieldMaxLength</i> within class <i>com.sap.security.core.admin.UserBean</i> within C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.usermanagement.admin\lib\umeuseradminbase.jar:
/*1155*/        if (fieldName.equals("firstname"))
/*1156*/            return 30;
/*1157*/        if (fieldName.equals("lastname"))
/*1158*/            return 50;
/*1159*/        if (fieldName.equals("salutation"))
/*1160*/            return 30;
/*1161*/        if (fieldName.equals("title"))
/*1162*/            return 30;
/*1163*/        if (fieldName.equals("preferredlanguage"))
/*1164*/            return 30;
/*1165*/        if (fieldName.equals("timezone"))
/*1166*/            return 30;
/*1167*/        if (fieldName.equals("currency"))
/*1168*/            return 20;
/*1169*/        if (fieldName.equals("email"))
/*1170*/            return 70;
/*1171*/        if (fieldName.equals("telephone"))
/*1172*/            return 40;
/*1173*/        if (fieldName.equals("fax"))
/*1174*/            return 40;
/*1175*/        if (fieldName.equals("mobile"))
/*1176*/            return 40;
/*1177*/        if (fieldName.equals("zip"))
/*1178*/            return 15;
/*1179*/        if (fieldName.equals("city"))
/*1180*/            return 30;
/*1181*/        if (fieldName.equals("state"))
/*1182*/            return 20;
/*1183*/        if (fieldName.equals("country"))
/*1184*/            return 30;
/*1185*/        if (fieldName.equals("streetaddress"))
/*1186*/            return 60;
/*1187*/        if (fieldName.equals("jobtitle"))
/*1188*/            return 20;
/*1189*/        return !fieldName.equals("department") ? -1 : 50;
So you could modify the implementation.
Hope it helps
Detlev

Similar Messages

  • Which table store the user type attribute details on 4.5b version

    Hi,
      I am hunting for the table which store the user type attribute.To simply the problem when i create user in the 4.5b system using su01 tcode & when you select user type from logon data say you select Dialog or BDC or Background and CPIC type now where this information is store in the table, what i got from system is User type (A=online, C=CPIC, D=BDC, O=ODC) but on UI it is showing as Dialog or BDC etc. which is confusing me.
      so can anyone tell the table which store detail info about say A = Dialog or D = BDC user type.
    thanks,
    John.

    Hi John,
    These are the Fixed values allowed to this Domain. No value table is maintained but they maintain the Fixed values in the Value Range Tab of the Domain.
    Go to SE11--> Domain Name ---> Display --> Select Tab strip Value Range, where you can see the fixed values for this Domain.
    Satya

  • Performance problem in loading the Mater data attributes 0Equipment_attr

    Hi Experts,
    We have a Performance problem in loading the Mater data attributes 0Equipment_attr.It is running with psuedo delta(full update) the same infopakage runs with diffrent selections.The problme we are facing is the load is running 2 to 4 hrs in the US morning times and when coming to US night times it is loading for 12-22 hrs and gettin sucessfulluy finished. Even it pulls (less records which are ok )
    when i checked the R/3 side job log(SM37) the job is running late too. it shows the first and second i- docs coming in less time and the next 3and 4 i- docs comes after 5-7 hrs gap to BW and saving in to PSA and then going to info object.
    we have userexits for the data source and abap routines but thay are running fine in less time and the code is not much complex too.
    can you please explain and suggest the steps in r/3 side and bw side. how can i can fix this peformance issue
    Thanks,
    dp

    Hi,
    check this link for data load performance. Under "Extraction Performance" you will find many useful hints.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3a699d90-0201-0010-bc99-d5c0e3a2c87b
    Regards
    Andreas

  • How can I know the length of the image data section of a PSD file

    I'm a C++ programmer developing a project to parse PSD files, and it's necessary to know whether there is a length field indicating the length of the image data in image data section of a PSD file, if not, how can I know the length?
    Thank you.

    Sorry I can't help, maybe there is some information in the SDK?
    http://www.adobe.com/devnet/photoshop/sdk.html
    Or someone might be able to help in this forum?
    http://forums.adobe.com/community/photoshop/photoshop_sdk

  • BAPI_USER_CHANGE to change the user data

    Hi,
    I am using BAPI_USER_CHANGE to change the user data like telephone number, address etc. Everything is working fine but when I want to add new telephone number with no change in exsting numbers then it wont allow to add instead of adding it changes exsting information.
    Ex. Exsting telephone numbers  123 & 456
          And I want to add 3rd number as 789
         Then final record should be 123,456,789
         But this function module doesnt do that it changes first one with new one i.e. 789 & 456.

    Swarup
    Pass all records for Tel Numbers alongwith the new record.... I think, you are just passing the new Tel Number details to the BAPI.
    Thanks
    Amol Lohade

  • What to be trashed from the User Data folder

    Hi Guys;
    After I finish a project, I trashed all the project files, and from the Preference > Final Cut Express User Data, I trashed the FCE 4.0 Prefs; FCE Obj Cache; FCE MOA Cache and; FCE POA Cache. To my understanding, these files will be regenerated automatically as soon as I start a new project. Now I am not sure my understanding is right because the MOA and the POA are not regenerated. What should I do now? Should I drag them back from the Trash Can to the User Data folder (I still have them in my Trash Can)? Also, I have the FCE HD3.0 Prefs file sitting in the User Data folder but I am not using the HD3.0 any more, should I trash it or leave it alone? There are 2 other folders sitting in this User Data, they are Custom Settings and Plugins, they are both empty, should I trash them or leave them alone? Many thanks puisum

    Hi Tom
    I am back. Sorry, I do not understand “If no preferences are saved”, do you mean the MOA & POA are not being regenerated is due to permission problem? I did run the disk utility verify & repair permission before I start the new project and I did it again just now. The installation was done quite sometime ago and works OK for a few projects. Thanks ps

  • Some of the Master Data Attributes DataSources not visible in RSA5

    Hi Experts,
    After installation of R/3 ECC 5, some of the master data attributes datasources are not visible in RSA5.
    Do i need to do any other settings to get them.
    Awaiting response....
    Thanks in advance.....
    Rafi

    Hi Prakash,
    Thanks for quick response. I have checked those tables. i found that i have same datasources as it is in RSA5.
    For example: i have 0SALE_DIST_TEXT in both RSA5 and ROOSOURCE, how i can have the attributes for the same.
    also i don't have attributes datasource for Customer Group1...5, Material Group1...5, sales office etc.,
    Anticipating your response,
    Thanks
    Rafi

  • Data Encryption : Length of the result data in RAW

    Hello,
    I am pretty new in data encryption, and in 10g, I use package DBMS_CRYPTO.
    I have no problem with that.
    I want to save to encrypted data in a table.
    I think about using RAW columns.
    The origine strings are saved into VARCHAR2(4000).
    How can I roughly compute and figure out the number of RAWs resulting of the encryption? Is there a kind of formula ?
    Is this connected with the length of the encryption key?
    Thanks a lot,
    Olivier

    Hi Murali,
    Thanks for your reply.
    Yes that's why I found it was weird.
    I always have a nice pop up window when click "Data Mart Status of The Request"...
    usually.
    It also didn't happen to all ODS/Cube,
    some of it still shows a nice pop up window,
    for loading using InfoPackage or DTP.
    So it's not a system problem... there's still pop up window.
    However in particular ODS/Cube,
    the symbol is correct - that data has been loaded,
    but there's no Pop Up window.

  • Sending a byte array of greater length than the APDU data buffer

    Hello again, I am now trying to send a byte array of length 480 from the smart card. I've tried setting the outgoing length to 480 first but as i had expected, this threw an exception. Then i tried setting it to 240 and then copying from the array into the apdu buffer in two halves and calling sendBytes() twice, but this only worked the first time - it send the first 240 bytes and then threw an error. Is it possible to do what i am trying to accomplish? If so, what am I missing?

    the applet:
    H:\java_card_kit-2_2_1-win-dom\java_card_kit-2_2_1\samples\src\com\sun\javacard\samples\photocard
    the client:
    H:\java_card_kit-2_2_1-win-dom\java_card_kit-2_2_1\samples\src_client\com\sun\javacard\clientsamples\photocardclient
    here is the code i have used to store large data on card. maybe it will help you.
    i send a series of apdu, where each contains 128 bytes of data (all apdu must have the same length - except the last).
    public void writeAPDU(APDU apdu)
         byte[] buffer = apdu.getBuffer();
         short lc = (short)(buffer[ISO7816.OFFSET_LC]&0xFF);          
         short p1 = (short)(buffer[ISO7816.OFFSET_P1]&0xFF); // counter
         short p2 = (short)(buffer[ISO7816.OFFSET_P2]&0xFF); // length of send data
         short offset = (short)(p1 * p2); // calculate the offset
         apdu.setIncomingAndReceive();
         // check for first apdu (contains the total size of data)
         if(p1 == 0 && p2 == 0)
              short l = Util.getShort(buffer,ISO7816.OFFSET_CDATA);
              data = new byte[l];
         else
              // store bytes in array
              Util.arrayCopy(buffer, ISO7816.OFFSET_CDATA, data, offset, lc);
    }

  • Fetch the User Extended Attribute" Group" Value in Java

    Hi All,
    I have been able to add a User Extended attribute in SIM and wish to fetch its value for a particular user in my java code.
    kindly help.
    Thanks
    Sunny

    Hi All,
    I am able to fetch the value of extended attribute "Group" of type "Select" I added in the Default User Form using user.getAttribute("Group") in my java code of Custom Resource Adapter.
    This extended attribute has groups name populated in it. What I am doing now is that I am fetching the Group name value and assing the user this group. This is working fine for me. However, In case user select a different group next time, I need to remove the user from old group and assign him the new group. For this, I need to have the old group value and new group value. I don't know how to retrieve the old group value?
    Any pointer on this will be helpful.
    Note: I have done the mapping of extended attribute "Group" in my Custom Resource Adapter.
    Regards,
    Sunny

  • Automatic send e-mail according to the expire data attribute in database

    Hi, everyone. I am now working a web library system, and I use MS Access as the database to store the data.
    Now I want to build a function for the system, which can automatic send loan expire message to the borrower when the expire data is met.
    I have search several days for this function and all the information is about other program language. I really have not any idea about this function. CAN Java archive the function.
    Appreciate for any suggestion. It is better if can post some code example. Thanks!

    HI,
    I just downloaded javamail, and installed it. I tested the javamail with the demo file follow the readme.txt, I don't know what is the mailserver is for MSN in the step 5 (java msgshow -T imap -H <mailserver> -U <username> -P <passwd> -f INBOX 5), and the '<' and '>' should be there? Could you give me an example. Thanks!
    PS: I am not English-speak people , forgive my poor English.

  • Where's the Users data?

    Sadly, my hard drive failed on my alum. iMac 24, and I had it replaced under warranty. I was grateful that I had been using Time Machine (to an external HD), and this was the first time I needed to restore anything (in this case everything).
    It appears that everything is in the Time Machine archives except all the files that would normally be in the Users folder. Am I to assume that I've lost all my email, contacts, calendar, paswords, etc etc ??? Or do I need some special access routine to unhide those files?

    I'm starting to believe that you may be right, but I wasn't even aware that you could exclude material in syncs. It's obviously not something I would have done deliberately, since my User are practically the most valuable stuff I have.
    I've always hated the fact that every Mac is assumed to be a multi-user machine by default, when 99% of Macs are used by one person. It is a personal computer, right? Why should I be forced to jump through hoops configuring myself as a user, when I'm the only user. Anyway, sorry to rant. That's off topic.
    I guess I'll have to see what I can salvage from sources outside of Time Machine.

  • User start date can not be before the current date

    I'm creating users using the Reconciliation engine. The start date attribute doesn't appear to be reconciling. I get many different types of parse errors. The closest I appear to get is when I set the Xellerate User resource object recon field to have Start date as a date field, i receive the error:
    "User start date can not be before the current date.".
    I'm using 9.0.1.1. And I AM trying to create a user that has a start date before todays date.

    Resolution was to patch to 9.0.1.1578

  • UME to CUA(ABAP) user data replication for custim attribute.

    Hi All,
    We have planned that Users will be created in portal and from there user data will flow to CUA(ABAP) and from CUA it will flow to r3,BW,CRM ..etc .
    I have configured the UME(portal) so that when ever I create user in Portal it flows to CUA (ABAP). In CUA when I assign a system (system name -  the abap system in which CUA should transport the user data) to the user ,user data flows in respective system (R3) ie user gets created in that system (r3 or BW depending on the assigned system name) .
    UME ---> CUA --- > r3 or bw or CRM etc…
    Now I want to automate the process .I want to assign the system name to the user in UME itself (not in CUA).I have created a custom attribute ‘system’ in CUA .
    Now problem is how to map UME custom attribute of ‘system’ to CUA (ABAP) user attribute ‘system’ . Also please let me know which XML file (data source) I should modify.
    Regards,
    Gyan

    Hi Gyan,
    We have installed NW'04 SP14 with both ABAP and JAVA stacks on this system. We are using datasourceConfiguration_abap.xml as our J2EE
    UME setting. We have found that when we create any user in client 000 from CUA that user is then create in UME. We have three clients in this development system. When we create users from CUA from the other clients in this ABAP system the users do not come into the Java UME. We do not want to create the users in client 000. What is your Java UME setting and how can we get the users in the other clients push to UME.
    Regards,
    Anthony
    Message was edited by: Anthony Bright

  • Date Manipulation Depending on the various user date settings

    hi,
    I have a query.
    In scripts, user date format setting is YYYY.MM.DD, values stored the table MHND are also in the format YYYY.MM.DD.
    However when i pass the date values from MHND from form to subroutine pool the dates are available in the format DD.MM.YYYY in the subpool.
    I want to calculate the diffenece between two dates. I have checked the function modules to calculate the differece betweent 2 dates those acccepts dates with type YYYYMMDD.
    However i tried to bring my dates in from YYYY.MM.DD into YYYYMMDD format by using CONVERT_DATE_INTERNAL function module... That is not working as the user date format is YYYY.MM.DD and the dates are coming in subpool in DD.MM.YYYY format....
    Please suggest me the approach the relavant function modules.... so as to manipulate the dates based on the user date settings.
    Looking forward for your replies. Thanks in advance.
    Regards,
    Anuja.

    hi anuja,
    Try using the following formatting  script symbol in your form routine
    For example, you are passing the date into the subroutine then put K after the date field like below.
    &date(K)& .
    or
    use SET DATE MASK : YYYY:MM:DD
    Thanks,
    Vamshi

Maybe you are looking for

  • How can I see what is inside my iCloud?

    My iCloud has more than 5GB and I know it is backing up info that I don't need....I'd like to keep it under 5GB.  How can I tell it what to keep and what to trash w/out having to tell it to trash a whole category of info?

  • Adding a client to a collection is slow

    Or "Help me like SCCM 2012"! I like it in principle, but it seems awfully fragile. For instance, we had it deploying an OS image just fine. The consultant who put this functionality in place included a VB script to place newly imaged machines in to t

  • Problem with iPad & iPod (All internet devices) because of Router.

    I have had my iPad & iPod replaced because of the images below and slow and weird video problems.. Does anyone know what it is?

  • Imp错误

    数据库版本是10.2.0.4.0:数据导出时没有问题,可在用imp导入时报以下错误: IMP-00003: 遇到 ORACLE 错误 29855 ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine ORA-00955: name is already used by an existing object ORA-06512: at "SYS.DBMS_SYS_SQL", line 909 ORA-06512:

  • Enhancement of FBL1n

    Hello All,   My client requires to enhance the program of tcode: FBL1N,program RFITEMAP where by to add a new column in the output layout. The 2 column is to extract and display the NEt Invoice Amount and the TAx/VAT  Amount. As the standard does not