Skip to Content
avatar image
Former Member

ALV Output

hi,

i want to display an alv grid output in the following format,

can anybody please suggest me the solution, if not possible

please suggest me an alternative solution.

--------------------------------------------------------------------------------------
|                      Receiving Plant | 123     | 2345	      |
--------------------------------------------------------------------------------------
|	                     State | Maharashtra | Gujarat        |
--------------------------------------------------------------------------------------
|Issuing Plant  | State     | City  | Mumbai	    | Ahmedabad|
---------------------------------------------------------------------------------------
|3456	       | Goa	    | Goa   | 1,000   	    | 1,300	      |
---------------------------------------------------------------------------------------
|4567	       | Rajasthan | Jaipur| 2,200	    | 300	      |
---------------------------------------------------------------------------------------

this output contains the issuing and receving plants in horizontal and vertical

and on the intersection of both this plants i have to display the amount for that

combination of issuing and receving plant.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 21, 2007 at 12:24 PM

    Hi Mubashir,

    You can use ALV GRID via objects , Make your headings as I/O feilds on trhe screen and the table as ALV grid table , Hope this can solve your problem,

    Reward if you find the info useful.....

    Regards,

    Amit

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 21, 2007 at 12:31 PM

    You can do this with an ALV - just requires a bit more pre-formatting of the data.

    Basic idea is to define required number of columns all as character fields of the required width, and then write your different data into appropriate lines - so the field will have text in row 1, but the same field might have amounts in rows 2 and 3.

    You need to add extra columns containing line sequence numbers so you can sort into the correct order, and need to calculate the totals yourself as ALV cannot add the text columns.

    A lot of ALV functionality is reduced in value - filters, sorting, etc. but report can be produced.

    Andrew

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 21, 2007 at 12:36 PM

    in top of page event of alv make same like this with write.

    regards,

    Muhammad Usman

    Add comment
    10|10000 characters needed characters exceeded