Application Development 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: 

current vs previous year

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

0 Kudos

Hi,

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

0 Kudos

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