F4 help for fields in maintenance view resp. generated maintenance screen

Hello,
I’m new to ABAP and I have to deal with the following requirement:
I have a maintenance view V1 what from a maintenance screen was generated automatically by the maintenance screen generator.
Now I have to add a search help for one field F1 of the maintenance screen. The values for the search help of F1 depend on a specific value of a second field F2 of the maintenance screen. So I need value of F2 as import parameter for f4-help. F1 and F2 come from different tables.
As I’m new to ABAP I have several questions or thoughts:
- I’m not able to easily add a search help to F1 because I’m using the maintenance view V1 and that’s why it is not possible to assign the import parameter F2 to the search help – right?
- In general, its not that easy to add search help to views than tables or structures - why?
- I’m not able to just modify the generated objects because further automatic generation of the maintenance screen will delete it – right?
- The generated function module provides user includes to add user specific coding. Is there any chance to add a f4-help to field F1 and assign value of F2 to that search help as import parameter with coding in user include?
- any other ideas? I did not expect this topic to be so complicated as the requirement to change f4-help in a maintenance view resp. screen isn't very special.
can anyone help me?
Thank You!
Regards
Fabian

Hi Fabian,
Phew! Thats quite a few questions in one... I'll try to answer them to best of my knowledge..
You can definitely have an external Search Help for a field of a Maintenance View, by calling it directly in the Screen Action Flow, using a PROCESS ON VALUE-REQUEST (like PAI or PBO). While defining such custom code on a generated screen, always make sure you do not write the coding inside the generated includes (SVIM* or <FUGR>TOP, <FUGR>DAT, etc..). Define new includes, or use those which are not generated by View Maintenance. This way, even if the dialogue is regenerated, your custom code will not vanish.
This will answer your questions 1 and 2 generally, and your question 3 also.
A Maintenance View, is something where values are read and populated purely at run-time. It does not have an Entry Help or such options, as it depends on the underlying tables. I hope this further helps with questions 1 and 2.
Coming to your question 4 and 5, which form the main question - pre-filling value of F2 while calling search-help for F1 - yes, it is possible. On the view maintenance screen, there are standard structure variables (like EXTRACT TOTAL etc), which will give you the field values of the current record. But, it can no way assure that when you call the help for F1, the field F2 is already filled!
For this, I can suggest that you programmatically implement a check to see if F2 value is filled, and read if it is. Or, if it is not filled, maybe you can shoot a Pop-up for F2, take the value at run-time, find help for F1 and get value, and also fill the F2 value (from your implementation) into the currect screen F2 value! (Phew...it is complex...)
But am sorry, there is no other way, wherein you can gaurentee that F2 value is pre-filled always, when you can help for F1. (You could try making F2 as obligatory on screen, but it still doesnt necessarily solve this purpose..!).
Hope it helps. Get back to me by e-mail if you need more help, or simple post a reply.
Regards,
Rekha

Similar Messages

  • Create search helps for fields of custom tables

    Hi,
    Could any one please provide me the step by step process to create search helps for fields in custom tables?
    Thanks in advance,
    Nobin.

    Hello Nobin
    There is basically no difference between a search help for standard vs. customer tables.
    An important choise is the selection method for your search help:
    Either you use your custom table, a view or a search help user-exit if you need to implement very specific requirements.
    Assuming that you can use your DB table as selection method the further implementation of the search help is quite straightforward:
    (1) Define the parameters you would like to have a selection criteria (SPos = SPos) and which should appear on the result list (= LPos).
    (2) Define the parameters that can be used as input for the selection (flag IMP) and are returned by the search help (flag EXP)
    Regards
      Uwe

  • Search Help for field on table maintenance generator ECC 6.0

    Hi All.
    To maintain search help for a custom field on table maintenance generator.
    Only through coding.
    Cannot use domain or data element or table field search helps.
    Have to code only.
    Is there any way?
    Can I do modifications/additions to screen code and achieve this?
    Regards,
    Veeranji Reddy P.

    Scenarion:
    1. table with 2 fields.
    2. table maintenance generator.
    3. Function group with one screen(0001-mentioned in table maintenance) created.
    4. For one field on table maintenance generator...where we add new entries to table, i want a search help.
    Conditions : only coding has to be done..no search helps I can use.
    Coding where and what?
    one option is to code on the screen 0001- either in PBO/PAI.
    Is it a rite place...? or any other option? But no search helps as mentiond in my first message can be used.
    Thanks and Regards,
    Veeranji Reddy P.

  • How to assign maintenance view to a selection screen field in a program.

    Hi Experts,
    I have created a custom table. Now, I have a program where there is a selection screen field for example "Load". After entering a value in the selection screen, and press enter, the user must be redirected to the maintenance view of the custom table to modify the specifed record.
    Can anyone help me on how to do that?
    Thanks a lot for ur precious help.
    Regards,
    Aksh

    Hi,
    What is the need to search for a program.
    Use transaction SM30 or SE16 to create or maintain entries in the table.
    e.g. if the Maintenance view is created on table A, then Goto transaction SM30 or SE16 and give the table name as A and proceed. This will automatically take u to the maintenance view on tha table A.
    Regards,
    Himanshu

  • Search help for field in SM30

    Hi Experts,
    This is a Z table with first field as GROUP and second field as KEY.
    User can select values for first field using a search help. It has three possibel entries
    1. Purchasing Org
    2. Region
    3. Coutnry
    In second field the user has to enetr value based on selection in first field, for eg. if 1 is chosen in 1st field user will enter name of a purchasing organisation.
    Can we dispay a search help for second field based on the selection in first field?
    Like if 1 is selected in 1st field second field should display search help for Purchasing Org
    if 2 is selected in 1st field second field should display search help for Region....in SM30?
    How can we achieve this?
    Thank you,
    Anubhav

    Hi Anubhav,
    1.Go to the table maintenance generator screen from SE11 (Utilities -> Table Maintenance Generator).
    2. In the Table maintenance generator screen , navigate to Environment -> Modifications -> Maintenance Screens
    3. Select and Edit the screen where you need this new search help
    4. Create a Process on Value Request module for your second field at the end of the screen flow logic after MODULE LISTE_AFTER_LOOP.
    5. In the POV module, use funcntion DYNP_VALUES_READ to read the value of field 1 on the screen
    6. Fill your own table with the values for field 2 based on field 1 and display selection using the function F4IF_INT_TABLE_VALUE_REQUEST
    Hope this helps.
    - Puneet

  • Display Help for Field not referred through Data Elements in ALV

    Hi,
    I am working on a report program where the output is in ALV_LIST display format.The internal table used to define the field catalog contains fields that are not declared using Data elements.For these fields, when i press F1 from the output, the message I receive is 'No Document Available'.Can someone tell me how I can attach a help document to these fields without creating a new data element for each of these fields....
    For eg : My internal table that forms the field catalog is
      Data : Begin of i_itab occurs 0,
             matnr like mara-matnr,
             Name(50),
             end of i_itab.
    When this table is displayed in ALV, if F1 is pressed on the field matnr the corresponding dictionary help pops out.But since the field Name has no help document attached to it, i cannot view any help for this..Kindly tell me how i can attach my own help document to this field.
    Thanks,
    Swathi

    Hi,
    This issue was solved using the followiing steps.
    1. There is a parameter 'IT_EVENT_EXIT 'in the FM REUSE_ALV_LIST_DISPLAY or REUSE_ALV_GRID_DISPLAY.
    2.Set the value of the field of this paramter as
    EXIT-UCOMM= '&ELP'  " F1
    EXIT-BEFORE = 'X'
    This will make the control go directly to the user command functio written inside the program rather than the standard SAP define duser command....
    3. Inside the perform -usercommand in the ALV program use the FM HELP_DOCULINES_SHOW to show the appropriate help document
    This method may be used to display help text for those fields/columns in the ALV which are not referred to the fields/data elements in the data dictionary tabel

  • Search help for Field Selection

    Hello Exeperts,
    I've added the field ABWGR (Attendance/Absence Reason) in Iview Clock-in / Clock-out corrections, but when I execute the test this field in i-view does not show the codes created in the backend.
    Is there a way to activate the search help for this field in clock-in/ou corrections iview?
    Thanks in advance!

    Implement the note 1080414. it contains both front end and backend changes

  • Search help for field of tcode MIGO

    Hi,
    I want to add search help for Goods recipient (GOITEM-WEMPF) field on MIGO screen, how to achieve that?
    I tried with BADI MB_MIGO_BADI, but its now working.
    Is there any BADI or field exit available?
    Thanks

    hi
    i know that there are two options for defining the input help of a field.
    1 Define the input help in ABAP dictionary. (recommended option)
    2 Define the input help in the screen field. the disadvantage is that there is no automatic reuse.
    1st option
    Se11 --> create your own search help
        substeps:
            1) Enter short description
            2) selection method : this is the check table/view  of the field  GOITEM-WEMPF
            3) Search help parameter : parameters used in the search help.
            4) IMP: Import parameters
            5) EXP: Export parameters
            6) Lpos :hitting list [search result]position in the header  [values 1,2,3,4,5]
            7)Spos: search position on the dialog search screen.
            8) data elements : they are from the selection method.
            9) Save and activate
            10)  test this via the button "test"
           Note: the search help is not yet effective fo the field GOITEM-WEMPF
            11) Attach this search help for the table [ selection method mentioned above]
                  a) Goto change mode of this table via SE11
                  b) choose goto--> search help> for table
                            or  Extras --> search help for table, in the next dialog box enter the name of search help
                  C) The proposal created by the system for assigning the search help parameters to the key fields of the table is probably correct. check this and copy the definition.
                  d) Active this table.
                  e) Call the create entries function for table GOTIME again. the input help of field WEMPF should behave as desired.
    regards,
    Brian
    Edited by: Brian Zhu on Mar 26, 2010 10:38 AM
    Edited by: Brian Zhu on Mar 26, 2010 10:58 AM
    Edited by: Brian Zhu on Mar 26, 2010 10:59 AM

  • How to add search help for field in ALV object

    Hello,
    In a program, we use ALV object ( container) to create a liste like : field1, field2 .. but when display we do not have search help for this . Could you please help me how to add match code in this case for field 1 and field2, We use set_table_for_first_display
    Thanks,

    Hi,
    when you define your field catalogue you can create data elements with search help in se11 and use them for field 1 and field 2.
    But maybe it is enough to use data elements belonging to a domain with a value help and to set field F$AVAILABL in the field catalogue or to fill the name of the field CHECKTABLE.
    Regards,
    Klaus

  • F4 - Help for field in ALV Grid Output

    Hi,
    I generated a report which gives output in ALV Grid output.
    In the output, 1 of the field is editable.Here, for this field I need to have my own F4-Help.
    I think the procedure to be followed is:--
    Create a Search Help in SE11.
    Link the Search Help to the editable field.
    Please let me know if its the correct procedure.
    I f yes, how can I link user defined Search Help to the editable field?
    Thanks,
    Shivaa........

    Hi siva,
    you can also do that way.
    while filling the fieldcatalog use the parameter F4AVAILABL
    for more info check
    F4 help in ALV Grid...
    f4 help for a field in alv grid
    hope it helps you
    Thanks!
    Edited by: Prasanth on Mar 6, 2009 3:59 PM

  • Search help for fields in custom table..

    hi,
    in my custom table i have two fields - table name and field name. when user selects table name as VBAP , for field names i need all the fields in VBAP to be displayed and for that I set the check table as DD03L and I am able to see all the fields. But i am not able to see the description of the fields rather seeing field name , other key fields of DD03L.
    How do i get to display something like
    field name - description - length (length of the field as defined in DDIC)
    If search help will help then can u pl tell me how to create one ? or any standard can be used ?
    thanks

    Yes, you need to create search help and assign it to the field 'field name'
    Please search SDN for how to create search help. There are 100's of threads with this
    By the way the texts can be found in table DD03T  for tables as well as for fields

  • How to create  search help for field in interactive adobe form

    HI
    I want to create search help for PERNR field in adobe form.
    how i can do it.
    Can any one giud me.
    Regards,
    Laxman Sankhla

    Hi Laxman,
    Please search SDN, there are lots of queries posted and solved earlier on this.
    especially there are step by step blogs.
    Cheers,
    Sai

  • Search help for field RESB-VORNR

    Hello all,
    I am using RESB-VORNR in the selection screen of one of my report. I need a search help on this field. Could anyone let me know the matchcode for this field.
    Thanks!

    Unfortunately, the operations is not a field which is tied to check tables or domain values.  This is actually a field, which you can pretty much enter anything you want.  That said, there will be not F4 help for it.  So you must build it yourself.  Depending on your company, this may work out for you or it may not.  For example, at my company, engineering has developed standards which are adhered to which dictates that operation numbers are always a certain few and follow a sequence.  So you could build your F4 help on the fly and tie this to the field on your selection screen.  Or you could base the F4 help off of a group/ group counter which is entered by the user.    Below is an example of how you could build it on the fly.
    report zrich_0001 .
    data: begin of ivornr occurs 0,
           vornr type resb-vornr
          end of ivornr.
    parameters: p_vornr type resb-vornr.
    initialization.
    ivornr-vornr = '0010'. append ivornr.
    ivornr-vornr = '0020'. append ivornr.
    ivornr-vornr = '0030'. append ivornr.
    ivornr-vornr = '0040'. append ivornr.
    ivornr-vornr = '0050'. append ivornr.
    at selection-screen on value-request for p_vornr.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'VORNR'
                dynprofield = 'P_VORNR
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = ivornr.
    start-of-selection.
    Regards,
    Rich Heilman

  • Search help for field in Standard Transaction

    Hi Experts,
          We have a requirement to have an F4 search help for a standard field .
    ( Plant, werks, Tx AS01 ). This field is not associated with any standard search help, but it throws F4 values programmatically .
       We need to associate a standard search help ( BETR_BUKRS ) with this Plant field.
    1. How to proceed abt it ( As it is a part of module program , can we straight away associate with the search help in the property ) ,it is a  field of standard Transaction .
    2. If we include search help above, what will happen to the already existing F4 functionality ? Can we have both in tabs ?
       Thanks a lot,
    ~Abap Lover

    Hi Seshatal,
         Thanks for the input, but this field does NOT  have any ON VALUE REQUEST event associated with it ....
       as soon as F4 is hit, it goes to Function help_start ,so I don't think we can make any changes here as it is standard .
       I think including a standard search help will help....how to achieve this ?
    Thanks,

  • Change search help for field 'customer' in Trade Promotion

    Hello everyone,
    I would like to change the search help for the customer field (CRM_MKTPL_TRADE-CUSTOMER_ID search help: CRM_MKTPL_CAMPAIGN_CUST_ID) to one of my own.
    How can I do this?
    I would also like to change the search help for each partner function in the partner-tab. Is this the same procedure as above?
    Regards,
    Friederike

    Hi Friederike,
    If I have understood your question correctly then here is the answer.
    You can change the search help for the required filed. All you have to do is: Go to the table CRM_MKTPL_TRADE. Then look for the field CUSTOMER_ID. Change only the description of the field. then you can search by the description whenever you require.
    But the procedure will not be same if you want to change the search help for partner functions. In this case you have to change the descriptionof these partner functions in the transaction BP. 
    But why do you require it, because the partner functions will be determined automatically.
    Hope it helps.
    Regards,
    Ankur

Maybe you are looking for

  • I accidentally downloaded the 32 bit version and I need the 64 bit version.  How do I get to the 64 bit version to download it?

    I have gone back to my order, however next to my version, all it says is Download, it does not give the same options as it did when I started to download.  When I purchased, I was asked which version.  When I try to install, it tells me I must downlo

  • Transfer ABAP Coding from one system to other.

    Hi, I have a ABAP package in a SAP system. Is there a easy way how I can transfer it to a other system in a completely different landscape. Thanks for your help. regards, Mario

  • WebLogic 10.3.5 on Linux X86-64

    JDK version 1.6.0_24 java -jar wle1035_generic.jar On the "Register for Security Updates" screen, I try to uncheck the I Wish to receive security updates via My Oracle Support and click Yes every time it asks me if I am sure. I click Next and it hang

  • ALV: selection after sort by user

    Hello, After the user sorts the ALV, is it possible to retrieve the sorted table in your program. Because when I now act on the selection the user has made, I read the indexes of the unsorted table. Is there a method to retrieve the sorted table from

  • Where can I download jdk142_19

    Hi I have jdk142_12 now. I want to try the new 142_19. When I tried to download, I got j2sdk-1_4_2_19-windows-i586-p.exe. why the name convention is different? Also when I double click it, the install even didn't ask which directory to install and I