Skip to Content
avatar image
Former Member

How can we sort up currency field in alv grid??

Hi GUrus,

Can any one suggest me how to sort the currency field in alv grid...Please help me out of this issue..

Thanks in advance!!!

regards,

Kranthi.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    Sep 17, 2008 at 09:34 AM

    use the sort option of alv , populate the sort table and then send it to ALV function or method.

    sort-fieldname = 'CURRENCYFIELD'.

    sort-up = 'X'.

    append sort to it_sort.

    pass this it_sort to ALV function parameter it_sort.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 17, 2008 at 09:37 AM

    hii,

    SAP provides a set of ALV (ABAP List Viewer) & function modules, which can be used to enhance the readability and functionality of any report output.

    ALV is a flexible tool used for displaying lists.The tool provides common list functions & can be enhanced by self-defined options.

    so u will get the option for sorting in your alv report.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 17, 2008 at 09:42 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 29, 2008 at 06:58 AM

    thanks A lot

    Add comment
    10|10000 characters needed characters exceeded