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

Using selection options in functions..

Former Member
0 Likes
564

Hi,

I have written abap program in which there are 3 selection options.. I want to pass these selection options to a function. so I want to know how to define or refer selection options in functions which is called by some other abap program ?

Regards,

Santosh

1 ACCEPTED SOLUTION
Read only

Sm1tje
Active Contributor
0 Likes
507

Not sure if you have already done a search on SDN, but my guess would be that this question was posted in the past, at least once. Here's a hint though:

structure RSDSSELOPT for dynamic selections can be used for example.

3 REPLIES 3
Read only

Sm1tje
Active Contributor
0 Likes
508

Not sure if you have already done a search on SDN, but my guess would be that this question was posted in the past, at least once. Here's a hint though:

structure RSDSSELOPT for dynamic selections can be used for example.

Read only

Former Member
0 Likes
507

give the selection options variables in IMPORT parameter of the Function in se37...

Read only

Former Member
0 Likes
507

The select options are basically just tables with a specific structure. One option would be to specify them as TABLES parameters, e.g. check out function module BAPI_MATERIAL_GETLIST and you can see for example a call via function IAC_SHMA_MATERIALS_SELECT (or check dictionary table type SHP_MATNR_RANGE_T in SE11).

Cheers, harald