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

ALV GRID display

Hi,

While display internal table in GRID display in ALV.....Vender number is displaying zero's as prefix. How i can display vender number as NO-ZERO. Could you please help me...

Thanks,

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 03:14 PM

    Hi Chinna,

    U can use the field catalog for this.

    Make the field NO_ZERO = 'X' while building the field catalog.

    <b><REMOVED BY MODERATOR></b>

    Message was edited by:

    Alvaro Tejada Galindo

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 03:13 PM

    while populating internal table itself you move that field into charecter field with

    no-zero extension. Now use this field in final internal table u pass to ALV.

    I think u can also set the following parameter to 'X'.

    W_FIELDCATALOG-NO_ZERO = 'X'.

    Regards

    vasu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 03:17 PM

    Call the function module CONVERSION_EXIT_ALPHA_OUTPUT to remove leading zeros.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2007 at 03:32 PM

    hi

    good

    use this function module

    CONVERSION_EXIT_ALPHA_OUTPUT

    thanks

    mrutyun^

    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.