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: 

Fetching Data dynamically based on Fiscal Year from Ztable

gauravabap
Member
0 Kudos
385

Hi Experts,

Good morning,

I have a requirement where I need to fetch data from more than one table (4-8) depending on the fiscal year and month the user gives on the selection screen.

Let's say, User has entered COMPANY CODE, MONTH and FISCAL YEAR as 2018, The report has to show the data for the last 4 years from the date and month (06/2018) and also the next 4 years of data.

The data will come from ZTABLES, Tables are maintained year wise.

This has to be a dynamic ALV report, if the user enters the month of July 2018 then it should show from July 2018 to the following four fiscal years and the same for the past year.

I hope you understand my requirement and if not Kindly do let me know I will try to elaborate more.

Thanks in advance,

Regards,

Gaurav Singh

3 REPLIES 3

FredericGirod
Active Contributor
336

What is your issu ? the SELECT, the ALV, ... ?

What did you already do ?

What is the structure of the table ?

.....

Sandra_Rossi
Active Contributor
336

The question how to do a "dynamic SELECT" has already been asked in the forum.

raymond_giuseppi
Active Contributor
0 Kudos
336

SELECT, Dynamic Token Specification (in online documentation)