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

Regarding Screen Painter

Former Member
0 Likes
654

Hi,

I need to create one screen with table control which has four columns as

Material number, valid from, valid to, Value for UV Rate maintainence.

Now My problem is, How to validate valid from column after entering the date in particular column(valid from)

Is there any events are there for table control? for Eg

tblctl_Modify, tblctl_move like any other modules for validating after entering one particular column?

6 REPLIES 6
Read only

hymavathi_oruganti
Active Contributor
0 Likes
630

u can validate using

FIELD <fielname> VALUES (..........)

Read only

0 Likes
630

"on change" could be a nice addition.

Read only

VijayasekarK
Active Participant
0 Likes
630

Hi ,

In the PAI module , you can do this validation between CHAIN ...END CHAIN stmt.

Regards,

Vijay

Read only

0 Likes
630

Hi,

after leaving validfrom column, i want to check the value. but the onchange event will trigger after i am applying enter key on the particular line.

how i can check the value after leaving the column validfrom?

Thanks

Read only

Former Member
0 Likes
630

Hi,

In the PAI of the screen, do like this

For single field:

================


LOOP AT <ITAB>.
    FIELD <VAR1>
    FIELD <VAR2>.
    FIELD <VAR3>.
    FIELD <VAR4> MODULE validate_9000. "Field to be  
                                        validated
ENDLOOP.

For group of fields;

====================


LOOP AT <ITAB>.
   CHAIN.
    FIELD <VAR1>
    FIELD <VAR2>.
    FIELD <VAR3>.
    FIELD <VAR4>.
    MODULE validate_9000. "Field to be  
                           validated
   ENDCHAIN.
ENDLOOP.

I hope this helps.

Regards,

Venkat Ramanan

Message was edited by: Venkat Ramanan Natarajan

Read only

Former Member
0 Likes
630

Hi,

onchange event only triggered after i am pressing enter key of the line. is there any other way to validate after leaving the table column(validfrom)?

Thanks,

Neptune.M