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: 

ALV Grid all fields not displaying

Former Member
0 Kudos

Hello All,

I am facing one problem , I have main ALV grid in my report and I am calling another ALV grid on  button of the main ALV.

I have problem with second ALV that is not showing all fields.

please help me.

Regards

Chandramani J.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hello All,

I got the solution .

I have created Variant from Second ALV and pass to 'REUSE_ALV_GRID_DISPLAY'.

Thank you every one.

6 REPLIES 6

laurent_fournier2
Contributor
0 Kudos

Hi,

Check your variant ( if any ) and fieldcatalog. Paste code to help you further.

Regards.

0 Kudos

Hello Laurent,

I have checked this. ther is no variant for this.

my code is

  gd_repid1 = sy-repid.
      CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
        i_program_name               = gd_repid1
        i_internal_tabname           = 'IT_DWN_DISPLAY'
        i_inclname                   = gd_repid1
        i_bypassing_buffer           = 'X'
       CHANGING
        ct_fieldcat                  = gd_fieldcat1
       EXCEPTIONS
        inconsistent_interface       = 1
        program_error                = 2
        OTHERS                       = 3                .
      IF sy-subrc <> 0.
*    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
           WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
       
gd_layout1-zebra               = 'X'.

       gd_layout1-colwidth_optimize   = 'X'.

      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

       EXPORTING

         i_bypassing_buffer                = 'X'

         i_callback_program                = gd_repid1

         is_layout                         = gd_layout1

         it_fieldcat                       = gd_fieldcat1

        i_screen_start_column             = 50

        i_screen_start_line               = 1

        i_screen_end_column               = 140

        i_screen_end_line                 = 20

        TABLES

          t_outtab                          = it_dwn_display

      EXCEPTIONS

       program_error                     = 1

       OTHERS                            = 2

                    .

     ENDIF.

     

Former Member
0 Kudos

More details please. How do you call your second ALV? Are you using REUSE_ALV_POPUP_TO_SELECT ?

-Jake

0 Kudos

Hello Jake,

thx for reply,

I am using 'REUSE_ALV_GRID_DISPLAY' .

0 Kudos

Can you run BALVBUFDEL report and check if the fields are being displayed or not.

Paste your whole code here if it does not work.

Former Member
0 Kudos

Hello All,

I got the solution .

I have created Variant from Second ALV and pass to 'REUSE_ALV_GRID_DISPLAY'.

Thank you every one.