‎2005 Jun 30 7:13 AM
Hello All,
How can i make an Selection screen field not as an Input field.
The field is a parameter P_GJAHR which will always be set to 2005. So, i would like to see FY 2005 on the selection screen field as dehighlighted.
Would be glad if views are provided on this.
Regards,
- PSK
‎2005 Jun 30 7:18 AM
PARAMETERS : P_GJAHR LIKE BKPF-GJAHR MODIF ID SG1.
...
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SG1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.Hope this helps,
Erwan.
‎2005 Jun 30 7:18 AM
Hi Sravan,
Use this code.
PARAMETERS: P_GJAHR TYPE gjahr default 2005 MODIF ID md1,
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'MD1'.
screen-active = 0.
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
Best Regards
Swagatika
‎2005 Jun 30 7:18 AM
PARAMETERS : P_GJAHR LIKE BKPF-GJAHR MODIF ID SG1.
...
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'SG1'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.Hope this helps,
Erwan.
‎2005 Jun 30 10:27 AM
Hi Erwan & Swagatika,
Thankyou, the issue has been resolved.
At the same time this approach has issues as the Selection Screen parameter can be modified at the Variant level using TVARV Variables.
Regards,
- PSK