Skip to Content
0
Former Member
Sep 23, 2014 at 09:54 AM

REUSE_ALV_GRID_DISPLAY dropdown in one column

1436 Views

Hi Experts,

I need to create a drowndown in one of my column in my alv grid display using 'REUSE_ALV_GRID_DISPLAY'.

I have searched the requirement and I found this one.

So, I tried to use it but when I'm going to use an internal table as may reference table and fieldname it does not show a seach help.

Thanks.

here is my code:

DATA: BEGIN OF it_pumptyp OCCURS 0,

hand TYPE i,

type LIKE zpump_line-type,

END OF it_pumptyp.


it_pumptyp-hand = '1'.

it_pumptyp-type = 'Mobile'.

APPEND it_pumptyp.

it_pumptyp-hand = '2'.

it_pumptyp-type = 'Stationary'.

APPEND it_pumptyp.


PERFORM pf_write_fieldcat USING:

'LINE' 'IT_DATA' 'Line' ' ' '' '' '',

'EQUNR' 'IT_DATA' 'Equipment No.' ' ' 'X' '' '',

'TYPE' 'IT_DATA' 'Pumpcrete Type' ' ' 'X' 'IT_PUMPTYP' 'TYPE',

'STRC' 'IT_DATA' 'Structure' ' ' 'X' '' '',

'QPORD' 'IT_DATA' 'Qty Poured' ' ' 'X' '' '',

'UOM' 'IT_DATA' 'UOM' ' ' 'X' '' '',

'PRICE' 'IT_DATA' 'Price .' ' ' '' '' '',

'TOTAL' 'IT_DATA' 'Total .' ' ' '' '' '',

'RNOELB' 'IT_DATA' 'Required No. of Elbows' ' ' 'X' '' '',

'ANOELB' 'IT_DATA' 'Actual No. of Elbows' ' ' 'X' '' '',

'RNOPIP' 'IT_DATA' 'Required No. of Pipes' ' ' 'X' '' '',

'ANOPIP' 'IT_DATA' 'Actual No. of Pipes' ' ' 'X' '' '',

'OTHER' 'IT_DATA' 'Other Charges' ' ' 'X' 'ZPUMP_LINE' 'OTHER',

'TBA' 'IT_DATA' 'Total Billed Amount' ' ' '' '' '',

'REMARKS' 'IT_DATA' 'Remarks .' '30' 'X' '' ''.