Generate Manager Wise employee absence report
Dear All,
How to generate manager wise -> employee absence report?
Currently Generating Attendance/Absence reports Org Unit -wise is time consuming. I would like to generate a report by selecting the field " Manager" so that I can generate an absence report of employees under one particular manager.
Can you please let me know how to get this done?
Regards,
Monu
Edited by: Monu on Feb 15, 2010 2:27 PM
Hi Monu,
First get the position of Manager Employee. Then get all the subordinate Positions using relation ship 002 (Reports to) then ,
for all the subordinate positions get the employees for that positions. And for that employees get the absence details. This logic will gives the employees who will directly reports to Manager. To get all the employees we need to loop until all the subordinates reached or you can use RH_STRUC_GET to get hierarchy
Regards,
Narendra.Somarouthu
Similar Messages
-
Project wise Trial Balance Report
Dear All
Could u plz help me in this regard
How to select "Project" in Trail Balance Report?
I want to generate Project wise Trail Balance Report.
Thanks & Regards
KISHANHi,
Goto the Financials Module > Financial Reports > Financial > Trial Balance - Selection Creteria.
You will see a button Expanded. Click on it and in the window opened, enter the project code in the Project field appearing and run the report to get the desired result.
Kind Regards,
Jitin
SAP Business One Forum Team -
BW Employee Hierarchy report to be specific for the users.
Hi *,
My BW system contains the data from HR. There is a report which displays the list of all employees in a strict hierarchial manner with the topmost position being assigned to the highest designation.
Now the change to this report should be done in such a way that the user who logs in should be able to see only his/her group. That is all the employees who report to him should be displayed with this user at the top.
Is it possible ? I can create a new report also if required.
Please suggest so that I can assign points.
Regards,
SrinivasHi Srinivas,
First u need to make that Info Object as Auth Relevant.
InfoObject > BusinessExplorer tab > Auth Relevant
In RSSM u need to generate the Auth Object for that.
Authorization Object
Regards,
Ram. -
Management Global Employee Vs C.E + PNP or PNPCE
All,
We are moving towards implementing u201CManagement Global Employeeu201D. I am new to u201CManagement Global Employeeu201D and I found some good documentation at www.saphelpbykevin.com . Kevin you did great job there like you did with us in Boise, Idaho. Any way first I wanted to understand the key differences between C.E and MGE?
After that what effort we need to do in order to change our ABAP program. Can we use PNP with MGE ?
Iu2019ve worked on Concurrent Employment in 2006 and I remember we had a hard time changing all our HR ABAP program and LDB to PNPCE . Are we talking about the same effort here? If any body of you has any suggestion , key point please share with me .
Thanks,
Saquib KhanLol!
I didn't see post until now...Not sure if you received the response yet...
MGE is a subset or submodule of CE.
CE concept is more align with and more import if you use SAP Payroll and Time. CE is concurrent employment where a person holds more than one position at a time in the same country.
MGE is management global employee. Where a person move from one position to another during a duration to do an assignment. Upon completing the assignment, the person could localize there or return home.
PNP and PNPCE. PNP is being discontinued and is replaced by PNPCE. The main difference between the two is PNPCE support the PERSON ID concept. Which is the unique identifier for an employee. It would be best to use PNPCE with MGE as you need that PERSON ID in the HR Report Category.
Kevin T. Nguyen-Tu
www.saphelpbykevin.com -
HR Employee relationship report
Hi,
We have a requirement to create HR--> Employee relationship report, which will display the employee details and his reporting officer details.
Please let me know if we have a standard report for this.
Regards,
Nagesh.Hello,
I dont think there would be any direct report available for this.
The only way i could think of achieving this is as below:
(1) If you have data in BI for employee manager, that is in the format employee and its manager.
Just load it to the cube and get all needed attributes populated from reading master data table of employee.
(2) For Creating extractor at ECC
Use following function module to get manager details:
HRCM_ORGUNIT_MANAGER_GET
Regards,
Shashank -
Hi,
I'm trying to use flexible employee data report and in the output,
the report is showing the text of the fields, like Employee subgroup text instead of the codes we've given.
Is there any way of having the report generate the codes instead of the text? Pls let me know.
Thank you,
R SHi
I am not sure whether we can make changes in the standard reports setting. I hope you can use SAP Infoset Query to solve your issue.
Please follow the following steps for creating a simple report
FIRST STEP
SQ03
Create user group
SAVE
SQ02
Create Infoset
ZHCM_PD
Now select the required infotypes from the screen given
Then generate the infoset
Go back to infoset screen and you can see your infoset appearing in the initial screen
Now assign the infoset to the particular user group using role/user group assignment and Save
SQ01
Select Infoset Query
Open the ZHCM_PD and the following screen will be displayed showing the selection and output screen
********When you select output screen, the same will be displayed down. Just select one field and right click and select Only value**************
Select the required infotypes selection and output field and give the hit list to see the number of documents present
To see the output click on output screen
Please note that when you create the reports, you can select the output either by Only Value/Only Text/ value and text.
I hope this will resolve your issue.
Regards
Santhosh.S -
MSS Absence Report PT64 not working via IAC iView
We have a problem with MSS regarding the PT64 Absence Report. If we invoke the report via SAP GUI it produces a report using the correct date criteria specified.
If we invoke the same report through MSS business package v 60.1.4 on EP6 SP2, the Selection Criteria iView delivered in the business package launches a new window to display the report using an AppIntegrator IAC iView and generates a URL as follows:
http://server/irj/servlet/prt/portal/prtroot/pcd!3a!2f!2fportal_content!2fcom.sap.portal.migrated!2fep_5.0!2ftemplates!2fcom.sap.portal.appintegrator.sap.bwc.IAC?System=SAP_R3_HumanResources&SAP_IAC=hrwpc_fc_exec&SAP_QueryString=S%3DZMSS%26F%3D*HISRETABS+5%26B%3D18000101%26E%3D20050901%26V%5B1%5D%3DZRPT_D1%26O%5B1%5D%3DP00003582
The report ignores the date criteria passed from the MSS iView. I can see in the URL above that the URL contains the dates I specified in MSS (start date=18000101 and end date=20050901).
So I assume that either the URL is wrong or that PT64 or ITS is incorrectly interpreting the URL?
Problem is, how do I know what the URL is supposed to look like?
And if ITS or PT64 is incorrectly interpreting the URL query data, how on earth do I investigate or debug this.
Cheers,
SteveHi all,
I am having the same problem, only I am not able to see any reports, the link appears ok but the screen opens up empty.... Any ideas ??
Regards,
Paulo Poinha -
Nakisa embedded org chart-Team view, employees under Reporting line is empty
Hello,
I am trying to enable Nakisa embedded org chart, but when i go to Team view, employees under Reporting line is empty. And also i am not able to view the employees under Org.Unit.
Can anyone please help me with this.
Attached screen shots.
Thanks in advance.
Geohi george ,
activate the NAKISA in SICF and chk once in portal the settings and kindly configure OADP settings in MSS u can get the structure in the Team view of MANAGER heirarchy , and chk the HCM_PD_UI_1 is active in SFW5
SM30 --- V_THV_APP_C
CLICK ON Activate Hierarchy visualization option for MSSBIZVIEW AND FOLLOW BELOW THREADS
1823692 - MSS Team View isn´t displayed on the portal
MSS Team View is blank
MSS Team - On Behalf of Applications -
Hi All,
I need to develop absence report with approver name for example.
Emp No, Name, Absence Type , Sdate, Edate, Days, Approvers
I need to show the actual approver instead of supervisor who is attached with employee, for this I am using the table per_absence_attendances but approver information is not available.
Regards,
SsaliHi,
What I understand from your question is that you want to bring the last approver name on your report. if it's so then in the per_absence_attendances table there is filed called created_by which is the user id of the last approver. So you can get the last approver name by this following query.
select ppx.employee_number Emp_No, ppx.full_name Name, paa.AbsenceType , paa.Sdate,paa. Edate, paa.Days, fu.user_name Approvers
from per_people_x ppx
,per_absence_attendances paa
,fnd_user fu
where fu.employee_id=paa.person_id
and paa.person_id=ppx.person_id
and ppx.business_group_id=?
and paa.business_group_id=?
Hope it will help you.
Thanks
Asif -
Reporting on the SQL generated by webI and Deski reports
I'm running BOXI 3.1 SP3 on a Windows. I have about 2800 Webi and Deski reports live. The majority of these reports return data from a Oracle data source that is not managed in-house.
I'm needing an admin type software that can query the repository for all my reports, generate the SQL for each report, spit out the name of the report and the SQL of the report and any filters/variables on the report into a searchable file that I can parse through to look for specific query filters (and report filters if it has any.)
I have method for pulling a list of reports that are using an universe's object X, but I really need a method of searching all the WHERE clauses all my reports and inside the report in the variables and
Does anybody know of anything that does this that is available for purchase? I've tried leveraging the Activity Universe and it's just too slow to use.Hi,
I am sorry but I could not infer much from your issue. However, vaguely I understand that you might have missed the grain settings for table A. Generally, when there are no proper grain settings (set through content tab in LTS), the BI Server might show NULL values.
You may want to revisit your LTS for these tables once again and running through level 5 log also might help here.
Hope this helps.
Thank you,
Dhar -
Dear all,
Please tell me that is there any standard Absences Report which displays employee complete absences record and history during his entire service along with leave types.
Regards,
HassanHi Hasan,
Please try Report RPTEDT00 - Time statement form after doing Time evaluation.
Also try Tcode - PT_QTA10, PT50.
Hope this has helped to some extent.
Regards,
SAPUUSER -
How to generate Excle file for a report runningin a Batch job
Hello All,
Can we generate Excle file for a report running in a Batch job.
Kindly send reply to [email protected]
Thanks in Advance.
Cheers,
SundeepDear Sundeep,
I'm providing you with the following piece of code ... Its working fine for me ... hopefully it suits your requirement ...
D A T A D E C L A R A T I O N *
TYPES: BEGIN OF TY_EXCEL,
CELL_01(80) TYPE C,
CELL_02(80) TYPE C,
CELL_03(80) TYPE C,
CELL_04(80) TYPE C,
CELL_05(80) TYPE C,
CELL_06(80) TYPE C,
CELL_07(80) TYPE C,
CELL_08(80) TYPE C,
CELL_09(80) TYPE C,
CELL_10(80) TYPE C,
END OF TY_EXCEL.
DATA: IT_EXCEL TYPE STANDARD TABLE OF TY_EXCEL,
WA_EXCEL TYPE TY_EXCEL..
E V E N T : S T A R T - O F - S E L E C T I O N *
START-OF-SELECTION.
Here you populate the Internal Table.
Display - Top of the Page.
PERFORM DISPLAY_TOP_OF_PAGE.
E V E N T : E N D - O F - S E L E C T I O N *
END-OF-SELECTION.
SET PF-STATUS 'GUI_STATUS'.
E V E N T : A T U S E R - C O M M AN D *
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'EXPORT'.
Exporting the report data to Excel.
PERFORM EXPORT_TO_EXCEL.
ENDCASE.
*& Form DISPLAY_TOP_OF_PAGE
text
--> p1 text
<-- p2 text
FORM DISPLAY_TOP_OF_PAGE .
SKIP.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'O R I C A'
CENTERED COLOR 1,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE,
/05 SY-VLINE,
06(127) 'Shift Asset Depreciation - Period/Year-wise Report.'
CENTERED COLOR 4 INTENSIFIED OFF,
132 SY-VLINE.
WRITE: /05(128) SY-ULINE.
E X C E L O P E R A T I O N
CLEAR: IT_EXCEL[],
WA_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
WA_EXCEL-cell_02 = ' XYZ Ltd. '.
APPEND WA_EXCEL TO IT_EXCEL.
CLEAR: WA_EXCEL.
WA_EXCEL-cell_02 = 'Shift Asset Depreciation - Period/Year-wise Report.'.
APPEND WA_EXCEL TO IT_EXCEL.
PERFORM APPEND_BLANK_LINE USING 1.
ENDFORM. " DISPLAY_TOP_OF_PAGE
*& Form APPEND_BLANK_LINE
text
-->P_1 text
FORM APPEND_BLANK_LINE USING P_LINE TYPE I.
DO P_LINE TIMES.
CLEAR: WA_EXCEL.
APPEND WA_EXCEL TO IT_EXCEL.
enddo.
ENDFORM.
*& Form EXPORT_TO_EXCEL
text
--> p1 text
<-- p2 text
FORM EXPORT_TO_EXCEL .
DATA: L_FILE_NAME(60) TYPE C.
Create a file name
CONCATENATE 'C:\' 'Shift_Depn_' SY-DATUM6(2) '.' SY-DATUM4(2)
'.' SY-DATUM+0(4) INTO L_FILE_NAME.
Pass the internal table (it_excel which is already populated )
to the function module for excel download.
CALL FUNCTION 'WS_EXCEL'
exporting
filename = L_FILE_NAME
tables
data = IT_EXCEL
exceptions
unknown_error = 1
others = 2.
if sy-subrc <> 0.
message e001(ymm) with 'Error in exporting to Excel.'.
endif.
ENDFORM. " EXPORT_TO_EXCEL
*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When you click the button - Export to Excel ( GUI-Status) you'll be able to export the content of the Internal Table to an Excel file .......
Regards,
Abir
Don't forget to award points * -
Generate a url from a report or function module
Hi,
I'm trying to generate a url from a report and tried using the function module WWW_ITAB_TO_HTML in the report program, as , but i'm not able to get the expected results. The code is given below. Could someone please try and help me resolve this issue. Thanks in advance.
DATA: emp_name TYPE char80.
DATA: it_itabex TYPE zdb_ex_tty,
it_emp TYPE TABLE OF zis_emp,
it_org TYPE TABLE OF zis_org,
it_pos TYPE TABLE OF zis_pos,
it_pos_alloc TYPE TABLE OF zis_pos_alloc,
it_res TYPE TABLE OF zis_res,
it_res_alloc TYPE TABLE OF zis_res_alloc,
ls_itabex TYPE zdb_ex_s.
DATA: lv_filename TYPE string,
lv_path TYPE string,
lv_fullpath TYPE string,
lv_replace TYPE i.
DATA qstring LIKE it_itabex OCCURS 10.
DATA: url(200), url2(200), url3(200), fullurl(200).
FIELD-SYMBOLS: <fs_emp> LIKE LINE OF it_emp,
<fs_org> LIKE LINE OF it_org,
<fs_pos> LIKE LINE OF it_pos,
<fs_pos_alloc> LIKE LINE OF it_pos_alloc,
<fs_res> LIKE LINE OF it_res,
<fs_res_alloc> LIKE LINE OF it_res_alloc.
** Report Program to export data from database to Excel.
** Populate all the tables that have to be exported.
SELECT * FROM zis_org INTO TABLE it_org.
SELECT * FROM zis_pos INTO TABLE it_pos.
SELECT * FROM zis_pos_alloc INTO TABLE it_pos_alloc.
SELECT * FROM zis_emp INTO TABLE it_emp.
SELECT * FROM zis_res_alloc INTO TABLE it_res_alloc.
SELECT * FROM zis_res INTO TABLE it_res.
** Append the Column Header
CLEAR ls_itabex.
ls_itabex-ipp_pos_id = 'IPP Pos ID'.
ls_itabex-emp_name = 'Name'.
ls_itabex-dt_of_join = 'JoinedOn'.
ls_itabex-emp_status = 'Status'.
ls_itabex-org_name = 'Org'.
ls_itabex-prj_name = 'Project'.
ls_itabex-mgr_name = 'Line'.
ls_itabex-designation = 'Designation'.
ls_itabex-specialization = 'Specialization'.
APPEND ls_itabex TO it_itabex.
** Append all the tables into one internal table
LOOP AT it_pos_alloc ASSIGNING <fs_pos_alloc>.
CLEAR ls_itabex.
ls_itabex-ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
READ TABLE it_emp ASSIGNING <fs_emp> WITH KEY emp_guid = <fs_pos_alloc>-emp_guid.
IF sy-subrc = 0.
CONCATENATE <fs_emp>-emp_fname <fs_emp>-emp_lname INTO ls_itabex-emp_name SEPARATED BY space.
ls_itabex-dt_of_join = <fs_emp>-dt_of_join.
ls_itabex-emp_status = <fs_emp>-emp_status.
ls_itabex-specialization = <fs_emp>-specialization.
ENDIF.
READ TABLE it_pos ASSIGNING <fs_pos> WITH KEY ipp_pos_id = <fs_pos_alloc>-ipp_pos_id.
IF sy-subrc = 0.
ls_itabex-designation = <fs_pos>-designation.
READ TABLE it_org ASSIGNING <fs_org> WITH KEY org_id = <fs_pos>-org_id.
IF sy-subrc = 0.
ls_itabex-org_name = <fs_org>-org_name.
ls_itabex-mgr_name = <fs_org>-mgr_name.
ENDIF.
ENDIF.
READ TABLE it_res ASSIGNING <fs_res> WITH KEY org_id = <fs_org>-org_id.
ls_itabex-org_name = <fs_org>-org_name.
APPEND ls_itabex TO it_itabex.
ENDLOOP.
url = 'http://testweb/scripts/wgate/zvw10a/!?~language=en'.
url2 = '&~OkCode(LGON)=LGON&login-login_user='.
url3 = '&vbcom-vbeln='.
CONCATENATE url url2 url3 INTO fullurl.
WRITE: /'Staffing Excel'.
CALL FUNCTION 'WWW_SET_URL'
EXPORTING
offset = 12
length = 10
func = fullurl
TABLES
query_string = qstring
EXCEPTIONS
invalid_table = 1
OTHERS = 2.
Thanks & Regards,
Preethi.Check the below example program :
data: begin of itab occurs 0,
matnr type mara-matnr,
mtart type mara-mtart,
matkl type mara-matkl,
groes type mara-groes,
end of itab.
data: ifields type table of w3fields with header line.
data: ihtml type table of w3html with header line.
select * into corresponding fields of table itab
from mara up to 100 rows.
call function 'WWW_ITAB_TO_HTML'
EXPORTING
TABLE_ATTRIBUTES = 'BORDER=1'
TABLE_HEADER =
ALL_FIELDS = 'X'
tables
html = ihtml
fields = ifields
ROW_HEADER =
itable = itab
check sy-subrc = 0.
call function 'GUI_DOWNLOAD'
exporting
filename = 'c:\test.html'
tables
data_tab = ihtml.
Reward points if it is helpful
Thanks
Seshu -
PO (Line Items wise) Payment Status Report
Hi Friends,
Is it possible to get a PO (Line Items wise) Payment Status Report.
My client wants PO Line wise payment status as a MM report development.
We have Down Payment, Residual & Retention money as a business practise with our vendors
Following is the MM-FI flow in our company code..
Create & Release PR u2013 MM - Creating PR
Create & Release PO (ME21N) u2013 MM u2013 Creating PO
F-47 Down Payment Request u2013 MM u2013 Creating DPR
F-48 Post Vendor Down Payment u2013 FI - Posting DPR
FBZ5 Print Check for Payment Document u2013 FI - For printing cheques for DP only
MIGO/ML81N, GR u2013 MM u2013 SES/GR for PO
MIR7/MIR6 IR - MM/FI u2013 Parking & IR
F-44 Clear Vendor u2013 Linking advance with IR (as residual clearing)
F-53/F-58 u2013 Posting Payments after deducting Retention
F-04 Post with Clearing u2013 Clearing Outgoing account entries with Main account
Thanks in advance.
Regards,
Vikrant Soodas per my knowledge you can configue a new Z table or prepare a Query using EKPO table you will your desired result.
regards,
Ninad Kshirsagar -
OM - Issue with Employee Headcount Report
Hi All
While making a selection of org units in Employee Headcount Report its been noticed that some org units and getting selected and some are not and during selection of required org units there are few org units which are appearing as related object index and some as non related object index
Could someone let me know what is a Related and Non Related Index of a Org UnitI checked the report, and it certainly returns incorrect data, I found exactly what you say regarding active/inactive persons.
What is SAP's reason for not looking into this? It would be interesting to hear their argumentation for this not being a bug.
It may be that SAP expects RHSTRU00 to be called only for active persons? This would require running another report first to get the input for RHSTRU00. This seems like a strange prerequisite for the program, and I do not understand why SAP don't see this as a bug. The error seems rather obvious and reproducable.
I often find that I have to push to get passed first line of support to have SAP see the problem. It is tiring, but I have found this to be the fact far too often.
PS - we never use the program like this, so we do not face the problem ourselves.
/Kirsten
Maybe you are looking for
-
Hi.can u pls help me out I'm stuck and don't know what to do..
pls help me out...can i activate my iPhone 4s without knowing the previous owners iCloud password???i bought the phone and have no clue on where to find him.
-
External Activity FRL for Subcontracting
Hello All, We are configuring the Subcontracting process for MM. In the Accounting Assignment for OBYC, we have assigned a GL Account to FRL. This GL Account, however, was set as a Cost Element in KA01 previously. Now whenever the user posts Goods
-
I am working on a project which is an ETL tool .. i.e. extracts from different heterogeneous sources (MS Access, SQL Server, Text files, Excel sheets) , transform to the desired shape and load in the destianation large database (Datawarehouse). I wan
-
How to Find Oracle instances?
Hi all, Could you please guide how to check oracle instances? Thanks in advance!!
-
After watching a VideoCopilot video, I noticed that the GUI that their version of after effects had was much more stylish and visually appealing then the traditional black and orange. When searching help, I also noticed that some of the images in the