2010 Jul 16 6:45 AM
Dear friends ,
I am working with module-pool, In that when i enters value that field should become Visible mode and should not allow user to edit amount Please guide me .
thanks & regards
2010 Aug 26 10:39 AM
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-input = '1'.
screen-invisible='0'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
ENDLOOP.
Use the above part of code to enable and disable the fields .
Dear friends ,
I am working with module-pool, In that when i enters value that field should become Visible mode and should not allow user to edit amount Please guide me .
thanks & regards
2010 Aug 26 5:56 AM
Hi Shanthi,
I am also facing similar problem. In my case there will be suppose 10 fields withing that first one is list box. If user select a particular value based on that value some fields will be non edit mode and some will stay in edit mode. Can please share how can I achieve this.
Thanks in advance.
Ajoy
2010 Aug 26 10:39 AM
LOOP AT SCREEN.
IF screen-group1 = 'SC1'.
screen-input = '1'.
screen-invisible='0'.
MODIFY SCREEN.
CONTINUE.
ENDIF.
ENDLOOP.
Use the above part of code to enable and disable the fields .
2010 Aug 26 10:54 AM
Hi try this way...
PROCESS BEFORE OUTPUT.
MODULE status_<screen>.
* Table control for OUTPUT
LOOP WITH CONTROL <TableControl>.
MODULE Modify_screen.
ENDLOOP.
MODULE Modify_screen OUTPUT.
* Table control reading values from input screen & displaying on screen
READ TABLE <Internal table> INDEX <Table control >-current_line.
* Logic for screen Display Mode when User enters data
IF <ITAB>-FIELD is not Initial. "This means User has enterd Data for the Particular Row
LOOP AT SCREEN.
IF screen-name = 'ITAB-FIELD'. "Passs the table/WorkArea with Field name to make field Display mode
screen-input = 0.
ENDIF.
MODIFY SCREEN.
ENDLOOP.
ENDIF.
ENDMODULE.
Prabhudas
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |