Skip to Content
-2

Parameter input field followed by push button in same line of Selection Screen

Mar 07, 2017 at 01:47 PM

407

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Subhajit Roy Mar 08, 2017 at 10:09 AM
0

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.
Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Mar 07, 2017 at 02:10 PM
0

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)

Share
10 |10000 characters needed characters left characters exceeded