Preview Original paying document published on:
http://www.expertplug.com/materials/white-paper/designing-the-output-of-an-alv
This word document will help on how to design the output of ALV
You can find many more SAP training material on www.ExpertPlug.com.
ExpertPlug is an SAP marketplace for training materials and an online community of experts. We offer a simple way for the global SAP workforce, consulting companies and industry to market their skills and find quality information.
As an SAP Expert, you can also market your SAP skills and make extra cash by publishing SAP documents on www.ExpertPlug.com.
1. Designing the output of an ALV: Check Box, Radio buttons,
traffic lights and Dropdown
A White Paper
Submitted By
Khaja Moulali Shaik
2. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
Table of Contents
1. INTRODUCTION ......................................................................................... 3
1.1. WHITEPAPER CATEGORY............................................................................. 3
1.2. ABSTRACT ............................................................................................. 3
1.3. INTRODUCTION / BACKGROUND .................................................................... 3
2. REQUIREMENT ........................................................................................... 4
2.1. APPLICABILITY OF THE IDEA ........................................................................ 4
2.2. RELEVANCE OF THE TOPIC........................................................................... 4
2.3. KEY FEATURES OF THE IDEA / SOLUTION ......................................................... 4
3. SOLUTION / TECHNOLOGY DESCRIPTION ..................................................... 5
3.1. TECHNICAL SCENARIOS ............................................................................. 5
3.1.1 Selecting multiple records in the output of an ALV by using checkbox .... 5
3.1.2 Selecting single record in the output of an ALV by using Radio buttons ... 5
3.1.3 Displaying the Status graphically by using the Traffic Lights .................. 6
3.1.4 Selecting data from the dropdown in the output of an ALV .................... 6
4. SUMMARY / CONCLUSION ........................................................................... 8
5. APPENDICES ............................................................................................. 9
5.1. ABOUT THE AUTHOR ................................................................................. 9
5.2. REFERENCES .......................................................................................... 9
Wipro Confidential Page 2 of 9
3. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
1. INTRODUCTION
1.1. Whitepaper Category
Designing the output of an ALV.
1.2. Abstract
In SAP, user needs to display check box and Radio Buttons to select the records in
the report i.e. output of an ALV depends on the requirement. As well as ALV has to
give facility to select the data from dropdown list and to display the status in Traffic
Lights (Green, Yellow and Red).This feature gives the client a windows application
experience.
For developers, this becomes so promising and challenging to display radio buttons
and dropdown list. This whitepaper would be helpful for the developers to display
check box, Radio Buttons, Traffic Lights and Drop Down list.
1.3. Introduction / Background
ALV (ABAP List Viewer) Gird control is a flexible tool for displaying lists. This tool
provides common list operations as generic functions and can be enhanced by self-
defined options.
Wipro Confidential Page 3 of 9
4. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
2. Requirement
2.1. Applicability of the Idea
This whitepaper solution is applicable to all the applications in which there is a use of
Checkbox, Radio Buttons, Traffic Lights and Drop Down list and developers face
challenges to adopt uniform resolution of the implementation.
Scenarios:
a) As per business need there was a scenario for an ALV report Output, It
must have options to select multiple rows at a time. It is done by
checkbox.
b) As per business need there was a scenario for an ALV Report Output, It
must have functionality selecting only one row at a time. It is possible
only with Radio buttons.
c) As per the business need there was a scenario for an ALV report Output,
It must have options to select the values from the dropdown list.
d) As Per the Business need there was a scenario for an ALV report Output,
which displays the Status in Traffic signals i.e. Green, Yellow and Red.
2.2. Relevance of the Topic
During my development experience, I’ve noticed that the developers spend
their significant time to find out the solution of Radio Buttons and Drop down
List in output of an ALV. The evident relevance of this whitepaper is this will
reduce the developer’s substantial time to find out the solution Radio Buttons
and Drop down List in output of an ALV which they generally come across.
This introduces the way of implementing Checkbox, Radio Buttons, Traffic
Lights and Drop down List in output of an ALV.
2.3. Key features of the Idea / Solution
I got the inspiration to write a whitepaper on this topic because I’ve completed an
assignment in which there was a huge demand of Radio Buttons and Drop down list
implementation. During that assignment, I came across plenty of challenges
especially related to selection of Radio Buttons. Fortunately, I accomplished them
with the fulfillment of the desired functionality.
Here, I want to share my learning on few scenarios in an ALV implementation to the
intended developers, so they can utilize their best implementation bandwidth with
the perfect solution in a way they wanted to. The key features of this idea are as
follows:
It gives the solution of the challenges which has potential to occur during the
Radio button implementation. These solutions are not easily searchable on
the internet. Ultimately, it saves the time of the developer.
Wipro Confidential Page 4 of 9
5. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
3. Solution / Technology Description
3.1. Technical Scenarios
The outline of working with output of an ALV is given below.
3.1.1 Selecting multiple records in the output of an ALV by using checkbox
It is easy to show check box in the output of an ALV. Check box will allows us to
select multiple records in an ALV at a time.
Output of the Program:
3.1.2 Selecting single record in the output of an ALV by using Radio buttons
It is a bit complex to show radio buttons as an output in an ALV. Radio Buttons
allows us to select one radio button at a time. Here we will use Icons of radio
buttons.
Wipro Confidential Page 5 of 9
6. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
3.1.3 Displaying the Status graphically by using the Traffic Lights
It is easy to show traffic lights based on the different conditions. Traffic Lights will
tell us the status by graphically.
Output of the Program:
3.1.4 Selecting data from the dropdown in the output of an ALV
It is easy to display values as dropdown list in the output of an ALV.
Output of the Program:
Wipro Confidential Page 6 of 9
7. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
Wipro Confidential Page 7 of 9
8. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
4. Summary / Conclusion
This whitepaper demonstrates the designing of an ALV output based on requirements
like Checkboxes, radio buttons, traffic lights and drop down list. For the developers
who face output related challenges in ALV, this whitepaper is very useful for them. It
gives a basic idea to design the output.
Wipro Confidential Page 8 of 9
9. Designing the output of an ALV: Check Box, Radio buttons, traffic lights and dropdown - White Paper
5. Appendices
5.1. About the Author
Author Name: Khaja Moulali Shaik
Email : shaikm.abap@gmail.com
Location : Hyderabad
5.2. References
Wipro Confidential Page 9 of 9
10. Preview Original paying document published on :
http://expertplug.com/materials/white-paper/designing-the-output-of-an-alv
You can find many more full SAP training material and SAP jobs on http://expertplug.com/.
ExpertPlug is an SAP marketplace for training materials and an online community of experts. We
offer a simple way for the global SAP workforce, consulting companies and industry to market their
skills and find quality information.
As an SAP Expert, you can also market your SAP skills and make extra revenue by publishing SAP
documents on http://expertplug.com/.