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

How to attach FCODE to select option in Module Pool

Former Member
0 Likes
740

Hi all,

I have created Select option in Module pool by attaching a Subscreen. Now when user enters any value into the select option I need to fetch values from the database in to the table control based on the value entered in select option.

Is it possible and how?

Thanks.

Hi all,

I have created Select option in Module pool by attaching a Subscreen. Now when user enters any value into the select option I need to fetch values from the database in to the table control based on the value entered in select option.

Is it possible and how?

Thanks.

3 REPLIES 3
Read only

Former Member
0 Likes
597

<b>Hi

If u have one select options in module pool programming,Then there is no need for FCODE

bcoz FCODE is needed for push button,check box..like etc.

But select option is a input field.

So u can trace the input as u have done in report

Like

select * from dtab1 into corresponding fields of table itab where field1 in <b>selectoption.</b>

Or if u want that program to be executed after giving input in select option then user will press F8

So Use FCODE 'F8'.

Regs

Manas Ranjan Panda

Message was edited by:

MANAS PANDA</b>

Message was edited by:

MANAS PANDA

Read only

Former Member
0 Likes
597

hi,

no need to use the FCT code for u.bcz u r not using any push button and user action in screen.if any userspecific requirement u go for FCT code. just u can use as we can use in reports...............

Read only

Former Member
0 Likes
597

Hi

In the screen where you have created a select option you need to create any push button, then using the fct code of that push button you can write select statement in the flowlogic of that screen like

select * from dbtable into internal table where field = select option field.

Regards

Haritha