Application Development 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: 

Table control

Former Member
0 Kudos

Hi,

I am having a problem in the table control of the Module pool program. When any mandatory field is not entered then while saving the record, i am raising an error message and that particular field/row should be enabled to enter the value. but this is not happening in my case. I am getting the error and all the fields are disabled. How to handle this situation.

Fast response is awaited.

Regards,

Amit Jain

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use

CHAIN.

........

........

ENDCHAIN.

Within this specify the fields you want to be enabled.

Please reward points if this explanation useful.

Regards,

Siva

6 REPLIES 6

Former Member
0 Kudos

what type of error message you are using E or W

regards

Former Member
0 Kudos

Hi,

Use

CHAIN.

........

........

ENDCHAIN.

Within this specify the fields you want to be enabled.

Please reward points if this explanation useful.

Regards,

Siva

0 Kudos

I am giving the error message of type E. and already using the chain and endchain.

0 Kudos

Hi,

Try using the message type as W.

Regards

Abhishek

0 Kudos

LOOP AT ITAB.

CHAIN.

FIELD : field1,

field2,

field3.

MODULE CHECK_ENTRY .

ENDCHAIN.

ENDLOOP.

in MODULE CHECK_ENTRY .

if field is initial.

message EXXX 'plz enter this'..

endif.

if u did somthing like this then it shd work . if not then post the code

Former Member
0 Kudos

you should write the foolowing code below PAI event

chain.

field: <field-name> module <modulename>

endchain.

in the module <modulename>

you can check for the condition you are trying to do.

so this will enable once agin your field to accept input

cheers