How to implement F4 help in table control

Hi all,
I am working on a table control in a module pool program. I have three fields in table control , material no. , material description and quantity. my requirement is , in table control , i need to provide the F4 help for material no. and material description, in a way, if i select material no. using F4, the corresponding material description field would be entered automatically in the table control field.
Pls suggest me on this , if possible pls give me code or logic to do this.
Thanks
Saravan
Moderator message: please don't post the identical question again after the first attempt was locked for good reasons. Search for available information before asking.
Edited by: Thomas Zloch on Mar 3, 2011 11:54 AM

Hi Saravana,
Please search in SCN before posting. You will find many threads related to this question. The basic logic is you have to get the selected row of table control  using DYNP_GET_STEPL function in your POV. Then using function DYNP_VALUES_READ read the material and create the description to be displayed. You have use function F4IF_INT_TABLE_VALUE_REQUEST to display search help.

Similar Messages

  • How to implement Tool TIP in Table Control

    Hello Everyone,
    Can you please tell me how to implement a tooltip messages in table control columns.
    The Tooltip contains a simple message like "Doublde click on column.
    Thanks in advance.
    Edited by: Suruchi Razdan on Jun 6, 2011 7:57 AM

    Hello,
    In table Control->first Header Row has chance to maintain the Tooltip option.
    In table control columns maintain Double click options in attributes .
    Regards,
    Praveen

  • How to implement screen enhancements with table control in sales document

    I want to add a table control in sales document head and items, is there a good solution for this, thanks

    Hi Zhang Jie,
    There are some reserved screen for you in sales order.
    screen enhancement: for header is SAPMV45A 8309 and 8310.
                                    for item is SAPMV45A 8459 and 8460.
    you can add your table control in those screen.
    regards,
    Archer

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

  • How to add a column in table control

    Hi ,
       Can any one tell me how to add a column in table control? My requirement is to add two columns ( custom fields ) into table control ( It is a standard program). I have added the column in the table and also in the table control. But when I am running the standard program, The newly added column is not there. But I have added in the perticular screen. Change is not reflected.
       Can anyone help me on this please.
    Thanks in advance.
    Regards,
    Lakshmi.

    Hi,
    Ensure the following :
    1. After adjusting the database, you`ll have to use the database utility and activate the table.
    2. If you have changed the standard screen, in tcode se80 -- right click on the program and click activate all. This activates all objects related to that program.
    Now execute the program.
    Reward if helpful.
    Regards

  • How to have push button in Table control

    Hi Experts,
       I have an internal table which I populate in table control. How can I have pushbutton in table control(in every row). If done how to have funtion code which will trigger PAI.
    Thanks and regards.
    Venkat

    Hi,
    I dont think that pushbuttons will be of much use as when you click a button same code will be executed all time.
    So, you can take either selection column in table control (use the SELCOL in the table attributes)
    or you can also take a checkbox in table control and then can perform action on lines which were selected by the user.
    Hope this helps you out.
    Regards,
    Tarun

  • How to display icon status in table control

    hi, i trying to display icon in table control its not displaying
    i given below statment.
    DATA: BEGIN OF WA_MARA,
            ICON1(4) TYPE C,
             END OF WA_MARA.
         INCLUDE <list>.
    MOVE ICON_GREEN_LIGHT TO IT_MARA-ICON1.
    APPEND IT_MARA..
    when i debugging it display green icon but after run the program its display ' @08@ '   in table control.
    how to display green icon in table control help me.

    Hi,
    check the link:
    Table control in custom infotypes

  • How to determine fixed line of table control using BDC program ?

    Dear All,
    I create program using BDC that contains table control.
    Unfortunately the table control line of BDC program will depend on the resolution of our PC setting.
    Sometime I have 2 lines, sometime 3 lines (in different PC).
    How to determine fixed line of table control?
    So it will never be confusing me whether I have 2 or 3 lines.
    Thnx - Regards,
    (Taufik K.)

    Hi Taufik,
    Check the table CTU_PARAMS and field DEFSIZE for setting fixed line of a table control.
    CALL TRANSACTION 'VA01' USING it_bdcdata
    OPTIONS FROM OPT
    MESSAGES INTO it_mesg.
    opt of type ctu_params.
    WA_CTU_PARAMS-DISMODE = 'N'. "no screen mode
    WA_CTU_PARAMS-UPDMODE = 'S'. "synchronus update
    WA_CTU_PARAMS-NOBINPT = 'X'.
    WA_CTU_PARAMS-NOBIEND = 'X'.
    WA_CTU_PARAMS-DEFSIZE = 'X'. "Default size
    Default size will play good role in terms of resoultion. in one system in table control you can see 10rows, but in others system it will show 20 records. it depends on resoultion. but when you set the default size then it will take same (default screen size) in all the systems when you run BDC.
    Reward if helps.
    Regards,
    Senthil
    Message was edited by: senthil kumar

  • How to implement secure help in SharePoint 2010?

    Hi,
    We are having a sharepoint site running over HTTPS. When I click on help link given on top right side, I get a security warning saying that only secure content content can be displayed. This is probably due to the non secure content(http) used by microsoft
    help.
    Can anyone please suggest how to implement microsoft help having secure content?
    Please see screenshot below:

    Yes office.microsoft.com URL works when I use https:// instead of http:// .
    Can you please let me know in which file this help function is used?
    Please provide me with an example if possible.

  • How to implement Search Help in Interacive Form based on WebDynpro Java?

    Hi Experts,
    How to implement Search Help in Interacive Form based on WebDynpro Java?
    Could someone please provide the prerequisites and the code for the same.
    Regards,
    Shobhit

    Extend the controller and get the handle of the current row of the VO. Set set the attribute context filed accordingly. Also get the handle fo the flexbean and set the context. According rendering would change.
    Regards
    Sumit

  • Search Help on Table Control - Fill more than one field in the table?

    Hey everyone,
    I have built a screen with a Table Control on it... the fields of the table control are linked to an internal table...  The internal table has the line type of a structure I've defined in the data dictionary.  Within that structure in the data dictionary, I've linked some fields to search helps (For example, a MATNR and CUSTOMER search help)...  I've defined in the structure definition which fields from the search help are to be returned to which fields in the structure.
    The problem is, even though I have the search help set to export both the customer number and location when using the search help on the customer field, it still does not fill the location field within the table.  Is this a limitation of using search helps within table controls?
    I'm also finding that by defining the search help through the structure, instead of directly within the screen, the search help round button does not show up on the field, yet I can still press F4 to bring up the search help.  Is there a reason why it's not showing the search help clickable button even though it works fine using F4?
    For doing search helps in Table Controls, is it better to just build the search help, attach it directly to the field in the table, and then after the user picks the single field, use the PAI to run a select and fill the rest of the fields required?
    Thanks,
    Dallas

    Hi Dallas,
    (1)
    What  i understood is that you added a search help by defining it in the internal table type for a field customer number..in the search help you have 2 fields customer number and location...user press the search help ..then you need to fill 2 different fields or 1 field?
    if you need to fill the customer location or location (only one) then you need to set the "import" in the search help for whichever is required.....
    if you need to fill 2 or more different fields..then you can use the technique you have mentioned last , to do a select in PAI and fill the fields....but this you can use if the combination for the fields is unique...eg: u have customer number and location..if customer X can be mapped to location X and location Y..when a select statement is done there are 2 options..so in such cases it is better to leave the option to the user otherwise if there is a clear mapping like customer X can be mapped only to location X then you can use the select..
    (2)
    usually when you define it as a type in the internal table the icon doesn't show up..but you can do alternative like mentioned..go to the table,find the search help for the required field if present or create a new one if required and place the search help mentioned in the screen itself..so as to see the icon...sometimes users are adamant that they need the search help icon to be seen..so it depends on if your user
    (3)
    as in the example of customer number and location mentioned we can provide them different search helps and do the needful processing in PAI to fill the fields
    Table controls may be used for different purposes and requirements....even a checkbox,push button can be placed as a field in table control and used,but yes most of the time requirements are like what is mentioned in your case...
    Regards
    Byju

  • How to create vertical Scrollbar in table control?

    Dear All,
    How to create vertical scrollbar in table controll.?
    regards,
    Dharmesh

    Hi
    It should be created automatically, if you can't see it, try to set the field lines of table control
    PROCESS PBO
    MODULE SET_ATTR_TC.
    LOOP AT ITAB WITH .....
    ENDLOOP.
    MODULE SET_ATTR_TC.
    DESCRIBE TABLE ITAB LINES SY-TABIX.
    <TABLE CONTROL>-LINES = SY-TABIX.
    ENDMODULE.
    Max

  • How can I work lsmw with table control using mm01 appl?

    Hi
    How can I work lsmw with table control using mm01 appl?
    Is it difefrent the way we handle table control in BDC?
    Thank You

    Hi
    How can I work lsmw with table control using mm01 appl?
    Is it difefrent the way we handle table control in BDC?
    Thank You

  • How to get value on the table control in infotyp e0008

    Dear Freinds
                I have written a user exit ZXPADU02 for my requirement
    as per the requirement in i have calculated  wa-poo8-bet01 = wa_p0008-ansal/12 and i have passed on to the INNNN structure .
    Nowe when do a Create or Copy for a rcord in  infotype 0008  iam not
    getting value on Q0008-betrg field on the SCREEN , since it is table control how to get data on the table Control Cell .
    Please let me knlow
    regards

    Hi Syamala,
    The try to find the name of the table control and pass the values to it.
    Of course you have to loop and endloop, the table control and mofidy it from the work area.
    Message was edited by:
            Sera

  • How to implement a help feature in iView Tray

    How to implement a help feature in an iView Tray?

    Hi Gregor,
    Could the answer be connected to the class com.sapportals.portal.prt.component.SystemModes ?
    I can't really see how this class is called, but it gives the error message you are talking about
    The method doHelp for SP2 Patch3 is provided below
    public void doHelp(IPortalComponentRequest aRequest, IPortalComponentResponse aResponse)
            IPortalComponentContext context = aRequest.getComponentContext(IPOMConstants.DEFAULT_MODE);
            IPortalComponentProfile profile = context.getProfile();
            String helpName = profile.getProperty("com.sap.portal.iview.HelpName");
            if(helpName == null)
                helpName = profile.getProperty("HelpName");
            String helpURL = profile.getProperty("com.sap.portal.iview.HelpURL");
            String isolationMode = profile.getProperty("com.sap.portal.reserved.iview.IsolationMode");
            if(context != null)
                if(helpName != null)
                    String componentName = context.getComponentName();
                    Locale locale = aRequest.getLocale();
                    String language = locale.getLanguage();
                    String helpPath = "help/" + language + "/" + helpName;
                    IResource resource = aRequest.getResource(componentName, "page", helpPath);
                    if(resource.isAvailable())
                        aResponse.addResource(resource);
                    else
                        aResponse.write("<b>Sorry, no help available.</b>");
                } else
                if(helpURL != null && helpURL.length() > 0)
                    if(helpURL.startsWith("http://"))
                        if(isolationMode != null && isolationMode.equals("URL"))
                            HtmlIFrame frame = new HtmlIFrame();
                            frame.setStyle("width:100%; height: 100%;");
                            frame.setSrc(helpURL);
                            aResponse.write(frame.toString());
                    } else
                        String componentName = null;
                        if(helpURL.charAt(0) != '/')
                            componentName = context.getComponentName();
                        } else
                            int componentNameIndexEnd = helpURL.indexOf('/', 1);
                            componentName = helpURL.substring(1, componentNameIndexEnd);
                            helpURL = helpURL.substring(componentNameIndexEnd);
                        IResource resource = aRequest.getResource(componentName, "page", helpURL);
                        if(resource.isAvailable())
                            aResponse.addResource(resource);
                        else
                            aResponse.write("<b>Sorry, no help available.</b>");
                } else
                    aResponse.write("<b>Sorry, no help available.</b>");
    The doOnNodeReady method is also rather interesting. Perhaps another way to solve it?
    protected void doOnNodeReady(IPortalComponentRequest request, IEvent event)
            NodeMode nodeMode = request.getNode().getNodeMode();
            if(nodeMode == NodeMode.HELP_MODE)
                IPortalComponentContext context = request.getComponentContext(IPOMConstants.DEFAULT_MODE);
                IPortalComponentProfile profile = context.getProfile();
                String helpName = profile.getProperty("com.sap.portal.iview.HelpName");
                if(helpName == null)
                    helpName = profile.getProperty("HelpName");
                String helpURL = profile.getProperty("com.sap.portal.iview.HelpURL");
                String isolationMode = profile.getProperty("com.sap.portal.reserved.iview.IsolationMode");
                if(context != null && helpName == null && helpURL != null && helpURL.length() > 0 && (isolationMode != null && !isolationMode.equals("URL") || isolationMode == null) && helpURL.startsWith("http://"))
                    request.redirect(helpURL);

Maybe you are looking for

  • Remote Object - not able to get the returned value from java method

         Hi , I am developing one sample flex aplication that connects to the java code and displays the returned value from the java method in flex client. Here I am able to invoke the java method but not able to collect the returned value. lastResult i

  • Multiple Duplicate Message Problem

    Each time I check my email, I appear to be downloading all my messages off my mail server as if they have not already been dlowloaded in the past, This means that I am getting multiple and incerasing numbers of duplicate email messages in my inbox. I

  • LSMW Employee importing.

    Hello, I have the next problem. I use lsmw for employee importing. First of all I exported established posts to the text file, then somebody filled it (inserted first name, last name, middle name, birth date and ***). I imported filled text file to S

  • Selection of data

    hi friend's, I need one logical help.  I having a database table there are some fields . Three Fields are: Year, Employee Code(Pernr), Employee Name(Ename). I m using query as following: SELECT PERNR ENAME FROM ZTRUST INTO (YEAR_ITAB-PERNR, YEAR_ITAB

  • Document Set and WF 2013

    I have two questions: 1. Can workflow be started on Document Set (using 2013 workflow - Visual Studio) ? 2. Can Document Set be declared as Record from 2013 workflow - Visual Studio? EDIT: 3. Can Document Set be declared as Record programmatically?