Basic OO-ALV Report ( SE80 )


Steps

Ex :

1.Get the data into internal table.
  • Go to Transaction Code SE80.
  • Select program from Drop-down List.
  • Enter the Program name.
  • Click on Display.
  • Pop-up will appear.
  • Click on Yes.
  • Pop-up will appear.
  • Click on Continue.
  • Enter the Top include name.
  • Click on Continue.
  • Pop-up will appear.
  • Select the Attribute type as a Executable Program.
  • Pop-up will appear.
  • Click on continue.
  • Click on SAVE.
  • Save it either in Local Package or Package.
  • Screen looks like  :  Display Mode.
  • Click on Edit.
  • Double click on Top include ( Global Data ).
  • Click on Save.
  • Click on Back Button.
  • Select the other includes and Press CTRL + > ( to enable the includes ) .
  • Enabled includes.
  • Double click on Process Before Output include.
  • Pop-up will appear.
  • Click on Yes.
  • Pop-up will appear.
  • Click on Save.
  • Save it either in Package or Local Package.
  • Click  on Save.
  • Click on Save button.
  • Click on Back Button.
  • Click on Process After Input include.
  • Pop-up will Appear.
  • Click on Yes.
  • Click on Save.
  • Save it either in Package or Local Package.
  • Click on Save and click on Back button.
  • Repeat step for Form include.
  • Right click on Program Name.
  • Click Activate.
  • Click on Continue.
  • Program will activated.
  • Double click on Top include to Declare the Global Declaration.
  • Enter the Declaration.
  • Double click on Subroutine name.
  • Pop-up will appear.
  • Click on Yes.
  • Pop-up will appear.
  • Click on Form Include and click on Continue.
  • Pop-up will appear.
  • Click on Yes.
  • Enter the Logic.
  • Save -> Check -> Activate.
  • Click on Back Button.


2 .Create a custom control Screen.

  • Call  custom Screen.
  • To create custom screen.
  • Right click on program name -> Create -> Screen.
  • Pop-up will appear.
  • Click on Yes.
  • Pop-up will appear.
  • Enter the screen Number and click on continue.
  • Enter the short description.
  • Click on Layout.
  • Click on Custom Control.
  • Drag the Custom Control.
  • Name the Custom Control.
  • Save -> Check -> Activate.
  • Click on Back.
  • Click Flow Logic.
  • Enable the both Modules.
  • Double click on PBO module.
  • Pop-up will appear.
  • Click on Yes.
  • Select the PBO include and click on continue.
  • Pop-up will appear.
  • Click on continue.
  • Click on Save and click on Back button.
  • Double click on PAI module.
  • Pop-up will appear.
  • Click on Yes.
  • Select the PAI module and click on continue.
  • Click on Save and Click on Back Button.
  • Double click on Top Include.


3 .Create object for CL_GUI_CUSTOM_CONTAINER(pass custom control name) .

  • Declare the Custom Container.
  • Click on Save.
  • Double click on program name.
  • Right click on program name -> click on Active.
  • Double Click on PBO include.
  • Create the object for custom container.
  • Click on Pattern.
  • Pop-up will appear.
  • Click on ABAP Object Pattern and click on Continue.
  • Pop-up will appear.
  • Click on Create Object Radio Button.
  • Enter the instance name as object name of custom container.
  • Enter the Class name.
  • Looks like,
  • Pass the custom Container name.

4.Create object for CL_GUI_ALV_GRID ( pass object of custom container).
  • Similarly , create the object for class CL_GUI_ALV_GRID.
  • Click on Pattern.
  • Pop-up will appear.
  • Click on ABAP object pattern.
  • Click on Continue.
  • Pop-up will appear.
  • Click on Create Object Radio Button.
  • Enter the Instance name as Object name  as well as Class name.
  • Click on Continue.
  • Screen looks like,
  • Pass the Custom Container Object name as Parent name.

5.Call the method SET_TABLE_FOR_FIRST_DISPLAY).
  1. Click on Pattern.
  • Pop-up will appear.
  • Click on ABAP Object Pattern and click on Continue.
  • Pop-up will appear.
  • Click on Create method Radio Button.
  • Enter the instance name , class name and method name.
  • Click on continue.
  • Method looks like,
  • Pass the Global data structure.
  • Pass the internal Table.
  • Enable all Exceptions.
  • Double click on Program name.
  • Pop-up will appear.
  • Click on Yes.
  • Looks like,
  • Right click program name -> Activate.
  • Activate.
  • Click on Execute ( F8 ).
  • Input Screen.

Input

  • Enter the input.
  • Click on Execute .

Output

Comments

  1. Thank you for your post. This is excellent information. It is amazing and wonderful to visit your site. And I would like to share some information about virtue solutions. www.virtuesolutionsonline.com

    ReplyDelete
  2. Very useful information, the post shared was very nice.
    Dot Net Training
    Visit us: Dot Net Online Training

    ReplyDelete
  3. This post is extremely radiant. I extremely like this post. It is outstanding amongst other posts that I’ve read in quite a while. Much obliged for this better than average post. I truly value it! pearson vue hyderabad test centres

    ReplyDelete
  4. The Creative World Info-tech is the best SAP Training Institute in Pune provides top-notch courses and expert guidance, preparing individuals to master SAP technologies and enhance their career prospects in the dynamic IT industry.

    ReplyDelete
  5. Nice Blog. At Creative World Info-tech SAP classes in Pune Enhance your SAP skills with cutting-edge classes offered by Creative World Infotech in Pune, empowering you to excel in the world of SAP solutions. Creative World Infotech ensures that you receive hands-on training, practical insights, and real-world scenarios, empowering you to become a sought-after SAP professional ready to make a significant impact in the corporate world. Unleash your potential and redefine success with SAP classes at Creative World Infotech in Pune.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Nice Blog. Creative World Info-tech, the Best SAP Training Institute in Pune committed for providing employable, real time quality training to end users, core team members, key business users, individual person and group of students by conducting classroom trainings, online trainings. All our trainers are certified and real time working consultant on various kind of projects in various MNC's on who have great experience in implementing and supporting range of multinational SAP and other technologies project

    ReplyDelete

Post a Comment

Popular posts from this blog

FOR ALL ENTRIES (FAE) -4 TABLES USING ALV_GRID_DISPLAY

RADIO-BUTTONS IN BASIC REPORT