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

Report-regarding

Former Member
0 Likes
392

hai

how can we use select-options in function module.

select-options:s_ebeln for ekko-ebeln.

call function ' '

exporting

ebeln = s_ebeln

importing

itab = it_ekpo.

it gives error

plz post how to use.

2 REPLIES 2
Read only

Former Member
0 Likes
373

create two exporting parameters ebeln-low and ebeln-high

Read only

Former Member
0 Likes
373

Use Proper subject line.

one way..

in the Function module have a table parameter name it ebeln with out refering to any structure.

Inside the Function module.

function 'ZTEST_SEL'.

data: r_range type range of ebeln.
"move select option value to the range values 
r_range = ebeln[].

"now use this r_range for your select

in the calling side



"pass the select options to the table parameter,

call function 'ZTEST_SEL'.
tables
 ebeln  = s_ebeln.