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

issue in conversion

hi friends,

i have my vendor number as 00000I00015...

i have to convert it as I00015.

i have tried conversion_exit_aalpha_input...

but its not working...

Please suggest some solution..

Thanks

Praveen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2007 at 06:55 AM

    YOU HAVE TO USE conversion_exit_aalpha_OUTPUT OR

    SHIFT ITAB-LIFNR LEFT DELETING LEADING '0'.

    REGARDS

    SHIBA DUTTA

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2007 at 06:53 AM

    Hi,

    Goto the Vendor Data element and double click that, you will get the Data element screen, there you will find the Conversion exit for the VENDOR field,

    use that Function module to convert the Vendor Number

    or else, use CONERSION_EXIT_ALPHA_INPUT

    Regards

    Sudheer

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 08, 2007 at 06:55 AM

    hi,

    try this.

    data : v_matnr(40) type c,
           v_mat type matnr.
     
    v_mat = '000000123456789'.
     
           pack v_mat to v_matnr.
     
    write v_matnr.

    Rgds

    Anversha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2007 at 06:57 AM

    hi

    good

    CONVERSION_EXIT_ALPHA_OUTPUT converts any number with zeroes right into a simple integer

    Example:

    input = 00000000000123

    output = 123

    thanks

    mrutyun^

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 08, 2007 at 06:59 AM

    Hi,

    The conv exit doesnot work because 00000<b>I</b>00015 , the vendor num has an alphabet.

    l_data TYPE lif16 VALUE '00000I00015'.

    Use the below to do your task.

    SHIFT l_data LEFT DELETING LEADING '0'.

    replace l_data by your vendor num

    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.