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

F4 help

Hi,

I am currently assigned a object,the requirement is to define a F4 help as per client specifications.The issue being,they want the text to be displayed in the screen,after selection & not the code.Once we display the text,the text gets truncated.Is there any option of working on this problem.

Please advice.

Thanks

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Dec 14, 2007 at 05:09 AM

    Hi Sneha,

    Check the Existing program DEMO_SELECTION_SCREEN_F4.

    If not solved, Please give some clear Picture.

    Thanks,

    Kanagaraja L

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2007 at 06:54 AM

    Hi,

    Try using the function module.

    Function Module Name : KD_GET_FILENAME_ON_F4

    Function Module Name : F4_filename

    for getting the values for the parameter p_fname.

    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FNAME.

    CALL FUNCTION 'KD_GET_FILENAME_ON_F4'

    EXPORTING

    PROGRAM_NAME = SY-REPID

    • DYNPRO_NUMBER = SYST-DYNNR

    • FIELD_NAME = ' '

    • STATIC = ' '

    • MASK = ' '

    CHANGING

    FILE_NAME = P_FNAME

    EXCEPTIONS

    MASK_TOO_LONG = 1

    OTHERS = 2

    Thanks

    Sakthi C

    * Rewards if useful *

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2007 at 04:49 PM

    Hi Sneha,

    Does the client want to the text AND the code to appear once the same is selected. If that is the requirement, you can get it done by providing a label field next to the actual I/O field and upon choosing the entry from F4, you can assign the description to the label field.

    Or does the client want ONLY the description to be displayed instead of code?

    Cheers,

    Venkat

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi sneha

      First create a search help of your own. if u r working on Z tables.

      then attach the search-help with the parameter on the selection screen. suppose u've id & name in the search-help. what ever the choose name should be shown. make it clear in the import filed of the search help.

      But what i guess is that, u need to use the id in your program. in that case it'll not work.

      in that case u can give the solution this way, u show the text just at the right of the parameter.

      use the FM DYNP_VALUES_READ to read the value of the parameter & fetch the text according to the value. and show it at the right side of the parameter textbox.

      Reward if useful

      Thanks

      Sayak

  • author's profile photo Former Member
    Former Member
    Posted on Dec 24, 2007 at 03:41 AM

    Thanks for all the replies,I am closing this thread,but my doubt is still not solved,will post a new thread after developing a z code.

    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.