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

Standard structure for select options

Former Member
0 Likes
18,791

Hi All,

I am looking for standard structure that is of type Select options .

Can any one help me please

I am basically looking for a standard structure with

OPT,SIGN,HIGH and Low fields

Regards,

Hari Krishna

7 REPLIES 7
Read only

Former Member
0 Likes
6,618

You could have easily found that its SELOPT had you searched in the forums once

Read only

Former Member
0 Likes
6,618

Hi,

The low and high are specifically related to the field/data element in question.

For eg. if you want structure for BUKRS, then there is standard structure RSBUKRS,

which contains this four fields, and the low and high are of type bukrs.

Similarly, if you want for another field eg. PO number (EBELN), the corresponding structure is RANGE_EBELN.

We can also build such structure / range in our code by declaration RANGE or by manually constructing it.

Regards,

amit m.

Read only

Former Member
0 Likes
6,618

Hi,

you use in this way

TYPES: BEGIN OF linetype,

         sign(1)   TYPE c,

         option(2) TYPE c,

         low       {TYPE type}|{LIKE dobj}

         high      {TYPE type}|{LIKE dobj}

       END OF linetype.

DATA itab like table of linetype.

Regards,

Amit

Read only

Former Member
0 Likes
6,618

Hi,

use RANGE.

regards, Dieter

Read only

Former Member
0 Likes
6,618

Thank you all,

for your valuable inputs i declared a internal table of standard structure RSDSSELOPT which solved the issue.

thanks again

Read only

0 Likes
6,618

thanks a lot


Read only

hitesh_gabani
Participant
0 Likes
6,616

Hi Krishna,

Use RSIS_S_RANGE structure.

Regards,

Hitesh