Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to validate excel upload fields against internal table

0 Kudos
332

I Have 2 fields say

equnr tplnr.(excel upload file)

my itab has two fields equnr and tplnr.

i need to validate two each fields against internal table, if error , show it in alv ..else upload in DB table.

Thanks

1 REPLY 1

Domi
Active Contributor
0 Kudos
130

Hi

OK, then do it!

Loop over the upload ITab and check against ITab.

If an error occurs (whatever this means? found in ITab, NOT found in ITab, ...) add the line to error-ITab


At the end update the DB Table and show the ALV.


https://blogs.sap.com/2012/04/02/the-quality-of-an-answer-depends-significantly-on-the-quality-of-th.../


regards

Domi