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

display subscreen after PAI (proccess after input)

Former Member
0 Likes
639

Hi all,

I have a subscreen area in a main screen. i want to display the subscreen when user selects an option from a listbox in the main screen.

at user command will not be triggered for a list box until 'enter' pressed.

how to do it ?

Thanks

Ali

Message was edited by:

Muhammad Ali Mahmood

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
592

Hi,

You can try the following:

On the screen, you can define areas into which you place dynamic subscreens at runtime. In the flow logic, you can address an area in the PBO ( PROCESS BEFORE OUTPUT ) event using the statement:

CALL SUBSCREEN b INCLUDING prog dynnr.

The system table SCREEN contains information about the fields contained on the current screen. You can read them using the LOOP AT SCREEN statement, and set a flag if the value from listbox changes.

Check the value of flag after the loop and if flag = 'X', you can call the sub-screen.

Regards,

Neeraj Gupta

2 REPLIES 2
Read only

dustyplanet
Active Participant
0 Likes
592

Hi,

This is simple, Just assign your listbox a Function Code, that's all !!

Regards,

Dushyant Shetty

Read only

Former Member
0 Likes
593

Hi,

You can try the following:

On the screen, you can define areas into which you place dynamic subscreens at runtime. In the flow logic, you can address an area in the PBO ( PROCESS BEFORE OUTPUT ) event using the statement:

CALL SUBSCREEN b INCLUDING prog dynnr.

The system table SCREEN contains information about the fields contained on the current screen. You can read them using the LOOP AT SCREEN statement, and set a flag if the value from listbox changes.

Check the value of flag after the loop and if flag = 'X', you can call the sub-screen.

Regards,

Neeraj Gupta