Want to change data type CHAR32 to CHAR40 in cutomized function module(CRM)

Hi Friends,
     I have a requirement to change the data type CHAR32 to char40 .
     Pls guide me how to do it.do I need to change it directly or we have do anymore changes?
Thx in Adv.
Baba

Hello Baba,
In my opinion the length of a data field has little to do with the ITS and it's templates.  You should be able to change the length for your function module and then the new length should work on the ITS if using the Webgui.  If you have custom templates then maybe you will need to recreate the templates or modify the field length, but this is second to actually changing the datatype length in the R/3 system.
Edgar

Similar Messages

  • Dynamically change data type of a field

    Hello,
    I'm trying to dynamically create a SQL statement which will insert record sin to my SQL data base.
    I dynamically bring field name sand values. then concatenate them in a string and then Execute the SQL string in a native SQL eXEC statement.
    It all worked fine till I used signle quotes for all field values.
    but now I wante dto insert a field of type "Money" is SQL which is nothing but AMount/currency in SAP.
    Now If I remove this quotes it is working fine. but If I have a negative number the "-" sign comes in the end in my abap code and gives a short dump in insert statement.
    now I wante dto make that variable dynamic in to currency rather than String.
    Please let me know how Can I change it dynamically.
    EG: w_field_value = 3000.25-  (value in SAP / w_field_value is of TYPE String)
    Before I concatenate this , I wanted to change its type to AMOUNT ...
    thanks.

    Just Use the field Symbols.
    Regards
    Rusidar S

  • I want to change Material Type for mass upload.(MMAM)

    hi all,
    I want to change Material Type for mass upload.(MMAM)
    Suggestion pls? or Any BAPI is availablre?
    Edited by: abap_friends on Jan 6, 2011 7:12 AM
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 6, 2011 11:27 AM

    This may be little tough for 10000 sales orders.
    1. You have to remove the output record for the irrelevant output record using tcode VV12 for the relevant document type. So now for the document type, the old output wont be triggered.
    2. Now, create output records for hte correct output type in VV11 tcode(for the output type BA03) for the document type. Now this output will be triggered for all the document types you are creating from now onwards.
    3. To trigger the output type BA03, in all the old orders, you just have to open these sales orders in change mode (VA02), and just save it. When u open it the output type BA03 will be automatically triggered as the master data is maintained in VV11. But because just opening all the 10000 sales orders in VA02 one by one be a mechanical task, you have to think of some tool for this.
    May be a CATT procedure can do the trick. Else, you can just create a small program, where you can upload these sales orders and the program will just open these orders in change mode and just saves it (without making any changes). Then the output will be retriggered.
    Here again, if you are printing the output directly, it is advisable to trigger the output in batch mode(Date/Time field is 1 in VV11), and then you can again trigger the printing again using the program RSNAST00 after office hours for these 10k orders.
    I hope I answered ur query.
    Pls lemme know if you need some more info. (You can reward me too...)

  • Want to change date format

    hi
    i want to change date format i m getting  date formate  this <b>20070627.</b>
    but i want this format in  <b>27.06.2007</b>
    please suggest me .
    thanks in advanced.

    Hi,
    Do this.
    DATA: lv_dt(10)  type c.
    lv_dt =  table1-f1( the field from which ur date is coming.)
    concatenate lv_dt6(2)  lv_dt4(2)  lv_dt+0(4)
                                    into lv_dt
                                    separated by '.'
    write:/ lv_dt.
    This will sove ur problem
    Regards:
    Sapna
    Do reward points if u find this helpful

  • Changing data types of  fields in structures

    Hello,
       Currently we are working for upgrade to ECC 6.0 .
       In some transactions we are using BAPI_MATERIAL_SAVEDATA to create material.
      We have some additional fields in MARA and MARC table , which we fill using BAPI_TE_MARA and BAPI_TE_MARC structures.
        In these structures we have different data types for fields earlier in 4.6C
    Now this function module is only working if we change  data types of  fields in these structures only to char type. It is going for dump , if we maintain any other data type.
      Could any body tell me why should we change for char data type ?
    Regards,
      SATYA

    Hi,
    Check enhancement category (Extras --> Enhancement Category) for structures before enhancement. For example, for BAPI_TE_MARA structure, enhancement category is given as character type or numeric type. That means you can add the fields of data type only C and N. No other data types are allowed. If you select as not classified then you can add any data type. This option plays important role while enhancement.
    Regards,
    Prasanth

  • How to change data type of attribute in caf

    hi.
    this is my problem.
    i been added a attribute in an entity service called emloyee. named "Birthday", use the data type "com.sap.caf.core.date".
    when i tried modify the entity service, i hit exception about "DST Daylight Saving Time".
    because of DST, the date will add an hour such like "1957/04/01 00:00:00.0" to "1957/04/01 01:00:00.0", and com.sap.caf.core.date will throw an exception.
    is anyone had same problem like me?
    how to fixed it(if passable)?
    and, how to change data type?
    thanks.

    Hi Sruthi,
    all you need to do on this is open the report go to the parameters, select the parameter that you wish to change and click "Edit". This will allow you to change thefield to a date rather than a date time.
    Regards,
    Noel

  • Change data type from number(11,6) to number (11,8)

    I have a table, which has a million records...I have to change data type of some of the columns from number (11,6) to number (11,8).
    I thought of taking the backup of the table , truncating the original table, change the data type and then insert data back.
    Is it a safe option considering so many records ?

    the first number is precision and the second is scale:
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/schema002.htm#sthref472
    so yes, 11,6 can hold larger numbers than 11,8
    create table foobar (two number(5,2),
                         three number(5,3))
    insert into foobar values (123.45,12.345); 
    --works fine
    insert into foobar values (123.45,123.45);
    --gives error ORA-01438: value larger than specified precision allowed for this column

  • When I want to change date of picture, iPhoto close the program. Why?

    When I want to change date of picture, iPhoto close the program. Why?

    As a Test:
    Hold down the option (or alt) key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?
    Post back with the result.

  • How to get data from table to pass into alvgrid function module

    i want to get some data from below table to pass into function module of alvgrid
    how can i get data please help.
    thanks in advanced.
    form get_data.
    select * into corresponding fields of table itab
             from  J_1IEXCHDR
                     inner join  J_1IEXCDTL
                        on  J_1IEXCDTLlifnr =  J_1IEXCHDRlifnr
                     where  J_1IEXCHDr~status = 'P'.
       append itab.
    endform.

    Pass your final table(internal table which you want to display) along with fieldcatalog to FM reuse_alv_grid_display.:\
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = i_repid
       IT_SORT               = gt_sort
          it_fieldcat        = lt_fieldcat[]
        TABLES
          t_outtab           = lt_final
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.

  • How to change the status of the system programmatically with Function Module

    I  Was trying to change the status of the notification through STATUS_CHANGE_INTERN function module .  But It is not changing the status of the notification.
    Can any one help to understand what is going wrong ... or any other function module to change status of Customer complaint notification ..

    Hi KK,
    Please can you take clues form the below discussion thread -
    http://scn.sap.com/thread/775169
    Thanks to all original contributors of this thread!!
    NOTE: Please note that the main point explain here is that, if you are willing to change to a status Ex, NOPR, NOCO, etc then you will need to pass on the value 'I0070', 'I0072', etc. I will also go ahead and like to add one more point here to make the language check as well like "EN", 'DE', etc as these statuses are language dependent too.
    Thanks,
    Arijit

  • How to change data type of content type column.

    Hi all,
    I am having one content type. I have 10 columns in it. There are two rich text columns in my content type. I have attached this content type to pages library. I want to change the data type of this rich text column  to "Full
    HTML content with formatting and constraints for publishing".
    Please assist me with this issue.
    amol

    Hi,
    From your description, my understanding is that you want to change the data type for rich text column in content type.
    The field type of Full HTML content with formatting and constraints for publishing is "Invalid", you could refer to this article:https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx.
    You also could test it by create a Full HTML content with formatting and constraints for publishing column and get the its type with C# code below:
    //change the URL to your SharePoint site
    using (SPSite site = new SPSite("http://sp/sites/sharepoint2013"))
    using (SPWeb web = site.OpenWeb())
    SPFieldType type = web.Fields["Column name"].Type;
    I have tested it with the PowerShell, it cannot hange the rich text column to “Full HTML content with formatting and constraints for publishing” column. If you want to edit the rich text column, you could not change the type of the column as the screenshot
    below:
    As a workaround, you could follow these steps to accomplish your requirement:
    Create a “Full HTML content with formatting and constraints for publishing” type column in the content type.
    Enter your site columns by clicking gear icon -> Site Settings -> Site columns under Web Designer Galleries under section.
    Find and delete the rich text column you want to change.
    Find the column you have created in step 1, and change the column’s name to the name of the text column you have deleted in step 3.
    But you will lose the data of the rich text column in pages library with this method.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to change data type for a field?

    Hi Experts,
    I have one std screen having one field having numeric type. So it will accept only numeric value. Remember I am using standard transaction.
    Now my user wants to enter the special character like + or - in that field(having data type numeric).
    How i can change the data type for the particular field  so that it will also accept + or -?
    Plz reply me as earliest as possible.
    Thanks in advance.

    Hi salil ,
    u have to change / create Domain of  that Data Element.
    but u have to check the Implications. i have done the same thing , but that one is Customer defined one , i got nearly 20 short dumps while doing the TP.
    regards
    Prabhu

  • How to edit/change data type on report that was selected by mistake

    Hello there
    I created a report in APEX and one column is giving error because the data type of one column supposed to be a varchar2 but somehow the report was created with a Date data type. I want to change the data type without recreating the whote report. Can someone help? I tried to edit the report but couldn't be able to figure out.
    HELP....

    I found a solution for this, thank you.

  • Want to change Date format in ISA webshop

    HI,
        I want to know how to setup a date format in ISA webshop. Currently our webshop is showing as mm/dd/yyyy format. we wanted to change it to dd/mm/yyyy format.
    Can any body suggest me how to change it.

    Hi,
    Do this.
    DATA: lv_dt(10)  type c.
    lv_dt =  table1-f1( the field from which ur date is coming.)
    concatenate lv_dt6(2)  lv_dt4(2)  lv_dt+0(4)
                                    into lv_dt
                                    separated by '.'
    write:/ lv_dt.
    This will sove ur problem
    Regards:
    Sapna
    Do reward points if u find this helpful

  • Change data type

    Hi expert.. I have one flat file from here i am locating Gross weight value.. moving it to the text field.. after doing some calculations i want insert this value into ztable.. but in ztable the data type is QUAN.. but in report I was reading from flat file as a text.. while uploading the data it shows me runtime error... Please Help me...

    Hi ruchit,
    Since the table with which you are deaking is a ztable,
    find out two things when you post your clarification next time.
    1) Do you have an access to change the DE of the field in the ztable
    2) Do you know perfectly whether the data from the text file will always be in the same format
    Revert
    Thanks and Regards
    Srikanth.P

Maybe you are looking for