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

How to read Label Text from component configuration at Runtime?

Hi Gurus,

I have a requirement to show different Labels for Input field based on a set of conditions, so I decided to use only 1 feeder class with different component configurations. Now I have to save the Label Text also along with the data entered into a Long Text.

I am not able to read the Label Text for an element that was set at configuration. Can anyone help me here on how to retrieve the Label Text from component configuration?

Floor plan: OVP


Note: Import parameter CT_FIELD_USAGE in GET_DATA method is not returning the label text which is set at Configuration



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 17, 2016 at 09:22 PM

    Why are you using different labels? Are you using the SAME input for different field values?

    In any event....why not....

    1. use an input control with NO label...use a text element as your label....set the text as needed in your code....completely dynamic then.

    2. simply use separate input controls and show/hide as needed for correct label/field combo?

    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.