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: 

Is it Possible to display the output of the ALV list as POP-UP

Former Member
0 Kudos

Hi Experts,

Is it Possible to display the output of the ALV list as POP-UP, if yes then provide some ideas on it.

thanking in advance,

Samad.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

You can use the following fields in the ALV FMs


          i_screen_start_column    = 10
          i_screen_start_line      = 1
          i_screen_end_column      = 150
          i_screen_end_line        = 20

Or you can use the FM 'REUSE_ALV_POPUP_TO_SELECT'

12 REPLIES 12

Former Member
0 Kudos

Hi,

You can use the following fields in the ALV FMs


          i_screen_start_column    = 10
          i_screen_start_line      = 1
          i_screen_end_column      = 150
          i_screen_end_line        = 20

Or you can use the FM 'REUSE_ALV_POPUP_TO_SELECT'

0 Kudos

Hi,

Wat are the other import parameters which should be passed to UR_AWB_ALV_GRID_IN_POPUP ?

Regards,

Indu.

0 Kudos

hi indu,

pass these parameters

CALL FUNCTION 'UR_AWB_ALV_GRID_IN_POPUP'

EXPORTING

I_H_START = 10

I_H_END = 50

I_V_START = 1

I_V_END = 12

it_outtab = <IT_OUTTAB>

.

0 Kudos

Hi Samad,

Thank you for your reply.

I tried passing all the export parameters u mentioned but the Function module gives a dump and the error says either tabname or layout/fieldcat must be supplied.

Then i passed a ddic structure name for parameter i_tabname and a internal table like a field catalog for i_fieldcat.

Then it worked.

Thanks a lot .

Regards,

Indu.

0 Kudos

Either a field catalouge or a DDIC structure must be supplied for any ALV

0 Kudos

Hi ,

I am passing both fieldcatalog and the ddic structure also. Now my problem is that the column names are not appearing. I have tried populating the following fields in the fieldcat(SELTEXT ,scrtext_l,scrtext_m,scrtext_s) but no luck.Please help.

Regards,

Indu.

0 Kudos

Hi,

Thank you everybody. I have got the solution. I had to pass the field i_layout too. It worked.

Regards,

Indu.

0 Kudos

Hi All,

I have a requirement in an ALV display to merge the header cells and provide two headers , one main and other sub header.

Is there any way out. Please help.

Thanks in advance,

Indu.

Former Member
0 Kudos

Hi,

Try with this fm..

it displays list in dialog box to choose one or more entries

REUSE_ALV_POPUP_TO_SELECT

Module for displaying or selecting table entries in internal tables in a popup (single or multiple selection is possible).

Regards,

Mdi.Deeba

Former Member
0 Kudos

Hi,

please check report SALV_DEMO_TABLE_POPUP . This demonstrate how to Display an OO ALV Grid in a Pop-Up.

Kind regards,

Bastian Stritt

kesavadas_thekkillath
Active Contributor
0 Kudos

UR_AWB_ALV_GRID_IN_POPUP

REUSE_ALV_POPUP_TO_SELECT

check these two

Former Member
0 Kudos

Hi samad, it is possible to display alv list as pop-up by using the FM " REUSE_ALV_POPUP_TO_SELECT"

try this sample code

CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'

EXPORTING

I_TITLE = P1_TITLE

I_SELECTION = 'X'

I_ZEBRA = 'X'

  • I_CHECKBOX_FIELDNAME =

  • I_LINEMARK_FIELDNAME =

  • I_SCROLL_TO_SEL_LINE = 'X'

I_TABNAME = 'T_VBAP'

I_STRUCTURE_NAME = 'T_VBAP'

IT_FIELDCAT = T_FCAT2

I_CALLBACK_PROGRAM = 'ZTEST_ALV_POPUP'

IMPORTING

ES_SELFIELD = I_SELFIELD

E_EXIT = W_EXIT

TABLES

T_OUTTAB = T_VBAP.

i think it will solve your problem

Regards,

Vijay