cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi

How to write a lookup in Start Routine to calling customer table. we are maintains values in custom table.

i am

Regds,DS

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

You simply need to create an internal table of type customer table in start routine global declaration part.

After that you will have to populate that internal table using select query in start routine. e.g.

SELECT *

FROM XYZ

into table it_xyz

where key1 = 'AB'. etc.

In this case XYZ is customer table and it_xyz is internal table. Once values are available in internal table you can use them in field routine or start routine as per the need.

Regards,

Durgesh.

Former Member
0 Likes

Thanks for the quick response,

Can you provide me the exact code for below the requirement..

I want to put filter Divsion=20,30 and sales org = CN based on the filter i want to restrict data in datatagets while loading..

Thanks,DS

Former Member
0 Likes

Hi,

In your case it seems like you do not need any look up activity because your requirement is straight forward, you can simply put the filter in DTP and directly load the required data.

You do not need to do any look up in start routine. Just use DTP filter.

Regards,

Durgesh.