Table/FM for getting Employees Assigned to Workcenter
Hi All,
Please let me know table name or function module to get the list of employees assigned to workcenter through HRMS.
Sundar
Sundar,
These tables should give you what you need:
CRHD > HRP1000 > HRP1001 > PA0001
Paul
Similar Messages
-
Table/FM for getting Employees Assigned to PM Order
Hi All,
Please let me know the table name or function module to get the list of employees assigned to PM Order through HRMS. I need the list of persons assigned to operations which are assigned in Requirements Tab of operation details.
SundarHi Sundar,
Please check BAPI_ALM_ORDER_GET_DETAIL or BAPI_ALM_OPERATION_GET_DETAIL, the operations output does give personnel number. I didnt test though if this number is same as person assigned to operation.
Regards
Shrikant
Edited by: Shrikant Rakate on Nov 17, 2011 11:30 AM -
What is the table name for getting Last Receipt & issue date of material?
Hi Friends,
What is the table name for getting Last Receipt & issue date of material?
*Case 1:*
Here, I am running report in May 2008. But, if there is no goods receipt for the respective material since last 13th March 2007.
Then in this case Last goods receipt date should be 13th March 2007.
Please guide me.
Regards
SivaI checked MSEG table. But, I didn't find any field for date.
Can you tell me field name.
Regards
Siva -
FM for getting employees by JOB
Hi All,
Does anybody know the function module to be used to get a list of employees with a particular job code in SAP HR?
Thanks for the help.
Regards,
Krishnakumar PMHi,
You can use the function module RH_STRUC_GET by passing the following parameters:
ACT_OTYPE = 'C' - C implies Job
ACT_OBJID = <job_key_id>
ACT_WEGID = C_S_S_P
- here C_S_S_P is the relationship ID which will link Job (C)-> Position (S) -> Personnel (P)
You shall get the RESULT_TAB returned
In thsi RESULT_TAB delete all entries where OTYPE is not 'P'
Then the remaining entries are the personnel number (RESULT_TAB-OBJID) in RESULT_TAB table.
Cheers,
Aditya -
Table name for serial number assigned to delivery
Hi,
How can I find the table having serial number assigned in a Inbound Delivery(VL31N).
I need SAP Table having details of serial number assigned to a Inbound delivery
regards
bobbyHi Meet,
I don't want to configure any thing, I am making a report in that I need to show the serial numbers assigned to an Inbound delivery Item Qty. , therefore I need the table name from which I can pick the serial number assigned to delivery.
like
Inbound Deliver Numbers Matnr Qty Serial No.
10000018 PENCIL 2 1234466788
10000018 PENCIL 2 1234466989
thanks
bobby -
Need ABAP table/Report for getting trace of error messages
Hi experts,
My requirement is to display Detailed Error trace text of the error message, on my screen.
Now i need to know, which tables in XI it is stored or is there any abap report available that can provide thsi information.
any function module ??
thanks in advance for your help.
Regards,
PriyankaHi,
Check these out.
http://wiki.sdn.sap.com/wiki/display/XI/XI+Tables
Cheers,
Earlence -
T-code for repor "Employee Action Report"
Dear Guru,
There is a report for getting "employee Actions List". The program name is RPLACTJ0 (standard report) but i dont find the Tcode for this report.
I cheked the T.Code through SYSTEM---STATUS. (its saying SA38.) which is ABAP program execution.
How to find the T.code for this report. if not, can i assign the T.code for the standard program?
Thanks.
ManjuHi Purnima,
Thanks for ur updation.
I have tried in all possible ways, but system giving error msg "No value found"
Tcode : se16n ---TSTC = No value found.
Tcode : se16 ---TSTC = No value found.
se11 : its table dictionary. I think here we cant execute any program.
Regards
Manjula. -
BAPI for getting Equipment and Resources for a WORK CENTER
Hi All,
I have a requirement where i need to get all the equipment list for a given work center. So its Interface should be like
Input -- Work center
Output -- Table filled with Equipment list
Table filled with Resource(Person) list
Please let me know if i need to provide other additional information also.
Thanks ,
AbhishekHello,
I think What you providing input is right.Just would like know how will you get Person Responsible out put list??
Please Use The table ITOB to fetch the Equipment List according to Work Center as Input.
OBJID=Put work center ID in CRHD Table you will get the OBJID then you have use the OBJID in table ITOB for getting the equipment data.
Regards,
Rakesh
Edited by: RAKESH ASHOK MANE on Oct 1, 2010 9:13 AM
Edited by: RAKESH ASHOK MANE on Oct 1, 2010 1:20 PM -
How to read IM_ATTABS_TAB structure to get Employee details..
Hello friends,
i am facing difficulty reading IM_ATTABS_TAB for getting employee details..
i need this to code in a BADI for validating Leave request..
i have to extract employee(who after logging in in ESS ,applies for leaves) information such as PERNR leave balance quotas,etc before i can display the suitable message...
Now the structure IM_ATTABS_TAB has PTARQ_ATTABSDATA_TAB as associated type...which has line type as PTARQ_ATTABSDATA_STRUC..
so now,what select statement or query gives me the desired information..
whioch is PERNR,and other leave quotas...Hi bala,
Please tell me ur problem got resolved or not.
As i am also facing the same and it is exactly the same.
Please help me if you are done with the same!!!
Regards,
Sujit -
How can I save the first dept. for an employee in a transport table?
Hi All,
I have created a table to store the transports to an employee from department to another department.
the first department number to every employee is stored at the parent table called employees.
when I insert a new record to the transports table (which is the child for the parent employees) for an employee and the manager agrees for this transport the original value of department number in employees table will be changed to the new one. I done this process through a db trigger on the transport table.
Now the problem is that the original value of the first department number will be lost cause of the db trigger that changes this value after manager agreement!
I looked to solve the problem by adding a new column in employees table to save the first dept. no. for each employee only if Count of records = 1 for that employee like this:
-- Before Update DB Trigger on Transports Table:
DECLARE
pragma autonomous_transaction;
N NUMBER;
BEGIN
SELECT count(EMP_SID) -- emp-sid is the FK referenced from employeess.emp_sid
INTO N
FROM TRANSPORT_TRANS
where emp_sid=:NEW.EMP_SID
GROUP BY EMP_SID;
IF :NEW.AGREE_FLG = 1 AND N = 1 THEN -- If the manager agrees and this record is the first one for that employee
UPDATE EMPLOYEESS E
SET E.FST_AD=E.ADMINISTRATION_SID, -- E.ADMINISTRATION_SID has the oroginal value for admin no. and FST_AD is the new column to save the first value
E.FST_HE=E.HEADQUARTERS_SID,
E.ADMINISTRATION_SID = :OLD.ADMIN_SID, -- changing the value with then new one added on the table
E.HEADQUARTERS_SID = :OLD.HEAD_SID
WHERE E.EMP_SID = :OLD.EMP_SID;
ELSIF :NEW.AGREE_FLG = 1 AND N != 1 THEN -- if the manager agrees but the record is not the first record for that employee
UPDATE EMPLOYEESS E
SET E.ADMINISTRATION_SID = :OLD.ADMIN_SID, -- only change the original values
E.HEADQUARTERS_SID = :OLD.HEAD_SID
WHERE E.EMP_SID = :OLD.EMP_SID;
END IF;
END;But the form gives me this error if I deleted (pragma autonomous_transaction;) st. :
ORA-04091: table transports is mutating, trigger/function may not see it
But when I keep it, the form gives me this error:
ORA-06519: active autonomous transaction detected and rolled back
Edited by: Dev. Musbah on Aug 18, 2009 2:09 AMDev. Musbah,
First make sure that the insert statement executes. And check whether other error messages are getting. Currently you are checking only NO_DATA_FOUND. so change the exception part with
EXCEPTION
WHEN NO_DATA_FOUND THEN NULL;
WHEN OTHERS THEN MESSAGE('Some Error Occured');Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks. -
Where to dowload table script for demo table EMPLOYEE
Hello!
I'm reading the book "Oracle PL/SQL Programming, Fourth Edition"
By Steven Feuerstein.
And I can't find the script for the employee table ..
Where can I get it?
Regards
TobiasCopy this script in notepad and then save in .sql format and then run
rem
rem Header: hr_main.sql 09-jan-01
rem
rem Copyright (c) 2001, Oracle Corporation. All rights reserved.
rem
rem Owner : ahunold
rem
rem NAME
rem hr_main.sql - Main script for HR schema
rem
rem DESCRIPTON
rem HR (Human Resources) is the smallest and most simple one
rem of the Sample Schemas
rem
rem NOTES
rem Run as SYS or SYSTEM
rem
rem MODIFIED (MM/DD/YY)
rem ahunold 08/28/01 - roles
rem ahunold 07/13/01 - NLS Territory
rem ahunold 04/13/01 - parameter 5, notes, spool
rem ahunold 03/29/01 - spool
rem ahunold 03/12/01 - prompts
rem ahunold 03/07/01 - hr_analz.sql
rem ahunold 03/03/01 - HR simplification, REGIONS table
rem ngreenbe 06/01/00 - created
SET ECHO OFF
PROMPT
PROMPT specify password for HR as parameter 1:
DEFINE pass = &1
PROMPT
PROMPT specify default tablespeace for HR as parameter 2:
DEFINE tbs = &2
PROMPT
PROMPT specify temporary tablespace for HR as parameter 3:
DEFINE ttbs = &3
PROMPT
PROMPT specify password for SYS as parameter 4:
DEFINE pass_sys = &4
PROMPT
PROMPT specify log path as parameter 5:
DEFINE log_path = &5
PROMPT
-- The first dot in the spool command below is
-- the SQL*Plus concatenation character
DEFINE spool_file = &log_path.hr_main.log
SPOOL &spool_file
REM =======================================================
REM cleanup section
REM =======================================================
DROP USER hr CASCADE;
REM =======================================================
REM create user
REM three separate commands, so the create user command
REM will succeed regardless of the existence of the
REM DEMO and TEMP tablespaces
REM =======================================================
CREATE USER hr IDENTIFIED BY &pass;
ALTER USER hr DEFAULT TABLESPACE &tbs
QUOTA UNLIMITED ON &tbs;
ALTER USER hr TEMPORARY TABLESPACE &ttbs;
GRANT CONNECT TO hr;
GRANT RESOURCE TO hr;
REM =======================================================
REM grants from sys schema
REM =======================================================
CONNECT sys/&pass_sys AS SYSDBA;
GRANT execute ON sys.dbms_stats TO hr;
REM =======================================================
REM create hr schema objects
REM =======================================================
CONNECT hr/&pass
ALTER SESSION SET NLS_LANGUAGE=American;
ALTER SESSION SET NLS_TERRITORY=America;
-- create tables, sequences and constraint
@?/demo/schema/human_resources/hr_cre
-- populate tables
@?/demo/schema/human_resources/hr_popul
-- create indexes
@?/demo/schema/human_resources/hr_idx
-- create procedural objects
@?/demo/schema/human_resources/hr_code
-- add comments to tables and columns
@?/demo/schema/human_resources/hr_comnt
-- gather schema statistics
@?/demo/schema/human_resources/hr_analz
spool off -
Table for getting open PR quantity
Hi
I have one requirement........ I have created a PR for 100 nos. Then I created a PO with ref. to this PR for 25 nos. Now i want to capture how much open PR quantity (75 nos) is present in the system. In which table I can get this information?
Rgds
SarangHi,
There is no need of any Table.. Many reports are there please check.
Pls type SAP1 on easy access menu..
MM>PUR>PR
You will many report trxns..
Thx
Raju -
Report / Table for getting Datewise item cost
Friends,
Can u help me know MM Report / Table for getting Datewise item cost in a plant.hi,
try table S031...Movement of stocks....
THis shd help you..
Regards
Priyanka.P -
ESI is getting deducted though the salary is high for one employee
Hi Experts,
I have one employee for whom the ESI is getting deducted in january salary. though the salary is 16000 for this employee.
what could be the reason? and hoiw to solve this error?
Thanks and Regards
Jaydeep Jadhav
SAP HR ConsultantHI,
As mentioned by our friends you can also note the below point
ESIC is calculated based on the monthly master components except for reimbursement pay elements ( Medical, Fuel) are included in ESIC eligibility but for calculating purpose it will also include reimbursements components.
For eg: If an employee is having salary of Rs. 16000/- including monthly reimbursements of Rs. 2000/- In this case he is under ESIC bracket (16000-2000=14000) but ESIC deduction will be done on Rs. 16000/-.
So you need to check each pay element for ESIC. -
FM to get table names for a given Apllication Component.
Hai Friends,
I have to create a function module which functions exactly as the INFORMATION SYSTEM button in se16 table help.
i have written something like this but this is not giving exact results as INFORMATION SYSTEM IN SE16.
for ex. for componet sd-bil it gives 376 records where as in se16 you get only 30 to 40 table...
So pls help me with the tables and logic...
SELECT
B~DEVCLASS
INTO CORRESPONDING FIELDS OF TABLE IT_TDEVC
FROM DF14L AS A
INNER JOIN TDEVC AS B
ON A~FCTR_ID = B~COMPONENT
WHERE A~PS_POSID = COMPONENT.
LOOP AT IT_TDEVC.
SELECT TABNAME TABCLASS FROM DD02L
appending corresponding fields of table TABLE_LIST
WHERE APPLCLASS = IT_TDEVC-DEVCLASS
AND ( TABCLASS = 'TRANSP'
OR TABCLASS = 'POOL' OR TABCLASS = 'CLUSTER')
AND AS4LOCAL = 'A'.
* append table_list.
* endselect.
ENDLOOP.
This is just a test program so ignore the performance issues .
Waiting for your help..
Reshali.Hi,
Try the below code....
REPORT zsen_information_system.
PARAMETER w_comp TYPE ufps_posid.
TYPES : BEGIN OF y_tdevc ,
devclass TYPE devclass,
END OF y_tdevc.
TYPES : BEGIN OF y_table ,
tabname TYPE tabname,
tabclass TYPE tabclass,
END OF y_table.
DATA : it_tdevc TYPE STANDARD TABLE OF y_tdevc WITH HEADER LINE
, it_tab_list TYPE STANDARD TABLE OF y_table WITH HEADER LINE
SELECT b~devclass
INTO TABLE it_tdevc
FROM df14l AS a
INNER JOIN tdevc AS b
ON afctr_id = bcomponent
WHERE a~ps_posid = w_comp.
SELECT tabname FROM info_tabl
INTO TABLE it_tab_list
FOR ALL ENTRIES IN it_tdevc
WHERE as4local IN ('L','A','N')
AND tabclass IN ('TRANSP','VIEW','CLUSTER','POOL')
AND devclass = it_tdevc-devclass.
IF sy-subrc EQ 0.
LOOP AT it_tab_list.
WRITE /: it_tab_list-tabname.
ENDLOOP.
ENDIF.
Hope this will solve your problem
Thanks and regards,
Senthil Kumar Anantham.
Maybe you are looking for
-
Can't transfer files from mini mac (10.4) to new imac
While setting up my father's new imac, the imac suggested selecting send files "to your new computer" ,or something to that effect, from the Migration Assistant in the mini. The only options on the mini were to transfer files from another computer to
-
Need to write a query while configuring Database Adapter
Hi, I am working in BPEL.i need to write a query while configuring the DB adapter. i need to query a table which contains five rows each row containing 7 columns. my query should be like if i give the first column name(for eg:Title) it should return
-
Custom Infotype to support Multiple language
Hi Experts, i need help in creating a custome infotype which should able to support multiple language. kindly help how to do that. points will be rewarded for helpful answers. Best Regards, Rahul Message was edited by: Rahul Kumar Gupta
-
Integrating the OM infotypes in the Column area in PPOME Screen
I am trying to integrate om Infotypes itno the column Configuraton area in the Screen PPOME and going through the Hierarchy Framework-Column Framework Tables T77ARRAYTP T77ACOLC T77COL T77FRIEND and after doing a ton of changes nothing changes i
-
Hi Guys, Can any one help with any sort of overview information/Documents regarding implementation SAP in Broadcasting Media, that too Television Media?.