Field Length Cannot Be Reduced UDF

I have a problem where i accidentally updated the Alphanumeric UDF to 100 and now i want to reduce its size and it prompts me with an error saying "Field Length Cannot Be Reduced". Any way to fix this?

Hi David,
You will not be able to Reduce Length of UDF once Created.
This is Standard System Behavior.
If its your requirement then Delete existing UDF and then Create again same UDF name with less Length.
Hope this help
Regards::::
Atul Chakraborty

Similar Messages

  • Increase of Field length. & vendor data @ sales documents

    Dear all,
    a. I want to increase the Sales employee - Remarks (field) length from 50 characters to 200 characters.
    Can we increase the length of standard field's without using SDK? If yes, tell me how to do?
    b. I am creating 2 UDF's @ marketing documents. - Title level
    At first UDF - I want to see all the vendor master data (vendor codes) by formatted search
    At the secound field  - the address of the relevant Ship to r bill to address of vendor has to be filled down - as soon as i selected the vendorcode on the above field.
    Can we map the UDF's as per the above requirement - with out using SDK & by using formatted search.
    If - we can do with formatted search - help me of how to do & send me the query.
    Thanks & Regards
    ganesh

    Ganesh,
    The SAP database field lengths cannot be changed.
    Reg the Formatted Search of Vendor Codes for the first UDF.  The SQL would be like
    SELECT T0.CARDCODE FROM [DBO\].[OCRD\] T0 WHERE T0.CARDTYPE = 'S'
    YES, it is possible to trigger the FMS on the second UDF when the Vendor Code is filled in the firt UDF.
    I am not clear with what you mean by the following
    At the secound field - the address of the relevant Ship to r bill to address of vendor has to be filled down - as soon as i selected the vendorcode on the above field.
    The Address information is in CRD1 table and you can use the first UDF's values in the WHERE clause of the SELECT statement in your second FMS
    example:
    SELECT T0.STREET, T0.CITY, .... FROM [DBO\].[CRD1\] T0 WHERE T0.CARDCODE = $\[ORDR.U_USERFIELD] AND T0.ADRESTYPE = 'B'
    CHANGE U_USERFIELD1 with the name of your Vendor Code UDF
    T0.ADRESTYPE = 'B' ..........FOR BILLING ADDRESS
    T0.ADRESTYPE = 'S' ..........FOR SHIPPING ADDRESS
    Suda

  • UDF for Splitting the nodes based on the field length

    HI All,
    Target records Record1 to Record4 must be created based on the length of the source field length i.e, if the source field length is only 90 then only 3 records must be created.maximum length of the source field is 120.The source and the target structure are as shown
    Source                                  Target
    Record                                Record(30)
          Field(120)    ------------->          Field1(10)
                                                     Field2(10)
                                                     Field3(10)
    After mapping:-
            Source         ----------->        Target
    Record                                Record1(0 to30)
          Field(120)    ------------->          Field1(0 to 10)
                                                     Field2(10 to 20)
                                                     Field3(20 to 30)
                                               Record2(30 to 60)
                            ------------->          Field1(30 to 40)
                                                     Field2(40 to 50)
                                                     Field3(50 to 60)
                                               Record3(60 to 90)
                            ------------->          Field1(60 to 70)
                                                     Field2(70 to 80)
                                                     Field3( 80 to 90)
                                               Record3(90 to 120)
                            ------------->          Field1(90 to 100)
                                                     Field2(100 to 110)
                                                     Field3(110 to 120)
    Can any one provide me the code to get this done.
    Thanks ,
    Vikram

    You need no UDF. You can use the substring function, but you should check the length of the string to prevent mapping errors due to the substring function.

  • Changing field length of a standard field in standard table VBEP

    Hi,
    Please advice the possibility and the possible repercussions of changing field lengths in a standard table. Table in concern is VBEP.
    Thanks & Rgds,
    Pradeep

    No you cannot change the field length
    thanks
    G. Lakshmipathi

  • Control an Integer field Length without using Validation ??

    Hi,
    I have Couple of fields where I need to configure them as Integers.
    Now each one has a fixed length that i need to limit to.
    But when i create a field of type: integer, i cannot select teh length!!!
    To achive this the idea i have is to write a validation which checks length..
    But can i achive it without going for a validation on each field???
    PS: I am aware that TEXT field can limit the length But it also allows me to enter text values, my requirement clearly says that to allow users to only enter Numeric values..
    Did anyone face a similar Case?
    Kind Regards
    Eva

    Hi Eva,
    I didn't try in the system, but I feel there are two solutions to achieve your requirement (*of course in both cases you will need to write a simple validation)
    Solution 1 : When field is defined as "Integer" in Console.
    lets take an example, you want to restrict an integer field with a limit of max 4 characters.
    Maximum value of a 4 character integer can be "9999". So, you can put a simple validation to compare the field value with 9999. if the value is less then this means fields values is less than 4 characters, else more than 5 characters.
    In this case Your validation expression in expression editor will be:
    FIELD NAME<= "9999"
    Solution 2 : When field is defined as "Text" in Console.
    In this case you can restrict the maximum field length through Console. But you will also need to write a validation to ensure that user is not entering any alphabets or special characters in this field.
    In this Case you can use below validation:
    HAS_ALL_CHARS(FIELD NAME, "0","9")
    This will ensure that field has all characters between 0 and 9 and doesn't hold any special character or alphabets.
    In Both cases you will need to set  "Automatic Execution" property as "Error". Also please do not manually type any function or value in expression editor. use drop down for fields, operators, functions etc.  and enter numeric values using the first blank box before dimension list.
    Kindly revert if you face any issues.
    -Shiv

  • I want to extend table "hr_location_extra_info_lei" column name "lei_information3" field length from 16 to 30 and was wondering if I can do this and how?

    I am trying to extend the field length for colun lei_information 3 from 16 characters to 30 characters in the table hr_location_extra_info_lei, but cannot seem to do this.  Can the length be changed and if so how?
    Many thanks
    Louise

    Hi Louise,
    All the "lei_informationX" columns in   hr_location_extra_info  table are of size VARCHAR2(150) (Oracle EBS R12).
    So I understand why you're saying it's limited to 16 characters.
    May it's only a question of your setup limiting it to 16 car., in which case you can easily change it to 30 by unfreezing the DFF and modifying it.
    Regards,
    Rajen

  • Field UMSA1 cannot be converted in type CURR - long Text

    Hi All,
    I am getting the following error
    Error records written to application log
    Error in an arithmetic operation in record 489
    Record 489:Contents 四川省长江滥曝扇备总 from field UMSA1 cannot
    Record 489 :Contents 四川省长江滥曝扇备总 from field UMSA1 cannot be converted in type CURR ->lo
    This happened for the customized master data Z********(customer number). Data source; 0CUSTOMER_ATTR
    I have undertaken the following actions but all failed.
    1. Replicated the data source, activated the transfer structure through a program and the load was run but the load failed with the same issue.
    2. Pushed the data till PSA and tried to edit it in the PSA, but here too the load failed with the same issue.
    It is understood that the data source 0CUSTOMER_ATTR is obtained from the Funtion Module: MDEX_CUSTOMER_MD
    Out of 5 data packages, I could find only 3 data packages in PSA which are successful, the remaining had error and could not be found in PSA. Checked in R/3 but could not catch the correct record, since, did not had proper info. UMSA1 refers to Annual Sales, which are empty in R/3 and BW as well.
    The UMSA1 field in data source 0CUSTOMER_ATTR in BW.
    Data Type: CURR, Length: 15, Decimal: 2, curr/unit: UWAER
    The UMSA1 field in R/3
    Data Type: CURR, Length: 15, Decimal: 2
    Request your timely suggestions.
    Raj

    Dear Veerandra,
    I have already checked in R/3 as you had mentioned. But as I said earlier, could not catch the correct record, since, did not had proper info. UMSA1 refers to Annual Sales, which are empty in R/3 and BW as well.
    I have undertaken the following actions but all failed.
    1. Replicated the data source, activated the transfer structure through a program and the load was run but the load failed with the same issue.
    2. Pushed the data till PSA and tried to edit it in the PSA, but here too the load failed with the same issue.
    It is understood that the data source 0CUSTOMER_ATTR is obtained from the Funtion Module: MDEX_CUSTOMER_MD
    3. Error Handling option.
    Regards.
    Raj

  • How to extend the fields length

    Hi Experts,
    I want to increase the fields length of my BP name in portal .
    now it is 40 char in one line but i want 60 char in one line .Can any body send the solution.
    Thanx in advance
    Regards,
    Khurram

    Default length of BP Name field is 40 chars in length.You cannot change this ..
    Thirumala.

  • Item number field length limitation?

    A non-SAP client is presenting a business proposal to a SAP customer and what they want to know is what is the limitation on Item numbers for products for a manufacturing company running SAP ERP? No, we cannot ask the customer, yet!
    I know the SAP is highly customizable but is there a field length limitation or anything else you can tell me?
    Many thanks!
    -Bob

    Hi,
    Pls refer:
    [http://help.sap.com/saphelp_46c/helpdata/en/77/1a39516e36d1118b3f0060b03ca329/content.htm]
    Regards,
    Amit
    Edited by: Amit More on Jun 7, 2008 7:44 AM

  • Preview field length in DIAdem ascii import assistant too small

    I am evaluating the DIAdem 8.0 software, and cannot seem to get around the field length of the preview in the ascii import assistant. The default field is 10240 bytes, my file header is much larger than this (I don't make the files, I just use them . If I can't see the headers, I cannot properly import the file. Is there a variable available to increase the default size on the preview field? Adjusting the memory options doesn't seem to affect the field size at all...

    Could you ZIP your ASCII file and upload it here, I would like to try to find a solution to your problem and need a file for testing.
    You might want to provide a file with 'uncritical' i.e. non-confidential data, as everybody will be able to download your file once you make it available here.
    I look forward to receiving your file.
    Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • GL Account Field length

    Hi,
    My client wants to change the account field length in the doc entry. Standard account field is length is 16 or 17 digits. Its length has to be reduced to 10 digits.
    How can i do this ?  Can I do this in the configuration (or) customisation ? If it is customisation what are the tables I need to touch ?
    Awaiting for the reply
    Thanks,
    Krishna

    Use Transaction code OB13 to maintain maiximum length of GL account length as 10 apart from this you can also write validation so that if any gl account with more that 10 digits is entered system gives error.
    Regads,
    Manish Jain
    Assign points if it serves your purpose.

  • Field length truncation ?

    Hi Guys,
    I have the xml data coming from SAP and it has the accounting document no field with 12 char long, but when i send this information to a 3rd party system and in the reponse i have the accounting doc number just with 10 char long. The database schema on the 3rd party system is designed for just 10 char.
    The requirement is need to send this accounting document number back to SAP with the same 12 char as it has supplied.
    any help would be appreciated
    Thanks,
    srini

    HI,
    While sending the filed from SAP to Third party system you need to reduce the field length to 10.
    So Source filed --> Substring (Starting index, length (10)) -
    >Target field.
    Here you could truncate the intial 2 chars or last 2 chars of the filed.
    You could have one suggestion to split the field in two different fileds while sending to target field.
    Similarly for Target field ---> Source field
    You need add suffix or prefix of 2 Chars may be 00 or any special chars.
    IF you are spliting the filed in two seperate fields on Third party side then in reverse direction for sending it to SAP you could concatenate these two fields.
    Thanks
    Swarup

  • Fields Length

    Hi,
    I have pulled up the required e-mail field  from table ADR6 , but the problem is the ADR6-SMTP_ADDR field length is 241 char which is taking too much space in the ALV output may i know how to  reduce the actual legnth of field to the required pls..
    Thxs,
    Vin.

    Hi,
    if you are using 'REUSE_ALV_FIELDCATALOG_MERGE' to build the field catelog, then change the field length with below code :
    loop at it_fieldcat into x_fieldcat.
    if x_fieldcat-fieldname = 'SMTP_ADDR'.
       x_fieldcat-OUTPUTLEN  = 20.
        modify it_fieldcat from x_fieldcat index sy-tabix.
       endif.
    endloop.
    if you are building the fieldcatelog in your own way then use below code to change the field length.
    it_fieldcat-FIELDNAME = 'SMTP_ADDR'.
    it_fieldcat-KEY = 'X'.
    it_fieldcat-OUTPUTLEN = '20'.
    it_fieldcat-SELTEXT_L = 'E-Mail'.
    APPEND it_fieldcat .
    CLEAR it_fieldcat .
    Regards
    Appana
    *Reward Points for useful answers

  • Htmleditformat & Database Field Lengths

    I happened across an article about SQL injection, a topic I frequently look back into to see what new threats have been discovered, and this particular author was pushing for the use of htmleditformat on all form data being inserted into a database. Now I have coded and secured several different websites against SQL injection, each using simlar to slightly-varied techniques at blocking those pesky hackers, so my question is not how to prevent SQL injections, but instead my question is more about htmleditformat and database field lengths.
    htmleditformat on user-inserted data is part of my SQL injection prevention scheme, but on rare occasion I have this problem:
    Let's say I have a field in my database for the user's first name, with a generous length of 20 characters.
    The user's name, just as an example, is 18 characters long. No problem, right?
    But let's say that user's name has a symbol, or foreign language character, that then gets converted by htmleditformat behind the scenes? Suddenly that 18 characters balloons up to 23 characters, generating an error because my CFQUERYPARAM maxlength is 20, not to mention the field in the database.
    So, for those who do scrub user data with htmleditformat, how do you handle this, if at all?

    I agree with mack. HtmlEditFormat is intended for displaying strings, not making them safe.  You might try using the StripHtml or SafeText user defined functions from cflib.org to remove undesired HTML from your input.
    http://www.cflib.org/udf/stripHTML
    http://www.cflib.org/udf/SafeText

  • Field length change in Web Dynpro Components iView

    Hi,
    We are using SAP MDM Web Dynpro Components - Configuration Manager (NW7.3) to develop the UI. One of the issue while disply field is, Though field maintained in MDM has only 2 charaters UI that displays a full-screen-width field.
    I would like to display actual field length maintained in reposiroy for each field. Is it possible??
    Cheers,
    Rc

    This is closed.
    By mistake Raised Twice....I guess I need break

Maybe you are looking for

  • Battery life and heating uo

    I have a z 10 and just did the 2.1.2941 upgrade and since then my battery life goes from fully charged to dead in a matter of 2 hours. I don't have any apps running either. Also my phone now is super warm. This happened to me not the last update but

  • I need to see how many times a report is executed in the system.

    Hi, I need to know how many times a report and background job is executed in the system. How can I know that? Thanks for the help!

  • Changing InfoObject to allow lowercase letters

    Hi All, We have Invoice Number InfoObject which was already developed and used in some of the DSO in production. This infoobject was not checked with the lower case letters option in the object properties while creating the object. From two days we a

  • Flash web previews not showing up!

    I have made web pages using LR with flash based galleries like SimpleViewer before. I haven't opened LR in a few months and for some reason when I click on the gallery choice it refuses to show me in the work space area what it's going to look like.

  • Export and re-import in to project keeping background transparent.

    Hi guys... I have had some joy and some no so joy... maybe I am doing something wrong.. I have been using a smoke emmitter and "flattened" this and re-imported back into project to save ram or to duplicate the layer (for more smoke) and also again sa