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

Merge Alv header

i have a requirement like this:

display an alv report with column header like this:

consider this as 1 field:

Sr No.| vat inv No | party name | Tin No | Purchase Value| Amt|

| | | | 4% | 5%|6% | |

i dont want to append this as alv cells.

the problem is with purchase value field.

is it possible to display column split single column header into 3 .

or merge 3 column header into 1. like above.

if nothing works then smartform is the last option.

but i am curious to know whether this can be achieved in ALV.

suggestions Plz.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2012 at 04:12 AM

    Hello Abhishek,

    Its not possible with ALV, but you can do this with classical report.

    Regards

    Dhiraj Dangore

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Abhishek,

      Its is not possible in ALV, the reason behind that we can't make fieldcatlog for that.

      And sap doesn't have any functionality to create such fieldcatlog. I already face this problem.

      I used double-click functionality for that column to call next alv containing merge column for that.

      Regards,

      Dhiraj Dangore

  • author's profile photo Former Member
    Former Member
    Posted on Jun 12, 2012 at 01:01 PM

    Hi,

    Not getting your point,,,sounds strange,,,,

    You cannot split the header ,,,but for the same header you can assign the three values saparate by '|'.

    create purchase value as char30 (.Ex)

    concatenate lv1 | lv2 | lv3 into lv._where lv1 to lv3 are different values you mentioned)

    pass this lv to Internal table of alv display..normally

    thanks,

    lingaraj

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2012 at 04:16 AM

    hi,

    it is not possible.

    Regards,

    venkat.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2012 at 05:28 AM

    HI,

    Try use of 'Under' write statement.

    Regards,

    Ravi Singh

    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.