Current Position:Home > How to create a F4 help for a report selection screen field

How to create a F4 help for a report selection screen field

Update:10-11Source: network consolidation
Advertisement
hi,
can any one guide me to create F4 help for a field in a selection screen in a report program,plz give me a sample code

The Best Answer

Advertisement
hi,
Here are the following ways
1.with the help of match code objects we can create the F4 Functionality for Field.
Syntax is :
PARAMETERS: p_org LIKE t527x-orgeh MATCHCODE OBJECT zorg.
2. One more thing is we can do it with Search Help's also.
3. Even we can do it HELP Views also.
Help Views:
You have to create a help view if a view with outer join is needed as selection method of a search help
The selection method of a search help is either a table or a view. If you have to select data from several tables for the search help, you should generally use a database view as selection method. However, a database view always implements an inner join. If you need a view with outer join for the data selection, you have to use a help view as selection method.
All the tables included in a help view must be linked with foreign keys. Only foreign keys that have certain attributes can be used here. The first table to be inserted in the help view is called the primary table of the help view. The tables added to this primary table with foreign keys are called secondary tables.
The functionality of a help view has changed significantly between Release 3.0 and Release 4.0. In Release 3.0, a help view was automatically displayed for the input help (F4 help) for all the fields that were checked against the primary table of the help view. This is no longer the case in Release 4.0.
As of Release 4.0, you must explicitly create a search help that must be linked with the fields for which it is offered (see Linking Search Helps with Screen Fields ).
Existing help views are automatically migrated to search helps when you upgrade to a release higher than 4.0.
A help view implements an outer join, i.e. all the contents of the primary table of the help view are always displayed. You therefore should not formulate a selection condition for fields in one of the secondary tables of the help view. If records of these secondary tables cannot be read as a result of this selection condition, the contents of the corresponding fields of the secondary table are displayed with initial value.
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 15, 2008 3:15 PM
  • How to create a F4 help for a report selection screen field Update:10-11

    hi, can any one guide me to create F4 help for a field in a selection screen in a report program,plz give me a sample codehi, Here are the following ways 1.with the help of match code objects we can create the F4 Functionality for Field. Syntax is :

  • Can we create serach help for a selection screen field Update:10-11

    Can we create serach help for a selection screen field with out creating searchhelp object. I mean is it possible to create serchelp in the program itself with some specific values i want to give. E.g say we can define any internal table and fill it

  • How to create a variant for a program without selection screen Update:10-11

    Hi All, I've created one program which takes the data from 30 tables and loads into one final table. This program is already moved to Production. But while creating variant it's not allowing, since the program doesn't have the selection screen. Is th

  • How to create text box with multiple lines in selection screen. Update:10-11

    Hi, i need to create a text box to capture comment with 300 characters. i want to achive this without using module pool,is there any posibilities to that regards rajaSince text on Report screens is limited basically to what's left on a line in the se

  • Creating F4 help with customized values in selection screen Update:10-11

    Hi  Dear friends          In my report  i have two input flds at selection screen i.e. sales order no and date description.Now based on sales order no the F4 help in the fld date description should change dynamically.eg. if there are two sales docume

  • Creating a list box to the selection screen field Update:11-30

    Hi folks,          Could any one suggest me how to add a list box (drop down list) to a selection screen field.           Thanks,           Santosh. Edited by: shyam prasad on Apr 3, 2009 6:07 AMHi, just follow the code like below, TYPE-POOLS: vrm. T

  • Create a flat list from SELECTION-SCREEN Update:11-30

    Hi, I have a selection for date on in an report, SELECTION-SCREEN  BEGIN OF BLOCK blk1 WITH FRAME TITLE text-001. SELECT-OPTIONS : dat_rang FOR sy-datum. SELECTION-SCREEN END OF  BLOCK blk1. I want to create a flat list of dates from this selection.

  • Problems creating dynamic selection screen Update:11-30

    Hi all, i'm trying to dynamically generate a selection screen and show it as subscreen using the two function modules FREE_SELECTIONS_INIT and FREE_SELECTIONS_DIALOG. I call the function modules in the PBO of the therefor defined subscreen. The FREE_

  • Error while creating a new layout in a report. Update:10-11

    I am getting this error message: Failed to save data. Error occurred when creating xml data. when I try to save after I create a new layout in my report. Is there some common problem with templates that could cause this to happen? I'll continue to lo

  • How to create a report with selection screen that can run in background Update:10-11

    Sorry to ask these basic questions but I am knew to ABAP Programming. To keep it simply, I am attempting to create a report that has a simple parameter driven selections screen with one field.  That field takes in a folder path from the user.  The us