09-10-2008 4:24 PM
Hi Abappers,
I have created subscreen in xd01 using BADI: CUSTOMER_ADD_DATA_CS. After giving input to field, it has to go disable mode how is it possible.How to disable that field.
Regards,
simba.
09-11-2008 5:35 AM
Hi,
after u add some data to that field. Now check the field, if it is not initial then make that field in disable mode.
for eg:
loop at screen.
if itab-<fieldname> is not initial.
screen-input = 0.
modify screen.
endif.
endloop.
Regards,
Kasuladevi Srinivas
Edited by: Kasuladevi Srinivas on Sep 11, 2008 7:26 AM
09-11-2008 5:35 AM
Hi,
after u add some data to that field. Now check the field, if it is not initial then make that field in disable mode.
for eg:
loop at screen.
if itab-<fieldname> is not initial.
screen-input = 0.
modify screen.
endif.
endloop.
Regards,
Kasuladevi Srinivas
Edited by: Kasuladevi Srinivas on Sep 11, 2008 7:26 AM
09-11-2008 5:37 AM
Lil Modification to above reply:
loop at screen.
if screen-name ne initial..
screen-input = 0.
endif.
endloop.
09-11-2008 6:00 AM
after entering the data , it again goes to PBO module, there you have to write the code
if it is normal input field then you can do this
loop at screen.
if <fieldname> is not initial.
screen-input = 0.
modify screen . "<----This is must
endif.
endloop.