2007 May 10 11:26 AM
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
2007 May 10 11:49 AM
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
2007 May 10 11:36 AM
Hi,
This is simple, Just assign your listbox a Function Code, that's all !!
Regards,
Dushyant Shetty
2007 May 10 11:49 AM
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |