Skip to Content
author's profile photo Former Member
Former Member

Change of Data type in Fuction Module

Hi,

I have a Function Module XYZ and it contains field Custline of datatype char30.

Now I want to change it to Char65 i.e Character type with 65 length. I get a Error message stating that Type Char65 does not exist whereas when i check in se11. I can see that data type.

Thanks in Adv

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 02:51 PM

    CHAR65 is a domain not a data element. TEXT_65 (as previously suggested) and TEXT65 are data elements with a domain CHAR65. There are others, but you can use one of these.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 18, 2005 at 11:16 AM

    HI

    Use data element TEXT_65.

    parameter:Custoline

    type: TYPE

    Associated type: TEXT_65

    Thanks,

    Ramakrishna

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 11:24 AM

    Hi sanjay,

    I checkd it out in our server there is no datatype naming "char65"..

    Check out once.

    Regards,

    Vinod.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 11:36 AM

    Hi Sanjay,

    CHAR65 does not exist as a data type. Try CHAR69 or CHAR70. If your requirement is for 65 characters then you either have to create a new data type or declare a TYPE C variable of 65 length.

    Naveen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 11:49 AM

    HI all I found out that there is an include program in which all the Data type for that Function module is present, However it states that

    • THIS FILE IS GENERATED BY THE FUNCTION LIBRARY**

  • NEVER CHANGE IT MANUALLY, PLEASE!**

  • **********************************************************

    DATA ORG_XY TYPE CHAR30.

    Then how to go about Changing it, Its a Remote Function Call.

Add a comment
10|10000 characters needed characters exceeded

  • Is it your custom RFC or SAP's?

    *****************************************************************
    *   THIS FILE IS GENERATED BY THE FUNCTION LIBRARY.             *
    *   NEVER CHANGE IT MANUALLY, PLEASE!                           *
    *****************************************************************
    

    This text you will see in the include that contains all the function module includes. How did this data definition end up there? Usually all the data definitions are either in the interface of the function module or in the TOP include.

    Can you please give us more details?

    Srinivas

  • Posted on Nov 18, 2005 at 11:52 AM

    HI,

    if CHAR65 exists in the datadictionary then defintiely u will not get that error .... As CHAR65 is does not exist in Data dictioanry if exists then u will never get that error...

    hope my suggestion gives u an idea.....

    Regards,

    Sridhar Reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • Before answering

    You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
    You must be Logged in to submit an answer.

    Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.