Professional Documents
Culture Documents
28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
Community
Follow
Ask a Question
Write
Like a Blog Post Login
RSS Feed
Technical Articles
Overview :
Customer always asking some additional fields either in the selection screen or in
the output of a report and we try to convince the customer as it’s a standard
report we can’t change or with the help of Abapers we are changing the reports.
I prepared this attached document which can help you to add the new
fields in the standard report without any help of Abapers .
Whenever any report is created by using Logical database or, if any Transaction Code is
using any Logical Database, in those cases we can observe that the Dynamic Selection
Button automatically appears on the Selection Screen.
As an example, below is the screenshot of Transaction code FBL5N for Customer Line
Item Report .
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 1/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
Follow
Like
RSS Feed
On clicking that Dynamic Selection button, selection screen opens a window where user
can further pass certain selection criteria.
We will learn how any additional field can be made available on this Dynamic
Selection Screen.
Now our requirement is to add new field on the left-hand side folder (as well as in
the selection screen) that is not present currently.
For this we need to get the Logical Database which is used by the report.
Following steps are followed to get the Program Name of any Transaction Code:
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 2/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
3. One pop up window appears which shows the Program name. Here
Like RFITEMAR is the program associated with Transaction code FBL5N.
4. Double click the program name. It will navigate to the ABAP Editor of the
RSS Feed concerned program.
5. In the ABAP Editor go to the menu Goto > Attributes. This displays the
attributes of the program.
6. This shows the logical database which is used in the program. In the below
screenshot it can be observed that DDF is the Logical Database used by the
Transaction Code FBL5N.
Following steps are followed to add the field on the selection screen:
1. Go to Transaction code SE36 and give the name of Logical Database as DDF.
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 3/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
Follow
Like
RSS Feed
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. KNA1, ADDR1_VAL, KNAS, KNKA,
KNKK,KNBK 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.
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 4/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
Follow
Like
RSS Feed
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
must 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.
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 5/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
Follow
Like
RSS Feed
In the Table KNAS we added VAT Registration Number under Functional Group 01
Customer Master
9. Now execute Transaction code FBL5N and open the Dynamic Selection Screen. You
will find the selected fields .
Alert Moderator
Conclusion :
Assigned Tags By Using the blog ,lot of Customer can benefited by saving money and time and
one more big advantage is without knowledge of ABAP , One Functional
ABAP Development consultant can Configure this to get the fields in the standard Report .
fbl5n
new fields
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 6/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
Follow
By Rafael Sá Jun 22, 2015
Like
Related Questions
Modifying Dynamic selection in standard logical database
RSS Feed
By Former Member May 05, 2009
Coffee Corner
Join the new Coffee Corner Discussion Group.
5 Comments
Mohammed Shakeelahmed
November 28, 2019 at 6:29 am
Dear Dipti,
I guess there is some step missing. How system will pick our copied/created CUS while running the
report????
Follow
Like 0 | Share
Like
Nishanth Kandhasamy
RSSMarch
Feed26, 2020 at 11:31 am
Hi Mohammed,
When a selection view with origin CUS (customer) and name STANDARD exists, and is assigned to
a logical database, then this view takes precedence over the SAP-defined view. When such a view
does not exist for a particular logical database, then the selection view SAP – STANDARD is used
to determine the dynamic selections.
Regards,
NishanthVK
Like 0 | Share
Rose Paratto
March 10, 2020 at 5:53 pm
Dear Dipti, thank you for the informative article. I would like to include fields from KNVV in the dynamic
selections of FBL5N. Do you have an article that would explain how to add KNVV fields in addition to the
tables and fields available in LDG DDF?
Like 0 | Share
Darcy Morse
December 22, 2020 at 7:44 pm
I did an initial test by adding KUNNR from KNA1. This worked, so I know I have the CUS set up correctly.
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 8/9
14/01/22 14.28 Add New Field on the Dynamic Selection Using Logical Database | SAP Blogs
I followed the same process: Double Click on ADRR1_VAL, Assign 01 to SORT2 and click Preselect. The
field doesn't show up.
Follow
Any suggestions?
Like
Like 0 | Share
RSS Feed
Yoel Tovi
January 13, 2022 at 3:40 pm
Dear Dipti,
Thank you,
Yoel.
Like 0 | Share
Find us on
Newsletter Support
https://blogs.sap.com/2019/02/22/add-new-field-on-the-dynamic-selection-using-logical-database/ 9/9