Mentor SAP
2018-01-09 Submitted by:- Admin
Create a method call it as BUILD_FIELDCATLOG to build ALV report field catalog which is mandatory to display ALV.

 

  • Create a method call it is DISPLAY_ALV to call the custom screen 100 created above.

     

  • Create an instance of the local class LC_SFLIGHT and call the methods GET_SFLIGHT_DATA and BUILD_FIELDCATLOG.

     

  • Create custom container instance by providing the name of the container that we created in the above step.

     

  • Create ALV Grid instance by providing the custom container instance.

     

  • Call the method SET_TABLE_FOR_FIRST_DISPLAY( ) to call the ALV report.

     

  • Call the method DISPLAY_ALV to display the ALV report.