1
Web Dynpro ALV
Exercise
Web Dynpro ALV
Exercise
Chapter: Web Dynpro ALV
Theme: Use the ALV in Web Dynpro for
displaying complex data
At the end of this Exercise, you will be able to:
• Include the ALV table component in your Web Dynpro
components
1 Development Objectives
This exercise has the following objectives:
Use the Web Dynpro ALV in your own component
2 Result
In this exercise, you will use the ALV
table component to display the bookings
of a selected flight.
Template Solution:
Web Dynpro Components: WD_10S_ALV
Application: WD_10S_ALV
2
Web Dynpro ALV
Exercise
Starting Point of this exercise:
Web Dynpro Component: ZWD_##_TABLE_2
or the template solution
Web Dynpro Component: WD_05S_TABLE_2
Group number: ## stands for the two-digit group number
3 Developing
3-1 Copy Web Dynpro Component
Copy your Web Dynpro Component ZWD_##_TABLE_2 or the template
solution WD_05S_TABLE_2 to the name ZWD_##_ALV.
In this component you will replace the Table UI element with the WD
ALV.
3-2 Define the usage of the ALV component
Define a new Component Use for the SALV_WD_TABLE component.
Map the DATA context node of the ALV table component to the
BOOKINGTAB node of your component by external context mapping.
3-3 Replace the Table UI element with the ALV
Delete the table UI element which shows the bookings in your component and
replace it with a View Container UI element that displays the ALV.

Exercise in alv

  • 1.
    1 Web Dynpro ALV Exercise WebDynpro ALV Exercise Chapter: Web Dynpro ALV Theme: Use the ALV in Web Dynpro for displaying complex data At the end of this Exercise, you will be able to: • Include the ALV table component in your Web Dynpro components 1 Development Objectives This exercise has the following objectives: Use the Web Dynpro ALV in your own component 2 Result In this exercise, you will use the ALV table component to display the bookings of a selected flight. Template Solution: Web Dynpro Components: WD_10S_ALV Application: WD_10S_ALV
  • 2.
    2 Web Dynpro ALV Exercise StartingPoint of this exercise: Web Dynpro Component: ZWD_##_TABLE_2 or the template solution Web Dynpro Component: WD_05S_TABLE_2 Group number: ## stands for the two-digit group number 3 Developing 3-1 Copy Web Dynpro Component Copy your Web Dynpro Component ZWD_##_TABLE_2 or the template solution WD_05S_TABLE_2 to the name ZWD_##_ALV. In this component you will replace the Table UI element with the WD ALV. 3-2 Define the usage of the ALV component Define a new Component Use for the SALV_WD_TABLE component. Map the DATA context node of the ALV table component to the BOOKINGTAB node of your component by external context mapping. 3-3 Replace the Table UI element with the ALV Delete the table UI element which shows the bookings in your component and replace it with a View Container UI element that displays the ALV.