Skip to Content

ALV list display

Hi friends,

I have implemented an ALV grid list using 'REUSE_ALV_GRID_DISPLAY' function module.It displays like this-

SO No Item PO date Advance Amt

31410 10 2006/05/01 500.00

31410 20 2006/05/02 500.00

31410 30 2006/05/05 500.00

31411 10 2006/05/01 100.00

31411 10 2006/05/06 100.00

I want to display advance amount once for each sale order ,bcoz it is at sale order level.I want to display it in a vertical column only and don't want to show it horizontally like sub total row....

Can some body help me out for achieving this functionality...

Thankin You

Regards,

Rajesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 10, 2007 at 07:46 AM

    Hi,

    One opton is pass the sort internal table with the values of sale order no field name and amount field name.But here both sale order no and amount will be displayed as per ur requirement.

    *------EBELN & ADAMNT -->fieldname of sale order no and adavnce amount

    REFRESH it_sort.

    x_sort-spos = '1'.

    x_sort-fieldname = 'EBELN'.

    APPEND x_sort TO it_sort.

    x_sort-spos = '1'.

    x_sort-fieldname = 'ADAMNT'.

    APPEND x_sort TO it_sort.

    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

    EXPORTING

    i_callback_program = sy-repid

    i_callback_pf_status_set = 'PF_STAT'

    i_callback_user_command = 'USER_CMD'

    is_layout = layout

    <b> it_sort = it_sort</b>

    it_fieldcat = fieldcat

    is_sel_hide = v_sel_mode

    • i_screen_start_column = '1'

    • i_screen_start_line = '8'

    • i_screen_end_column = '45'

    • i_screen_end_line = '30'

    TABLES

    t_outtab = itab.

    Message was edited by:

    Vigneswaran S

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2007 at 07:23 AM

    Hi,

    Try using COLLECT.

    Hope this helps.

    Reward if helpful.

    Regards,

    Sipra

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2007 at 07:39 AM

    hi,

    Use the control break statement At New.

    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.