Skip to Content
author's profile photo Former Member
Former Member

Custom F4 help in complex_selections_dialog FM

Hi Experts

My Requirements is, I am having A Icon When I click on it , The Complex_selections_dialog function module is Executed , in this i have to use a custom F4 help which i i get the values from the internal table.

Thank you

Abhinav N

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2012 at 07:11 AM

    Hi Abhinav ,

    Can you explain the requirement in detail ?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Abhinav,

      Your case is too complicated.

      But when there is a will there is a way.

      You can do one thing here. In addition to this you need to fill your internal table in your own program and 'EXPORT' it to a memory id.

      Then implement Search help exit for your F4 help and 'IMPORT' that memory id to the search help exit function module. Use this imported internal table to display as your search help. (Do some R&D on search help exit, it is not difficult, just need to copy standard search help exit and make changes according to your need).

      Regards,

      ManuB

  • Posted on Jun 01, 2012 at 07:15 AM

    use FM "F4IF_INT_TABLE_VALUE_REQUEST" in POH event of your module pool screen

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2012 at 07:53 AM

    F4IF_INT_TABLE_VALUE_REQUEST is good to make custom F4.

    You have to call it:

    • In selection screen in event AT SELECTION-SCREEN ON VALUE-REQUEST FOR field.
    • In moduel called by dynpro flow logic

    PROCESS ON VALUE-REQUEST.

    FIELD field MODULE f4_field.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2012 at 10:05 AM

    Use the Custom search help you have created and assign it to the Parameter SEARCH_HELP of the function module and assign the Ranges tab.

    Thanks,

    Shambu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 01, 2012 at 10:22 AM

    Hi,

    You may refer to this thread. I think this will help you. http://scn.sap.com/thread/93456

    Regards,

    Jake

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 02, 2012 at 05:48 AM

    Hi Abhinav,

    As you need custom search help which displays values from internal table on pressing F4 , you mau use FM F4IF_INT_TABLE_VALUE_REQUEST .

    EG:

    AT SELECTION-SCREEN on VALUE-REQUEST FOR p_matnr.

    SELECT *

    from mara

    into CORRESPONDING FIELDS OF TABLE gt_outab.

    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

    EXPORTING

    RETFIELD = 'MATNR'

    DYNPROFIELD = 'P_MATNR'

    VALUE_ORG = 'S'

    TABLES

    VALUE_TAB =gt_outab.

    Now when you click on Icon the FM (complex_selection) is Executed, and you will get values populated in gt_outab in Search help.

    Thus You can also populate gt_outab dynamically using Routines and display search help.

    Best Regards,

    Sachin

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.