2009 Jul 13 8:49 AM
Hi,
To ALL.
I am Developing a screen(module pool) Using a Table Control to enter data.
I am Setting TC-Lines = 20 .
I made the field Mantitory( using Chain Endchain ) .
I entered a values in TC and deleted all fields since i dont want the record.
The program showing error 'Fill Required Values' .
IF ZT-f1 = '00000000' AND ZT-F1 = '00000000'.
MESSAGE 'Fill Required Values' TYPE 'E'.
endif.
Both Fields are Numc.
Please Reply Your Idea ASAP
Can you please explain the problem in more detail?
Regards,
Manne.
2009 Jul 13 9:44 AM
Hi Pramoth,
Don't make the TC fields Mandatory in Screen, it will cause problems better validate the fileds and give the Error in the PAI itself with in the chain and endchain. if you delete check whether you have deleted in the internal table also. then only the table control loop will bypass it.
2009 Jul 13 9:48 AM
Can you please explain the problem in more detail?
Regards,
Manne.
2009 Jul 13 9:56 AM
Hi,
The problem here is after the delete operation in the PAI, the PBO is called again for display. So, it throws an error message asking for the mandatory fields to be filled. So, if you want to by pass the mandatory fields, then you gotto write your code in the AT EXIT-COMMAND.
Or what you can possibly do is, remove the mandatory check for the fields and manually write the code and check for the fields being initial and then display an error message.
2009 Jul 13 11:58 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |