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

Value Help Maintenance

Hi,

I am developing a web-dynpro app which uses value help.

For a drop down ui element, I have created a simple data type in the local dictionary and the application works fine.

I have a question, how would the admin maintain the values. For example what if the value description needed to be changed or a new entry to be added to the description. These kind of changes needed to be facilitated without touching the application code and has to be done by the admin.

Can you also point me to some docs which talks about reading data from an external file within a web-dynpro application?

Thanks very much for your time.

Regards,

Munish.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2005 at 07:26 PM

    It does not matter which kind of value selector you use (simple dropdown, evs, ovs, custom...). The key is to modify the data at runtime which is displayed.

    For dropdowns this can be done via the IModifiableSimpleValueSet interface (search the IDE help for more on this topic).

    Regards

    Bruno

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks very much for your answers.

      For the benefit of the people who wants to solve the same problem. This is what I did.

      I placed the txt files containing the dropdown values under a folder from which I can access the file from webdynpro.

      Used standard java.io clases line FileInputStream to read them in.

      Used

      ISimpleTypeModifiable repCompType =

      repCompInfo.getModifiableSimpleType();

      IModifiableSimpleValueSet repCompvalueSet =

      repCompType.getSVServices().getModifiableSimpleValueSet();

      Updated the valueset based on runtime events.

      Thanks,

      Munish

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2005 at 09:18 AM

    go thro' this link. and search for EVS

    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/web dynpro tutorial and sample applications.faq

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 19, 2005 at 12:31 AM

    If you don't want to touch the application then probably use Extented value help. In which data would be retried from sap table and displayed.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your answer.

      Is there some documentation which explains this. Is there a standard way of doing this.

      Can any of you let me know, how I can read an external resource within the web dynpro.

      Thanks.

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.