‎2010 Oct 20 7:25 AM
Hi All,
I need to create a selection screen which would have two fields (their texts and their irespective input fields) in the same line, on the screen.
I was able to achieve this by using code--
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(31) text-a04.
PARAMETERS: sch_begd LIKE qppnp-begda.
SELECTION-SCREEN COMMENT 52(22) text-a05.
PARAMETERS: sch_endd LIKE qppnp-endda.
SELECTION-SCREEN END OF LINE.
This could allign the fields - start date (text-a04) and end date (text-a05) in the same line along with their input fields.
But I am facing two issues with this code-
1. I am not able to get the underline same as we get when we create selection screen using 'select-options' and 'parameters'.
2. This is causing accessibility issues, as the field text and the input field are no more linked (since I am using text element to display the field text, like for start date), it cannot find the text to be read for the input field and hence the checkman errors.
Please suggest how to achieve the same.
Thanks and Regards,
Arpita.
‎2010 Oct 20 7:43 AM
Hi arpita,
I dont think the 1 point which u have given can be done , u can also check in the screen table in the at selection-screen output event, there no parameter to alignment .i.e loop at screen. endloop.
The 2nd point which u told i think u are getting the value in sch_begd & sch_endd for validation, i am not getting wat is the issue ? can u elaborate.
Regards,
Madhukar Shetty
‎2010 Oct 20 7:58 AM
Hi Arpita,
Are you trying to have select-option field in your screen in dialog programming?
If yes than you can use the following approach else ignore this.
Create one screen (100) and create subscreen area on this screen and call this subscreen in PAI and PBO of screen
Using call subscreen check F1 help for calling subscreen in PAI and PBO.
Now you should create your selection screen on the subscreen use selection screen begin of screen (100) option of defining
selection screen and then add your selection options here.
Regards,
Pawan