Skip to Content
author's profile photo Former Member
Former Member

report output screen when used cl_alv_table_create=>create_dynamic_table

Dear friends,

In report using class cl_alv_table_create=>create_dynamic_table the output grid in the screen is very small even there is so much of space.

can any one tell me how to make the output in full screen?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Apr 20, 2009 at 12:35 PM

    How did you define your custom container?

    Otherwise try to use the FULLSCREEN variant for displaying ALV-grid.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 20, 2009 at 12:39 PM

    Hi,

    Increase the length of the Container on the screen in whcih you are displaying ALV.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2009 at 06:16 AM

    Hi,

    Using this you have created a dynamic internal table. Please check how you have displayed the contents in output.

    Thanks,

    Jyoti

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 23, 2009 at 03:03 PM

    Hi ,

    Please check below sample code

    DATA: dyn_table TYPE REF TO data,
           dyn_line  TYPE REF TO data.
    
    * Create dynamic internal table and assign to FS
      CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = it_fcat_lvc
        IMPORTING
          ep_table        = dyn_table.
    
      ASSIGN dyn_table->* TO <dyn_table>.
    
    * Create dynamic work area and assign to FS
      CREATE DATA dyn_line LIKE LINE OF <dyn_table>.
      ASSIGN dyn_line->* TO <dyn_wa>.
    
        LOOP AT it_out_w.
          MOVE-CORRESPONDING it_out_w TO <dyn_wa>.
          APPEND <dyn_wa> TO <dyn_table>.
        ENDLOOP.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = v_repid
          is_layout          = x_layout
          it_fieldcat        = it_fcat
          it_sort            = it_sort
          it_events          = it_event
          i_save             = 'A'
        TABLES
          t_outtab           = <dyn_table>
        EXCEPTIONS
          program_error      = 1
          OTHERS             = 2.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.

    Thanks,

    Suma.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.