Application Development and Automation 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: 
Read only

Selection screens in Reports

Former Member
0 Likes
531

Hi Gurus,

For one report is it possible more than 1 selection-screen and what is the limit for number of selection-screens for a report. How can we handle those selection-screens. What is the purpose of too many selection-screens?

Thanks For all

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
509

How can we handle those selection-screens. What is the purpose of too many selection-screens?

amit has covered handling part .

purpose of too many selection screen //

there is no advantage of having many selection screens if this is not serving my process precisely .

we categorise them to differentiate the process .

Basicallay as a progammer we need to decide how the selection hierarchy is determined and it would be better if we group them into minimum number by methodology .

regards,

vijay

Hi Gurus,

For one report is it possible more than 1 selection-screen and what is the limit for number of selection-screens for a report. How can we handle those selection-screens. What is the purpose of too many selection-screens?

Thanks For all

3 REPLIES 3
Read only

Former Member
0 Likes
509

If u have some specific requirement then instead of having multiple selection screen,u shud modify ur screen based on some checkboxes or parameters.

like if radiobutton/Checkbox is set then amke some fields visible and some invisible..

refer this demo code for this -

PARAMETERS: P_RAD1 TYPE XFELD RADIOBUTTON GROUP G1 USER-COMMAND USR

DEFAULT 'X',

P_RAD2 TYPE XFELD RADIOBUTTON GROUP G1.

  • SCREEN 1.

PARAMETERS: P_MATNR TYPE MATNR MODIF ID M1,

P_KUNNR TYPE KUNNR MODIF ID M1.

  • SCREEN 2.

PARAMETERS: P_LIFNR TYPE LIFNR MODIF ID M2,

P_EBELN TYPE EBELN MODIF ID M2.

AT SELECTION-SCREEN OUTPUT.

IF P_RAD1 = 'X'.

  • INVISIBLE THE OTHER SCREEN FIELDS.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'M2'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

IF P_RAD2 = 'X'.

  • INVISIBLE THE OTHER SCREEN FIELDS.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'M1'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '0'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

ENDIF.

Please let me know if you have any questions..

amit

Read only

0 Likes
509

Hi Amit,

Thanks for ur reply. I heard the question from an interviewer that how the application server will handle if you have 100 selection-screens in your report. Can you give me the reply. Hope you understand my problem

Thanks for all

Read only

Former Member
0 Likes
510

How can we handle those selection-screens. What is the purpose of too many selection-screens?

amit has covered handling part .

purpose of too many selection screen //

there is no advantage of having many selection screens if this is not serving my process precisely .

we categorise them to differentiate the process .

Basicallay as a progammer we need to decide how the selection hierarchy is determined and it would be better if we group them into minimum number by methodology .

regards,

vijay