‎2014 Feb 23 11:42 AM
hii,
in my report i take spfli-carrid as an input and then i query the spfli based on the carrid and the display all the entries.
In the above report how can i make a column into a editable drop down on the output screen.
If there any to implement this in interactive reports without using alv grid display??
‎2014 Feb 23 12:05 PM
Hi,
Basic question, you could have searched scn before posting.
Refer SAP Demo programs.
In SE38, give "BCALV_EDIT*" and click F4.
Thanks & Regards
Bala Krishna
‎2014 Feb 23 12:14 PM
‎2014 Feb 23 12:29 PM
I guess in normal reports its not possible, may be you can try by creating a Module pool program.
‎2014 Feb 24 6:20 AM
Hi Krishna ,
Have you tried the FM VRM_SET_VALUES in your report , check this code .
types: begin of t_ekko,
ebeln type ekko-ebeln,
end of t_ekko.
data: it_ekko TYPE STANDARD TABLE OF t_ekko,
wa_ekko like line of it_ekko.
TYPE-POOLS: VRM.
DATA: NAME TYPE VRM_ID,
LIST TYPE VRM_VALUES,
VALUE LIKE LINE OF LIST.
PARAMETERS: P_PARM(10) AS LISTBOX VISIBLE LENGTH 10.
*********************************************************
*AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
SELECT ebeln
up to 10 rows
from ekko
into table it_ekko.
loop at it_ekko into wa_ekko.
VALUE-KEY = wa_ekko-ebeln.
VALUE-TEXT = wa_ekko-ebeln.
APPEND VALUE TO LIST.
endloop.
NAME = 'P_PARM'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
ID = NAME
VALUES = LIST.
********************************************************
*START-OF-SELECTION.
START-OF-SELECTION.
WRITE: / 'SELECTED VALUE KEY:', P_PARM.
Regards,
Sivaganesh