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

Table control

Former Member
0 Likes
702

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
Read only

Former Member
0 Likes
679

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
Read only

Former Member
0 Likes
679

what type of error message you are using E or W

regards

Read only

Former Member
0 Likes
680

Hi,

Use

CHAIN.

........

........

ENDCHAIN.

Within this specify the fields you want to be enabled.

Please reward points if this explanation useful.

Regards,

Siva

Read only

0 Likes
679

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

Read only

0 Likes
679

Hi,

Try using the message type as W.

Regards

Abhishek

Read only

0 Likes
679

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

Read only

Former Member
0 Likes
679

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