Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

lower limit is greater than upper limit

former_member216218
Participant
0 Kudos

hi expert!

Below is the program code:

REPORT  ASSIGN2.

TABLES: KNA1,

   

*------SELECT-OPTION-----*

SELECT-OPTIONS: CUSTCODE FOR KNA1-KUNNR.

    WRITE:/ 'Customer List'.

    WRITE:/ 'Customer Code :', CUSTCODE-LOW.

    WRITE:/ '------------------------------------------------------------------------------'.

    WRITE:/1 'Customer Code',20 'Customer Name',70 'Address'.

    WRITE:/ '------------------------------------------------------------------------------'.

SELECT * FROM  KNA1 WHERE KUNNR IN CUSTCODE.

    WRITE:/1  KNA1-KUNNR,

           20  KNA1-NAME1,

          70  KNA1-ADRNR.

ENDSELECT.


the output:

Unfortunately, when im input custcode : abc01 to abc05


then, there is an error "lower limit is greater than upper limit".

what does it means and how i can encounter the error?


thanks, regards

liyana

6 REPLIES 6

Former Member
0 Kudos

Hi nur

Did you try change datatype of custcode ?

Regard,

B.Y.

0 Kudos

ok, solved...

thanks ya..

matt
Active Contributor
0 Kudos

Right. You asked for help here. Now help others. How did you solve it?

0 Kudos

Your code looks good...I think that you have given abco1 to abc05 instead of abc01 to abc05....

Note: "o" instead of zero (0).... Later you would have corrected...

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Nur,

May be you put abco1 (o instead of zero). please check you input.