11-27-2008 8:29 AM
Hi all
I have implemented LE_SHP_TAB_CUST_HEAD- I have managed to get the tab with all fields. The fields are also saving but there is something still left.
i wish to make these fields readonly in VL03N. Could someone guide me on the process. I have searched quite a bit around sdn for it. I have tried creating a PBO module for my screen in my function group and set the screen attribs there but this had no effect.
I also tried placing a change in the screen during the TRANSFER_DATA_TO_SUBSCREEN call but this also had no result.
Looking forward to some answers. Thanks.
11-27-2008 12:34 PM
Hi Dear,
Use the below code,
loop at screen.
if sy-tcode = 'VL33N' and sy-ucomm = 'HDET_T'.
screen-input = 0.
screen-active = 1.
modify screen.
endif.
endloop.
It will work.
12-04-2008 5:03 AM
Problem Solved.
It was a simple matter really. Just had to declare the PBO module in the top include of the main program of my function group.
The coding for making the fields readonly is just setting the active field to 0 in the screen structure.