Application Development 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: 

How to pass the Data to sclect option field in module pool??

KiranJ
Active Participant
0 Kudos

Hai Experts,

I have Created the Select-Options using Sub screen its working fine for me.

But the problem is when i pass the data to one of the my select options field its not showing in display mode..

please me this

i created select option slike this,

SELECTION-SCREEN BEGIN OF SCREEN 400 AS SUBSCREEN.

SELECT-OPTIONS : s_kunnr FOR wa_zcodntr-fin_kunnr,

s_altkn FOR wa_zcodntr-altkn.

SELECTION-SCREEN END OF SCREEN 400 .

Thanks ,

Adv.

9 REPLIES 9

Former Member
0 Kudos

hi,

what do you mean by " when i pass the data to one of the my select options field its not showing in display mode.."

Do you inetend to pass default values to select -options?

or are you not able to use teh selected values from select -options in your program?

KiranJ
Active Participant
0 Kudos

Thanks SAP_wiz kick replay,

Actullay in my module pool screen i have to select option field like F1 and F2

any one filed give the input and excute pick the coresponding data for F2 (select option) field and display and vice -versa.

Former Member
0 Kudos

hi,

where are you writing the code for populating these select options.

also could you please provide a code snippet.

lijisusan_mathews
Active Contributor
0 Kudos

have you included your subscreen in a screen or tabstrip.. You should probably try doing that.

lijisusan_mathews
Active Contributor
0 Kudos

have you included your subscreen in a screen or tabstrip.. You should probably try doing that.

KiranJ
Active Participant
0 Kudos

i have included in sub area in screen.

i am passing like this, when click display button.

MOVE wa_data-altkn TO s_altkn-low.

Former Member
0 Kudos

Hi,

try ,

At Selection-screen output.

MOVE wa_data-altkn TO s_altkn-low.

KiranJ
Active Participant
0 Kudos

thanks,

KiranJ
Active Participant
0 Kudos

Thanks ..