Mentor SAP

SAP List Viewer is used to add an ALV component and provides a flexible environment to display lists and tabular structure. A standard output consists of header, toolbar, and an output table. The user can adjust the settings to add column display, aggregations, and sorting options using additional dialog boxes.

 

Following are the key features of ALV −

How to Create an ALV?

Following are the steps to create an ALV.

 

Step 1 − Use T-code: SE80. Select Web Dynpro comp/intf from the list and enter the name. Click on display. You will be prompted create the component. Click on Yes.

 

 

Step 2 − Select type as Web Dynpro component. Enter the Window name and the View name.

 

Step 3 − Click the tick mark.

 

 

Step 4 − In the change window, enter the component use as ALV, component as SALV_WD_TABLE and description as ALV component.

 

 

Step 5 − Go to Component Controller and right-click the context. Then select Create Node MAKT with the dictionary structure MAKT.

 

 

Step 6 − Select the required attributes from MAKT by using Add Attribute from Structure.

 

 

 

 

Step 7 − Remove the dictionary structure MAKT from the node MAKT and set the properties as follows (Cardinality, Lead selection, etc.)

 

 

 

 

Step 8 − Right-click on Component usage in the Object tree → Create Controller Usage.

 

 

Step 9 − Go to View → Context tab and drag MAKT node to the view.

 

 

After mapping, it will appear as shown in the following screenshot.

 

 

Step 10 − Go to Layout and right-click Insert Element.