Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Screen Requirement

Former Member
0 Likes
661

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.

6 REPLIES 6
Read only

Former Member
0 Likes
633

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

Read only

Former Member
0 Likes
633

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.

Read only

Former Member
0 Likes
633

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

Read only

0 Likes
633

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.

Read only

Former Member
0 Likes
633

hi,

Try like this..

In PAI,

loop at itab.

chain.

field itab-fld module validate_fld.

enchain.

endloop.

REgards,

Sailaja.

Read only

0 Likes
633

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