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

current vs previous year

Former Member
0 Likes
498

Hi Guys I am doing a report where I am displaying the sales for this year and last year Please let me know how to calculate the following to get both the data in ALV. also need to calculate the percentage of it. Please help me its urgent.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
471

Hi,

In the select query u write it as

for example.

select vbeln

from vbak

into table it_tab

where date gt date

and date le date.

and give the table to the alv .

i hope it helps u.

reward points if it helps.

4 REPLIES 4
Read only

Former Member
0 Likes
472

Hi,

In the select query u write it as

for example.

select vbeln

from vbak

into table it_tab

where date gt date

and date le date.

and give the table to the alv .

i hope it helps u.

reward points if it helps.

Read only

0 Likes
471

sure i will reward points if you can help me a coded report it will be verymuch helpful its very very urgent.

Read only

0 Likes
471

Hi,

Do u want how to display in the alv or getting the sales order numbers from the table in that range.

Read only

0 Likes
471

Hi,

I need to display sales quantity for the current year and last year target for current year and closing stock, and to calculate the percentage of the target current year and sales for the last year