2007 Feb 07 7:07 AM
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
2007 Feb 07 7:28 AM
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
2007 Feb 07 7:19 AM
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
2007 Feb 07 7:29 AM
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
2007 Feb 07 7:28 AM
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