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

Wanted: Popup which allows the user to enter one string

Hello,

as the topic states, I am searching for a (modal) popup which lets the user enter one string in a text field and returns this string.

I am currently using the function module 'POPUP_TO_GET_ONE_VALUE' for this purpose which works quite good - BUT it has one major drawback: the string that is returned is entirely in capital letters. This is not acceptable as I want to build a case-sensitive search based on the input...

Any suggestions are greatly appreciated !

Best regards,

Patrick

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jul 07, 2005 at 08:05 AM

    Hi Patrick,

    If this is the only issue of caps, then use,

    TRANSLATE <VALUE1> TO LOWER CASE.

    Regards,

    Prabhu Rajesh.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Prabhu,

      as I mentioned in my first post, the search I want to program is case-sensitive, so converting an all uppercase string to an all lowercase string does not help here 😉

      Thanks anyway, any suggestion is appreciated.

      Regards,

      Patrick

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2005 at 08:13 AM

    Hi Patrick,

    Have you had a look at POPUP_TO_SEARCH_VALUE ? Tell me if that cannot be used in your case for some reason.

    Regards,

    Anand Mandalika.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Anand,

      I'm just finished with your first reply - checked out 'POPUP_TO_SEARCH_VALUE' - and you already gave a second option - marvellous !

      Will try the other one out right now.

      You are right, the parameters that reference to the DDIC made me wonder and decide against this FM when I searched through all the available popups some time ago.

      To your first reply:

      the popup is quite good. It does indeed deliver a 'case preserved' string. What I don't like is the checkbox and the fact, that the confimation button is labeled 'search' rather than just the 'ICON_OK'. I should mention at this point that I reuse the popup in other scenarios where the string is not used for a search but to name certain objects. Again an all uppercase string (or all lowercase string as well) is unwanted.

      Now on to the second popup...

      Regards,

      Patrick

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2005 at 11:21 AM

    Hi,

    Check the following Function Module

    GRM_POPUP_TO_GET_ONE_VALUE

    This does the Job.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 07, 2005 at 02:20 PM

    You can use POPUP_TO_GET_VALUE which uses a DDIC-reference for the input field. If you use a DDIC-type which is case-sensitive, the input will be case-sensitive to.

    Regards, Torsten

    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.