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

Show description beside dynpro field after choosing value help


I have some fields on a dynpro with self made value helps.

The value help shows the key field, which is going to be

populated, and the description to the key.

After choosing a value in the value help. I want to show

this description on the right side of the field.

If I use a normal textfield, the description text from the

value help is passed into the textfield automatically.

But when I check the option, that this field is only for

data output, it´s not working any more...

How can I show the description text beside the textfield,

without defining it as input?

Thank You!


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 05:53 PM

    After selcting the value from F4 press enter, it will go through the PAI and PBO. Write the code to select the description from that check table and pass into that description field. In the attributes of that description field, goto Program tab Check the check box Output field and Output only.

    Check the sample program:

    TABLES: addr1_data.

    DATA: ws_country_desc TYPE t005t-landx,

    okcode TYPE sy-ucomm.

    CALL SCREEN 100.


    *& Module status_0100 OUTPUT


    • text


    MODULE status_0100 OUTPUT.

    IF NOT addr1_data-country IS INITIAL.

    SELECT SINGLE landx FROM t005t INTO ws_country_desc WHERE

    land1 = addr1_data-country

    AND spras = 'EN'.


    ENDMODULE. " status_0100 OUTPUT


    *& Module user_command_0100 INPUT


    • text


    MODULE user_command_0100 INPUT.

    ENDMODULE. " user_command_0100 INPUT



    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.