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

Need Table/Structure

Former Member
0 Likes
735

Hi,

I need a Table or a Structure which will have the fields LOW HIGH SIGN and OPTION (the table/Structure will have only these 4 fields)

Regards

Sudheer

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
708

Try the structure RANGE_C8. The LOW and HIGH are character length 8. If you need a bigger field than that, you can always create a custom structure.

Regards,

Rich Heilman

6 REPLIES 6
Read only

Former Member
0 Likes
708

HI sudheer..

I think You want the same structure as select-options..

did you tried with Ranges..

if you declare any variable under Ranges then these variables will contain the same structure as select-options but these does n't have any relation with screens..

regards Rk

Message was edited by:

Rk Pasupuleti

Read only

0 Likes
708

Hi Pasupathi,

Can you please tell me how to use Ranges and how to populate data manually into the variables using ranges ? Urgent

Read only

0 Likes
708

Hi,

you can do like this using Ranges statement.

  • G/L Number Hard coded

RANGES : raw_mat FOR bseg-hkont,

wip_mat FOR bseg-hkont,

fin_mat FOR bseg-hkont.

*

raw_mat-sign = 'I'.

raw_mat-option = 'BT'.

  • G/L Number Hard coded

raw_mat-low = 0000000001.

raw_mat-high = 0000000002.

APPEND raw_mat.

*

wip_mat-sign = 'I'.

wip_mat-option = 'BT'.

  • G/L Number Hard coded

wip_mat-low = 0000000003.

wip_mat-high = 0000000004.

APPEND wip_mat.

*

fin_mat-sign = 'I'.

fin_mat-option = 'BT'.

  • G/L Number Hard coded

fin_mat-low = 000000005.

fin_mat-high = 0000000006.

APPEND fin_mat.

Hope it will work.

Regards,

-->Suresh

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
709

Try the structure RANGE_C8. The LOW and HIGH are character length 8. If you need a bigger field than that, you can always create a custom structure.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
708

Hi sudheer,

You can get from table TZR96 , but there are some other fields also along with these , will search and let u know

Read only

Former Member
0 Likes
708

chk this

<b>WSELMATNR</b>