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

Use selection criteria parameter value in internal table

former_member645803
Discoverer
0 Likes
691

Hi,

Can anyone please advise how to use a selection criteria parameter value in an internal table?

i.e. If the parameter is called Year 1 and a user entered a date equal to 18/07/2020 in the Year 1 parameter, how can an internal table ready this date?

Regards,

Anthony

Hi,

Can anyone please advise how to use a selection criteria parameter value in an internal table?

i.e. If the parameter is called Year 1 and a user entered a date equal to 18/07/2020 in the Year 1 parameter, how can an internal table ready this date?

Regards,

Anthony

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
600

I'm not sure to understand your question. Are you looking for such an ABAP statement:

LOOP AT itab reference into data(line) WHERE date_component IN year1.
ENDLOOP.