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

Validations at Subscreen in Dialog programming

Former Member
0 Likes
559

Hello Guys,

I have a requirement where in the i have two selection screens.First one is the normal selection screen and the other is displayed in the o/p screen.When the user enters the selection criteria at Selection Screen I and executes the report ,an output screen is displayed which is divided into two parts.Upeer part is agian a selection screen (II selection screen) and the lower part is the ALV Grid display.

For my output screen i have designed a screen with upper part as a subscreen area and the lower part as container.In the lower part am displaying the ALV grid .In the upper part i have 3 radio buttons based on the selection of radio buttons, fields available under it should be enabled/disabled also based on the selection of radio button and the selection parameter entered the data in the second

screen should change.

For the selection screen in the o/p screen i have defined a select options as sub screen in my program .

Now my issue is how should i enable/disable the fields based on the selection of radio buttons.Am not sure but it think at selection screen events for the Selection screen willnot work as it is defined as subscreen.Is there anyother way out to achive this?

Please suggest

Pseudo Code

Defined Selection Screen I
Defined Selection Screen II as subscreen.

Start-of-selection.
Retrieve data to be displayed in the o/p
Call Screen 100.(created screen 100 with upper part as subscreen area and lower part as container)
   MODULE status_0100."ALV design
   MODULE user_command_0100."Capturing user commang

Please let me know any further detials are required.

Regards

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
509

Now my issue is how should i enable/disable the fields based on the selection of radio buttons

What fields ? Fields in ALV ?

Please note that the subscreen has its own PBO and PAI events. I suggested you to design a module pool instead of a report program to avoid these confusions.

Kesav

Read only

0 Likes
509

Enabling/diabling the fields of Selection screen II.

Every radio button has 3 fields .When first radio button is selected the fields in the other two radio buttons should be greyed out and vice versa.

Can you suggest the events for subscreen?

Read only

0 Likes
509

Solved.