How to calclulate Total no.of employees in shift wise
Dear Friends,
How to calclulate Total no.of employees in shift wise,
when im giving two input dates,the should be total no.of employees in shift wise.
please give solution for me,
Thanks,
Mathan.
Dear Mathankumar,
If you are using LDB then based on date it will pick all employee.
you mention the Infotype 0007(this will store shift Details) so that it will pick this infotype record.
After that you can play with the records.
Like using collect statement based on shift
Regards,
Chandrashekhar
Similar Messages
-
How To calculate Total Number of Employee in shift wise
Dear Gurus,
my requirement is calculate the total no.of employees present & absent in shift wise.
My output like this.
Department Shift Present Absent
Information Technology GSFT 56 24
Engine Shop ASFT 124 26
BSFT 155 45
CSFT 80 20
Thanks,
Rajkumar.AHi,
You can make a custom report for this.
If you want to know generally there is a head count report available in OM -
How to count total no of employees?
HI,
i got requirement how to get the total count of employees and how many days in the organization, but how to calculate days.
employee joining date, releasing date, leaves,(CL, optional leaves, restricted leaves) employee salary.
i created the new selections and formulas its not working for me.
Thanks,
Deen.Hi,
create the new formula for the employee count then define the formula.
hit the aggregation tab -> exception aggregation tab -> select the counter for all details values that are null or zero and reference char -> employee.
it will give the count of employees.
leaves,(CL, optional leaves, restricted leaves) for these object you can create the new selections.
these object getting same info object id yes use the restricted char.
for joining date and releasing date you convert char to KF using the replacement path then calculate the days.
Thanks,
Phani. -
How to find total number of employees for an organisation
Hi Experts,
Need help in finding the total number of employees working in an organization. Please let me know if I need to run a report or if there is any T Code.
Appreciate your help at the earliest.
Regards,
Subbu.Hi
Try this out
T code :Paah
Select the key field Per nr for out put
GO to organizational Assignment select the Employee group for selection
and also Organizational Unit for selection.it will come to the right hand side
Give the input ESG as 1 for active and also input the org unit (dept) u require to
see the list of employees
and press out put for list or else hit list for number of employees
with regards
partha
keep sharing and learning -
How to check total cost of a materaial month wise
Dear all,
Can any one know how to check total expense of a material in a month.
Thanks
ArunHi,
You can make a custom report for this.
If you want to know generally there is a head count report available in OM -
How to print total stock in smartform by material wise
Dear Experts,
I am trying to print total material stock which is issued and receipt during entered date in a smartform ,Here I want to print totatl stock issued n receipt by material wise in seperate line .For that I fetch alldata and put into one internal table .In smartform I am using table for printing data.
Edited by: BharatRathod on Mar 8, 2010 11:43 AM
Edited by: BharatRathod on Mar 8, 2010 11:46 AMHi,
Try using the CALCULATIONS tab in the tables for printing the total stock in smartforms.
Regards,
Sharin. -
How to Output Totals to one Row?
Post Author: robertr
CA Forum: General
Hi - I have a giant report that contains basic info such as name, employee id, check date, check hours and check earnings. The problem is that I need only the totals for each employee and not the entire check earnings for each date. Can someone please advise on how I can create a report with the output I would like. Here is a sample of the data that I would like to summarize:
Pay Grp
EMPID
Name
Title
F/P
Status
Chk Date
ERNCD
EARNINGS
HOURS
YOU
123456
Doe, John
Accounting Assistant
F
A
2/29/2008
HOL
131.84
8.00
YOU
123456
Doe, John
Accounting Assistant
F
A
2/29/2008
SIK
329.60
20.00
YOU
123456
Doe, John
Accounting Assistant
F
A
2/29/2008
972.32
59.00
YOU
4235
Young, Neil
Booker
F
A
2/29/2008
5,008.33
87.00
YOU
99999
Allen,Daniel J
Director
F
A
2/29/2008
3,750.00
87.00
YOU
88888
Allen,Jeanine
Manager
F
A
2/29/2008
2,500.00
87.00
WYL
565656
Allen,Larita
Sales and Service Representati
F
A
2/29/2008
RTA
400.00
40.00
WYL
565656
Allen,Larita
Sales and Service Representati
F
A
2/29/2008
870.00
87.00
PREFERRED OUTPUT - SUMMARIZED - YOU CAN SEE THAT THE HOURS AND EARNINGS HAVE BEEN TOTALED
Pay Grp
EMPID
Name
Title
F/P
Status
EARNINGS
HOURS
YOU
123456
Doe, John
Accounting Assistant
F
A
1,433.76
87.00
YOU
4235
Young, Neil
Booker
F
A
5,008.33
87.00
YOU
99999
Allen,Daniel J
Director
F
A
3,750.00
87.00
YOU
88888
Allen,Jeanine
Manager
F
A
2,500.00
87.00
WYL
565656
Allen,Larita
Sales and Service Representati
F
A
1,270.00
127.00Post Author: SKodidine
CA Forum: General
Easy enough at first glance. I am assuming that each employee can only belong to one pay group.
Group on EmpID
Suppress Group Header and Detail Section
Place the fields Pay Group, EmpID, Name, Title, F/P and Status on the group footer
Create a running total for the field Earnings and choose SUM for type of summary, Evaluate for each record and RESET on change of group and choose the EmpID group you created in step 1.
Repeat step 4 but this time choose the field HOURS.
Place both running totals in the group footer.
The report should now show only summary totals. This is the simplest scenario. If one employee can belong to more than one pay group or status etc, then you will have to group by those fields and perform steps 3 u2013 6 on the innermost grouping. -
How to find total no of record in cube
Hi Experts,
How to find total no of records in a cube.
Thanks in Advance.Hi
If you want total number of records in a CUBE then you have to check in both F Table and E table.
Go to LISTSCHEMA tcode in your system, give your CUBE name and execute.
You will fine two table E and F table
goto SE16 -->give the table name and click on number of entries.You will get number of records.
Check the below thread
No of records in /size of Info cube
Regards,
Venkatesh -
How to get total in ALV report in same Internal table?
Data : Begin of it_data,
kunnr type kunnr,
name1 type name1,
amt1 type btrt01, " CURR 15,2
end of it_data.
loop at it_data into wa_data
endloop.
Hello friends,
I am developing one ALV report with 20 rows.
I have filled one internal table with some fileds like amount.
I want to get total of all amount1 in AMT1 field.
So, How to get total of amount in same internal table in ALV report ?
It is ok if i get duplicate rows in internal table.
Points 'll be awarded soon.
Regards,
NVMHi Ronny,
the alv output will display the sum at the last row.
for this functionality u have do this logic.
data: lw_fcat type slis_fieldcat_alv.
data: lt_fcat type slis_t_fieldcat_alv/
wa_fcat-fieldname = 'AMT1'.
wa_fcat-tabname = 'ITAB'.
wa_fcat-do_sum = 'X'.
append wa_fcat to lt_fcat.
and then pass it to reuse_alv_grid_display function,
regards,
Santosh Thorat -
How to display total in ALV Header
How to display total in ALV Header?
Hi Venkey,
As far as your issue is concerned I would like to quote my perception.
Create a header internal table with title and number of records.
At the later part of your program you should have found the total number of records ,now assign it to the header internal table and print it.
For further clarification you can go check this link:
http://wiki.sdn.sap.com/wiki/display/ABAP/AddHeadertoALVreport
Thanks
P.Srikanth -
How to find total recs in a local table for a particular condition
Hi,
How to find total recs in a local table for a particular condition?
Thanks,
CDWell, you may want to try this as well, and compare to the LOOP way. Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it. Again I think there may be some overhead in doing the copy. Next, delete out all records which are the reverse of your condition. Then whatever is left is the rows that you want to count. Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
data: itab type table of ttab.
data: itab_tmp type table of ttab.
itab_tmp[] = itab[].
delete table itab_tmp where fld1 <> 'A'.
lv_count = lines( itab_tmp ).
Regards,
Rich Heilman -
How to calculate totals in Blocked ALV Report
Hi All,
Can any body tell how to calculate totals & sub totals in
Blocked ALV Report[Blocked List].
Thanks in advance
Thanks & Regards,
Rayeezuddin.read this it might help
Sums
15. No_sumchoice(1) TYPE c : This parameter allows the choice for summing up
Only by fieldcatalog.
Value set: SPACE, 'X'
'X' = fields which are to be summed, passed by the calling program (FIELDCAT-DO_SUM = 'X'). The user should not be able to change this value interactively.
16. No_totalline(1) TYPE c : Removes the option of having totals after sub-totals.
Value set: SPACE, 'X'
'X' = no total record is to be output. Subtotals can still be calculated and output. The fields in the subtotals are flagged DO_SUM = 'X' in the field list.
17. No_subchoice(1) TYPE c : Does not allow the user to interactively change the field chosen for subtotals.
Value set: SPACE, 'X'
'X' = value whose change triggers subtotals, provided by the calling program. The user should not be able to change this value interactively.
18. No_subtotals(1) TYPE c : No subtotals possible
Value set: SPACE, 'X'
'X' = no subtotals.
19. Numc_sum(1) TYPE c : Totals only possible for NUMC-Fields.
20. No_unit_splitting TYPE c: No separate total lines by inh.units
21.totals_before_items TYPE c: Display totals before the items
22. Totals_only(1) TYPE c : Show only totals
Value set: SPACE, 'X'
'X' = only total records are output.
23. Totals_text(60) TYPE c : Text for 1st col. in totals
Value set: SPACE, string (max.60)
' ' = The first column in the total record contains an appropriate number of '*'s to indicate the total by default. If the first column is wide enough, the string 'Total' is output after the asterisks.
'String = The string passed is output after the total indicated by '*', if the column is wide enough.
24. Subtotals_text(60) TYPE c : Texts for subtotals
Value set: SPACE, string (max.60)
' ' = In the first column of subtotal records, the subtotal is indicated by an appropriate number of '*' by default. If the first column is not a subtotal criterion, the string 'Total' is output after the asterisks, if the column is wide enough.
'String = the string passed is output after the subtotal indicated by '*', if the column is wide enough and the first column is not a subtotal criterion. If it is a subtotal criterion, its value is repeated after the total, if the column is wide enough.
ELSE TELL ME I WILL PASTE COMPLETE HELP
regards -
How to Show total value in the header 2nd page but based on 1st page footer
How to show total value in header in report builder but i have the total have related with the total in footer.
Example
===============================================
Page 1
Empno Ename Sal
1 Scott 1000
2 ALlen 2000
3 Susi 1000
Total Sal Page 1: 4000
===============================================
Page 2
Total Sal Page 1: 4000 --> How to get it?????
Empno Ename Sal
4 Budi 1000
5 Roger 200
6 George 2000
Total Sal Page 2: 3200
Please Help..
Thankshmm .. what i would do is
- create a placeholder column
- create a field in the header and one in the footer
- have the footer field reference the summary column
- have the header field reference the placeholder column
- create a fromat trigger on the footer field to
store the value of the footer into the placeholder column
so when the report is executed and the footer field is formatted, the format trigger stores the current value of the summary in the placeholder. then the pagebreak occures and the header field is formatted .. printing the value.
there might actually be an easier way, just reference the two fields to the same summary column and in theory, since there is nothing happening between the time when the footer is formatted and the header is formatted, the values should be the same .. however this is a theory and i have not actually tested this. since reports does all kinds of fancy optimization this might have unexpected results, but it's worth a try.
thanks,
ph. -
How to get total number of days
Hi All,
how to get total number of days , for example if month eq 05 then need to get total number of days until MAY 31.
and how to get total number of days in a month.
Thank You,,
Sriii..Hi Sridhar,
Pls Try to search before posting general questions.
Try this,
CALL FUNCTION 'DAYS_BETWEEN_TWO_DATES'
EXPORTING
i_datum_bis = p_lv_date1
i_datum_von = p_lv_date2
IMPORTING
e_tage = p_e_date_difference
EXCEPTIONS
days_method_not_defined = 1
OTHERS = 2
IF sy-subrc 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Regards,
Sunil kairam. -
How to display total "items" and "amount " in header.jsp in CRM ISA B2B
Hi,
I am modifying header.jsp in standard CRM ISA B2B application. Here we have summary of total number of items and total amount but it is coming in to button and for that below code is there in header.jsp and it display it as button text.
if (!ui.homActivated) { %>
!!" alt="" border="0" height="16" width="20">
</td>
<td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.minibasket.default"/>" >
<form name="basketForm" action="javascript:show_basket();">
<input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.minibasket.default"/>"/>
</form>
</td>
<% } else { %>
<!-- HOM scenario - minibasket displays collective order -->
<td class="vertical-align-middle" align="right">
!!" alt="" border="0" height="16" width="20">
</td>
<td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.collorder.default"/>">
<form name="basketForm" action="javascript:show_collective_order();">
<input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.collorder.default"/>"/>
</form>
</td>
<% } %>
Now I want to display total number of items and total amount separately in two different <td> element.
How I can get total number of items and total amount in header.jsp I tried below code but did not get any success.
Insert below line in header.jsp with respective page import statement for class or let me know which class I have to import.
<%
HeaderSalesDocument hdr =
(HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);
ItemList items =
(ItemList) request.getAttribute(MaintainBasketBaseAction.RK_ITEMS);
%>
And then I use
<td><%= hdr.getNetValue() %></td>
<td><%= items.size() %></td>
But it is not printing any thing and header page not display at all.
Pl. tell me how to get total amount and number of items in header area. Which class or object I have to use here.
I really appreciated any help from any one.
Thanks and regards.
Ashish Patel.Hi, I tried another logic. I took value from Standard button, in which B2B application display total items and amount and I hide this field, to another text element.
Now I Am breaking that value in words and stored them in array and then trying to display that array with particular number which contains total item and amount through Java Script on Focus.
But problem here is, It is not getting updated automatically I have to click on new text files to trigger Onfocus event. How I can achieve effect like as soon as Standard button changes it's value which is now hidden filed my new text box should update automatically.
Thanks.
Ashish
Maybe you are looking for
-
Not showing objects in left pane when expanding the nodes (V 1.5.1)
Hi All, When expanding DB objects nodes (tables, procedures, packages etc), not showing objects in node. Can anyone know why it is so and what has to be done?
-
"Contents,Index,Search" tabs dont stay hi-lighted when active in chrome
I'm using RoboHelp v9.02 and Chrome v18. I've had several issues with my output in chrome that i was able to resolve except this one. I use custom images for selected & unselected buttons. The output is on a server and everything functions properly
-
Creative Cloud downloading error
I see that 4 updates are available for some of the softwares in the CC suite but am unable to link to the CC server. Does anyone know why I get such error message? Am unable to see any apps in the Creative Cloud window in the menu bar. I have all the
-
DW v8 Won't Let Me "Put" Files
I have just upgraded from an earlier version of Dreamweaver to v8, along with switching from Windows PC to Mac OSX. In my previous version, I had no trouble clicking the 'up-down' arrows to 'put' files onto my remote server via ftp. I have set up the
-
HI Gurus, My client is following this scenario.It has make to Order scenario and so many subcontracting process is done by the client. The scenario is like,multiple work Orders are sent to Subcontract Vendor through single Group Issue. For Example: 5