Skip to Content
0
Former Member
May 20, 2010 at 01:29 PM

Values Addition

42 Views

Hi Folks,

I want to fetch the data from cosb table based on objnr and other mandatory fields,gjahr.for particular objnr v hav wkg001 wkg002 wkg003..wkg0016(from wkg001 to wkg016).

gjahr is my selection screen field.

NOTE: selection screen iam having posting period (yyyymm)-from here iam taking year value for Gjahr.

iam having two cases:

case 1:

for the value of Gjahr and one objnr i have to add the values of all from wkg001 to wkg016.

case 2:

for eg: if my project go-live was on 2008, and in my selection screen if iam giving value as 201003

then it has to add the values of year 2008,2009,and 2010(only first three i.e.,wkg001,wkg002,wkg003 bcoz selectionscreen given as 201003(2010 march)

i want to add the values of all wkg001 to wkg0016 based on year selection.

please give me someinput..please help me << removed >>..

Thx..

Edited by: Rob Burbank on May 20, 2010 9:35 AM