2005 Sep 29 7:14 AM
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
2005 Sep 29 7:21 AM
Hi,
Use
CHAIN.
........
........
ENDCHAIN.
Within this specify the fields you want to be enabled.
Please reward points if this explanation useful.
Regards,
Siva
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
2005 Sep 29 7:16 AM
2005 Sep 29 7:21 AM
Hi,
Use
CHAIN.
........
........
ENDCHAIN.
Within this specify the fields you want to be enabled.
Please reward points if this explanation useful.
Regards,
Siva
2005 Sep 29 7:30 AM
I am giving the error message of type E. and already using the chain and endchain.
2005 Sep 29 7:32 AM
2005 Sep 29 8:56 AM
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
2005 Sep 29 7:26 AM
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
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |