Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Enquiry in ALV GRID HEADER

Former Member
0 Kudos
56

Hi,

I want to put input field in header of the ALV GRID display.

Its an urgent req.

Can any one plz help.

Pooja

1 REPLY 1

Former Member
0 Kudos
40

see below

CLEAR lf_fieldcat.

lf_fieldcat-fieldname = '<b>MENGE'[/b<u>].<here what ever u give it will come as header in alv grid and if u dont want and u want same as dictionary give the field name it will fetch></u> lf_fieldcat-ref_tabname = 'EKPO'.

lf_fieldcat-ref_fieldname = 'MENGE'.

lf_fieldcat-do_sum = 'X'.

lf_fieldcat-qfieldname = 'MEINS'.

APPEND lf_fieldcat TO lt_fieldcat.

  • UNIT

CLEAR lf_fieldcat.

lf_fieldcat-fieldname = 'MEINS'.

lf_fieldcat-ref_tabname = 'EKPO'.

lf_fieldcat-ref_fieldname = 'MEINS'.

APPEND lf_fieldcat TO lt_fieldcat.