‎2006 Nov 22 6:18 AM
Hi,
I'm using FM:
COPO_POPUP_TO_DISPLAY_TEXTLIST to display list in pop up.But it shows only data.
I want header for the fields also.
Can anyone pls guide me ?
Helpful answers will be rewarded.
Regards,
Sipra
‎2006 Nov 22 6:19 AM
‎2006 Nov 22 6:21 AM
Hi sipra,
1. If u want to display headers (column headings also),
then we can use ALV concept,
(It will be displayed as a popup)
2. if we pass these parameters, then it will show alv
in popup (instead of full screen)
I_SCREEN_START_COLUMN
I_SCREEN_START_LINE
I_SCREEN_END_COLUMN
I_SCREEN_END_LINE
regards,
amit m.
‎2006 Nov 22 6:33 AM
Hi Sipra,
Please use the given FM below for displaying list in pop-up:
CALL FUNCTION 'G_DISPLAY_SELECTION_DYNPRO'
EXPORTING
dynp_title = 'List'
sel_title1 = 'ITAB_HEADER'
TABLES
sel_table = itab_data[].
Here pass the title name of the popup in dynp_title. Pass the header for pop-up in sel_title1. Pass the data in sel_table.
There are other options also available in this FM which you can use based on your requirements.
Regards,
Chetan.
PS: Reward points if this is helpful.
‎2006 Nov 22 7:45 AM
HI Sipra,
Check <b>COPO_POPUP_TO_GOON</b> : Decision: Continue or Cancel
Regards,
Santosh