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

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

  • ZSearch Help: Unable to attach it with Data Element XBLNR1

    Hi,
    I made a ZSearch help, which will show the contents of one field of a Ztable.
    There is a field XBLNR(Reference) with data element XBLNR1 in transaction FB50.
    I want to attach Zsearch help with it.
    I have the access key also, but when I am unable to attach Zsearch help with the data element XBLNR1 because it is not in editable mode.
    Can anyone tell me the solution?
    Or is there any other method with which I can attach Zsearch help with the screen field?
    Regards,
    Priyanka.

    Hi Priyanka,
    you can attach search help to the XBLNR element direclty.
    GO to the program SAPMF05A screen number 1010  in SE51.go to layout and double click on doc.ref field. You can assign searhelp in attributes.
    ofcourse , u need access key for this.
    hope that helps.
    regards,
    sap fan.

  • Changing field lable of KVGR1 data element.

    Hi Guys,
                  I am changing field lable of KVGR1 data element. No. of depedent objects are also changed but some of the objects were end up with warning "Enahancement category for table missing". Since all this objects SAP Standard do I have to genarate key for every single one with warning to adjust the enhancement type.
    Cheers
    S Kumar

    Hi Amit,
                I have already changed the Field labels and Description of KVGR1 data element using SSCR key.
    Is it a good idea to revert it back. The dependent tables and structures are activated with warnings. Which is Enhancement category.
    Cheers
    S Kumar

  • Save for web not working in Photoshop element 6

    Save for web not working in Photoshop element 6. I am using Mac os x version 10.5.8   Anyone know how to fix that please tell me. Thanks

    I just copy the preferences from my computer for you to see what are shown about adobe
    file:///Users/raymondsmith/Library/Preferences/Adobe/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Illustrator%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20CS2%20Settings/
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Paths
    file:///Users/raymondsmith/Library/Preferences/Adobe%20Photoshop%20Elements%206%20Settings /
    file:///Users/raymondsmith/Library/Preferences/AdobeUM/
    file:///Users/raymondsmith/Library/Preferences/AppleWorks/
    file:///Users/raymondsmith/Library/Preferences/ByHost/
    file:///Users/raymondsmith/Library/Preferences/CD%20Info.cidb
    file:///Users/raymondsmith/Library/Preferences/CDDB%20Preferences
    file:///Users/raymondsmith/Library/Preferences/cfx%23FBSxPfw
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.90.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Pro7.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.acrobat.sh.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Acrobat.Uninstaller.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Adobe%20Help%20Viewer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.ami.installer.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.bridge2.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.mediabrowser.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.PhotoshopElements.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader_ppc_9.0.plist
    file:///Users/raymondsmith/Library/Preferences/com.adobe.Reader.plist
    file:///Users/raymondsmith/Library/Preferences/com.aol.aim.plist

  • Need help for style not displaying correctly in chm

    I’m using RoboHelp HTML version 8.  RH8 is dropping a style from my stylesheet.  The style appears to be applied correctly when I view a topic (the HTML file) directly with either IE or Firefox browser, and it appears correctly when I view the topic with the “Item View” feature in RH8 (the eyeglasses icon).  However, in the compiled HTML help output from RH, the style is not correct.  The style in question is a class of style (“desc” for descriptions) for a subset of table data. The “desc” class should have the data in the cell left justified, and the cell width should be 50%.  The main parent style for table data (centered text, cell width varies) seems to be applied instead, and the child style for descriptions is not applied.  Below I've included a screen shot of a table page as it looks in Item Viewer, then the same page as it appears in the CHM, and finally the style sheet in its original state before being added to RH.
    Here are things I’ve checked for:
    ·         The project is large, with over 6300 topics and a compiled chm of 5560 KB.  RH crashes when I try to apply style sheets or master pages to multiple topics from the Topic List.  However, I created a much smaller test project with 122 topics and still get the dropped style.
    ·         The style sheets were created outside of RH, and are also used for presenting the same content over the web outside of RH.  The styles display fine in the other context through a browser.  I have not modified the style sheet in RH, but I have opened it in RH.  I’ve also tried deleting and re-copying the style sheet into the project.
    ·         There is another set of styles applying to the tables, for table rows.  There is a “tr” class for the heading and classes for rotating background colors.  These child styles appear correct with no problems.  Every row in a table belongs to a child class of row styles.  In the case of table data styles, most cells require the parent “td” style and only a subclass require the child “desc” style.  It’s the “desc” style that isn’t showing up in the chm.  Is this a clue?
    ·         Multiple style sheets per topic.  Apparently only one style sheet can be used per topic.  In my project, I have two types of topics, called schema pages and table pages, with a style sheet for each.  The same master page is used for both types.  The master page uses the tables style sheet.  Therefore, the tables topics (the ones with the dropped style) use only one style sheet, but it is specified in both the master page and the topic itself.   Is this a problem?
    ·         Reviewing the style sheet in RH.  When I inspect the style sheet through RH’s Project Manager, the table data and table row styles appear under “Other” and not under “Table.”  Is this a clue?
    The special formatting of the description cells in our table-heavy project is essential.  I’ve spend days trying to troubleshoot this problem and would appreciate any help anyone can offer.

    Hi jensei,
    Thanks for that. When I took that screenshot - bizarrely those cells all had exactly the same html. I can't easily prove that now as I have tinkered with that test page quite a lot since. I started thinking maybe I could do something "clever" with table styles to save me the joyless task of manually editing all tables in my project. In the end I gave up and decided to devote a couple of hours to going through and reformatting all tables with a font that was the same size and of a similar type face to the rest of the page. Obviously not an option in your monster project, but it worked for me.
    I've seen so many random results here that I can't get my head around what exactly is going wrong - for me the issue seems connected with style = none in a table.
    Anywhere else on the page, style = none yields text with font = Tahoma 10pt.
    But in the table cells that text sometimes rendered ok in CHM, but often it would randomly appear far larger.
    So for me the cure was to format all tables with font = arial 10pt (rendered result is similar, but somehow different enough to stop the erroneous size rendering).
    That's as far as I got - as usual with time being very precious, I've had to curb my geekiness and crack on.
    Cheers,
    Andy

  • F4 help for field in ALV grid control (using ABAP objects)

    Hi All,
        I have created a z table ZTAB which is a master table( with single column X). field X should be a input field in ALV Grid through F4 key. I have created searchelp and assigned it to data element of X feild, and in domain level I have assigned ZTAB as value table.
        And in ALV field catalog wrote ls_fcat-ref_tab = 'ZTAB'. But still I'm not getting list of values when I press F4.
    Can anyone help me to understand what is missing here? How to call standardard F4 help?
    This is very urgent..
    Regards
    Jaker.

    u can refer to this standard program :BCALV_EDIT_08
    also u wont get the list of values automatically..
    declare a class :
    CLASS LCL_EVENT_HANDLER DEFINITION.
      PUBLIC SECTION.
        METHODS :
        handle_on_f4 for event onf4 of cl_gui_alv_grid
        importing e_fieldname es_row_no er_event_data,
    ENDCLASS.               "LCL_EVENT_HANDLER
    implementation of class
    here u pass ur internal table what u want to display as pop up for f4 help.
    *&       Class (Implementation)  LCL_EVENT_HANDLER
           Text
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
    *Method to handle F4 click.
      Method handle_on_f4.
    Function to create a popup and passing the values of internal table in it.
          CALL FUNCTION 'POPUP_WITH_TABLE'
            EXPORTING
              ENDPOS_COL   = 60
              ENDPOS_ROW   = 60
              STARTPOS_COL = 5
              STARTPOS_ROW = 5
              TITLETEXT    = 'pop up'
            IMPORTING
              CHOICE       = wa_grid-zfield
            TABLES
              VALUETAB     = ITAB
            EXCEPTIONS
              BREAK_OFF    = 1
              OTHERS       = 2.
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
            RETURN.
          ENDIF.
      endmethod.                    "handle_on_f4
    ENDCLASS.               "LCL_EVENT_HANDLER
    hope this gives u some idea.

  • 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

  • Displaying Single Datablock field in Multiple Record Data Block

    Hi all
    I have a master detail block for cash transaction recording.
    Master Table name CahMaster and datablock contains columns Cash Bill No, Date, Customer ID, Misc Freight Charges.
    Detail Table name is CashDetail and datablock includes product id, product name, unit price, quantity, return, discount and Disc Overall. Number of records to be displayed in this block are 10.
    Now I want to Display Disc Overall field for one time only which is also a database field.
    I have used to set its properties to be displayed for one time only. It apprantlelly solved the problem.
    But when I used to execute query to see the previous records,
    Disc Overall field does not show the records till I move or Mouse click the last record of any cashdetail record.
    Any solution, thanks in advance!!!
    With Best Regards
    Thunder2777

    The layout of my cash detail is as follow to give you better undrstanding
    Prod_ID Prod_Name Qty Unit Price Return Disc Total per Record
    Total Qty --- Total Return ---- Sub Total ----
    Disc Overall ----- Grand Total ----
    I calculate cash Detail as following
    Total per Record = ((Qty - Return) X Unit Price) - Disc (Discount)
    Disc (Discount) is further calculated through When Validate trigger at item level which is (totalPrice * Disc)/100
    Total Per Record is a display field just to display the total.
    There are 4 other Displays fields e.g Total Qty, Total Return, Sub Total and Grand Total
    Totoal Qty, Total Return and Sub Total uses the sum fuction of block to calculate the sum of these three columns. Sub Total sum the Total Per Record field /column.
    Grand total again uses the when validate trigger at item level to calculate the grand total which is Grand Total = Sub Total - Disc Overall.
    Disc Overall = Subtotal - (subtotal * Disc Overall ) / 100
    That' s why I have asked to display the Discont Overall field for ONE TIME only as it is the discount which is applied to overall total.
    With Thanks
    Thunder2777

  • 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 F1 help for fields of a table in SM30

    I have a z-table which is being maintained using SM30. while creating new entries for the z-table using this SM30 i want to create F1 help which will be useful for the user to create new entries. can anyone pls help we this requirement?

    Hi Lalitha,
    To have F1 help documentation, you need to create Documentation by pressing Documentation button in the Change Data Element screen (SE11)
    If you need certain values for the field through F4 help then you need to specify the values in the Domain of this Data element (SE11)
    Jogeswara Rao K

  • 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

  • Search help for field in ABAP Query

    Hi Experts,
    For a particular field in standard table the search help(F4) is not maintained in the table level, which is used in a ABAP query.
    Is there any possibilities for user-defined Search help using InfoSet or Query?
    Please help me in this regard.
    Thanks in advance,
    Balaganesh.

    Hi Bala,
    I understand your question better now.  Since you mention standard selections I assume that your InfoSet is based on a logical database instead of a table join, direct read, or custom data retrieval program.  You are correct that the AT SELECTION-SCREEN ON VALUE REQUEST logic I mentioned earlier will not work for the standard selections of a logical database.  The system gives you an error when generating your InfoSet if you try to use the standard selection name (in ECC 5.0 at least).  I've tried various tricks to attempt to get it to work, but so far no luck. 
    You could, of course, use a different logical database as your InfoSet basis (e.g. VAV has a matchcode on VBAK-VBELN) or create your own data retrieval program and change your InfoSet to use the custom program instead of a logical database.  In the second case you wouldn't need to deal with standard selections at all.  I understand that these solutions are probably not what you need and, in the case of the custom data retrieval program, would be more complex (it may not be worth it to write a custom program just to allow F4 help... or maybe it would be... just depends). 
    Please keep us updated if you find a way to do it.  I'll also report back if I happen to discover a way.
    Best Regards,
    Jamie

  • 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 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

Maybe you are looking for

  • Firefox 3.6.8 not compatible with new HP 4-in-1 for printing from web - any solution?

    I have installed a new HP printer-copier-scanner-fax machine on a new Dell laptop (Model: Inspiron 15R, with Windows 7). This HP product (Model: CQ521A) has the capability of printing from the web. But at the time of installation I have received the

  • Errro while creating web service in NetWeaver 7.1

    I am working with EJB 2.1 project in Netweaver 7.1 . After creating session bean when i m trying to create webservice i m getting following error IWAB0234E An internal error occurred. Details: null     java.lang.NullPointerException     at org.eclips

  • Iphone 3g Identity

    My iphone works perfectly with my router but shows up with the device name "unknown" Can I name it? so that the router will the name I give to it? just as it does other devices connected to it. I have named it in the bluetooth settings so if someone

  • Correct way to handle updates of XMLtype columns in standard tables.

    Hello to whoever may read this, I am currently studying the XML functionality of oracle DB for a uni project. We have been asked to compare/contrast solutions to publishing product and price data for data stored in standard relational tables, and dat

  • How to enhance the standard web query template in BW 3.5

    hello experts, How can I enhance the standard web template in BW 3.5? I can see that in 3.5 0QUERY_TEMPLATE is not longer the standard web template, the new standard template looks completely different with new functionalities etc. I can't follow the