Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: module programing

$
0
0

You can create a screen-> Create a container object in the screen (Name the container object).

 

Create objects for global classes ,

 

DATA :  g_container      TYPE REF TO   cl_gui_custom_container,

               g_grid_alv       TYPE REF TO   cl_gui_alv_grid.

 

* Create objects for Handler, Container and ALV

    CREATE OBJECT g_container

      EXPORTING

        container_name = 'CONTAINER'.

 

 

    CREATE OBJECT g_grid_alv

      EXPORTING

        i_parent = g_container.

 

Create Field Catalog and O/p table and call method,

 

CALL METHOD g_grid_alv->set_table_for_first_display

*   EXPORTING

*        is_layout         = gs_layout

      CHANGING

        it_outtab         = gt_final

        it_fieldcatalog   = gt_fieldcat.

 

This could solve the issue.

 

 

Regards,

Deepan Swamainthan.


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>