5
Search Home Trainings Quiz Tips Tutorials Functional Cert Q's Interview Q's Jobs Testimonials Advertise Contact Us SAP Virtual/Onsite Trainings Tips Categories: ABAP TM ABAPHR ALE & IDocs BAPI BASIS LSMW SAP Script/Smart Forms SAP® Workflow Userexits/BADIs XI Others Contribute? What's New? Download ABAP Code into PDF file Create Transport Request using Function Module Creating radio buttons on popup window Enable or disable a parameter based on other parameter's value How to restrict other users from editing a program? Skip transaction in LSMW How to make a table field to store a lowercase value? Increase maximum number of SAP sessions per user Manually push an email from SAP Outbox using SOST Where the history of Transaction Codes does get stored? Enable, disable and delete input history Comparing two SAP script forms Consistency check for SAP Script forms and styles HTML Viewer of SAP Script texts Uploading image without any distortion from original image Increasing number of display pages in spool request Unlocking the transport request/task Creating ZIP file on UNIX/Application server Forwarding spool request to your inbox Converting Smart form output in to List Display in 1 step Including all objects of a package in the transport request What's Hot? Web Dynpro for ABAP Tutorials Join the Mailing List Enter name and email address below: Name: Email: Subscribe Unsubscribe GO Adding new field on the dynamic selection‐screen By Joyjit Ghosh Most of us observe that whenever a logical database is attached with a report, it automatically adds dynamic selection screen button on the report selection screen. Ex: Transaction FBL1N If we click on this button, it will open up a separate selection screen that can be dynamically adjusted based on the fields you choose from the left hand side folders (Function groups). Now our requirement is to add new field in the left hand side folder (as well as in the selection screen) that is not present currently. First, we need to know the name of the logical database that is attached with the program. In case of FBL1N, program name is RFITEMAP. Go to the program’s attribute screen to know the logical database name. In our case it is KDF. HP LaserJet M1005 Multifunction... Rs.11,895 Huge selection. Best Prices. Amazon.in PMP Certification@Rs. 4000 Get 25% Hike in your Salary after Certification Program. Enroll Now !

Adding Field in Fbl3n

Embed Size (px)

DESCRIPTION

Adding Field in Fbl3n

Citation preview

Page 1: Adding Field in Fbl3n

3/18/2015 SAPTechnical.COM ­ Adding new field on the dynamic selection­screen

http://www.saptechnical.com/Tips/ABAP/DynamicSS/NewField.htm 1/5

  Search

Home  • Trainings  • Quiz  • Tips  • Tutorials  • Functional   • Cert Q's  •  Interview Q's  • Jobs  • Testimonials  • Advertise  • Contact Us

SAP Virtual/OnsiteTrainings

Tips Categories:

ABAPTM

ABAP­HRALE & IDocsBAPIBASISLSMWSAP Script/Smart FormsSAP® WorkflowUserexits/BADIsXIOthers

Contribute?

What's New?

Download ABAP Code into PDFfileCreate Transport Request usingFunction ModuleCreating radio buttons on popupwindowEnable or disable a parameterbased on other parameter's valueHow to restrict other users fromediting a program?Skip transaction in LSMWHow to make a table field to storea lowercase value?Increase maximum number ofSAP sessions per userManually push an email fromSAP Outbox using SOSTWhere the history of TransactionCodes does get stored?Enable, disable and delete inputhistoryComparing two SAP script formsConsistency check for SAPScript forms and stylesHTML Viewer of SAP Script textsUploading image without anydistortion from original imageIncreasing number of displaypages in spool requestUnlocking the transportrequest/taskCreating ZIP file onUNIX/Application serverForwarding spool request toyour inboxConverting Smart form output into List Display in 1 stepIncluding all objects of a packagein the transport request

What's Hot?

Web Dynpro for ABAP Tutorials

Join the Mailing List

Enter name and email address below:Name: 

Email: 

Subscribe   Unsubscribe GO

Adding new field on the dynamic selection‐screen

By Joyjit Ghosh

Most  of  us  observe  that  whenever  a  logical  database  is  attached  with  a  report,  it  automaticallyadds dynamic selection screen button on the report selection screen. 

Ex: Transaction FBL1N

 

If  we  click  on  this  button,  it  will  open  up  a  separate  selection  screen  that  can  be  dynamicallyadjusted based on the fields you choose from the left hand side folders (Function groups). 

 

Now our  requirement  is  to  add new  field  in  the  left  hand  side  folder  (as well  as  in  the  selectionscreen) that is not present currently. 

First, we need to know the name of the logical database that is attached with the program.

 

In case of FBL1N, program name is RFITEMAP.

Go to the program’s attribute screen to know the logical database name. In our case it is KDF.

HP LaserJet M1005Multifunction...

Rs.11,895Huge selection.Best Prices.Amazon.in

[email protected] 25% Hike in yourSalary afterCertification Program.Enroll Now !

Page 2: Adding Field in Fbl3n

3/18/2015 SAPTechnical.COM ­ Adding new field on the dynamic selection­screen

http://www.saptechnical.com/Tips/ABAP/DynamicSS/NewField.htm 2/5

 

Now go to transaction SE36 and choose the menu Extras → Selection Views.

 

In  the  next  screen,  select Origin  of  view:  SAP  and  Name  of  view:  STANDARD,  and  clickDisplay button. 

 

Page 3: Adding Field in Fbl3n

3/18/2015 SAPTechnical.COM ­ Adding new field on the dynamic selection­screen

http://www.saptechnical.com/Tips/ABAP/DynamicSS/NewField.htm 3/5

 

This is the view that SAP uses to generate the dynamic selection screen. 

Here three functional groups of fields those are available in the dynamic selections. 

01 Vendor Master

02 Company code

03 Document  

Each  functional  group  contains  fields  from  the  tables  that  are  listed  on  the  right  side  (LFA1,ADDR1_VAL, etc). The field which  is assigned to a  functional group will be available  in  left handside of the dynamic selection screen under the folder with name of the function group. Notice thatfor  every  field  assigned  to  a  functional  group,  there  is  a  “Preselect”  checkbox  on  the  right.  Thischeckbox indicates whether the relevant field should be directly available for selection. 

As we want  to extend  the SAP­delivered dynamic selections with new  fields, so we must createour own selection view. This view will have CUS as the Origin, and must be named STANDARD.To create such a view, simply use the Copy button on  the  top of  the screen, and copy  the SAPdelivered view to a CUS view. 

 

Once  the  customer­defined  view  is  created  then  go  to  change mode  and  add  new  fields  in  thefunctional  group. 

Page 4: Adding Field in Fbl3n

3/18/2015 SAPTechnical.COM ­ Adding new field on the dynamic selection­screen

http://www.saptechnical.com/Tips/ABAP/DynamicSS/NewField.htm 4/5

 

In this case we have added the field NAME1 in functional group Vendor master (01).

Now save the view , go back to the transaction and open the dynamic selection screen. You cansee the new field NAME1 is added in it. 

 

How it works?

When a selection view with origin CUS (customer) and name STANDARD exists, and is assignedto a  logical database,  then this view takes precedence over  the SAP­defined view. When such aview does not exist for a particular logical database, then the selection view SAP – STANDARDis  used  to  determine  the  dynamic  selections.

Hyderabad ToDelhi Flight

Book In Advance And GetUpto Rs 700 Off on Your Flight

Bookings. Hurry!

Page 5: Adding Field in Fbl3n

3/18/2015 SAPTechnical.COM ­ Adding new field on the dynamic selection­screen

http://www.saptechnical.com/Tips/ABAP/DynamicSS/NewField.htm 5/5

Please send us your feedback/suggestions at [email protected] 

Home • Contribute • About Us • Privacy • Terms Of Use • Disclaimer • Safe • Companies: Advertise on SAPTechnical.COM | Post Job • Contact Us  

© SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affiliated with SAP AG.

SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

Graphic Design by Round the Bend Wizards