Application Development and Automation 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: 
Read only

Regarding selection table

Former Member
0 Likes
1,709

CHECK USR02-CLASS IN ICONFIG.

USR02-CLASS is a character field of length 12.

ICONFIG is a structure having four fields sign,option,low and high.

Low and high are character type fields.

When above statement is executed, it gives the error

ICONFIG does not have the structure of a selection table.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
851

what are you checking..

if you need the selection table structure then you should declare as range for the new table

TYPES: ty_ra_ebeln TYPE RANGE OF ebeln..

If I am wronmg in understanding your question.. please be clear with your requirement..

regards,

nazeer

5 REPLIES 5
Read only

Former Member
0 Likes
852

what are you checking..

if you need the selection table structure then you should declare as range for the new table

TYPES: ty_ra_ebeln TYPE RANGE OF ebeln..

If I am wronmg in understanding your question.. please be clear with your requirement..

regards,

nazeer

Read only

Former Member
0 Likes
851

Hai harini chikurambotla,

Try like this:

<b>CHECK USR02-CLASS GT ICONFIG-LOW AND

USR02-CLASS LT ICONFIG-HIGH.</b>

Hope this helps you.

Regds,

Chary.

Read only

Former Member
0 Likes
851

Hi,

How did you declare ICONFIG? You may use range.

RANGES: r_bzirk FOR likp-bzirk.

r_bzirk-sign = 'I'.

r_bzirk-option = 'BT'.

r_bzirk-low = 'A1001'

r_bzirk-high = 'A1005'.

APPEND r_bzirk.

Read only

Former Member
0 Likes
851

it should be declared under ranges

ranges r_matnr for mara-matnr.

r_matnr-sign = 'I'.

r_matnr-option = 'BT'.

r_matnr-high = '400000'.

r_matnr-low = '200000'.

append r_matnr.

clear r_matnr.

Read only

Former Member
0 Likes
851

Hi Harini,

Define ur ICONFIG as selection table.

select-options : Iconfig for zxyz-class. "Here zxyz is a table & class is a field.

check usr02-class in iconfig.

Now this code will work.

ICONFIG is a structure having four fields sign,option,low and high.

Reward points if helpful.

Regards,

Hemant