SlideShare a Scribd company logo
1 of 14
Download to read offline
Add New Field on the Dynamic
 Selection Screen of Any Report
 Using Logical Database




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:      Anurita Waghe
Company:     Larsen & Toubro InfoTech Ltd
Created on: 3 Aug 2009

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.




SAP COMMUNITY NETWORK                                   SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                   1
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database




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




SAP COMMUNITY NETWORK                                                                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                                                  2
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database




Selection Screen in Logical Database
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 QA33 for Inspection Lot.




SAP COMMUNITY NETWORK                                      SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                      3
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



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.

Adding New Field on the 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.

Get the Logical Database Used by the Transaction Code
Following steps are followed to get the Program Name of any Transaction Code:
    1. Execute Transaction Code QA33.
    2. On the Selection Screen go to menu System > Status.
    3. One pop up window appears which shows the Program name. Here RQEEAL10 is the program
       associated with Transaction code QA33.
    4. Double click the program name. It will navigate to the ABAP Editor of the 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 PGQ is the Logical Database used by the Transaction Code QA33.




SAP COMMUNITY NETWORK                                        SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                        4
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database




Add the Field on Selection Screen
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 PGQ.
    2. From the Menu Bar go to Extras > Selection Views.




SAP COMMUNITY NETWORK                                       SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                       5
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database


   3. On the next screen which appears select Origin of View as SAP and Name of View as
      STANDARD, and click Display Button.




SAP COMMUNITY NETWORK                                  SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                  6
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



   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.




SAP COMMUNITY NETWORK                                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                     7
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



   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.




SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                    8
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



   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.




SAP COMMUNITY NETWORK                                      SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                      9
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



   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.




SAP COMMUNITY NETWORK                                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                     10
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



   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.




SAP COMMUNITY NETWORK                                     SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                     11
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database



    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.

How It Suppresses the SAP Standard Selection View?
When a selection view with origin CUS 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




SAP COMMUNITY NETWORK                                       SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                       12
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database




Related Content
http://www.sdn.sap.com/
http://help.sap.com/
For more information, visit the ABAP homepage.




SAP COMMUNITY NETWORK                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                    13
Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database




Disclaimer and Liability Notice
This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.




SAP COMMUNITY NETWORK                                                    SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com
© 2009 SAP AG                                                                                                                    14

More Related Content

What's hot

Sap Fico Configuration Material
Sap Fico Configuration MaterialSap Fico Configuration Material
Sap Fico Configuration MaterialNaina Mohamed
 
SAP STO config
SAP STO configSAP STO config
SAP STO configsamitchak
 
Sap auc internal orders as investment measures
Sap auc internal orders as investment measuresSap auc internal orders as investment measures
Sap auc internal orders as investment measuresSURESH BABU MUCHINTHALA
 
Withholding tax in sap
Withholding tax in sapWithholding tax in sap
Withholding tax in sapShaily Dubey
 
Fi mm integration
Fi mm integrationFi mm integration
Fi mm integrationCapgemini
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SDMohammed Azhad
 
New Asset Accounting in S4 HANA
New Asset Accounting in S4 HANANew Asset Accounting in S4 HANA
New Asset Accounting in S4 HANAraman2664
 
Po vendor down pay process SAP
Po vendor down pay process SAP Po vendor down pay process SAP
Po vendor down pay process SAP Jay Pal
 
WM - PP Interface
WM - PP InterfaceWM - PP Interface
WM - PP Interfaceharsh shah
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSubhrajyoti (Subhra) Bhattacharjee
 
S4 HANA Business Partner Configuration@Ganesh Tarlana
S4 HANA Business Partner Configuration@Ganesh TarlanaS4 HANA Business Partner Configuration@Ganesh Tarlana
S4 HANA Business Partner Configuration@Ganesh TarlanaGanesh Tarlana
 
FI & MM integration
FI & MM integrationFI & MM integration
FI & MM integrationsekhardatta
 
Configuration of TCS
Configuration of TCSConfiguration of TCS
Configuration of TCSRajeev Kumar
 
Material master views
Material master viewsMaterial master views
Material master viewsLokesh Modem
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsHicham Khallouki
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap agLluckyy
 

What's hot (20)

Sap Fico Configuration Material
Sap Fico Configuration MaterialSap Fico Configuration Material
Sap Fico Configuration Material
 
SAP STO config
SAP STO configSAP STO config
SAP STO config
 
Sap auc internal orders as investment measures
Sap auc internal orders as investment measuresSap auc internal orders as investment measures
Sap auc internal orders as investment measures
 
Withholding tax in sap
Withholding tax in sapWithholding tax in sap
Withholding tax in sap
 
Fi mm integration
Fi mm integrationFi mm integration
Fi mm integration
 
Rollout solution template SAP SD
Rollout solution template   SAP SDRollout solution template   SAP SD
Rollout solution template SAP SD
 
New Asset Accounting in S4 HANA
New Asset Accounting in S4 HANANew Asset Accounting in S4 HANA
New Asset Accounting in S4 HANA
 
Sap SD Standard Reports
Sap SD Standard ReportsSap SD Standard Reports
Sap SD Standard Reports
 
Po vendor down pay process SAP
Po vendor down pay process SAP Po vendor down pay process SAP
Po vendor down pay process SAP
 
WM - PP Interface
WM - PP InterfaceWM - PP Interface
WM - PP Interface
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration document
 
Asset purchase
Asset purchaseAsset purchase
Asset purchase
 
S4 HANA Business Partner Configuration@Ganesh Tarlana
S4 HANA Business Partner Configuration@Ganesh TarlanaS4 HANA Business Partner Configuration@Ganesh Tarlana
S4 HANA Business Partner Configuration@Ganesh Tarlana
 
FI & MM integration
FI & MM integrationFI & MM integration
FI & MM integration
 
Configuration of TCS
Configuration of TCSConfiguration of TCS
Configuration of TCS
 
Material master views
Material master viewsMaterial master views
Material master views
 
Creating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflowsCreating attachments to work items or to user decisions in workflows
Creating attachments to work items or to user decisions in workflows
 
Funds management configuration sap ag
Funds management configuration sap agFunds management configuration sap ag
Funds management configuration sap ag
 
ACCRUAL ENGINE.docx
ACCRUAL ENGINE.docxACCRUAL ENGINE.docx
ACCRUAL ENGINE.docx
 
Bank reconciliation ff67
Bank reconciliation ff67Bank reconciliation ff67
Bank reconciliation ff67
 

Similar to SAP Adding fields to dynamic selection for fbln transactions (2)

Using infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerUsing infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerShailendra Surana
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerbsm fico
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creationyoung moon woo
 
Version management of abap programs
Version management of abap programsVersion management of abap programs
Version management of abap programsicatalysts buddy
 
Creating new unit of measure in sap bw
Creating new unit of measure in sap bwCreating new unit of measure in sap bw
Creating new unit of measure in sap bwRajat Agrawal
 
_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdfssuserfe1f82
 
How to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idHow to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idAshwin Mane
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancementsJNTU University
 
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemData upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemBhaskar Reddy
 
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemData upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemBhaskar Reddy
 
Troubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage AnalyzerTroubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage Analyzerzahack
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodologyJNTU University
 
Find out userexits in sap
Find out userexits in sapFind out userexits in sap
Find out userexits in sapDau Thanh Hai
 
Userexit%29badi
Userexit%29badiUserexit%29badi
Userexit%29badiromeo12345
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6bluechxi
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by stepPhani Kumar
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 
Maintaining aggregates
Maintaining aggregatesMaintaining aggregates
Maintaining aggregatesSirisha Kumari
 
Management Cockpit (SEM-CPM-MC) Step by Step Creation
Management Cockpit (SEM-CPM-MC) Step by Step CreationManagement Cockpit (SEM-CPM-MC) Step by Step Creation
Management Cockpit (SEM-CPM-MC) Step by Step CreationRahul Desai
 

Similar to SAP Adding fields to dynamic selection for fbln transactions (2) (20)

Using infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewerUsing infoset query %2c sap query and quick viewer
Using infoset query %2c sap query and quick viewer
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewer
 
Query
QueryQuery
Query
 
Dynamic variant creation
Dynamic variant creationDynamic variant creation
Dynamic variant creation
 
Version management of abap programs
Version management of abap programsVersion management of abap programs
Version management of abap programs
 
Creating new unit of measure in sap bw
Creating new unit of measure in sap bwCreating new unit of measure in sap bw
Creating new unit of measure in sap bw
 
_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf_Using Selective Deletion in Process Chains.pdf
_Using Selective Deletion in Process Chains.pdf
 
How to Create SAP MarketPlace user id
How to Create SAP MarketPlace user idHow to Create SAP MarketPlace user id
How to Create SAP MarketPlace user id
 
Lo extraction part 7 enhancements
Lo extraction   part 7 enhancementsLo extraction   part 7 enhancements
Lo extraction part 7 enhancements
 
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemData upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 system
 
Data upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 systemData upload from flat file to business intelligence 7.0 system
Data upload from flat file to business intelligence 7.0 system
 
Troubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage AnalyzerTroubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage Analyzer
 
Lo extraction part 6 implementation methodology
Lo extraction   part 6 implementation methodologyLo extraction   part 6 implementation methodology
Lo extraction part 6 implementation methodology
 
Find out userexits in sap
Find out userexits in sapFind out userexits in sap
Find out userexits in sap
 
Userexit%29badi
Userexit%29badiUserexit%29badi
Userexit%29badi
 
Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6Sap query creation and transport procedure in ecc6
Sap query creation and transport procedure in ecc6
 
Rda step by step
Rda   step by stepRda   step by step
Rda step by step
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 
Maintaining aggregates
Maintaining aggregatesMaintaining aggregates
Maintaining aggregates
 
Management Cockpit (SEM-CPM-MC) Step by Step Creation
Management Cockpit (SEM-CPM-MC) Step by Step CreationManagement Cockpit (SEM-CPM-MC) Step by Step Creation
Management Cockpit (SEM-CPM-MC) Step by Step Creation
 

More from Imran M Arab

Internal Orders Detailed config
Internal Orders Detailed configInternal Orders Detailed config
Internal Orders Detailed configImran M Arab
 
New gl q_sands_presentations_whitepapers
New gl q_sands_presentations_whitepapersNew gl q_sands_presentations_whitepapers
New gl q_sands_presentations_whitepapersImran M Arab
 
Dunningconfiguration ecc6
Dunningconfiguration  ecc6Dunningconfiguration  ecc6
Dunningconfiguration ecc6Imran M Arab
 
Asset Management visio's and table
Asset Management visio's and tableAsset Management visio's and table
Asset Management visio's and tableImran M Arab
 
Am visio's and table
Am visio's and tableAm visio's and table
Am visio's and tableImran M Arab
 
Parallel accounting in sap erp account approachversus ledger approachin new g...
Parallel accounting in sap erp account approachversus ledger approachin new g...Parallel accounting in sap erp account approachversus ledger approachin new g...
Parallel accounting in sap erp account approachversus ledger approachin new g...Imran M Arab
 

More from Imran M Arab (8)

Internal Orders Detailed config
Internal Orders Detailed configInternal Orders Detailed config
Internal Orders Detailed config
 
New gl q_sands_presentations_whitepapers
New gl q_sands_presentations_whitepapersNew gl q_sands_presentations_whitepapers
New gl q_sands_presentations_whitepapers
 
Fiar
FiarFiar
Fiar
 
Dunningconfiguration ecc6
Dunningconfiguration  ecc6Dunningconfiguration  ecc6
Dunningconfiguration ecc6
 
Asset Management visio's and table
Asset Management visio's and tableAsset Management visio's and table
Asset Management visio's and table
 
Am visio's and table
Am visio's and tableAm visio's and table
Am visio's and table
 
Fiap
FiapFiap
Fiap
 
Parallel accounting in sap erp account approachversus ledger approachin new g...
Parallel accounting in sap erp account approachversus ledger approachin new g...Parallel accounting in sap erp account approachversus ledger approachin new g...
Parallel accounting in sap erp account approachversus ledger approachin new g...
 

Recently uploaded

Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024
Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024
Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024DK PAGEANT
 
Top 10 Moisturising Cream Brands In India - Stelon Biotech
Top 10 Moisturising Cream Brands In India - Stelon BiotechTop 10 Moisturising Cream Brands In India - Stelon Biotech
Top 10 Moisturising Cream Brands In India - Stelon BiotechStelon Biotech
 
PRINCESS OF DESIRE: MISADVENTURES OF A YOUNG GIRL
PRINCESS OF DESIRE:  MISADVENTURES OF A YOUNG GIRLPRINCESS OF DESIRE:  MISADVENTURES OF A YOUNG GIRL
PRINCESS OF DESIRE: MISADVENTURES OF A YOUNG GIRLmarianasoeiro3
 
Lesotho history, Basotho languages, Basotho mode of transport
Lesotho history, Basotho languages, Basotho mode of transportLesotho history, Basotho languages, Basotho mode of transport
Lesotho history, Basotho languages, Basotho mode of transporttobatsitlotliso004
 
"Paltr Packaging: Streamlined Order Process for Seamless Deliveries"
"Paltr Packaging: Streamlined Order Process for Seamless Deliveries""Paltr Packaging: Streamlined Order Process for Seamless Deliveries"
"Paltr Packaging: Streamlined Order Process for Seamless Deliveries"Aarisha Shaikh
 
UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION
 UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION
UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATIONChandrakantDivate1
 
UNIVERSAL HUMAN VALUES - Harmony in the Family and Society
UNIVERSAL HUMAN VALUES - Harmony in the Family and SocietyUNIVERSAL HUMAN VALUES - Harmony in the Family and Society
UNIVERSAL HUMAN VALUES - Harmony in the Family and SocietyChandrakantDivate1
 
Ladies kitty party invitation messages and greetings.pdf
Ladies kitty party invitation messages and greetings.pdfLadies kitty party invitation messages and greetings.pdf
Ladies kitty party invitation messages and greetings.pdfShort Good Quotes
 
UNIVERSAL HUMAN VALUES -Harmony in the Human Being
UNIVERSAL HUMAN VALUES -Harmony in the Human BeingUNIVERSAL HUMAN VALUES -Harmony in the Human Being
UNIVERSAL HUMAN VALUES -Harmony in the Human BeingChandrakantDivate1
 
Navigating Hypnotherapy Training: 7 Essential Considerations
Navigating Hypnotherapy Training: 7 Essential ConsiderationsNavigating Hypnotherapy Training: 7 Essential Considerations
Navigating Hypnotherapy Training: 7 Essential Considerationsrenewed edge
 
2024_Rupantara Jogare Namajapa II Nishitharanjan
2024_Rupantara Jogare Namajapa II Nishitharanjan2024_Rupantara Jogare Namajapa II Nishitharanjan
2024_Rupantara Jogare Namajapa II NishitharanjanNishitharanjan Rout
 
Style Victorious Cute Outfits for Winners
Style Victorious Cute Outfits for WinnersStyle Victorious Cute Outfits for Winners
Style Victorious Cute Outfits for Winnersolva0212
 
SINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITY
SINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITYSINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITY
SINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITYNgcNguyn951014
 

Recently uploaded (14)

Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024
Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024
Shining Bright: Diya Jain Represents Delhi As Miss Teen India Finalist-2024
 
Top 10 Moisturising Cream Brands In India - Stelon Biotech
Top 10 Moisturising Cream Brands In India - Stelon BiotechTop 10 Moisturising Cream Brands In India - Stelon Biotech
Top 10 Moisturising Cream Brands In India - Stelon Biotech
 
PRINCESS OF DESIRE: MISADVENTURES OF A YOUNG GIRL
PRINCESS OF DESIRE:  MISADVENTURES OF A YOUNG GIRLPRINCESS OF DESIRE:  MISADVENTURES OF A YOUNG GIRL
PRINCESS OF DESIRE: MISADVENTURES OF A YOUNG GIRL
 
Lesotho history, Basotho languages, Basotho mode of transport
Lesotho history, Basotho languages, Basotho mode of transportLesotho history, Basotho languages, Basotho mode of transport
Lesotho history, Basotho languages, Basotho mode of transport
 
"Paltr Packaging: Streamlined Order Process for Seamless Deliveries"
"Paltr Packaging: Streamlined Order Process for Seamless Deliveries""Paltr Packaging: Streamlined Order Process for Seamless Deliveries"
"Paltr Packaging: Streamlined Order Process for Seamless Deliveries"
 
UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION
 UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION
UNIVERSAL HUMAN VALUES - INTRODUCTION TO VALUE EDUCATION
 
UNIVERSAL HUMAN VALUES - Harmony in the Family and Society
UNIVERSAL HUMAN VALUES - Harmony in the Family and SocietyUNIVERSAL HUMAN VALUES - Harmony in the Family and Society
UNIVERSAL HUMAN VALUES - Harmony in the Family and Society
 
Ladies kitty party invitation messages and greetings.pdf
Ladies kitty party invitation messages and greetings.pdfLadies kitty party invitation messages and greetings.pdf
Ladies kitty party invitation messages and greetings.pdf
 
UNIVERSAL HUMAN VALUES -Harmony in the Human Being
UNIVERSAL HUMAN VALUES -Harmony in the Human BeingUNIVERSAL HUMAN VALUES -Harmony in the Human Being
UNIVERSAL HUMAN VALUES -Harmony in the Human Being
 
Navigating Hypnotherapy Training: 7 Essential Considerations
Navigating Hypnotherapy Training: 7 Essential ConsiderationsNavigating Hypnotherapy Training: 7 Essential Considerations
Navigating Hypnotherapy Training: 7 Essential Considerations
 
2024_Rupantara Jogare Namajapa II Nishitharanjan
2024_Rupantara Jogare Namajapa II Nishitharanjan2024_Rupantara Jogare Namajapa II Nishitharanjan
2024_Rupantara Jogare Namajapa II Nishitharanjan
 
Style Victorious Cute Outfits for Winners
Style Victorious Cute Outfits for WinnersStyle Victorious Cute Outfits for Winners
Style Victorious Cute Outfits for Winners
 
@Abortion clinic tablets Kuwait (+918133066128) Abortion Pills IN Kuwait
@Abortion clinic tablets Kuwait (+918133066128) Abortion Pills IN Kuwait@Abortion clinic tablets Kuwait (+918133066128) Abortion Pills IN Kuwait
@Abortion clinic tablets Kuwait (+918133066128) Abortion Pills IN Kuwait
 
SINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITY
SINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITYSINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITY
SINGLE PARENTS LONE PARENTHOOD: RESPONSIBILITY
 

SAP Adding fields to dynamic selection for fbln transactions (2)

  • 1. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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: Anurita Waghe Company: Larsen & Toubro InfoTech Ltd Created on: 3 Aug 2009 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 1
  • 2. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 2
  • 3. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database Selection Screen in Logical Database 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 QA33 for Inspection Lot. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 3
  • 4. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. Adding New Field on the 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. Get the Logical Database Used by the Transaction Code Following steps are followed to get the Program Name of any Transaction Code: 1. Execute Transaction Code QA33. 2. On the Selection Screen go to menu System > Status. 3. One pop up window appears which shows the Program name. Here RQEEAL10 is the program associated with Transaction code QA33. 4. Double click the program name. It will navigate to the ABAP Editor of the 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 PGQ is the Logical Database used by the Transaction Code QA33. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 4
  • 5. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database Add the Field on Selection Screen 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 PGQ. 2. From the Menu Bar go to Extras > Selection Views. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 5
  • 6. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 3. On the next screen which appears select Origin of View as SAP and Name of View as STANDARD, and click Display Button. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 6
  • 7. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 7
  • 8. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 8
  • 9. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 9
  • 10. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 10
  • 11. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 11
  • 12. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database 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. How It Suppresses the SAP Standard Selection View? When a selection view with origin CUS 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 SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 12
  • 13. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database Related Content http://www.sdn.sap.com/ http://help.sap.com/ For more information, visit the ABAP homepage. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 13
  • 14. Add New Field on the Dynamic Selection Screen of Any Report Using Logical Database Disclaimer and Liability Notice This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade. SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document, and anyone using these methods does so at his/her own risk. SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or code sample, including any liability resulting from incompatibility between the content within this document and the materials and services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this document. SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com © 2009 SAP AG 14