03-07-2017 1:47 PM
Dear Experts,
I have an issue in designing a selection screen such that my requirement is to have a Input parameter field followed by a Pushbutton in the same line of the Selection screen.
My Code:
SELECTION-SCREEN: BEGIN OF LINE,
PUSHBUTTON 2(10) push USER-COMMAND fcode.
PARAMETERS para TYPE c LENGTH 20.
SELECTION-SCREEN:
COMMENT 40(40) text,
END OF LINE.
Now this code works because it has the Pushbutton first then followed by the Parameter.
But in my case, I need its reverse which is parameter on the left followed by the Pushbutton on the right.
I could find some threads related to pushbutton but they of no help to this case.
Please assist with your inputs.
Regards,
Aravindh.
03-07-2017 2:10 PM
It should work without problem as soon as you adapt the Length and Position options of the selection-screen elements, if you aren't able to correct it, you should post your code. (Also you could use the FOR FIELD option for the SELECTION-SCREEN COMMENT statement if you want to use the program selection-texts)
03-08-2017 10:09 AM
Hi,
You can try this:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: p_tmp type c LENGTH 20.
SELECTION-SCREEN PUSHBUTTON 30(7) text-001 USER-COMMAND PB1.
SELECTION-SCREEN END OF LINE.