Skip to Content
avatar image
Former Member

Text next to selection screen value

Hello,

I am creating selection screen by        

wd_this->m_helper->add_parameter_field().

My requirement is to display a text next to the selection screen value. For example, if i enter the system name in the paramter field and press enter, the system description is to appear on the right hand side of the parameter field. I think it is easier if i create the selection screen fields statically in the layout but how am i to display it in this kind of dynamic creation?

Regards,

Vaishnavi         

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    May 07, 2012 at 05:28 AM

    Any suggestions?

    Add comment
    10|10000 characters needed characters exceeded

  • May 07, 2012 at 06:37 AM

    Hi,

    Check OVS searchhelp.

    Add comment
    10|10000 characters needed characters exceeded

  • May 07, 2012 at 07:04 AM

    Hi

    This you can achieve by using the calculated context attributes which is having getter and setter methods. You must create two context attr one binded with the selection UI element and other bind with the Text view text property to populate the desc.  When the selection happens retrive the desc  by using code  and setting the desc in the other context attr--use the getter  and setter methods of context attibute.

    I hope this  helps to you to achieve your requirement.

    Regards

    KALYAN

    Add comment
    10|10000 characters needed characters exceeded

  • May 07, 2012 at 11:30 AM

    Hi,

    There is a parameter called i_value_help_id and i_value_help_type in add_parameter_field method. It is the place you need to mention the OVS help name and type. It should be possible.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Jayanthi Jayaraman

      Hi,

      If the requirement is to add a description field next to parameter field, why cant you add a static text view next to your viewcontainer UI element and handle the value of text view on ENTER event of your parameter field ?

      If you still need in dynamic create a text view dynamically in WDDOMODIFY view and use the same in your ON ENTER event of parameter field.

      Regards

      Rupachandran