‎2006 Sep 20 12:14 PM
Hello everybody,
There is a requirement where in an error message has to be popped up for a particular field validation in table control of the screen. During this process, when the message pops up the entire screen is disabled. The question is if there is any method through which any one of the SCREEN or THE WHOLE TABLE CONTROL or a particular COLUMN can be enabled after the error message pop up. If so, could you please let me know.
Thanks in advance.
Regards,
Kishore.
‎2006 Sep 20 12:18 PM
if youw do as follwos: the field for which you are doing the validation will be available for input.
module check field v_field.
or do as follows
chain.
field v-field.
field v-field2.
field v-field3.
module check.
endchain.
REgards,
Ravi
‎2006 Sep 20 12:19 PM
hi,
In flow logic editor of SE51, keeps the fields in chain .. endchain to keep them enabled every an error message pops up.
chain.
field: v_mantr,
v_werks module validate_fields.
endchain.Though error message pops up in the validate_fields, the two fields v_matnr and v_werks will be open for input.
Regards,
Sailaja.
‎2006 Sep 20 12:22 PM
Hello,
Basically in the PAI event fields that should undergo validation will be put inside CHAIN and END CHAIN. So that when ever error occurs in any field only that field will be ready for input so that all the other fields will be disabled.
But in your case if you want to enable all the fields, don't include any fields inside the CHAIN and ENDCHAIN.
Regs,
Venkat Ramanan N
‎2006 Sep 20 12:42 PM
Hello,
Well actually I want the entire coloumn or the whole table control to be enabled . The solution that you gave enables only a single row of the table control.
Regards,
Kishore.
‎2006 Sep 20 12:54 PM
hi,
Try like this..
In PAI,
loop at itab.
chain.
field itab-fld module validate_fld.
enchain.
endloop.
REgards,
Sailaja.
‎2006 Sep 20 3:16 PM
HI,
In that case I dont think you can use E message. Instead you may have to issue a I or S message, stop further processing and give control back to PBO. That way whole colum will be open for edit.
Thanks,
Murali