Employee Name
Hi, I'm new to the HR Personnel Administration Area. I Found 0PERSON has First name and last name. 0PERSON is an attribute of 0EMPLOYEE. Since reports are based on 0EMPLOYEE how would I get the name to show. Name would be a transitive attribute unavailable directly.
Any thoughts are greatly appreciated!
Thanks!
Ken Murray
Kenneth,
You can always report on the attribute (0PERSON) of an object (0EMPLOYEE).You can model the attribute (0PERSON) as either a display attr or navigation attr in the infoobject maintenance of the (0EMPLOYEE).
With navg att you can do drilldown But with disp attr prop you cant do drilldowns
You can drag and drop the attribute in the the querydesigner while building a query to display attribute 0PERSON.
-Doodle
Similar Messages
-
How to show 'No Records Found' and 'Employee Name Unknown' in oracle report
Hello,
I'm using 6i and building a report to show employees who have incorrectly input their time. I have an input parameter so a user can select a specific employee by emp_id or can leave it empty to show all. That part works. I also have date parameters that are required. That works too. However I am having trouble displaying 'NO Records Found' if the date parameters have no late or rejected employee time records. I currently have it as a text field arranged behind the emp_name field which i filled white. It works...however i have a pretty good feeling there is a better way to do this. Also, I have some data that is null since i am using two tables. There are time stamps with no emp_name or emp_number. I still need to show these records but want them to show up as "Employee Name Unknown" that way the user doesnt get confused and thinks the emp_name in the row above also includes this row.
select e.location "Clock Location",
e.emp_no "Emp No",
l.first_name ||' ' || last_name "Name",
e.time_stamp "Time",
from emp_time e, master_all l
where e.emp_no (+) = l.emp_no
and e.status = 'rejected'
--and e.emp_no = nvl (:p_emp_no, emp_no)
--and e.time_stamp between :p_start_date and :p_end_dateHi,
So, when the join between emp_time and master_all produces no rows, you still want one row of output, saying 'No Records Found'; is that right?
If so, you can outer-join the result set to dual, with some join condition that accepts anything.
Use CASE (or equivalents) to get special values (like 'No Record Found' or 'Employee name unknown') when certain columns are NULL.
For example:
SELECT j.location AS "Clock Location"
, j.emp_no AS "Emp No"
, CASE
WHEN j.name IS NULL
THEN 'No Records Found'
ELSE j.name
END AS "Name"
, time_stamp AS "Time"
FROM dual d
, ( -- Begin in-line view j, join of emp_time and master_all
SELECT e.location
, e.emp_no
, CASE
WHEN l.first_name IS NULL
AND last_name IS NULL
THEN 'Employee name unknown'
ELSE l.first_name || ' ' || last_name
END AS name
FROM emp_time e
, master_all l
WHERE e.emp_no (+) = l.emp_no
AND e.status (+) = 'rejected'
-- AND e.emp_no (+) = NVL (:p_emp_no, emp_no)
-- AND e.time_stamp (+) BETWEEN :p_start_date
AND :p_end_date
) j -- End in-line view j, join of emp_time and master_all
WHERE d.dummy != j.name (+)
;In an outer join, all conditions involiving the optional table need a + sign; otherwise, the effect is the same as an inner join.
The message 'No Records Found' is a string, so it has to go in a string column.
I put it in the "Name" column, just because I knew that "Name" was a string.
You can put in in any other column if you wish. If that column is not already a string, then use TO_CHAR to make it a string.
You could also have a column just for this message.
I hope this answers your question.
If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
DOUBLE U wrote:
I've tried nvl in the select statement but since emp_name is a concatination of first and last name it doesnt work. This is what i have tried
nvl(l.first_name|' '||l.last_name,'NO EMPLOYEE RECORD FOUND') "Employee",I assume you meant to have two | characters, not just one, after first_name.
The first argument to NVL will never be NULL in that case; it will always contain at least a space, whether or not the other columns are NULL. You could say:
NVL ( NULLIF ( l.first_name || ' ' || l.last_name
, 'NO EMPLOYEE RECORD FOUND'
) "Employee",bujt I find it less confusing to use CASE, as shown above. -
how to show employee names in descending order but 3rd row is fixed and always top on the table ?
for example employee names is A,B,C, D, E
and output is C,E,D,B,ASince you are posting in the design forum, the short answer is - you don't. Rows in a table have no inherent order that you can rely on and the "position" of rows is a visual characteristic that should be implemented by the application that displays
this information or by the query that is used to generate the resultset.
So the next question is how one accomplishes this particular order within a select statement. That is a tsql question which, for future reference, is best posted to the tsql forum. In addition, many of the questions or issues that you will face
have been discussed in the forums - often many, many times. The first thing you should do when faced with an issue is to simply search the forums and leverage the the knowledge that has already been discussed. In doing so you are quite likely to
see suggestions or related issues that you should consider in your search for a solution.
Now, to answer the question - you need to formulate a order by clause that forces the rows to be sorted in the manner you desire. Effectively you have 2 levels of sorting. The first level divides your rows into 2 groups. Group 1 consists
of rows where name = E and Group 2 is everything else. Following that you then need to sort the rows in each group by name in descending order. Something like:
order by case name when E then 1 else 2 end, name desc -
Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List
Cycle Count Entries Form not showing specific employee name in "Counted By" LOV List.But the Employee is active . Is there any setup for this activity?
Hi,
This is because the query is excluding the current site you are trying to modify since it is actually in the report.
You can include in your query:
or site_id = :Pxx_SITE_ID
Where Pxx_SITE_ID is the item holding the site_id value and xx is your page number.
Thank you,
Erick -
How to avoid save same employee name under same company name
hi,
i am doing flex4 web application with mxml tags,
i am having one text box and one datagrid and one save button. text box having one company name, data grid having employee names.
when i click save button which is placed in outside the datagrid it will save all the details.
Now my requirement is text box having the same company name and when i enter same employee name in datagrid and click save button means it wont
allow to save that record, and through msg box with some alerts.
How to do this,
Any suggession or snippet code are welcome
Thanks ,
B.venkatesanhi raghs,
i want to add records in cloud.bt while adding the records if we enter existing record details and try to save again na it wont allow to that record.
that time the alert box should show this msg "This record is already existing record in cloud database.
ex: one company name called mobile. i am adding a employee name called raja now i save this record,its data saved in cloud DTO
again try to add same employee name raja under the same compny means it should through error.
I am give my code here please if any suggession tel.
CODE:
private function saveRecord():void
refreshRecords();
model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
var i:int;
for (i = 0; i < lengthindex; i++)
if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employ ee name==customerdet.selectedItem.employeename)&&
(model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeN umber==customerdet.selectedItem.employeeID)){
Alert.show("you cannot Add Same CustomerName and Invoiceno again");
(when this line come the error through like this: Index '8' specified is out of bounds.
else
var dp:Object=employeedet.dataProvider;
var cursor:IViewCursor=dp.createCursor();
var employeename:String = employeename.text;
model.employeeDetailsReq.employename = employeename;
model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
var sendRecordToLocID:QuickBaseEventStoreRecord = new
QuickBaseEventStoreRecord(model.employeeDetailsReq, new
KingussieEventCallBack(refreshList))
sendRecordToLocID.dispatch();
<mx:Button id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65" fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
employeename and employeeID are datafields of datagrid. datagrid id=customerdet
employeeDetailsReqRecordsList---recordlist of save records
Thanks,
B.venkatesan -
Sales Analysis by Item Group (Monthly) - To include Sales Employee Name
Hi,
I have added Sales Employee Name in the Sales Analysis by Item Group (Monthly) report by A/R Invoices. I have added this under Repetitve Area Header0. However, the sales employee name showed in the preview is different than the criteria entered. It seems that the report only the first Sales Employee Name in the report.
Anyone have any idea? Thanks in advance
Regards,
MHThat is a good question. You have to find out any unique relationships between your Sales Employee and your sales analysis data if there is. Hope the help below can assist you:
Relate to
This option is relevant for special scenarios only and requires knowledge of SQL.
This field is used for retrieving data related to key records found in tables other than the table linked as default to the current print template.
A key record is a field used as a primary key in a certain table. This key record functions as the identifier of the record, and, therefore, it is required to retrieve any additional data related to it.
Following is an example:
e.g.If you need to print the name of a certain bank, which is not linked to the table used in the current print template, you must first create a Text field of Database source type using the required table and select a key record, such as Bank Code.
Then, you need to create an additional Text field of Database source type. Select the table again, select the required column (such as Bank Name), and enter the unique ID of the field with the key record in the Relate to field.
There might be two or more key records in the same table. In such a case, these two key records are both required for retrieving the data.
Identical bank codes are used in many countries. If you need to print the name of a specific bank, you need to link it to a relevant country, in addition to its relevant bank code.
You are currently working on a print template for Incoming Payments. However, you need to retrieve data (such as the business partner's bank name) linked to the key record Bank Code from the Bill of Exchange for Payment table, rather than from the Incoming Payments table.
In the Relate to field, select the unique ID of the field containing the required key record. In this example, this is a Text field of Database source type containing Bill of Exchange for Payment in the Table field and BP Bank Country in the Column field. The drop-down list contains the unique IDs of all the fields that are situated in the same area as the current field.
This link makes the system retrieve the Bank Code linked to the BP Bank Country field found in the Bill of Exchange for Payment table. -
Check on repetition of employee names during hiring
Hi All,
Could anyone please guide me on how to keep a check on repetition of employee names during the hiring process? i.e whenever the administrator enters a person's name during personal data maintenance, it should throw an error if the same name already exists in the employee database. and the system should prompt a number to be prefixed after the name to make it unique.
I suppose this is to be done with an ABAP development... but could anybody guide me as to what tables etc to refer to atleast??Hi,
You can achieve this by using the user exits -EXIT_SAPFP50M_001 and EXIT_SAPFP50M_002.
In this exit,you can compare with the table(pa0002) name .If exits,throw an information message and pass prefered name to the screen.
Reward points if Helpful.
Regards,
Manoj. -
Special characters in the employee names is adding ASCII to the file
Hi Team,
Iam working on a outbound interface which has a length of 3000. For the last name it is having some special charecters Vázquez . When downloading into application server, the special characters in the employee names is adding ASCII characters to the file Vázquez . This is increasing the record length to 3001.
Please let me know how to remove this ASCII charecters. It is happening only for application server.
Rgds
KishorHi
Please refer below link.
[Re: Translation of special charachter like 'u00E3au00EA']
~~~Ganesh Kumar K. -
Dear Expert,
Please advise how to bring Employee Name field in AR01 report apart from Employee Personnel No.
Thanks,
DebHi Debasish,
You can create an implementation in the form FILL_OUTTAB_LINE as follows:
ENHANCEMENT 1 Z_RABEST_ALV01. "active version
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(7) Form FILL_OUTTAB_LINE, Start, Enhancement Z_RABEST_ALV01, Start A
data: l_nachn type pa0002-nachn,
l_vorna type pa0002-vorna.
CLEAR: l_nachn, l_vorna.
SELECT SINGLE nachn vorna from pa0002
into (l_nachn, l_vorna)
WHERE pernr = anlav-pernr.
ASSIGN COMPONENT 'S4' OF STRUCTURE <itab_line> to <field>.
<field> = l_nachn.
ASSIGN COMPONENT 'S5' OF STRUCTURE <itab_line> to <field>.
<field> = l_vorna.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(8) Form FILL_OUTTAB_LINE, Start, Enhancement Z_RABEST_ALV01, End A
ENDENHANCEMENT. -
Display Employee Name linked in Item Master in Order Recommendation Report
Dear Experts,
My requirement is that the "Employee Name" linked in Item master have to be displayed next to the item in MRP Order Recommendation Report.
I have created a header level UDF "Employee Name" in Item master and have selected an employee in this field. I have also created another UDF in Order Recommendation Report as "Internal Buyer" as a column. But the employee linked to the Item is not getting displayed in the Order Recommendation Report.
FMS query used in "Internal Buyer" is
SELECT T0.U_Employee FROM OITM T0 where T0.ItemCode=$[oitm.Itemcode]
Regards,
G.Shankar GaneshHi Shankar,
Could you try with this query
SELECT T1.[U_Employee ] FROM [dbo].[OITM] T1 WHERE T1.[ItemCode] =$ ORCM.ItemCode
Regards,
Vijay kumar -
Change multiple employees names
Hello,
We ran into a problem when creating some BPs out of Users, which caused some of the BPs to be created without "First Name" and "Last Name". In the same scenario we have connected all of the BPs to CPs and added them to the organisational tree.
Most of the created employees already started working and opened orders for customers.
We cannot delete and reopen the employee BPs because they are already connected to orders in BUT050, and changes through BOL are not allowed because all of the data is read only.
My question is, is there any way to massively change Employees names or is there any API function that can be used for one by one change?
Will appreciate any help,
Thanks.Hi Yuri,
You can also use transaction MASS, to do some mass changes in employees.
The business object for that is BUS1006.
Kind regards,
Garcia -
XL Reporter - Sales Employee Name
Has anyone else had issues getting Sales Employee Name to show up correctly on XLReporter from the default employee linked to a business partner? We can get the Employee code to show up correctly but when adding the name it always displayes "no sales employee" even though there is one specified.
You need select both codes and names. Code can be hidden. Have you tried that?
Thanks,
Gordon -
Hyperlink attached to employee name
Hi
I want to remove hyper link attached to employee name in all ESS/MSS Applications.
For example in MSS in some of the table we will get Employee names
and which contains hyper link and if we click on that it will navigate to general data application.
I want to remove the hyper link from the employee name and I want to display it as name without hyper link.
Where can I do this and how to do this.
Thanks and Regards,
deviHi Devi,
I'm not sure if you can do that, because this is what allow the eventing process to run (click on the employee name you get the other iViews with information about him). But maybe you can do something!
Try to create another Data Provider. Copy the one you are using and change the column of the name of employee - this possible call a function module, create one without this function module.
This is just an idea!
Sónia -
Unable to get the employee name in performance Management
Hi All,
I am facing problem with Performance Management in My Employment. Unable to see the employee name in PM docs to approve by manager.But same user is able to see in Backend under manager who has to be approve..Please assist to go further. Is there anything need to be done from portal side.?
Thanks & Regards,
Kumar. V.Hello Sainth,
In Webi Prompts..you can see the "Key icon" click on that icon..it will show both text and key..it will helps you to run the report based on the Key..
Regards,
Naveen D -
Portal - Welcome Area - Employee name display
Dear Experts,
In portal welcome area, the name is getting diplayed as it is defined in Portal UME. But the client requirement is, employee name has to be displayed as it is in infotype 0002.
Can anyone implemented this?
Please help.
Thanks
Jayyess..Its possible..Its a portal masthead par file custom development. You'll need to modify standard masthead.par and add
java code to create dynamic JCO..then get users IT002 status from backend.
Refer this link for masthead par modification:
/people/sap.user72/blog/2005/01/18/portal-branding--go-beyond-portal-themes
and this for dynamic jco
/people/anilkumar.vippagunta2/blog/2007/02/06/dynamic-jco-creation
cheers~
avadh -
LSO_MSS Manage Participation Employee Name is missing
Helo All,
I am facing a strange problem in LSO.
When Manager access the Manage Participation iview, Under Direct Reportees, we could see Object Type as P, Position and Org Unit.
But Employee name is missing. Instead of Name dot(.) is displayed.
I checked his roles and authorisataions. everything looks ok for me, and i also checked with other managers login, all others are able to see name of the employee.
That will be great, if you can provide me your inputs.
Thanks
GitaPlease check SAP Notes
1431991
1457145
Please also check if in SE80 > Wb dyn. component (FPM_GAF_COMPONENT)
LSO_MANAGE_PARTICIPANTS Book Participant
> LSO_MANAGE_PARTICIPANTS_MGR Book Participant (Test this)
Test from this place. Can you see all the options here.
Best Regards
Chetan
Maybe you are looking for
-
Was trying to install windows 8.1 but didn't install bootcamp first. Am in a loop. Keep coming back to the windows setup page. What to do?
-
Need to write trigger to caputre all the sql fired by a terminal or osuser
Hi everyone Can anyone please let me know the trigger through which i can capture all sql fired by particular Terminal or OSUSER thanks
-
What printer should I use for pc and iPad iPhone use
What printer(s) should I use on a wireless network that has pc, iPad and iPhone as devices?
-
I'm can't open documents in iword, and the program also won't shut down properly.
I have been having trouble with pages for a couple of weeks now. When I try to shut it down, it won't close. I've tried force quit, but that doesn't work either. Then, I can't shut down my computer properly either. Finally, which seems related to
-
Type Library: add type library source to DLL error
My coding environment is CVI 2012, OS=Win7. I created a dll file, named NI_OCR, seems it is Ok. But when I changed the setting in Target Settings / Type Library, select Add type library resource to DLL, it will be failed. Don't know why, pls help me.