ALV sum various columns problem
Posted on
16th Feb 2014 07:03 pm by
admin
Hi all,
I'm doing a report on ABAP for a timesheet of the current month. The output i want is similar to this:
Year Month Type Item #days tue-1 wed-2 thu-3 ...
2009 September Project Project1 3 1 1 1
2009 September Project Projec2 5 1 1 0
2009 September Task Task1 1 0 1 0
Did you know?Explore Trending and Topic pages for more stories like this.
The field #days is a sum of all the days columns for september next right to the #days column.
I can have an SQL wich can extract all the data to fill year,month,type,item and #days. But then, i need to flat these #days in the correct days column. I think i can do it with 2 sqls, but then i need to join these data to display it right.
Finally, present that data in an ALV.
I have a structure defined in ABAP dictionary with all the static fields. The columns representing the days (sat-1,sun-2,...) are not in the structure.
I've tried to define a new structure wich include the old one and define the remaining columns, but i can't show the fields defined in this extra structure, only the static fields defined in ABAP dictionary.
This is probably simple, but i'm just starting in ABAP, and this seems odd and confusing right now.
What's your advice to solve this problem?
No comments posted yet
Your Answer:
Login to answer
77
14
Other forums
Help with PHP Email Script
Hi guys,
I'm a newbie to php and need help with the script below:
At the moment when I
Simultaneous select/update/insert
Hi
How would I need to go about when 2 users update a single row simultaneous? And how would
why aint this working?
i have this code:
Code: $num = 250;
$count = ($num - $rcount);
echo $rc
Stopping page post back
I have few literal contriols in my page and a repeater too. But inspite of using update panel, postb
Help adding strtolower( to my in_array
strtolower i need to add it to this to work, iuno how.
Code: $moderators = array('Admin', 'ba
Why do I get this error?
Error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or
grouping within a foreach?
hello all,
I currently have a list of products spit out from my db via a foreach loop. Right
Sharing PHP Sessions Across Domains
I am in the process of writing a script to share a php session across various domains I have.
The
Chat Box in PHP
I was thinking in doing a Chat Box in PHP. For that I would use a form with two fields, Nick and Mes
Keeping data in form
How can I keep whatever I write in the form?