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

ranges as export parameter in function modules

Former Member
0 Likes
2,351

hi guys

i have to design a function module in such a way that i have to pass a ranges table.

watt structure or type should i use?

thanks

sameer

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
872

Hi

It depends on the field for value, the structure should have the field SIGN (type C 1 char), OPTION (type C 2 char), LOW(?????) and HIGH(?????).

The size of LOW and HIGH depends on the field where u need to do the query, try to find the dictionary structure with a name like RANGE; anyway u can insert a table (for the range) in TABLE parameter without type.

Max

3 REPLIES 3
Read only

Former Member
0 Likes
873

Hi

It depends on the field for value, the structure should have the field SIGN (type C 1 char), OPTION (type C 2 char), LOW(?????) and HIGH(?????).

The size of LOW and HIGH depends on the field where u need to do the query, try to find the dictionary structure with a name like RANGE; anyway u can insert a table (for the range) in TABLE parameter without type.

Max

Read only

Former Member
0 Likes
872

You can use DDRANGE structure.

Reward if it helps.

Thanks,

Srinivas

Read only

Former Member
0 Likes
872

Define your range in the datadictionary and then use this type for the changing or exporting parameters.

In SE11 define a structure of table type. From the edit menu choose define as ranges table. After this you may input the field for the high\low data element. input the name and create the structure:

Example range table for VKBUR.

create ZRT_VKBUR as structure (table)

Input VKBUR as data element for high/low and input zrl_vkbur in structure row type. Save and then click on the create button for ZRL_VKBUR which will create a standard range table line definition.