‎2008 Nov 11 12:58 PM
Hello all,
I have copied the standard screen to the Zscreen and added 4 new fields.
The fields are added successfully.
However I am facing one problem.
The fields are available in editable mode always.
Even if I go to display mode, they are still editable. The other existing fields however goes into display mode.
Anyone have any idea about how to go about this?
Help would be appretiated.
Regards,
~Pranu
‎2008 Nov 14 9:08 AM
Hi,
Loop at screen.
screen-output = 0.
modify screen.
endloop.
Tks,
Krishna..
‎2008 Nov 11 1:00 PM
Hello,
You need to modify the screen according to the action that your are performing (ok_code).
case ok_code.
when 'DISP'.
Loop at screen.
screen-output = 0.
modify screen.
endloop.
when 'CRT'.
****
endcase.
Thanks,
Jayant
‎2008 Nov 11 1:05 PM
My fields are added in the subscreen.
The subscreen is going into display mode so I assume even my custom fields should go.
Pelase correct me if I am wrong.
And if I have to add the code you have said, where do I actually put it?
Thanks again
‎2008 Nov 14 9:03 AM
Hi Pranu,
You have to add the above logic for the 4 extra fields in the PBO of the ZScreen u have created.
Regards
Poornima
‎2008 Nov 11 1:04 PM
Hi
Go to the screen flow logic and in the PBO write a logic...
PBO
if sy-pfkey eq 'DIS'. -
> GUI status
loop at screen.
check screen-group2 = 'TST'. ---> ur group of fields
screen-input = '0'.
modify screen.
endloop.
endif.
‎2008 Nov 14 9:08 AM
Hi,
Loop at screen.
screen-output = 0.
modify screen.
endloop.
Tks,
Krishna..