Professional Documents
Culture Documents
Add New Field On The Dynamic Selection Screen of Any Report Using Logical Database PDF
Add New Field On The Dynamic Selection Screen of Any Report Using Logical Database PDF
Applies to:
ECC 6.0
For more information, visit the ABAP homepage.
Summary
Any report or Transaction code which uses Logical Database has a feature to show dynamic selection
screen, which contains the fields of the tables associated with corresponding Logical Database. Here we will
learn how to make any field available on the Dynamic Selection Screen.
Author Bio
The author has 4.5 years of experience in SAP ABAP and is working with L&T InfoTech. She has worked for
various Support and Implementation Projects which includes ABAP developments.
Table of Contents
Selection Screen in Logical Database ................................................................................................................ 3
Adding New Field on the Selection Screen..................................................................................................... 4
Get the Logical Database Used by the Transaction Code ........................................................................................... 4
Add the Field on Selection Screen ............................................................................................................................... 5
How It Suppresses the SAP Standard Selection View? ................................................................................... 12
Related Content ................................................................................................................................................ 13
Disclaimer and Liability Notice .......................................................................................................................... 14
On clicking that button, selection screen opens a window where user can further pass certain selection
criteria. In this case we cannot see any field on the right side, which is explained further.
We will learn how any additional field can be made available on this Dynamic Selection Screen.
As an example, Transaction Code QA33 is referred throughout the document.
3. On the next screen which appears select Origin of View as SAP and Name of View as
STANDARD, and click Display Button.
4. This shows the Standard Selection View. In the below screen shot it can be observed that there is a
column named as ‘Preselect’. By default only those fields appear on the selection screen of
Transaction Code which are assigned to any Functional Group and the checkbox for Preselected is
selected. SAP uses the below view to generate the dynamic selection screen. The top left side
shows the Functional Groups involved with this Logical Database. Each Functional Group contains
fields from the tables that are listed on the right side e.g. QALS, QAOBJMS, QPRN, QAVE, etc. The
field which is assigned to a functional group will be available in left hand side of the dynamic
selection screen under the folder with name of the functional group.
5. As we want to extend the SAP-delivered dynamic selections with new fields, so we must create our
own selection view. This view will have CUS as the Origin of View, and Name of View as
STANDARD. To create such a view, simply use the Copy button on the top of the screen, and copy
the SAP delivered view to a CUS view.
6. Once you check the Continue Button it will ask for the Package in which the Customized View has to
be saved. And create the Transport Request if the changes have to be transportable.
7. When the selection view is copied then go to Change mode to add the new fields.
8. If any field is already assigned to any Functional Group then just select the Checkbox of Preselect to
make the field available for dynamic selection screen.
Save the changes.
9. Now execute Transaction code QA33, and open the Dynamic Selection Screen. You will find the
selected fields on the right side of the selection screen.
10. In the Selection View there are some fields which are not even assigned to any Functional Group.
Let us learn how to add those fields.
11. Scroll down the SAP Selection View, there you will find some fields that are not assigned to any
Functional Group and consequently the checkbox for Preselect does not appear for those fields.
12. To select these fields first assign them to any Functional Group.
Here three fields STAT15, ZAEHL1 and PRBNAVV are assigned to Functional Group 01.
Fields can be assigned to different Functional Groups also.
13. Now the Preselect Checkbox appears for these fields. It can be selected as explained earlier.
And these fields can also be made available on the dynamic selection screen.
Related Content
http://www.sdn.sap.com/
http://help.sap.com/
For more information, visit the ABAP homepage.