I have 2 flat files and 2 internal tables. flat file1 with 5 columns and another flat file2 with 9 columns.The first internal table has 5 fields and second internal table has 9 fileds.And i kept two radio buttons R1 and R2.when i select 1st radio button (R1) and select flat file1 it is uploaded into internal table (itab1) Properly.Similarly when i select R2 and select flat file2 it is uploaded into internal table (itab2) Properly.
Now,if i select Radio Button R1 and Flat file2 then it has to show Error.Similarly if i select Radi Button R2 and Flat file1 it has to show error.
How can i write Code for this One?.
Thanks in Advance