Question:
Hi ,
Is it possible to do the validation of records when records are read from legacy file into an internal table. If yes please give me the event where I have to right the code. I wont have authorization to change the read program.
Thanks in advance.
Regards,
Bhanu
Answer:
The conversion rules can be changed so that any validation logic may be inserted. This in turn is then inserted into the generated convertion program when it is next generated.
It is not so much a record validation but rather a field validation as the checks are normally perfromed at the field level. You can then use RECORD and TRANSACTION SKIP commands to ignore the record. You may also use the standard WRITE commands to display an audit of rejected records. See LSMW documentation.
Sam I am