Skip to Content
-3

How to increase input field length in selection screen.

Hi Experts,

I have an issue with selection screen, in selection screen parameter field referring to string, Similar way selection option also referring to char 255. but problem is when i am entering data in parameter field full value accepting but in select option field not accepting full length of value. Any one can help on this.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Mar 13 at 08:03 PM
    REPORT.
    TYPES c255 TYPE c LENGTH 255.
    DATA c255 TYPE c255.
    PARAMETERS string1 TYPE c255 LOWER CASE.
    SELECT-OPTIONS string2 FOR c255 LOWER CASE.
    

    No issue on my ABAP 7.31 system:

    if I enter in STRING2 : "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."

    then I get STRING2-LOW = "Lorem ipsum...irure dolor i" i.e. it's 255 characters long.

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 12 at 02:56 PM

    Read first online help on SELECT-OPTIONS (look for conversion routine between dynpro and interna table, so truncated values)

    Add comment
    10|10000 characters needed characters exceeded