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

Module Pool Program

Former Member
0 Likes
457

I have called a subscreen in the subscreen area of a normal screen of a module pool program.

This subscreen is a normal selection screen , containing 2 select options.

I want to reference one field of this screen in my main screen PAI module.

How do I do that??

3 REPLIES 3
Read only

Former Member
0 Likes
440

Hello,

You can do this if you've already declared the variables referencing the fields on screen like global variables.

You need to declare them with the same name of the fields and with type TYPE RANGE OF <field>.

Regards.

Read only

Former Member
0 Likes
440

In the screen painter,for that particular field, there is ref.field option.Mention the subscreen name over there.

Read only

Former Member
0 Likes
440

hi,

declare the fields in Top Include so they r global available so u can use them where ever u want in ur object.

Rgds.,

subash