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

Values Addition

Former Member
0 Likes
387

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

1 REPLY 1
Read only

Former Member
0 Likes
345

Rather than asking the forum how to do this, please start coding yourself or at least show us what logic you have come up with so far.

Rob