‎2009 Dec 18 9:57 AM
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
‎2009 Dec 18 9:59 AM
You could have easily found that its SELOPT had you searched in the forums once
‎2009 Dec 18 10:05 AM
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.
‎2009 Dec 18 10:07 AM
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
‎2009 Dec 18 10:08 AM
‎2009 Dec 18 10:40 AM
Thank you all,
for your valuable inputs i declared a internal table of standard structure RSDSSELOPT which solved the issue.
thanks again
‎2015 Jul 01 10:48 AM
‎2015 Jul 01 12:03 PM