Application Development 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: 

How can achieve this in a normal report program?

Former Member
0 Kudos

Hiii,

how can i get this type of input in my selection screen in normal report.

can you people pls give me the code to get this in my selection screen.

screenshot-19.png

1 ACCEPTED SOLUTION

maheshpalavalli
Active Contributor

You can use selection screen begin of line. Instead of radio button, use normal parameters.

You can find more explanation in the link below:

https://archive.sap.com/discussions/thread/430797

SELECTION-SCREEN BEGIN OF LINE.
PARAMETER p1 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
SELECTION-SCREEN POSITION 4.
SELECTION-SCREEN COMMENT (5) text-p01 FOR FIELD p1.
SELECTION-SCREEN POSITION 20.
SELECTION-SCREEN p2 RADIOBUTTON GROUP rad1.
SELECTION-SCREEN POSITION 24.
SELECTION-SCREEN COMMENT (5) text-p02 FOR FIELD p2.
SELECTION-SCREEN END OF LINE.
5 REPLIES 5

loyd_enochs3
Participant
0 Kudos

More detail is required. Are these checkboxes or a status bar or something else?

0 Kudos

These are not check boxes. we have to enter the number of days in that for example 10 in first box 90 in second box like that up to 365. This is an ageing analysis report in that i have 6 ageing brackets like that i have mentioned in the picture.

I need code to get the user entry boxes in my selection screen.

keremkoseoglu
Contributor
0 Kudos

If those are checkboxes, you can put multiple elements on the same line using SELECTION-SCREEN BEGIN/END OF LINE.

More info: https://help.sap.com/http.svc/rc/abapdocu_750_index_htm/7.50/en-US/abapselection-screen_line.htm

iftah_peretz
Active Contributor
0 Kudos

Hi,

Welcome to the SAP Community! Could you please provide more information, so the community member understand the context of your question? Thank you. If you need further assistance feel free to reach out to moderators(at)sap(dot)com.

Best regards,

Iftah,

SAP Community moderator

maheshpalavalli
Active Contributor

You can use selection screen begin of line. Instead of radio button, use normal parameters.

You can find more explanation in the link below:

https://archive.sap.com/discussions/thread/430797

SELECTION-SCREEN BEGIN OF LINE.
PARAMETER p1 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
SELECTION-SCREEN POSITION 4.
SELECTION-SCREEN COMMENT (5) text-p01 FOR FIELD p1.
SELECTION-SCREEN POSITION 20.
SELECTION-SCREEN p2 RADIOBUTTON GROUP rad1.
SELECTION-SCREEN POSITION 24.
SELECTION-SCREEN COMMENT (5) text-p02 FOR FIELD p2.
SELECTION-SCREEN END OF LINE.