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: 

How to find the Ranges for a field ?

Former Member

Hello All,

Can anyone tell me how to find the ranges for a field.

<b>1</b>, i.e say I want the Ranges Structure for the field LIFNR.

The ranges structure for this is "<b>RANGE_LIFNR</b>".

This I used in my Program since I know it previously.

But now I want the ranges structure for the field <b>VBELN (Delivery Document).</b>

I don't know what is it !!!!!

<b>2</b>, Is there any procedure to know the ranges structure for a particular field ?

Regards,

Deepu.K

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Deepu,

Using 'Where used list' you can able to find out RANGES tables.

For VEBLN range table is --> CRM_AC_ASSIGN_VBELN

If you using a program defined as shown below.

DATA: r_vbeln type ranges of vbeln.

The above statement also creates ranges structure in Runtime.

Procedure finding range table structures

-


go to SE37 -> Enter domain or dataelement value

Go to where used list --> search for 'Structures'

After getting all structure --> Click 'SEARCH' butoon in tool bar --> Search for 'RANGES' word

You can get all ranges tables in the search window

If helps plz reward points.

Regards

Bhupal Reddy

6 REPLIES 6

Former Member
0 Kudos

There is no straight forward way of finding out as the data keeps changing.

You need to look into the master table for that field.

Regards,

Ravi

note - Please mark all the helpful answers

Former Member
0 Kudos

Hi Deepu,

Using 'Where used list' you can able to find out RANGES tables.

For VEBLN range table is --> CRM_AC_ASSIGN_VBELN

If you using a program defined as shown below.

DATA: r_vbeln type ranges of vbeln.

The above statement also creates ranges structure in Runtime.

Procedure finding range table structures

-


go to SE37 -> Enter domain or dataelement value

Go to where used list --> search for 'Structures'

After getting all structure --> Click 'SEARCH' butoon in tool bar --> Search for 'RANGES' word

You can get all ranges tables in the search window

If helps plz reward points.

Regards

Bhupal Reddy

former_member181962
Active Contributor
0 Kudos

Hi deepu,

the range data type for vbeln is RVBELN.

There is no standard way to find this:

YOu can just search for vbeln in se11 data elements(Choose structures in the pop up).

Regards,

Ravi

Former Member
0 Kudos

no need to use the same structure , u can also declare like this

ranges : r_lifnr for LFA1-lifnr.

Regards

Prabhu

0 Kudos

Thank Guys,

Thanks for all ur replies.

It's informative.

Points are awarded. (; (; (;

Regards,

Deepu.K

ray_mannion
Participant

Search table DD40L on the field RANGE_CTYP using SE16n.

This allows you to enter a data element and find a data dictionary defined range table for a given field name or data element.

( I never remember this and this is the first search result in Google, so I figured it was a good place to store this detail 🙂 )