cancel
Showing results for 
Search instead for 
Did you mean: 

How to add fields in the header of ALV

nandishm
Participant
0 Kudos

Hi...

Is there any way to add fields in header of the alv ,

Ex:-

This is my alv header

I want to add two fields like  COMPANY :-   text_value

                                           DEVELOPER:- text_value

In the header part .

So is there any way to do it  .

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

harsha_jalakam
Active Contributor
0 Kudos

Hi Nandish,

I am not sure on adding label and text fields on ALV toolbars, alternatively TOP_OF_LIST can be used to display label fields, with binded text fields, just on top of the ALV table.3

Check the below link for the same,

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0ee06d0-d475-2b10-ddad-bc4bf134c...

Regards,

Harsha

nandishm
Participant
0 Kudos

Its working....

But its coming in the center of alv, i need at beginning of line

harsha_jalakam
Active Contributor
0 Kudos

Hi Nandish,

Try to align the ViewContainerElement  in  the TC, which the ALV is embebeb to left justified.

Regards,

Harsha

Answers (1)

Answers (1)

ramakrishnappa
Active Contributor
0 Kudos

Hi Nandish,

Yes, there is a way

Please refer to the below document

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0ee06d0-d475-2b10-ddad-bc4bf134c...

Hope this helps you.

Regards,

Rama