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

place selection-option in function module

Former Member
0 Likes
857

hai,

i want to place select-option for one field usinf functionmodule as import parameter.

plz tell me .

6 REPLIES 6
Read only

Former Member
0 Likes
814

Hi,

Try creating a structure similar to TVARV and then use it in the tables parameter of the FM.

Regards,

Ankur Parab

Read only

Former Member
0 Likes
814

Hi,

select option is nothing but creating range for an field.

so go to se11->create structure with z<field-name>

with fields..Sign(1),Option(2), low type <field name>, high type <field name>

and use the same structure in importing or exporting while refering the field..

Prabhu

Read only

Former Member
0 Likes
814

hi,

Use two import parameters LOW and HIGH to get the functionality..

and make us of them..

Thanks and Regards,

KC

Read only

Former Member
0 Likes
814

Hi.... declate TVARV staructure as import parameter to FM or create a structure with fieds like SIGN, OPTION, LOW, And HIGH and pass values to FM.

Regards,

KP.

Read only

Peranandam
Contributor
0 Likes
814

you dont need to create any structure in se11. we have standard structure 'ETSELECT_OPTION' as same sturucture as select option. you can declare import parameter of the FM by using this struture ETSELECT_OPTION.

Regards,

Peranandam

Read only

Former Member
0 Likes
814

Hi Suresh,

in se37 import parameters give the date range like this

erdat1 like vbak-erdat

erdat2 like vbak-erdat

SELECT erdat

vbeln

posnr

FROM vbak

INTO CORRESPONDING FIELDS OF TABLE it_final

WHERE erdat BETWEEN erdat1 AND erdat2.