on 04-17-2006 1:30 PM
Hi All
Can anybody plz tell me where to use table sscrfield and where screen , in case of selection screens for dyanamic modifications
Thanks in advance
If you would like to "execute" your report program simply by hitting ENTER, you can use the SSCRFIELDS table to do this.
report zrich_0001.
tables sscrfields.
parameters: p_test type i obligatory.
at selection-screen.
if sscrfields-ucomm eq space.
sscrfields-ucomm = 'ONLI'.
endif.
start-of-selection.
write : p_test.
REgards,
RIch Heilman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can change some attributes of fields during the AT SELECTION-SCREEN OUTPUT event.
report zrich_0001.
parameters: p_test1 type i .
parameters: p_test2 type i .
at selection-screen output.
loop at screen.
if screen-name = 'P_TEST2'.
screen-input = '0'.
modify screen.
endif.
endloop.
start-of-selection.
REgards,
RIch Heilman
Hi
Just a little thing in addition to what Rick wrote.
The table SSCRFIELDS save the function code of a pushbutton inserted in selection-screen or a command to related to a radiobutton or a checkbox.
tables sscrfields.
PARAMETERS: DATE LIKE SY-DATUM,
DIVISION(1) TYPE C MODIF ID AAA.
PARAMETERS: R1 RADIOBUTTON GROUP RAD1 DEFAULT 'X' USER-COMMAND RAD,
R2 RADIOBUTTON GROUP RAD1.
at selection-screen.
if sscrfields-ucomm eq 'RAD'.
...............................
endif.
max
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.