2007 Nov 26 6:00 AM
Hi All,
Thanx in advance n will award points for the usefull answers
I have a table control. i have 3 buttons on it. INSERT, DELETE and SAVE.
When ever i SAVE the data in the table control saves into table ZVTW.
so my point is right now iam having 2 records in the table control from the table ZVTW. now am clicking on the insert button so that it enables one record to enter the data into it. 4 fields are mandatory. without entering any data iam trying to save. iam showing one error message 'PLEASE ENTER MANDATORY FIELDS'.
fileds are getting disabled.
Now i need to enable the fields again to enter the data.
CHAIN and ENDCHAIN is not working in my case.
Please help me out.
after error message every thing is getting disabled. Itried witj List Processing . but after message no line is triggered.
Please suggest me
2007 Nov 26 7:16 AM
try leave to screen there immediately after the error message. there give screen number of table control
2007 Nov 26 7:24 AM
Hi,
Use LEAVE LIST-PROCESSING after your message statement.
Regards,
Prashant
2007 Nov 26 8:04 AM
after error message every thing is getting disabled. Itried witj List Processing . but after message no line is triggered.
Please suggest me
2007 Nov 26 10:32 AM
Hi,
u can use leave to list processing command just after u r displaying ur
error message , and then use the call screen command to call ur initial screen.
2007 Nov 26 9:53 AM
Hi,
IN <b>PAI</b> you have to write
MODULE USER_COMMAND_1100.
In this module you have to first check SY-UCOMM.
like IF SY_UCOMM = 'SAVE'.
IF screenfield1 = sapce and screenfield2 = sapce and
screenfield3 = sapce and
screenfield4 = sapce .
write your error msg.
endif.
endif.
2007 Nov 27 5:31 AM
Hi Arti i did the same thing as i told in my question. However aqfter the error message everything is getting disabled. Next statement after error msg is not working.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |