Application Development and Automation 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:ย 
Read only

Validations

Former Member
0 Likes
715

Hello Guru's,

Can anyone tell me how we can put validations check to internal table fields with corresponding tables.

i know how to up load flat file to intenal table now i have to put validations as shown below .

Details is :

ยท validate reporting distribution channel (WWRPT) against table T2519

ยท validate product group (WWPG1) against table T2509

ยท validate product line (WWPG2) against table T2510

Thanks in advance for helping...

3 REPLIES 3
Read only

Former Member
0 Likes
629

HI,

After getting the Data into the Internal table, then Loop through the Internal table and look at the Field distribution channel (WWRPT) is existed in t2519 table, if this is not existed then delete the row from that table, do the same for all the remaining entries

Regards

Sudheer

Read only

0 Likes
629

Hello Sudheer,

This logic is clear to me.

But problem is how to put this in code.Can you just give me sample code for help.

thanks in advance

Read only

Former Member
0 Likes
629

Hi,

Just start the code, you will get the answers for these question your self,

After getting the data into the Internal table, jsut write the selects with those tables and check whether the data is presnt in the Internal table or not, if the data is not there then delete it from internal table

Reward if helpful

Regards

Sudheer